2
3
lining 5 жил өмнө
parent
commit
b2d6086629

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

@@ -486,7 +486,7 @@
                    @click="dialogVisibleCom = false">取 消</el-button>
         <el-button size="mini"
                    type="primary"
-                   @click="SubpEntity">确定</el-button>
+                   @click="SubpEntity" :loading="loading">确定</el-button>
       </span>
     </el-dialog>
 
@@ -1592,6 +1592,7 @@ export default {
       //   })
       //   return
       // }
+      this.loading = true
       this.applyLoading = true
       this.auditform.FirstAuditName = this.UnitOrg
       this.auditform.CertId = this.certId
@@ -1612,6 +1613,7 @@ export default {
               message: res.data.message
             })
           }
+          this.loading = false
           this.applyLoading = false
         })
         .catch(err => {

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

@@ -496,7 +496,7 @@
                    @click="dialogVisibleCom = false">取 消</el-button>
         <el-button size="mini"
                    type="primary"
-                   @click="SubpEntity">确定</el-button>
+                   @click="SubpEntity" :loading="loading">确定</el-button>
       </span>
     </el-dialog>
 
@@ -1764,6 +1764,7 @@ export default {
       this.applyLoading = true
       this.auditform.FirstAuditName = this.UnitOrg
       this.auditform.CertId = this.certId
+      this.loading = true
       apiCert.auditEntity(this.certId, this.auditform, this.$axios)
         .then(res => {
           if (res.data.code === 0) {
@@ -1780,7 +1781,7 @@ export default {
               message: res.data.message
             })
           }
-          this.applyLoading = false
+          this.loading = false
         })
         .catch(err => {
           console.error(err)

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

@@ -481,7 +481,7 @@
                    @click="dialogVisibleCom = false">取 消</el-button>
         <el-button size="mini"
                    type="primary"
-                   @click="SubpEntity">确定</el-button>
+                   @click="SubpEntity" :loading="loading">确定</el-button>
       </span>
     </el-dialog>
 
@@ -1590,6 +1590,7 @@ export default {
       //   })
       //   return
       // }
+      this.loading = true
       this.applyLoading = true
       this.auditform.FirstAuditName = this.UnitOrg
       this.auditform.CertId = this.certId
@@ -1610,6 +1611,7 @@ export default {
               message: res.data.message
             })
           }
+          this.loading = false
           this.applyLoading = false
         })
         .catch(err => {