更新
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user