QuKatie 3 лет назад
Родитель
Сommit
0518e3f5db
1 измененных файлов с 11 добавлено и 0 удалено
  1. 11 0
      src/views/kaihe/domesticTrade/orderInformation/index.vue

+ 11 - 0
src/views/kaihe/domesticTrade/orderInformation/index.vue

@@ -1498,12 +1498,14 @@
         :disabled="modify"
         v-if="form.fBillstatus == 11 && this.form.moneyStatus < 4"
         @click="feeSubmission"
+        v-loading="auditLoading"
         >费用请核
       </el-button>
       <el-button
         type="primary"
         v-if="form.fBillstatus == 11 && this.form.moneyStatus >= 4"
         @click="revokeSubmission"
+        v-loading="auditLoading"
       >
         撤销费用请核
       </el-button>
@@ -1983,6 +1985,7 @@ export default {
   },
   data() {
     return {
+      auditLoading:false,
       selection: [],
       insurance: [],
       etentioncargo: [],
@@ -2664,6 +2667,7 @@ export default {
         "tWarehousebillsfeesCr",
         JSON.stringify(this.warehouseCrList)
       );
+      this.auditLoading=true
       getfee(formData).then((response) => {
         this.$message.success("操作成功");
         this.form.moneyStatus = 4;
@@ -2681,6 +2685,9 @@ export default {
             }
           }
         });
+      })
+      .finally(() => {
+         this.auditLoading= false;
       });
     },
     //箱信息操作限制
@@ -3190,6 +3197,7 @@ export default {
         "tWarehousebillsfeesCr",
         JSON.stringify(this.warehouseCrList)
       );
+      this.auditLoading=true
       cancellationFees(formData).then((response) => {
         this.$message.success("操作成功");
         this.form.moneyStatus = 4;
@@ -3243,6 +3251,9 @@ export default {
             );
           }
         }
+      })
+      .finally(() => {
+         this.auditLoading= false;
       });
     },
     //提交审批