Browse Source

修改bug

qukaidi 3 years ago
parent
commit
ac1e629333

+ 1 - 1
src/components/finance/financialAccount.vue

@@ -393,7 +393,7 @@ export default {
         sum += this.data[item].amount
       }
       let res = await getApplyAmount({ srcBillId: this.srcBillId, billType: "申请" })
-      if (sum >= res.data.data) {
+      if (sum <= res.data.data) {
         return true
       }
     },

+ 1 - 1
src/views/businessManagement/purchaseOrder/index.vue

@@ -525,7 +525,7 @@ export default {
     async forData() {
       for (let item in this.selection) {
         let res = await getApplyAmount({ srcBillId: this.selection[item].id, billType: "申请" })
-        if (this.selection[item].orderAmount >= res.data.data) {
+        if (this.selection[item].orderAmount <= res.data.data) {
           return this.selection[item].orderNo
         }
       }