| | |
| | | let params = {} |
| | | if (this.addConfig.id) { |
| | | params = { |
| | | sourceID: this.addConfig.id, |
| | | sourceId: this.addConfig.id, |
| | | page: this.pagerOptions.currPage, |
| | | pageSize: this.pagerOptions.pageSize |
| | | } |
| | |
| | | }, |
| | | // 新建 |
| | | addBtnClick() { |
| | | this.editConfig.visible = true |
| | | this.editConfig.title = "新建" |
| | | this.editConfig.infomation = { currency: "人民币" } |
| | | this.editConfig.infomation = { currency: "人民币", ...this.addConfig } |
| | | this.editConfig.visible = true |
| | | }, |
| | | // 编辑 |
| | | handleClick(row) { |
| | | console.log(row) |
| | | this.editConfig.visible = true |
| | | this.editConfig.title = "编辑" |
| | | this.editConfig.infomation = { ...row, currency: "人民币", sale_return_nunber: row.Source.number } |
| | | this.editConfig.infomation = { ...row, currency: "人民币", sale_return_nunber: row.salesReturn.number } |
| | | this.editConfig.visible = true |
| | | }, |
| | | // 删除 |
| | | delClick(rowID) { |