高敬炎 2 gadi atpakaļ
vecāks
revīzija
9ae1cb1100
1 mainītis faili ar 8 papildinājumiem un 1 dzēšanām
  1. 8 1
      src/views/statisticalReport/autoSettlementList.vue

+ 8 - 1
src/views/statisticalReport/autoSettlementList.vue

@@ -609,6 +609,7 @@ export default {
       contractNoList: [],
       // 是否显示
       showType: true,
+      numstatus:false,
       // 年
       year: '',
       options: [],
@@ -1265,6 +1266,7 @@ export default {
       })
         .toPromise()
         .then((response) => {
+          this.numstatus=true
           this.$message.success('修改结算重量成功')
           this.getList()
         })
@@ -1301,6 +1303,7 @@ export default {
       })
         .toPromise()
         .then((response) => {
+          this.numstatus=true
           this.$message.success('修改实际损耗成功')
           this.getList()
         })
@@ -1337,6 +1340,7 @@ export default {
       })
         .toPromise()
         .then((response) => {
+          this.numstatus=true
           this.$message.success('修改结算单价成功')
           this.getList()
         })
@@ -1425,6 +1429,7 @@ export default {
       })
         .toPromise()
         .then((response) => {
+          this.numstatus=true
           this.$message.success('修改扣款成功')
           this.getList()
         })
@@ -1474,6 +1479,7 @@ export default {
       })
         .toPromise()
         .then((response) => {
+          this.numstatus=true
           this.$message.success('修改服务费成功')
           this.getList()
         })
@@ -1769,7 +1775,8 @@ export default {
           }
           this.deptBudgetTotal = response.total
           this.warehouseList = response
-          if(this.modification.length>0){
+          if(this.modification.length>0&&this.numstatus){
+            this.numstatus = false
             for (let i = 0; i < this.warehouseList.records.length; i++) {
               var arr=this.modification.filter((item)=>{
                 console.log(item,)