Sfoglia il codice sorgente

补充公海客户

xiaohaizhao 1 anno fa
parent
commit
6cc4d51856
1 ha cambiato i file con 8 aggiunte e 0 eliminazioni
  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({