2024-1-18-1 设备模块-维修选择项改为可选可填-临时任务

master
A0010407 10 months ago
parent f50e3220c8
commit 3297b42385

@ -970,6 +970,7 @@
<el-select
v-model="form.orderDesc"
@change="$forceUpdate()"
@blur="selectBlur"
clearable
filterable
style="width: 200px"
@ -1700,7 +1701,11 @@ export default {
`faultReport_${new Date().getTime()}.xlsx`
);
},
selectBlur(even) {
if (even.target.value) {
this.form.orderDesc = even.target.value;
}
},
objectSpanMethod({ row, column, rowIndex, columnIndex }) {
if (columnIndex === 0) {
//

@ -270,7 +270,7 @@
prop="orderCode"
width="200"
/>
<el-table-column label="设备编码" align="center" prop="equipmentCode" />
<el-table-column label="设备编码" align="center" prop="equipmentCode" width="150"/>
<el-table-column
label="故障描述"
align="center"
@ -1105,6 +1105,7 @@
v-model="form.workReason"
placeholder="请选择故障原因"
@change="$forceUpdate()"
@blur="selectBlurWorkReason"
clearable
filterable
style="width: 250px"
@ -1125,6 +1126,7 @@
v-model="form.repairMeasures"
placeholder="请选择处理措施"
@change="$forceUpdate()"
@blur="selectRepairMeasures"
clearable
filterable
style="width: 250px"
@ -1803,6 +1805,16 @@ export default {
this.workFaultDescOption = response.rows;
});
},
selectBlurWorkReason(even) {
if (even.target.value) {
this.form.workReason = even.target.value;
}
},
selectRepairMeasures(even) {
if (even.target.value) {
this.form.repairMeasures = even.target.value;
}
},
/** 查询维修原因列表 */
getWorkReason() {
this.loading = true;

Loading…
Cancel
Save