|
@@ -486,33 +486,33 @@ export default {
|
|
|
},
|
|
|
//选择型号修改
|
|
|
firmChange(data) {
|
|
|
- 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.Manufacturer", data.venderName)
|
|
|
- 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], "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.manufacturer", data.venderName)
|
|
|
+ tools.setDataForKey(this.tableData[this.row], "LedgerParam.equipManufactor.Brand", data.brandName)
|
|
|
+ tools.setDataForKey(this.tableData[this.row], "LedgerParam.equipManufactor.Specification", data.name)
|
|
|
this.handleUpdataTable(
|
|
|
[
|
|
|
- [this.row, "DPManufacturerID", null, data.venderId],
|
|
|
- [this.row, "DPBrandID", null, data.brandId],
|
|
|
- [this.row, "DPSpecificationID", null, data.specificationId],
|
|
|
- [this.row, "LedgerParam.EquipManufactor.Manufacturer", null, data.venderName],
|
|
|
- [this.row, "LedgerParam.EquipManufactor.Brand", null, data.brandName],
|
|
|
- [this.row, "LedgerParam.EquipManufactor.Specification", null, data.name]
|
|
|
+ [this.row, "dpManufacturerId", null, data.venderId],
|
|
|
+ [this.row, "dpBrandId", null, data.brandId],
|
|
|
+ [this.row, "dpSpecificationId", null, data.specificationId],
|
|
|
+ [this.row, "LedgerParam.equipManufactor.manufacturer", null, data.venderName],
|
|
|
+ [this.row, "LedgerParam.equipManufactor.Brand", null, data.brandName],
|
|
|
+ [this.row, "LedgerParam.equipManufactor.Specification", null, data.name]
|
|
|
],
|
|
|
"edit"
|
|
|
)
|
|
|
- // this.handleUpdataTable([[this.row, "LedgerParam.EquipManufactor.Brand", null, data.brand]], "edit")
|
|
|
- // this.handleUpdataTable([[this.row, "LedgerParam.EquipManufactor.Specification", null, data.name]], "edit")
|
|
|
+ // this.handleUpdataTable([[this.row, "LedgerParam.equipManufactor.Brand", null, data.brand]], "edit")
|
|
|
+ // this.handleUpdataTable([[this.row, "LedgerParam.equipManufactor.Specification", null, data.name]], "edit")
|
|
|
},
|
|
|
//供应商变更
|
|
|
supplierChange(data) {
|
|
|
- tools.setDataForKey(this.tableData[this.row], "DPSupplierID", data.venderId)
|
|
|
+ tools.setDataForKey(this.tableData[this.row], "dpSupplierId", data.venderId)
|
|
|
tools.setDataForKey(this.tableData[this.row], "LedgerParam.SupplyPurchase.Supplier", data.name)
|
|
|
this.handleUpdataTable(
|
|
|
[
|
|
|
- [this.row, "DPSupplierID", null, data.venderId],
|
|
|
+ [this.row, "dpSupplierId", null, data.venderId],
|
|
|
[this.row, "LedgerParam.SupplyPurchase.Supplier", null, data.name]
|
|
|
],
|
|
|
"edit"
|
|
@@ -521,12 +521,12 @@ export default {
|
|
|
},
|
|
|
//保险商变更
|
|
|
changeInsurer(data) {
|
|
|
- tools.setDataForKey(this.tableData[this.row], "DPInsurerID", data.venderId)
|
|
|
+ tools.setDataForKey(this.tableData[this.row], "dpInsurerId", data.venderId)
|
|
|
tools.setDataForKey(this.tableData[this.row], "LedgerParam.InsuranceDoc.Insurer", data.name)
|
|
|
this.handleUpdataTable(
|
|
|
[
|
|
|
- [this.row, "DPInsurerID", null, data.venderId],
|
|
|
- [this.row, "LedgerParam.InsuranceDoc.Insurer", null, data.name]
|
|
|
+ [this.row, "dpInsurerId", null, data.venderId],
|
|
|
+ [this.row, "LedgerParam.insuranceDoc.insurer", null, data.name]
|
|
|
],
|
|
|
"edit"
|
|
|
)
|
|
@@ -534,16 +534,16 @@ export default {
|
|
|
},
|
|
|
//维修商变更
|
|
|
changeMaintainer(data) {
|
|
|
- tools.setDataForKey(this.tableData[this.row], "DPMaintainerID", data.venderId)
|
|
|
- tools.setDataForKey(this.tableData[this.row], "LedgerParam.OperationMainte.Maintainer", data.name)
|
|
|
+ tools.setDataForKey(this.tableData[this.row], "dpMaintainerId", data.venderId)
|
|
|
+ tools.setDataForKey(this.tableData[this.row], "LedgerParam.operationMainte.maintainer", data.name)
|
|
|
this.handleUpdataTable(
|
|
|
[
|
|
|
- [this.row, "DPMaintainerID", null, data.venderId],
|
|
|
- [this.row, "LedgerParam.OperationMainte.Maintainer", null, data.name]
|
|
|
+ [this.row, "dpMaintainerId", null, data.venderId],
|
|
|
+ [this.row, "LedgerParam.operationMainte.maintainer", null, data.name]
|
|
|
],
|
|
|
"edit"
|
|
|
)
|
|
|
- // this.handleUpdataTable([[this.row, "LedgerParam.OperationMainte.Maintainer", null, data.name]], "edit")
|
|
|
+ // this.handleUpdataTable([[this.row, "LedgerParam.operationMainte.maintainer", null, data.name]], "edit")
|
|
|
},
|
|
|
supplyChange(data) {
|
|
|
tools.setDataForKey(this.tableData[this.row], "LedgerParam.SupplyPurchase.SupplierContractID", { id: data });
|
|
@@ -656,25 +656,25 @@ export default {
|
|
|
}
|
|
|
break;
|
|
|
//品牌型号弹窗
|
|
|
- case 'DPManufacturerID':
|
|
|
+ case 'dpManufacturerId':
|
|
|
if (!this.onlyRead) {
|
|
|
this.myDialog.firm = true;
|
|
|
}
|
|
|
break;
|
|
|
//供应商信息弹窗
|
|
|
- case 'DPSupplierID':
|
|
|
+ case 'dpSupplierId':
|
|
|
if (!this.onlyRead) {
|
|
|
this.myDialog.supplier = true;
|
|
|
}
|
|
|
break;
|
|
|
//维修商信息弹窗
|
|
|
- case 'DPMaintainerID':
|
|
|
+ case 'dpMaintainerId':
|
|
|
if (!this.onlyRead) {
|
|
|
this.myDialog.maintainer = true;
|
|
|
}
|
|
|
break;
|
|
|
//保险公司信息
|
|
|
- case 'DPInsurerID':
|
|
|
+ case 'dpInsurerId':
|
|
|
if (!this.onlyRead) {
|
|
|
this.myDialog.insurer = true;
|
|
|
}
|
|
@@ -683,7 +683,7 @@ export default {
|
|
|
case 'LedgerParam.SupplyPurchase.SupplierContractID':
|
|
|
if (!this.onlyRead) {
|
|
|
let ContractIDflag = null;
|
|
|
- let DPSdata = this.tableData[row.row].DPSupplierID;
|
|
|
+ let DPSdata = this.tableData[row.row].dpSupplierId;
|
|
|
if (DPSdata) {
|
|
|
ContractIDflag = DPSdata.split("-")[0];
|
|
|
}
|
|
@@ -696,10 +696,10 @@ export default {
|
|
|
}
|
|
|
break;
|
|
|
//保险单号
|
|
|
- case 'LedgerParam.InsuranceDoc.InsuranceNum':
|
|
|
+ case 'LedgerParam.insuranceDoc.insuranceNum':
|
|
|
if (!this.onlyRead) {
|
|
|
let DPInsurerIDflag = null;
|
|
|
- let DPIdata = this.tableData[row.row].DPInsurerID;
|
|
|
+ let DPIdata = this.tableData[row.row].dpInsurerId;
|
|
|
if (DPIdata) {
|
|
|
DPInsurerIDflag = DPIdata.split("-")[0];
|
|
|
}
|
|
@@ -715,12 +715,12 @@ export default {
|
|
|
case 'LedgerParam.InsuranceDoc.InsuranceFile': //保险文件
|
|
|
case 'LedgerParam.PhotoDoc.Archive': //设备文档
|
|
|
case 'LedgerParam.Siteinstall.CheckReport': //安装质检报告
|
|
|
- case 'LedgerParam.OperationMainte.MaintainManual': //维修保养手册
|
|
|
+ case 'LedgerParam.operationMainte.MaintainManual': //维修保养手册
|
|
|
case 'LedgerParam.SupplyPurchase.ApproachingAcceptance': //进场验收单
|
|
|
case 'LedgerParam.SupplyPurchase.AcceptanceReport': //验收报告
|
|
|
case 'LedgerParam.PhotoDoc.OperationManual': //操作说明书
|
|
|
- case 'LedgerParam.EquipManufactor.OriginalCertificate': //原厂证明
|
|
|
- case 'LedgerParam.EquipManufactor.TestReport': //检测报告
|
|
|
+ case 'LedgerParam.equipManufactor.OriginalCertificate': //原厂证明
|
|
|
+ case 'LedgerParam.equipManufactor.TestReport': //检测报告
|
|
|
case 'LedgerParam.PhotoDoc.ProductCertification': //产品合格证
|
|
|
case 'LedgerParam.Siteinstall.InstallInstruction': //安装说明书
|
|
|
case 'LedgerParam.SupplyPurchase.SupplierContract': //供应合同
|