This commit is contained in:
chenjianan
2019-03-13 18:12:14 +08:00
parent e0ac07624e
commit b295b9fc21
2 changed files with 12 additions and 3 deletions

View File

@@ -193,9 +193,13 @@ export default {
this.pageCurrent1 = val
this.searchTable1()
},
searchPlan(row) {
searchPlan(row, expandedRows) {
this.form1.采购合同流水号 = row.采购合同流水号
searchTable01(row.采购合同流水号).then(response => {
if (expandedRows.length > 1) {
this.expands = []
expandedRows.shift()
}
this.tableData01 = response.data
this.expands.indexOf(row.采购合同流水号) === -1 ? this.expands.push(row.采购合同流水号) : this.expands = []
})