|
|
@ -1,6 +1,6 @@
|
|
|
|
<template>
|
|
|
|
<template>
|
|
|
|
<div class="app-container">
|
|
|
|
<div class="app-container">
|
|
|
|
<el-form :model="queryParams" ref="queryForm" size="small" :inline="true" v-show="showSearch" label-width="68px">
|
|
|
|
<el-form :model="queryParams" ref="queryForm" size="small" :inline="true" v-show="showSearch" label-width="100px">
|
|
|
|
<el-form-item v-if="false" label="计划id" prop="planId">
|
|
|
|
<el-form-item v-if="false" label="计划id" prop="planId">
|
|
|
|
<el-input
|
|
|
|
<el-input
|
|
|
|
v-model="queryParams.planId"
|
|
|
|
v-model="queryParams.planId"
|
|
|
@ -111,7 +111,7 @@
|
|
|
|
@keyup.enter.native="handleQuery"
|
|
|
|
@keyup.enter.native="handleQuery"
|
|
|
|
/>
|
|
|
|
/>
|
|
|
|
</el-form-item>
|
|
|
|
</el-form-item>
|
|
|
|
<el-form-item v-if="false" label="设备名称" prop="equipmentName">
|
|
|
|
<el-form-item label="设备名称" prop="equipmentName">
|
|
|
|
<el-input
|
|
|
|
<el-input
|
|
|
|
v-model="queryParams.equipmentName"
|
|
|
|
v-model="queryParams.equipmentName"
|
|
|
|
placeholder="请输入设备名称"
|
|
|
|
placeholder="请输入设备名称"
|
|
|
@ -223,7 +223,7 @@
|
|
|
|
placeholder="请选择更新时间">
|
|
|
|
placeholder="请选择更新时间">
|
|
|
|
</el-date-picker>
|
|
|
|
</el-date-picker>
|
|
|
|
</el-form-item>
|
|
|
|
</el-form-item>
|
|
|
|
<el-form-item label-width="100px" label="循环范围开始" prop="planLoopStart">
|
|
|
|
<el-form-item label="循环范围开始" prop="planLoopStart">
|
|
|
|
<el-date-picker
|
|
|
|
<el-date-picker
|
|
|
|
v-model="queryParams.loopStartArray"
|
|
|
|
v-model="queryParams.loopStartArray"
|
|
|
|
type="daterange"
|
|
|
|
type="daterange"
|
|
|
@ -236,7 +236,7 @@
|
|
|
|
:picker-options="pickerOptions">
|
|
|
|
:picker-options="pickerOptions">
|
|
|
|
</el-date-picker>
|
|
|
|
</el-date-picker>
|
|
|
|
</el-form-item>
|
|
|
|
</el-form-item>
|
|
|
|
<el-form-item label-width="100px" label="循环范围结束" prop="planLoopEnd">
|
|
|
|
<el-form-item label="循环范围结束" prop="planLoopEnd">
|
|
|
|
<el-date-picker
|
|
|
|
<el-date-picker
|
|
|
|
v-model="queryParams.loopEndArray"
|
|
|
|
v-model="queryParams.loopEndArray"
|
|
|
|
type="daterange"
|
|
|
|
type="daterange"
|
|
|
@ -249,7 +249,7 @@
|
|
|
|
:picker-options="pickerOptions">
|
|
|
|
:picker-options="pickerOptions">
|
|
|
|
</el-date-picker>
|
|
|
|
</el-date-picker>
|
|
|
|
</el-form-item>
|
|
|
|
</el-form-item>
|
|
|
|
<el-form-item label-width="100px" label="执行开始时间" prop="orderStart">
|
|
|
|
<el-form-item label="保养开始时间" prop="orderStart">
|
|
|
|
<el-date-picker
|
|
|
|
<el-date-picker
|
|
|
|
v-model="queryParams.orderStartArray"
|
|
|
|
v-model="queryParams.orderStartArray"
|
|
|
|
type="daterange"
|
|
|
|
type="daterange"
|
|
|
@ -262,7 +262,7 @@
|
|
|
|
:picker-options="pickerOptions">
|
|
|
|
:picker-options="pickerOptions">
|
|
|
|
</el-date-picker>
|
|
|
|
</el-date-picker>
|
|
|
|
</el-form-item>
|
|
|
|
</el-form-item>
|
|
|
|
<el-form-item label-width="100px" label="执行结束时间" prop="orderEnd">
|
|
|
|
<el-form-item label="保养结束时间" prop="orderEnd">
|
|
|
|
<el-date-picker
|
|
|
|
<el-date-picker
|
|
|
|
v-model="queryParams.orderEndArray"
|
|
|
|
v-model="queryParams.orderEndArray"
|
|
|
|
type="daterange"
|
|
|
|
type="daterange"
|
|
|
@ -369,7 +369,7 @@
|
|
|
|
<el-table-column label="车间编码" align="center" prop="planWorkshop" />
|
|
|
|
<el-table-column label="车间编码" align="center" prop="planWorkshop" />
|
|
|
|
<el-table-column width="150" label="车间" align="center" prop="workCenterName"/>
|
|
|
|
<el-table-column width="150" label="车间" align="center" prop="workCenterName"/>
|
|
|
|
<el-table-column width="100" label="设备编码" align="center" prop="equipmentCode" />
|
|
|
|
<el-table-column width="100" label="设备编码" align="center" prop="equipmentCode" />
|
|
|
|
<el-table-column width="120" label="设备名称" align="center" prop="equipmentName" />
|
|
|
|
<el-table-column width="200" label="设备名称" align="center" prop="equipmentName" />
|
|
|
|
<el-table-column v-if="false" label="产线" align="center" prop="planProdLine" />
|
|
|
|
<el-table-column v-if="false" label="产线" align="center" prop="planProdLine" />
|
|
|
|
<el-table-column label="循环周期" align="center" prop="planLoop" />
|
|
|
|
<el-table-column label="循环周期" align="center" prop="planLoop" />
|
|
|
|
<el-table-column width="120" label="循环周期类型" align="center" prop="planLoopType" >
|
|
|
|
<el-table-column width="120" label="循环周期类型" align="center" prop="planLoopType" >
|
|
|
@ -387,12 +387,12 @@
|
|
|
|
<span>{{ parseTime(scope.row.planLoopEnd, '{y}-{m}-{d}') }}</span>
|
|
|
|
<span>{{ parseTime(scope.row.planLoopEnd, '{y}-{m}-{d}') }}</span>
|
|
|
|
</template>
|
|
|
|
</template>
|
|
|
|
</el-table-column>
|
|
|
|
</el-table-column>
|
|
|
|
<el-table-column width="120" label="执行开始时间" align="center" prop="orderStart">
|
|
|
|
<el-table-column width="120" label="保养开始时间" align="center" prop="orderStart">
|
|
|
|
<template slot-scope="scope">
|
|
|
|
<template slot-scope="scope">
|
|
|
|
<span>{{ parseTime(scope.row.orderStart, '{y}-{m}-{d}') }}</span>
|
|
|
|
<span>{{ parseTime(scope.row.orderStart, '{y}-{m}-{d}') }}</span>
|
|
|
|
</template>
|
|
|
|
</template>
|
|
|
|
</el-table-column>
|
|
|
|
</el-table-column>
|
|
|
|
<el-table-column width="120" label="执行结束时间" align="center" prop="orderEnd">
|
|
|
|
<el-table-column width="120" label="保养结束时间" align="center" prop="orderEnd">
|
|
|
|
<template slot-scope="scope">
|
|
|
|
<template slot-scope="scope">
|
|
|
|
<span>{{ parseTime(scope.row.orderEnd, '{y}-{m}-{d}') }}</span>
|
|
|
|
<span>{{ parseTime(scope.row.orderEnd, '{y}-{m}-{d}') }}</span>
|
|
|
|
</template>
|
|
|
|
</template>
|
|
|
@ -1038,8 +1038,8 @@
|
|
|
|
<el-descriptions-item label="车间编码">{{ workVO.order.planWorkshop }}</el-descriptions-item>
|
|
|
|
<el-descriptions-item label="车间编码">{{ workVO.order.planWorkshop }}</el-descriptions-item>
|
|
|
|
<el-descriptions-item label="循环开始时间">{{ workVO.order.planLoopStart }}</el-descriptions-item>
|
|
|
|
<el-descriptions-item label="循环开始时间">{{ workVO.order.planLoopStart }}</el-descriptions-item>
|
|
|
|
<el-descriptions-item label="循环结束时间">{{ workVO.order.planLoopEnd }}</el-descriptions-item>
|
|
|
|
<el-descriptions-item label="循环结束时间">{{ workVO.order.planLoopEnd }}</el-descriptions-item>
|
|
|
|
<el-descriptions-item label="执行开始时间">{{ workVO.order.orderStart }}</el-descriptions-item>
|
|
|
|
<el-descriptions-item label="保养开始时间">{{ workVO.order.orderStart }}</el-descriptions-item>
|
|
|
|
<el-descriptions-item label="执行结束时间">{{ workVO.order.orderEnd }}</el-descriptions-item>
|
|
|
|
<el-descriptions-item label="保养结束时间">{{ workVO.order.orderEnd }}</el-descriptions-item>
|
|
|
|
<el-descriptions-item label="保养类型">{{ workVO.order.upkeep }}</el-descriptions-item>
|
|
|
|
<el-descriptions-item label="保养类型">{{ workVO.order.upkeep }}</el-descriptions-item>
|
|
|
|
<el-descriptions-item label="是否停机保养">{{ workVO.order.shutDown }}</el-descriptions-item>
|
|
|
|
<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.planPerson }}</el-descriptions-item>
|
|
|
|