Browse Source

Merge branch 'feature_20250926_数字题型&单行文本题型' into uat(dev)

zhujindu 1 month ago
parent
commit
a11c04d331

+ 1 - 0
src/views/deviceWithin/addStoreVisit.vue

@@ -3981,6 +3981,7 @@ export default {
             return;
           }
         }
+        this.$set(itemData, 'ruleMessage', '');
       } else {
         // this.$set(itemData, 'ruleMessage', '请输入数字');
       }

+ 5 - 2
src/views/historicalVisit/hisvistdeils.vue

@@ -141,7 +141,9 @@
             <!--padding:10px 0;text-align: right">{{item.collectionOptionList[0].collectionOption}}</p>-->
             <delete-upload-img :imgs="item.fileInfoList"></delete-upload-img>
           </div>
-          <div class="formLabel z-cell z-cells" v-if="item.answerType == 'wb'">
+          <div
+            class="formLabel z-cell z-cells"
+            v-if="item.answerType == 'wb' || item.answerType == 'dhwb'">
             <van-cell>
               <template #title>
                 {{ index + 1 }}.{{ item.collectionName }}
@@ -419,7 +421,8 @@ export default {
               collectionItemLists[q].answerType == 'date' ||
               collectionItemLists[q].answerType == 'tel_send_code' ||
               collectionItemLists[q].answerType == 'check_code' ||
-              collectionItemLists[q].answerType == 'nyr'
+              collectionItemLists[q].answerType == 'nyr' ||
+              collectionItemLists[q].answerType == 'dhwb'
             ) {
               collectionItemLists[q].answerValue =
                 collectionItemLists[q].collectionOptionList[0].answerValue;