Browse Source

Merge branch 'feature_20250722_金牌店档案收集' into uat(dev)

zhujindu 4 months ago
parent
commit
0e77818093
1 changed files with 7 additions and 7 deletions
  1. 7 7
      src/views/storeManagement/JPattributeEditor.vue

+ 7 - 7
src/views/storeManagement/JPattributeEditor.vue

@@ -14,8 +14,9 @@
               size="small"
               size="small"
               style="color: white; background: rgb(0, 87, 186); border-radius: 6px"
               style="color: white; background: rgb(0, 87, 186); border-radius: 6px"
               @click="sendCode(detail.ownerMobile)"
               @click="sendCode(detail.ownerMobile)"
-              :disabled="time != null"
-              >发送验证码<span v-if="time">({{ timeNum }})</span>
+              :disabled="time != null">
+              <span v-if="time">已发送({{ timeNum }})</span>
+              <span v-else>发送验证码</span>
             </van-button>
             </van-button>
           </template>
           </template>
         </van-field>
         </van-field>
@@ -46,8 +47,7 @@
         </van-field>
         </van-field>
         <van-field
         <van-field
           v-model="detail.totalSalesAmount"
           v-model="detail.totalSalesAmount"
-          autosize
-          type="textarea"
+          type="number"
           label="门店24年总销量(以进货额计)" />
           label="门店24年总销量(以进货额计)" />
         <van-field v-model="detail.performanceRatio" type="number" label="立邦业绩占比(%)" />
         <van-field v-model="detail.performanceRatio" type="number" label="立邦业绩占比(%)" />
         <van-field v-model="detail.mainBrand" autosize type="textarea" label="主营T0P3品牌" />
         <van-field v-model="detail.mainBrand" autosize type="textarea" label="主营T0P3品牌" />
@@ -102,7 +102,7 @@ export default {
     return {
     return {
       detail: null,
       detail: null,
       time: null, //计时
       time: null, //计时
-      timeNum: 30,
+      timeNum: 60,
       verificationVal: '',
       verificationVal: '',
       datetimeShowPicker: false,
       datetimeShowPicker: false,
       activatNyrItem: '',
       activatNyrItem: '',
@@ -118,7 +118,7 @@ export default {
   activated() {
   activated() {
     if (this.time) clearInterval(this.time);
     if (this.time) clearInterval(this.time);
     this.time = null; //计时
     this.time = null; //计时
-    this.timeNum = 30;
+    this.timeNum = 60;
     this.toastLoading(0, '加载中...', true);
     this.toastLoading(0, '加载中...', true);
     getDictOption({}, 'archives_main_product_categorys').then((res) => {
     getDictOption({}, 'archives_main_product_categorys').then((res) => {
       let mainProductCategorys = [];
       let mainProductCategorys = [];
@@ -157,7 +157,7 @@ export default {
       }
       }
       if (this.time) return;
       if (this.time) return;
       clearInterval(this.time);
       clearInterval(this.time);
-      this.timeNum = 30;
+      this.timeNum = 60;
       this.sendCodeFun(
       this.sendCodeFun(
         {
         {
           type: '1', //String	调用类型:1:发送验证码 2:校验验证码
           type: '1', //String	调用类型:1:发送验证码 2:校验验证码