保养图片上传BUG解决

yangwl
wws 12 months ago
parent 405b9dee27
commit aeb85365a2

@ -157,7 +157,7 @@
</el-table-column>
<el-table-column label="申领人" align="center" prop="applyPeople" width="80"/>
<!-- <el-table-column label="批准人" align="center" prop="applyApprovePeople" width="80"/> -->
<el-table-column label="工厂号" align="center" prop="factoryCode" />
<el-table-column v-if="false" label="工厂号" align="center" prop="factoryCode" />
<el-table-column label="操作" align="center" class-name="small-padding fixed-width">
<template slot-scope="scope">
<el-button

@ -92,7 +92,7 @@
<el-table-column label="换算比例" align="center" prop="spareConversionRatio" />
<el-table-column label="库存上限" align="center" prop="spareInventoryFloor" />
<el-table-column label="库存下限" align="center" prop="spareInventoryUpper" />
<el-table-column label="工厂号" align="center" prop="factoryCode" />
<el-table-column v-if="false" label="工厂号" align="center" prop="factoryCode" />
<el-table-column label="创建人" align="center" prop="createBy"/>
<el-table-column label="创建时间" align="center" prop="gmtCreate" width="180">
<template slot-scope="scope">

@ -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: {}

Loading…
Cancel
Save