Procházet zdrojové kódy

采购入库报表

zhangyuewww před 3 roky
rodič
revize
b170e06070

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

@@ -615,8 +615,15 @@ export default {
         this.currect=false
         this.currect=false
         getselectctcontractno({customerName:this.modification[0].customerName,contractNo:this.modification[0].contractNo}).toPromise()
         getselectctcontractno({customerName:this.modification[0].customerName,contractNo:this.modification[0].contractNo}).toPromise()
             .then((response) => {
             .then((response) => {
-
               that.carryovercontractnolist=response
               that.carryovercontractnolist=response
+               for (var i = 0; i < that.carryovercontractnolist.length; i++) {
+                    if(that.carryovercontractnolist[i].amountNotPayable>0){
+                          that.carryovercontractnolist[i].closeaccountstatus="待结算"
+                    }
+                    else{
+                          that.carryovercontractnolist[i].closeaccountstatus="已结算"
+                    }
+                }
             })
             })
             .catch((response) => {
             .catch((response) => {
               console.log(response)
               console.log(response)