This commit is contained in:
liushuai
2020-04-09 18:35:58 +08:00
parent dc0b9cc5d9
commit 476a105bda
18 changed files with 408 additions and 443 deletions

View File

@@ -712,6 +712,8 @@ export default {
this.tableData02 = []
this.tableData03 = []
if (this.contractType === '采购合同') {
this.showtable02 = true
this.showtable03 = false
searchPurchaseDetail(row.采购合同流水号).then(response => {
response.data.map(data => {
this.$set(data, '本次到票数量', 0)
@@ -720,8 +722,11 @@ export default {
})
})
} else if (this.contractType === '离线合同') {
this.showtable02 = false
this.showtable03 = true
searchOfflineDetail(row.离线合同流水号).then(response => {
response.data.map(data => {
console.log(data, 'tableData3')
this.$set(data, '本次到票数量', 0)
data.本次到票数量 = data.到货数量 - data.到票数量
this.tableData03.push(data)