|
@@ -681,9 +681,9 @@ export default {
|
|
|
alreadyInvoice1: 0,
|
|
|
money: '',
|
|
|
paymentDate: '',
|
|
|
- autoSettlementList: [],
|
|
|
+ tranSettlementReportList: [],
|
|
|
autoSettlementReport: {
|
|
|
- autoSettlementList: [],
|
|
|
+ tranSettlementReportList: [],
|
|
|
money: '',
|
|
|
amountNotPayable: 0,
|
|
|
amountEdPayable: 0,
|
|
@@ -792,7 +792,7 @@ export default {
|
|
|
handlepayment() {
|
|
|
this.amountNotPayable = 0
|
|
|
this.money = this.money
|
|
|
- this.autoSettlementList = this.warehouseList.records[0].autoSettlementList
|
|
|
+ this.tranSettlementReportList = this.warehouseList.records[0].tranSettlementReportList
|
|
|
this.amountEdPayable = this.warehouseList.records[0].amountEdPayable
|
|
|
this.paymentDate = this.paymentDate
|
|
|
if (this.modification.length == 0) {
|
|
@@ -858,7 +858,7 @@ export default {
|
|
|
type: 'warning',
|
|
|
}).then(() => {
|
|
|
autopaymoney({
|
|
|
- autoSettlementList: this.modification,
|
|
|
+ tranSettlementReportList: this.modification,
|
|
|
// amountEdPayable: this.modification[0].amountEdPayable,
|
|
|
// amountNotPayable: this.modification[0].amountNotPayable,
|
|
|
money: this.money,
|
|
@@ -871,7 +871,7 @@ export default {
|
|
|
title: '成功',
|
|
|
message: '付款成功',
|
|
|
})
|
|
|
- this.autoSettlementList = {}
|
|
|
+ this.tranSettlementReportList = {}
|
|
|
this.money = ''
|
|
|
this.paymentDate = ''
|
|
|
this.dialogFormVisible1 = false
|
|
@@ -957,7 +957,7 @@ export default {
|
|
|
//批量开发票
|
|
|
handleninvoice() {
|
|
|
this.amountEdPayable = 0
|
|
|
- this.autoSettlementList = this.warehouseList.records[0].autoSettlementList
|
|
|
+ this.tranSettlementReportList = this.warehouseList.records[0].tranSettlementReportList
|
|
|
for (var i = 0; i < this.modification.length; i++) {
|
|
|
this.amountEdPayable += this.modification[i].amountEdPayable
|
|
|
}
|
|
@@ -975,7 +975,7 @@ export default {
|
|
|
type: 'warning',
|
|
|
}).then(() => {
|
|
|
openinvoicelist({
|
|
|
- autoSettlementList: this.modification,
|
|
|
+ tranSettlementReportList: this.modification,
|
|
|
})
|
|
|
.toPromise()
|
|
|
.then((response) => {
|
|
@@ -1151,7 +1151,7 @@ export default {
|
|
|
if (status1 == 2) {
|
|
|
postaudit({
|
|
|
flag: 2,
|
|
|
- autoSettlementList: this.modification,
|
|
|
+ tranSettlementReportList: this.modification,
|
|
|
})
|
|
|
.toPromise()
|
|
|
.then((response) => {
|
|
@@ -1274,6 +1274,7 @@ export default {
|
|
|
for (var i = 0; i < response.records.length; i++) {
|
|
|
response.records[i].settlementWeightchange = false
|
|
|
response.records[i].deductionAmountchange = false
|
|
|
+ response.records[i].amountNotPayable=response.records[i].amountIngPayable-response.records[i].amountEdPayable
|
|
|
// response.records[i].settlementPrice =
|
|
|
// response.records[i].unitPrice -
|
|
|
// Math.abs(response.records[i].basisPrice) -
|