| | |
| | | this.editConfig.detailEnter=false |
| | | this.editConfig.isDisabled=false |
| | | this.tableLoading = true |
| | | getPurchaseInfo({ id: row.ID }).then((res) => { |
| | | getPurchaseInfo({ id: row.id }).then((res) => { |
| | | if (res.code == 200) { |
| | | this.tableLoading = false |
| | | this.editConfig.visible = true |
| | | this.editConfig.title = "编辑" |
| | | res.data.productList.map((item,index)=>{ |
| | | item.productIndex=index |
| | | }) |
| | | this.editConfig.infomation = { |
| | | productList: res.data.productList, |
| | | supplierName: res.data.purchase.supplier.name, |
| | |
| | | this.editConfig.detailEnter=true |
| | | this.editConfig.isDisabled=true |
| | | this.tableLoading = true |
| | | getPurchaseInfo({ id: row.ID }).then((res) => { |
| | | getPurchaseInfo({ id: row.id }).then((res) => { |
| | | if (res.code == 200) { |
| | | this.tableLoading = false |
| | | this.editConfig.visible = true |