|
@@ -70,7 +70,7 @@
|
|
|
</div>
|
|
|
</div>
|
|
|
</el-row>
|
|
|
- <el-table class="wenzi" :data="warehouseList.records" style="width: 100%; margin-top: 20px" ref="warehouseList"
|
|
|
+ <el-table class="wenzi" :data="warehouseList" style="width: 100%; margin-top: 20px" ref="warehouseList"
|
|
|
border :summary-method="getSummaries" show-summary @row-click="handleRowClick"
|
|
|
@selection-change="handleSelectionChange">
|
|
|
<el-table-column :selectable="selectInit" type="selection" width="55"></el-table-column>
|
|
@@ -567,8 +567,8 @@
|
|
|
this.amountNotPayable = 0
|
|
|
this.money = this.money
|
|
|
this.stockPurchaseReceiptReportList =
|
|
|
- this.warehouseList.records[0].stockPurchaseReceiptReportList
|
|
|
- this.amountEdPayable = this.warehouseList.records[0].amountEdPayable
|
|
|
+ this.warehouseList[0].stockPurchaseReceiptReportList
|
|
|
+ this.amountEdPayable = this.warehouseList[0].amountEdPayable
|
|
|
this.paymentDate = this.paymentDate
|
|
|
if (this.modification.length == 0) {
|
|
|
this.$message.warning('请选择一条要付款的条目')
|
|
@@ -862,24 +862,24 @@
|
|
|
})
|
|
|
.toPromise()
|
|
|
.then((response) => {
|
|
|
- this.payingMoney = 0
|
|
|
- this.payedMoney = 0
|
|
|
- this.payNotMoney = 0
|
|
|
- this.settlementWeight1 = 0
|
|
|
- for (var i = 0; i < response.records.length; i++) {
|
|
|
- response.records[i].identification = 'false'
|
|
|
- response.records[i].identification1 = 'false'
|
|
|
- this.payingMoney += response.records[i].amountIngPayable
|
|
|
- this.payedMoney += response.records[i].amountEdPayable
|
|
|
- this.payNotMoney += response.records[i].amountNotPayable
|
|
|
- this.settlementWeight1 += response.records[i].settlementWeight
|
|
|
- }
|
|
|
- this.payingMoney = this.payingMoney.toFixed(2)
|
|
|
- this.payedMoney = this.payedMoney.toFixed(2)
|
|
|
- this.payNotMoney = this.payNotMoney.toFixed(2)
|
|
|
- this.settlementWeight1 = this.settlementWeight1.toFixed(2)
|
|
|
+ // this.payingMoney = 0
|
|
|
+ // this.payedMoney = 0
|
|
|
+ // this.payNotMoney = 0
|
|
|
+ // this.settlementWeight1 = 0
|
|
|
+ // for (var i = 0; i < response.records.length; i++) {
|
|
|
+ // response.records[i].identification = 'false'
|
|
|
+ // response.records[i].identification1 = 'false'
|
|
|
+ // this.payingMoney += response.records[i].amountIngPayable
|
|
|
+ // this.payedMoney += response.records[i].amountEdPayable
|
|
|
+ // this.payNotMoney += response.records[i].amountNotPayable
|
|
|
+ // this.settlementWeight1 += response.records[i].settlementWeight
|
|
|
+ // }
|
|
|
+ // this.payingMoney = this.payingMoney.toFixed(2)
|
|
|
+ // this.payedMoney = this.payedMoney.toFixed(2)
|
|
|
+ // this.payNotMoney = this.payNotMoney.toFixed(2)
|
|
|
+ // this.settlementWeight1 = this.settlementWeight1.toFixed(2)
|
|
|
this.deptBudgetTotal = response.total
|
|
|
- this.warehouseList = response
|
|
|
+ // this.warehouseList = response.records
|
|
|
})
|
|
|
},
|
|
|
getContractList() {
|
|
@@ -896,7 +896,7 @@
|
|
|
this.option = this.contractNoList
|
|
|
this.contractNo = this.option[0].contractNo
|
|
|
this.contractchange(this.contractNo)
|
|
|
- this.getList()
|
|
|
+ // this.getList()
|
|
|
})
|
|
|
},
|
|
|
handleRemove(file) {
|