2024-05-23 设备模块-报修-前端增加限制

master
A0010407 6 months ago
parent 01e4f0b1fd
commit f48b30996c

@ -956,10 +956,10 @@
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="8"> <el-col :span="8">
<el-form-item label="报修人号" prop="orderRepairmanCode"> <el-form-item label="报修人号" prop="orderRepairmanCode">
<el-input <el-input
v-model="form.orderRepairmanCode" v-model="form.orderRepairmanCode"
placeholder="请选择报修人号" placeholder="请选择报修人号"
style="width: 200px" style="width: 200px"
> >
<el-button <el-button
@ -1331,6 +1331,12 @@ export default {
orderTime: [ orderTime: [
{ required: true, message: "报修时间不能为空", trigger: "blur" }, { required: true, message: "报修时间不能为空", trigger: "blur" },
], ],
orderDesc: [
{ required: true, message: "故障描述不能为空", trigger: "blur" },
],
orderRepairmanCode: [
{ required: true, message: "报修人工号不能为空", trigger: "blur" },
],
}, },
}; };
}, },
@ -1433,6 +1439,8 @@ export default {
orderTime: null, orderTime: null,
orderHandle: null, orderHandle: null,
orderRepairman: null, orderRepairman: null,
orderRepairmanCode: null,
orderRepairmanName: null,
orderConnection: null, orderConnection: null,
orderStatus: null, orderStatus: null,
orderRelevance: null, orderRelevance: null,

Loading…
Cancel
Save