xiaohaizhao 1 год назад
Родитель
Сommit
6cc4d51856
1 измененных файлов с 8 добавлено и 0 удалено
  1. 8 0
      packageA/publicCustomer/addAndEditor.js

+ 8 - 0
packageA/publicCustomer/addAndEditor.js

@@ -474,6 +474,14 @@ Page({
                 })
             }
         })
+        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
+                })
+            })
+        }
     },
     /* 工商查询 */
     introduce({