Quellcode durchsuchen

Merge branch 'feature_20260304_客资客诉超时处理' into uat(dev)

zhujindu vor 3 Tagen
Ursprung
Commit
4db51b0c93
1 geänderte Dateien mit 15 neuen und 12 gelöschten Zeilen
  1. 15 12
      src/views/clew/clewent.vue

+ 15 - 12
src/views/clew/clewent.vue

@@ -53,13 +53,16 @@
       </div>
     </van-cell-group>
     <!-- 批量采购 -->
-    <template v-if="infoData && infoData.isClose != 1">
+    <template v-if="infoData && infoData.isClose != 1 && infoData.isClose != 2">
       <div class="taskGather" v-if="taskGather">
         <radioGroup :clueOptionList="taskGather"></radioGroup>
       </div>
     </template>
     <br />
-    <div v-if="infoData && infoData.isClose != 1" class="tc" style="padding: 0 16px">
+    <div
+      v-if="infoData && infoData.isClose != 1 && infoData.isClose != 2"
+      class="tc"
+      style="padding: 0 16px">
       <van-button class="submitBtn" block type="info" color="#0057ba" @click="onSubmit">
         提交
       </van-button>
@@ -493,14 +496,14 @@ export default {
         for (var pl = 0; pl < this.customItemList[1].customerClueOptionList.length; pl++) {
           if (
             this.customItemList[1].customerClueOptionList[pl].customerClueOption.indexOf(
-              '跟进中'
+              '跟进中',
             ) != -1
           ) {
             if (this.customItemList[1].customerClueOptionList[pl].value == 'Y') {
               this.viewTextShow = true;
               if (
                 this.customItemList[1].customerClueOptionList[pl].customerClueOption.indexOf(
-                  '跟进'
+                  '跟进',
                 ) != -1
               ) {
                 this.customItemList[2].customerClueName =
@@ -512,7 +515,7 @@ export default {
               this.viewTextShow = true;
               if (
                 this.customItemList[1].customerClueOptionList[pl].customerClueOption.indexOf(
-                  '意向'
+                  '意向',
                 ) != -1
               ) {
                 this.customItemList[2].customerClueName = '没有意向原因';
@@ -520,7 +523,7 @@ export default {
               }
               if (
                 this.customItemList[1].customerClueOptionList[pl].customerClueOption.indexOf(
-                  '开户'
+                  '开户',
                 ) != -1
               ) {
                 this.customItemList[2].customerClueName = '开户经销商代码(例:0110067321)';
@@ -528,7 +531,7 @@ export default {
               }
               if (
                 this.customItemList[1].customerClueOptionList[pl].customerClueOption.indexOf(
-                  '开店'
+                  '开店',
                 ) != -1
               ) {
                 this.customItemList[2].customerClueName = '开户门店代码(例:0190129032)';
@@ -536,7 +539,7 @@ export default {
               }
               if (
                 this.customItemList[1].customerClueOptionList[pl].customerClueOption.indexOf(
-                  '出货'
+                  '出货',
                 ) != -1
               ) {
                 this.customItemList[2].customerClueName = '填写具体的产品和数量';
@@ -638,7 +641,7 @@ export default {
     formatter(value) {
       return value.replace(
         /[\uD83C|\uD83D|\uD83E][\uDC00-\uDFFF][\u200D|\uFE0F]|[\uD83C|\uD83D|\uD83E][\uDC00-\uDFFF]|[0-9|*|#]\uFE0F\u20E3|[0-9|#]\u20E3|[\u203C-\u3299]\uFE0F\u200D|[\u203C-\u3299]\uFE0F|[\u2122-\u2B55]|\u303D|[\A9|\AE]\u3030|\uA9|\uAE|\u3030/gi,
-        ''
+        '',
       );
     },
     numberFn(val, index) {
@@ -649,8 +652,8 @@ export default {
           /\.\d{2,}$/,
           this.collectionItemList[index].answerValue.substr(
             this.collectionItemList[index].answerValue.indexOf('.'),
-            3
-          )
+            3,
+          ),
         );
       }
     },
@@ -661,7 +664,7 @@ export default {
         if (value.customerClueOption == '已出货') {
           // 判断是否显示出货总金额
           let isFlag = this.collectionItemList.find(
-            (item) => item.customerClueName == '出货总金额' && item.answerType == 'sz'
+            (item) => item.customerClueName == '出货总金额' && item.answerType == 'sz',
           );
           if (isFlag) {
             this.totalMoneyFlag = true;