|
|
|
@ -1306,6 +1306,7 @@ export default {
|
|
|
|
|
label: response.rows[i].materialCode + response.rows[i].materialDesc,
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
console.log(this.auxiliaryEquipmentRightList)
|
|
|
|
|
for (let i in response.selected) {
|
|
|
|
|
this.rightList.push(response.selected[i].key);
|
|
|
|
|
this.form.rightData = this.rightList;
|
|
|
|
@ -1460,6 +1461,7 @@ export default {
|
|
|
|
|
|
|
|
|
|
this.queryAuxiliaryEquipmentParams.equipmentCategory = '0';
|
|
|
|
|
listEquipment(this.queryAuxiliaryEquipmentParams).then((response) => {
|
|
|
|
|
console.log("listEquipment")
|
|
|
|
|
this.auxiliaryEquipmentLeftList = [];
|
|
|
|
|
for (let i in response.rows) {
|
|
|
|
|
// 将返回的列表赋值于穿梭框左边列表
|
|
|
|
@ -1468,9 +1470,11 @@ export default {
|
|
|
|
|
label: response.rows[i].equipmentCode + response.rows[i].equipmentName + response.rows[i].remark,
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
console.log(this.auxiliaryEquipmentRightList)
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
getEquipment(equipmentId).then((response) => {
|
|
|
|
|
console.log("getEquipment")
|
|
|
|
|
this.form = response.data;
|
|
|
|
|
this.rightList = [];
|
|
|
|
|
for (let i in response.data.selectedData) {
|
|
|
|
@ -1478,12 +1482,14 @@ export default {
|
|
|
|
|
this.rightList.push(response.data.selectedData[i].spareCode);
|
|
|
|
|
}
|
|
|
|
|
this.auxiliaryEquipmentRightList = [];
|
|
|
|
|
console.log(this.auxiliaryEquipmentRightList)
|
|
|
|
|
for (let i in response.data.selectedEquipmentData) {
|
|
|
|
|
// 将返回的辅助设备列表赋值于穿梭框右边列表
|
|
|
|
|
this.auxiliaryEquipmentRightList.push(
|
|
|
|
|
response.data.selectedEquipmentData[i].auxiliaryEquipmentCode
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
console.log(this.auxiliaryEquipmentRightList)
|
|
|
|
|
|
|
|
|
|
if (response.data.imageFiles != null) {
|
|
|
|
|
var newFiles = [];
|
|
|
|
|