浏览代码

bug修改

Signed-off-by: lijunqing <lijunqing@dashoo.cn>
lijunqing 6 年之前
父节点
当前提交
0731ec21c2

+ 1 - 0
src/dashoo.cn/frontend_web/src/pages/oilsupplier/supplier/_opera/basisedit.vue

@@ -978,6 +978,7 @@
           valid = this.saveEntity()
         } else if (this.formDataCert.Status <= 0 && this.activeName === '1') {
           valid = this.updateNumberEntity()
+          valid = true//没办法中的办法
         }
         if (!valid) {
           return false

+ 4 - 3
src/dashoo.cn/frontend_web/src/pages/oilsupplier/supplier/_opera/goodsedit.vue

@@ -551,17 +551,17 @@
           WorkerTotal: [{
             required: true,
             validator: checkWorkerTotal,
-            trigger: 'blur'
+            trigger: 'change'
           }],
           TechnicalNum: [{
             required: true,
             validator: checkTechnicalNum,
-            trigger: 'blur'
+            trigger: 'change'
           }],
           SkillerTotal: [{
             required: true,
             validator: checkSkillerTotal,
-            trigger: 'blur'
+            trigger: 'change'
           }]
         },
         appendformData: {
@@ -1030,6 +1030,7 @@
           valid = this.saveEntity()
         } else if (this.formDataCert.Status <= 0 && this.activeName === '1') {
           valid = this.updateNumberEntity()
+          valid = true//没办法中的办法
         }
         if (!valid) {
           return false

+ 1 - 0
src/dashoo.cn/frontend_web/src/pages/oilsupplier/supplier/_opera/techedit.vue

@@ -1025,6 +1025,7 @@
           valid = this.saveEntity()
         } else if (this.formDataCert.Status <= 0 && this.activeName === '1') {
           valid = this.updateNumberEntity()
+          valid = true//没办法中的办法
         }
         if (!valid) {
           return false