fix: 修复添加销售子单时 更换客户名称,销售总单并未更换的问题
| | |
| | | this.clientId = item.id |
| | | this.isAddMaster = false |
| | | this.getMasterList(item.id) |
| | | this.editConfig.infomation.master_order_number = "" |
| | | this.masterId = 0 |
| | | } else if (value === "master") { |
| | | this.editConfig.infomation.master_order_number = item.number |
| | | this.masterId = item.id |
| | | } |
| | | this.refresh() |
| | | }, |
| | | selClientClick(value) { |
| | | if (value == "client") { |
| | |
| | | } |
| | | }, |
| | | selClient(row, value) { |
| | | console.log(row) |
| | | if (value == "client") { |
| | | this.editConfig.infomation.client_name = row.name |
| | | this.editConfig.infomation.client_id = row.id |
| | | this.clientId = row.id |
| | | this.isAddMaster = false |
| | | this.getMasterList(row.id) |
| | | this.editConfig.infomation.master_order_number = "" |
| | | this.masterId = 0 |
| | | } else if (value == "master") { |
| | | this.editConfig.infomation.master_order_number = row.number |
| | | this.masterId = row.id |