xiaohaizhao 1 год назад
Родитель
Сommit
935ab78b06
1 измененных файлов с 8 добавлено и 0 удалено
  1. 8 0
      packageA/saleClue/translate.js

+ 8 - 0
packageA/saleClue/translate.js

@@ -469,6 +469,14 @@ Page({
                 form
             })
         }
+        if (wx.getStorageSync('userMsg').siteid == 'HY') {
+            this.setData({
+                form: this.data.form.map(v => {
+                    if (["customergrade", "industry"].includes(v.valueName)) v.required = true;
+                    return v
+                })
+            })
+        }
     },
     repClose() {
         return this.setData({