yuansh 3 weeks ago
parent
commit
f3f2d737c9

+ 4 - 2
src/views/purchase/purPaymentRequest/components/purPaymentRequestForm.vue

@@ -306,8 +306,10 @@
           item.purchaseCode =  item.billCode
           billCodeArr.push(item.billCode)
           item.purchaseId =  item.id
-          item.orderMoney =  item.totalAmount
-          item.applyMoney =  item.totalAmountUsed
+          // item.orderMoney =  item.totalAmount
+          item.orderMoney =  item.discountAmount
+          item.applyedMoney =  item.totalAmountUsed
+          item.applyMoney =  item.discountAmount - item.totalAmountUsed
           item.id =  undefined
           item.notes = ''
         })