|
|
|
@ -976,18 +976,7 @@
|
|
|
|
|
</el-tab-pane>
|
|
|
|
|
<el-tab-pane label="工单信息">
|
|
|
|
|
<el-row>
|
|
|
|
|
<el-col :span="16">
|
|
|
|
|
<el-form-item label="保养时间">
|
|
|
|
|
<el-date-picker
|
|
|
|
|
v-model="form.timeArray"
|
|
|
|
|
type="datetimerange"
|
|
|
|
|
range-separator="至"
|
|
|
|
|
start-placeholder="开始时间"
|
|
|
|
|
end-placeholder="结束时间">
|
|
|
|
|
</el-date-picker>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-col>
|
|
|
|
|
<el-col :span="6">
|
|
|
|
|
<el-col :span="8">
|
|
|
|
|
<el-form-item label="工单状态">
|
|
|
|
|
<el-select v-model="form.orderStatus" placeholder="计划状态" clearable>
|
|
|
|
|
<el-option
|
|
|
|
@ -999,6 +988,17 @@
|
|
|
|
|
</el-select>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-col>
|
|
|
|
|
<el-col :span="16">
|
|
|
|
|
<el-form-item label="保养时间">
|
|
|
|
|
<el-date-picker
|
|
|
|
|
v-model="form.timeArray"
|
|
|
|
|
type="datetimerange"
|
|
|
|
|
range-separator="至"
|
|
|
|
|
start-placeholder="开始时间"
|
|
|
|
|
end-placeholder="结束时间">
|
|
|
|
|
</el-date-picker>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-col>
|
|
|
|
|
</el-row>
|
|
|
|
|
<el-row>
|
|
|
|
|
<el-col span="8">
|
|
|
|
@ -1007,6 +1007,13 @@
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-col>
|
|
|
|
|
</el-row>
|
|
|
|
|
<el-row>
|
|
|
|
|
<el-col span="18">
|
|
|
|
|
<el-form-item label="保养图片">
|
|
|
|
|
<FileUpload v-model="form.picturePath" />
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-col>
|
|
|
|
|
</el-row>
|
|
|
|
|
</el-tab-pane>
|
|
|
|
|
</el-tabs>
|
|
|
|
|
</el-form>
|
|
|
|
@ -1039,6 +1046,16 @@
|
|
|
|
|
<el-descriptions-item label="是否停机保养">{{ workVO.order.shutDown }}</el-descriptions-item>
|
|
|
|
|
<el-descriptions-item label="保养人">{{ workVO.order.planPerson }}</el-descriptions-item>
|
|
|
|
|
<el-descriptions-item label="报修单号">{{ workVO.order.repairCode }}</el-descriptions-item>
|
|
|
|
|
<el-descriptions-item label="保养图片">
|
|
|
|
|
<div class="demo-image__lazy">
|
|
|
|
|
<el-empty :image-size="200" v-if="workVO.order.upkeepPictures.length == 0"></el-empty>
|
|
|
|
|
<div v-for="(url, index) in workVO.order.upkeepPictures" :key="index">
|
|
|
|
|
<el-image
|
|
|
|
|
:src="url"
|
|
|
|
|
></el-image>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</el-descriptions-item>
|
|
|
|
|
</el-descriptions>
|
|
|
|
|
</el-tab-pane>
|
|
|
|
|
<el-tab-pane label="设备信息">
|
|
|
|
@ -1188,6 +1205,7 @@ export default {
|
|
|
|
|
orderStart:null,
|
|
|
|
|
orderEnd:null,
|
|
|
|
|
planPerson:null,
|
|
|
|
|
upkeepPictures:[],
|
|
|
|
|
},equ: {
|
|
|
|
|
equipmentCode:null,
|
|
|
|
|
equipmentName: null,
|
|
|
|
@ -1358,6 +1376,7 @@ export default {
|
|
|
|
|
personList:[],
|
|
|
|
|
planTimeArray:[],
|
|
|
|
|
timeArray:[],
|
|
|
|
|
picturePath: null,
|
|
|
|
|
},
|
|
|
|
|
// 表单校验
|
|
|
|
|
rules: {}
|
|
|
|
|