|
@@ -903,13 +903,17 @@ export default {
|
|
},
|
|
},
|
|
//选择型号修改
|
|
//选择型号修改
|
|
firmChange(data) {
|
|
firmChange(data) {
|
|
- tools.setDataForKey(this.tableData[this.row], "DPManufacturerID", data.venderId)
|
|
|
|
- tools.setDataForKey(this.tableData[this.row], "LedgerParam.EquipManufactor.Brand", data.brand)
|
|
|
|
|
|
+ tools.setDataForKey(this.tableData[this.row], "DPManufacturerID", data.venderId)//生产商ID
|
|
|
|
+ tools.setDataForKey(this.tableData[this.row], "DPBrandID", data.brandId)//品牌ID
|
|
|
|
+ tools.setDataForKey(this.tableData[this.row], "DPSpecificationID", data.specificationId)//型号ID
|
|
|
|
+ tools.setDataForKey(this.tableData[this.row], "LedgerParam.EquipManufactor.Brand", data.brandName)
|
|
tools.setDataForKey(this.tableData[this.row], "LedgerParam.EquipManufactor.Specification", data.name)
|
|
tools.setDataForKey(this.tableData[this.row], "LedgerParam.EquipManufactor.Specification", data.name)
|
|
this.handleUpdataTable(
|
|
this.handleUpdataTable(
|
|
[
|
|
[
|
|
[this.row, "DPManufacturerID", null, data.venderId],
|
|
[this.row, "DPManufacturerID", null, data.venderId],
|
|
- [this.row, "LedgerParam.EquipManufactor.Brand", null, data.brand],
|
|
|
|
|
|
+ [this.row, "DPBrandID", null, data.brandId],
|
|
|
|
+ [this.row, "DPSpecificationID", null, data.specificationId],
|
|
|
|
+ [this.row, "LedgerParam.EquipManufactor.Brand", null, data.brandName],
|
|
[this.row, "LedgerParam.EquipManufactor.Specification", null, data.name]
|
|
[this.row, "LedgerParam.EquipManufactor.Specification", null, data.name]
|
|
],
|
|
],
|
|
"edit"
|
|
"edit"
|