2024-07-19 设备-点检、巡检、保养修改时重置问题

yangwl
A0010407 4 months ago
parent 5d567762ea
commit 739ef9cb2d

@ -444,7 +444,7 @@
<el-row>
<el-col class="my-step-mar" :span="24">
<el-input
placeholder="请输入名称并按回车查询"
placeholder="请输入设备编码,按搜索按钮查询"
v-model="equipmentItemSearch"
class="input-with-select"
style="width: 400px"
@ -1273,7 +1273,11 @@ export default {
// this.form.equipmentItem[i].itemTempName = this.form.equipmentItem[i].itemTempName + this.form.equipmentItem[i].equPlanDetailList[j].itemName + ","
// }
// }
//
this.equipmentItemList = [];
for (let i = 0; i < response.data.equipmentItem.length; i++) {
this.equipmentItemList.push(response.data.equipmentItem[i]);
};
this.loading = false;
this.open = true;
this.title = "修改计划";

@ -463,7 +463,7 @@
<el-row>
<el-col class="my-step-mar" :span="24">
<el-input
placeholder="请输入名称并按回车查询"
placeholder="请输入设备编码,按搜索按钮查询"
v-model="equipmentItemSearch"
class="input-with-select"
style="width: 400px"
@ -1310,6 +1310,11 @@ export default {
// }
// }
//
this.equipmentItemList = [];
for (let i = 0; i < response.data.equipmentItem.length; i++) {
this.equipmentItemList.push(response.data.equipmentItem[i]);
};
this.loading = false;
this.open = true;
this.title = "修改计划";

@ -500,7 +500,7 @@
<el-row>
<el-col class="my-step-mar" :span="24">
<el-input
placeholder="请输入名称并按回车查询"
placeholder="请输入设备编码,按搜索按钮查询"
v-model="equipmentItemSearch"
class="input-with-select"
style="width: 400px"
@ -1683,7 +1683,6 @@ export default {
initUpdatePlanInfo(row).then(response => {
this.form = response.data;
this.selectPersonList = response.data.personListVO;
for (let i = 0; i < this.form.equipmentItem.length; i++) {
@ -1693,9 +1692,12 @@ export default {
for (let j = 0; j < this.form.equipmentItem[i].equPlanDetailList.length; j++) {
this.form.equipmentItem[i].itemTempName = this.form.equipmentItem[i].itemTempName + this.form.equipmentItem[i].equPlanDetailList[j].itemName + ","
}
}
//
this.equipmentItemList = [];
for (let i = 0; i < response.data.equipmentItem.length; i++) {
this.equipmentItemList.push(response.data.equipmentItem[i]);
};
this.loading = false;
this.open = true;
this.title = "修改计划";

Loading…
Cancel
Save