设备-工单逻辑变更

master
wws 1 year ago
parent a92d361094
commit d1b5b00888

@ -286,6 +286,7 @@
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="设备编码" align="center" prop="equipmentCode"/> <el-table-column label="设备编码" align="center" prop="equipmentCode"/>
<el-table-column label="设备名称" align="center" prop="equipmentName"/>
<el-table-column label="工单状态" align="center" prop="orderStatus"> <el-table-column label="工单状态" align="center" prop="orderStatus">
<template slot-scope="scope"> <template slot-scope="scope">
<dict-tag :options="dict.type.device_order_status" :value="scope.row.orderStatus"/> <dict-tag :options="dict.type.device_order_status" :value="scope.row.orderStatus"/>

@ -280,6 +280,7 @@
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="设备编码" align="center" prop="equipmentCode"/> <el-table-column label="设备编码" align="center" prop="equipmentCode"/>
<el-table-column label="设备名称" align="center" prop="equipmentName"/>
<el-table-column label="工单状态" align="center" prop="orderStatus"> <el-table-column label="工单状态" align="center" prop="orderStatus">
<template slot-scope="scope"> <template slot-scope="scope">
<dict-tag :options="dict.type.device_order_status" :value="scope.row.orderStatus"/> <dict-tag :options="dict.type.device_order_status" :value="scope.row.orderStatus"/>

@ -276,6 +276,7 @@
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="设备编码" align="center" prop="equipmentCode" /> <el-table-column label="设备编码" align="center" prop="equipmentCode" />
<el-table-column label="设备名称" align="center" prop="equipmentName" />
<el-table-column label="工单状态" align="center" prop="orderStatus" > <el-table-column label="工单状态" align="center" prop="orderStatus" >
<template slot-scope="scope"> <template slot-scope="scope">
<dict-tag :options="dict.type.device_order_status" :value="scope.row.orderStatus"/> <dict-tag :options="dict.type.device_order_status" :value="scope.row.orderStatus"/>

@ -292,6 +292,7 @@
</el-table-column> </el-table-column>
<el-table-column label="设备编码" align="center" prop="equipmentCode" /> <el-table-column label="设备编码" align="center" prop="equipmentCode" />
<el-table-column label="设备名称" align="center" prop="equipmentName" /> <el-table-column label="设备名称" align="center" prop="equipmentName" />
<el-table-column label="设备名称" align="center" prop="equipmentName" />
<el-table-column label="工单状态" align="center" prop="orderStatus" > <el-table-column label="工单状态" align="center" prop="orderStatus" >
<template slot-scope="scope"> <template slot-scope="scope">
<dict-tag :options="dict.type.device_order_status" :value="scope.row.orderStatus"/> <dict-tag :options="dict.type.device_order_status" :value="scope.row.orderStatus"/>

@ -276,6 +276,7 @@
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="设备编码" align="center" prop="equipmentCode" /> <el-table-column label="设备编码" align="center" prop="equipmentCode" />
<el-table-column label="设备名称" align="center" prop="equipmentName" />
<el-table-column label="工单状态" align="center" prop="orderStatus" > <el-table-column label="工单状态" align="center" prop="orderStatus" >
<template slot-scope="scope"> <template slot-scope="scope">
<dict-tag :options="dict.type.device_order_status" :value="scope.row.orderStatus"/> <dict-tag :options="dict.type.device_order_status" :value="scope.row.orderStatus"/>

@ -280,6 +280,7 @@
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="设备编码" align="center" prop="equipmentCode"/> <el-table-column label="设备编码" align="center" prop="equipmentCode"/>
<el-table-column label="设备名称" align="center" prop="equipmentName"/>
<el-table-column label="工单状态" align="center" prop="orderStatus"/> <el-table-column label="工单状态" align="center" prop="orderStatus"/>
<el-table-column label="审核状态" align="center" prop="orderInspect"/> <el-table-column label="审核状态" align="center" prop="orderInspect"/>
<el-table-column label="工单费用" align="center" prop="orderCost"/> <el-table-column label="工单费用" align="center" prop="orderCost"/>
@ -370,7 +371,7 @@
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="10" :offset="1"> <el-col :span="10" :offset="1">
<el-form-item label-width="100px" label="保养执行时间"> <el-form-item label-width="100px" label="循环时间范围">
<el-date-picker <el-date-picker
@change="changeArray" @change="changeArray"
v-model="form.planTimeArray" v-model="form.planTimeArray"
@ -748,11 +749,11 @@
<el-row> <el-row>
<el-col :offset="9" :span="6"> <el-col :offset="9" :span="6">
<el-form-item label="设备名称:"> <el-form-item label="设备名称:">
{{ this.form.equ.equipmentName }} {{ this.form.equipmentName }}
</el-form-item> </el-form-item>
</el-col> </el-col>
</el-row> </el-row>
<div v-for="(detail,detailIndex) in form.equ.detailList" :key="detailIndex"> <div v-for="(detail,detailIndex) in form.detailList" :key="detailIndex">
<!-- 检查项 --> <!-- 检查项 -->
<el-row> <el-row>
<el-col :span="6"> <el-col :span="6">
@ -814,7 +815,7 @@
</el-tab-pane> </el-tab-pane>
<el-tab-pane label="备件"> <el-tab-pane label="备件">
<el-table <el-table
:data="form.equ.spareList" :data="form.spareList"
stripe stripe
style="width: 100%"> style="width: 100%">
<el-table-column width="60" align="center" label="序号" type="index"/> <el-table-column width="60" align="center" label="序号" type="index"/>
@ -1071,6 +1072,7 @@ export default {
}, },
// //
cilckFastWork(){ cilckFastWork(){
this.reset();
this.selectPersonList = []; this.selectPersonList = [];
this.personList = []; this.personList = [];
this.setPerson(); this.setPerson();

Loading…
Cancel
Save