Browse Source

电话号码最大值

Qukatie 1 tuần trước cách đây
mục cha
commit
26ce77be75
2 tập tin đã thay đổi với 12 bổ sung6 xóa
  1. 1 0
      src/views/claimSettlement/detailsPage.vue
  2. 11 6
      src/views/store/detailsPage.vue

+ 1 - 0
src/views/claimSettlement/detailsPage.vue

@@ -136,6 +136,7 @@ export default {
             type:'number',
             controls:false,
             precision:0,
+            maxRows:19999999999,
             rules: [
               {
                 required: true,

+ 11 - 6
src/views/store/detailsPage.vue

@@ -210,8 +210,8 @@
               v-model="row.defaultAddres"
               @change="addressUnique(row, index)"
             >
-            </el-switch> </template
-          >
+            </el-switch>
+          </template>
           <template slot="detailedAddress" slot-scope="{ row, index, disabled }">
             <!-- <el-input
               v-model="row.detailedAddress"
@@ -439,9 +439,10 @@ export default {
           {
             label: "电话",
             prop: "tel",
-            type:'number',
-            controls:false,
-            precision:0,
+            type: "number",
+            maxRows:19999999999,
+            controls: false,
+            precision: 0,
             rules: [
               {
                 required: true,
@@ -805,7 +806,11 @@ export default {
           .then((res) => {
             let addressComponent = res.data.data.regeocode.addressComponent;
             // row.belongtoarea = addressComponent.province + addressComponent.city + addressComponent.district;
-            this.$set(row,'belongtoarea', addressComponent.province + addressComponent.city + addressComponent.district)
+            this.$set(
+              row,
+              "belongtoarea",
+              addressComponent.province + addressComponent.city + addressComponent.district
+            );
           })
           .finally(() => {
             this.mapStatus = true;