2024-09-11 设备-点检巡检保养工单页面上方搜索框调整+查看未检查工单时,是否达标隐藏

yangwl
元气满满(jgy) 2 months ago
parent 2f7578aa71
commit c2af175544

@ -18,6 +18,7 @@
</el-form-item> </el-form-item>
<el-form-item label="工单号" prop="orderCode"> <el-form-item label="工单号" prop="orderCode">
<el-input <el-input
style="width: 200px"
v-model="queryParams.orderCode" v-model="queryParams.orderCode"
placeholder="请输入工单号" placeholder="请输入工单号"
clearable clearable
@ -26,6 +27,7 @@
</el-form-item> </el-form-item>
<el-form-item label="工单状态" prop="orderStatus"> <el-form-item label="工单状态" prop="orderStatus">
<el-select <el-select
style="width: 200px"
v-model="queryParams.orderStatus" v-model="queryParams.orderStatus"
placeholder="请选择工单状态" placeholder="请选择工单状态"
clearable clearable
@ -40,6 +42,7 @@
</el-form-item> </el-form-item>
<el-form-item label="计划编码" prop="planCode"> <el-form-item label="计划编码" prop="planCode">
<el-input <el-input
style="width: 200px"
v-model="queryParams.planCode" v-model="queryParams.planCode"
placeholder="请输入计划编码" placeholder="请输入计划编码"
clearable clearable
@ -48,6 +51,7 @@
</el-form-item> </el-form-item>
<el-form-item label="工作中心编码" prop="planWorkshop"> <el-form-item label="工作中心编码" prop="planWorkshop">
<el-select <el-select
style="width: 200px"
v-model="queryParams.planWorkshop" v-model="queryParams.planWorkshop"
placeholder="请选择工作中心" placeholder="请选择工作中心"
clearable clearable
@ -62,6 +66,7 @@
</el-form-item> </el-form-item>
<el-form-item label="产线" prop="planProdLine"> <el-form-item label="产线" prop="planProdLine">
<el-input <el-input
style="width: 200px"
v-model="queryParams.planProdLine" v-model="queryParams.planProdLine"
placeholder="请输入产线" placeholder="请输入产线"
clearable clearable
@ -70,6 +75,7 @@
</el-form-item> </el-form-item>
<el-form-item label="设备编码" prop="equipmentCode"> <el-form-item label="设备编码" prop="equipmentCode">
<el-input <el-input
style="width: 200px"
v-model="queryParams.equipmentCode" v-model="queryParams.equipmentCode"
placeholder="请输入设备编码" placeholder="请输入设备编码"
clearable clearable
@ -78,6 +84,7 @@
</el-form-item> </el-form-item>
<el-form-item label="设备名称" prop="equipmentName"> <el-form-item label="设备名称" prop="equipmentName">
<el-input <el-input
style="width: 200px"
v-model="queryParams.equipmentName" v-model="queryParams.equipmentName"
placeholder="请输入设备名称" placeholder="请输入设备名称"
clearable clearable
@ -86,6 +93,7 @@
</el-form-item> </el-form-item>
<el-form-item label="巡检人工号" prop="planPerson"> <el-form-item label="巡检人工号" prop="planPerson">
<el-input <el-input
style="width: 200px"
v-model="queryParams.planPerson" v-model="queryParams.planPerson"
placeholder="请输入巡检人工号" placeholder="请输入巡检人工号"
clearable clearable
@ -94,6 +102,7 @@
</el-form-item> </el-form-item>
<el-form-item label="巡检开始时间" prop="orderStart"> <el-form-item label="巡检开始时间" prop="orderStart">
<el-date-picker <el-date-picker
style="width: 200px"
clearable clearable
v-model="queryParams.orderStart" v-model="queryParams.orderStart"
type="date" type="date"
@ -104,6 +113,7 @@
</el-form-item> </el-form-item>
<el-form-item label="循环周期" prop="planLoop"> <el-form-item label="循环周期" prop="planLoop">
<el-select <el-select
style="width: 200px"
v-model="queryParams.planLoopType" v-model="queryParams.planLoopType"
placeholder="请选择循环周期" placeholder="请选择循环周期"
clearable clearable
@ -118,6 +128,7 @@
</el-form-item> </el-form-item>
<el-form-item label="创建时间" prop="createTime"> <el-form-item label="创建时间" prop="createTime">
<el-date-picker <el-date-picker
style="width: 510px"
v-model="queryParams.createTimeArray" v-model="queryParams.createTimeArray"
type="daterange" type="daterange"
align="right" align="right"
@ -280,6 +291,7 @@
</el-form-item> </el-form-item>
<el-form-item label="循环范围开始" prop="planLoopStart"> <el-form-item label="循环范围开始" prop="planLoopStart">
<el-date-picker <el-date-picker
style="width: 510px"
v-model="queryParams.loopStartArray" v-model="queryParams.loopStartArray"
type="daterange" type="daterange"
align="right" align="right"
@ -294,6 +306,7 @@
</el-form-item> </el-form-item>
<el-form-item label="循环范围结束" prop="planLoopEnd"> <el-form-item label="循环范围结束" prop="planLoopEnd">
<el-date-picker <el-date-picker
style="width: 400px"
v-model="queryParams.loopEndArray" v-model="queryParams.loopEndArray"
type="daterange" type="daterange"
align="right" align="right"
@ -1073,6 +1086,9 @@ export default {
for (let i = 0; i < this.workVO.detailList.length; i++) { for (let i = 0; i < this.workVO.detailList.length; i++) {
for (let j = 0;j < this.workVO.detailList[i].standardList.length;j++) { for (let j = 0;j < this.workVO.detailList[i].standardList.length;j++) {
this.workVO.detailList[i].standardList[j].itemName =this.workVO.detailList[i].itemName; this.workVO.detailList[i].standardList[j].itemName =this.workVO.detailList[i].itemName;
if(response.data.order.orderStatus == '0'){
this.workVO.detailList[i].standardList[j].detailReach = "";
}
this.standardListVo.push(this.workVO.detailList[i].standardList[j]); this.standardListVo.push(this.workVO.detailList[i].standardList[j]);
} }
} }

@ -18,6 +18,7 @@
</el-form-item> </el-form-item>
<el-form-item label="点检工单号" prop="orderCode"> <el-form-item label="点检工单号" prop="orderCode">
<el-input <el-input
style="width: 200px"
v-model="queryParams.orderCode" v-model="queryParams.orderCode"
placeholder="请输入点检工单号" placeholder="请输入点检工单号"
clearable clearable
@ -26,6 +27,7 @@
</el-form-item> </el-form-item>
<el-form-item label="工单状态" prop="orderStatus"> <el-form-item label="工单状态" prop="orderStatus">
<el-select <el-select
style="width: 200px"
v-model="queryParams.orderStatus" v-model="queryParams.orderStatus"
placeholder="请选择工单状态" placeholder="请选择工单状态"
clearable clearable
@ -40,6 +42,7 @@
</el-form-item> </el-form-item>
<el-form-item label="计划编码" prop="planCode"> <el-form-item label="计划编码" prop="planCode">
<el-input <el-input
style="width: 200px"
v-model="queryParams.planCode" v-model="queryParams.planCode"
placeholder="请输入计划编码" placeholder="请输入计划编码"
clearable clearable
@ -48,6 +51,7 @@
</el-form-item> </el-form-item>
<el-form-item label="计划名称" prop="planName"> <el-form-item label="计划名称" prop="planName">
<el-input <el-input
style="width: 200px"
v-model="queryParams.planName" v-model="queryParams.planName"
placeholder="请输入计划名称" placeholder="请输入计划名称"
clearable clearable
@ -56,6 +60,7 @@
</el-form-item> </el-form-item>
<el-form-item label="车间编码" prop="planWorkshop"> <el-form-item label="车间编码" prop="planWorkshop">
<el-select <el-select
style="width: 200px"
v-model="queryParams.planWorkshop" v-model="queryParams.planWorkshop"
placeholder="请选择车间" placeholder="请选择车间"
clearable clearable
@ -70,6 +75,7 @@
</el-form-item> </el-form-item>
<el-form-item label="产线" prop="planProdLine"> <el-form-item label="产线" prop="planProdLine">
<el-input <el-input
style="width: 200px"
v-model="queryParams.planProdLine" v-model="queryParams.planProdLine"
placeholder="请输入产线" placeholder="请输入产线"
clearable clearable
@ -126,6 +132,7 @@
</el-form-item> </el-form-item>
<el-form-item label="设备编码" prop="equipmentCode"> <el-form-item label="设备编码" prop="equipmentCode">
<el-input <el-input
style="width: 200px"
v-model="queryParams.equipmentCode" v-model="queryParams.equipmentCode"
placeholder="请输入设备编码" placeholder="请输入设备编码"
clearable clearable
@ -134,6 +141,7 @@
</el-form-item> </el-form-item>
<el-form-item label="设备名称" prop="equipmentName"> <el-form-item label="设备名称" prop="equipmentName">
<el-input <el-input
style="width: 200px"
v-model="queryParams.equipmentName" v-model="queryParams.equipmentName"
placeholder="请输入设备名称" placeholder="请输入设备名称"
clearable clearable
@ -142,6 +150,7 @@
</el-form-item> </el-form-item>
<el-form-item label="点检人" prop="planPerson"> <el-form-item label="点检人" prop="planPerson">
<el-input <el-input
style="width: 200px"
v-model="queryParams.planPerson" v-model="queryParams.planPerson"
placeholder="请输入点检人" placeholder="请输入点检人"
clearable clearable
@ -150,6 +159,7 @@
</el-form-item> </el-form-item>
<el-form-item label="点检开始时间" prop="orderStart"> <el-form-item label="点检开始时间" prop="orderStart">
<el-date-picker <el-date-picker
style="width: 200px"
clearable clearable
v-model="queryParams.orderStart" v-model="queryParams.orderStart"
type="date" type="date"
@ -260,6 +270,7 @@
</el-form-item> </el-form-item>
<el-form-item label="循环周期" prop="planLoop"> <el-form-item label="循环周期" prop="planLoop">
<el-select <el-select
style="width: 200px"
v-model="queryParams.planLoopType" v-model="queryParams.planLoopType"
placeholder="请选择循环周期" placeholder="请选择循环周期"
clearable clearable
@ -274,6 +285,7 @@
</el-form-item> </el-form-item>
<el-form-item label="循环开始时间" prop="planLoopStart"> <el-form-item label="循环开始时间" prop="planLoopStart">
<el-date-picker <el-date-picker
style="width: 510px"
v-model="queryParams.loopStartArray" v-model="queryParams.loopStartArray"
type="daterange" type="daterange"
align="right" align="right"
@ -288,6 +300,7 @@
</el-form-item> </el-form-item>
<el-form-item label="创建时间" prop="createTime"> <el-form-item label="创建时间" prop="createTime">
<el-date-picker <el-date-picker
style="width: 400px"
v-model="queryParams.createTimeArray" v-model="queryParams.createTimeArray"
type="daterange" type="daterange"
align="right" align="right"
@ -1090,8 +1103,10 @@ export default {
j < this.workVO.detailList[i].standardList.length; j < this.workVO.detailList[i].standardList.length;
j++ j++
) { ) {
this.workVO.detailList[i].standardList[j].itemName = this.workVO.detailList[i].standardList[j].itemName = this.workVO.detailList[i].itemName;
this.workVO.detailList[i].itemName; if(response.data.order.orderStatus == '0'){
this.workVO.detailList[i].standardList[j].detailReach = "";
}
this.standardListVo.push(this.workVO.detailList[i].standardList[j]); this.standardListVo.push(this.workVO.detailList[i].standardList[j]);
} }
} }

@ -1745,8 +1745,10 @@ export default {
j < this.workVO.detailList[i].standardList.length; j < this.workVO.detailList[i].standardList.length;
j++ j++
) { ) {
this.workVO.detailList[i].standardList[j].itemName = this.workVO.detailList[i].standardList[j].itemName = this.workVO.detailList[i].itemName;
this.workVO.detailList[i].itemName; if(response.data.order.orderStatus == '0'){
this.workVO.detailList[i].standardList[j].detailReach = "";
}
this.standardListVo.push(this.workVO.detailList[i].standardList[j]); this.standardListVo.push(this.workVO.detailList[i].standardList[j]);
} }
} }

Loading…
Cancel
Save