change - 订单、工单页面优化

main
yinq 3 weeks ago
parent 09a2d898a9
commit 5054293930

@ -15,7 +15,6 @@
<el-select v-model="queryParams.energyType" style="width: 100px" placeholder="请选择能源类型"> <el-select v-model="queryParams.energyType" style="width: 100px" placeholder="请选择能源类型">
<el-option <el-option
v-for="item in energyTypeList" v-for="item in energyTypeList"
:key="item.value" :key="item.value"
:label="item.label" :label="item.label"
:value="item.value" :value="item.value"

@ -30,13 +30,11 @@
<el-col :span="19" :xs="24"> <el-col :span="19" :xs="24">
<el-form :model="queryParams" ref="queryForm" size="small" :inline="true" v-show="showSearch" <el-form :model="queryParams" ref="queryForm" size="small" :inline="true" v-show="showSearch"
label-width="100px" label-width="100px">
>
<el-form-item label="能源类型" prop="energyType"> <el-form-item label="能源类型" prop="energyType">
<el-select v-model="queryParams.energyType" style="width: 100px" placeholder="请选择能源类型"> <el-select v-model="queryParams.energyType" style="width: 100px" placeholder="请选择能源类型">
<el-option <el-option
v-for="item in energyTypeList" v-for="item in energyTypeList"
:key="item.value" :key="item.value"
:label="item.label" :label="item.label"
:value="item.value" :value="item.value"

@ -108,6 +108,7 @@
<span>{{ parseTime(scope.row.planEndDate, '{y}-{m}-{d} {h}:{i}:{s}') }}</span> <span>{{ parseTime(scope.row.planEndDate, '{y}-{m}-{d} {h}:{i}:{s}') }}</span>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="生产次数(锅数)" align="center" prop="batchNumber" v-if="columns[14].visible"/>
<el-table-column label="启用标识" align="center" prop="isFlag" v-if="columns[9].visible"> <el-table-column label="启用标识" align="center" prop="isFlag" v-if="columns[9].visible">
<template slot-scope="scope"> <template slot-scope="scope">
<dict-tag :options="dict.type.is_flag" :value="scope.row.isFlag"/> <dict-tag :options="dict.type.is_flag" :value="scope.row.isFlag"/>
@ -309,7 +310,8 @@ export default {
{ key: 10, label: `创建人`, visible: false }, { key: 10, label: `创建人`, visible: false },
{ key: 11, label: `创建时间`, visible: false }, { key: 11, label: `创建时间`, visible: false },
{ key: 12, label: `更新人`, visible: false }, { key: 12, label: `更新人`, visible: false },
{ key: 13, label: `更新时间`, visible: false } { key: 13, label: `更新时间`, visible: false },
{ key: 14, label: `生产次数(锅数)`, visible: true }
] ]
} }
}, },

@ -153,6 +153,11 @@
<el-table-column label="计划工位" align="center" prop="stationName" v-if="columns[5].visible" width="130"/> <el-table-column label="计划工位" align="center" prop="stationName" v-if="columns[5].visible" width="130"/>
<el-table-column label="设备编号" align="center" prop="deviceCode" v-if="columns[6].visible"/> <el-table-column label="设备编号" align="center" prop="deviceCode" v-if="columns[6].visible"/>
<el-table-column label="计划班组" align="center" prop="teamName" v-if="columns[7].visible"/> <el-table-column label="计划班组" align="center" prop="teamName" v-if="columns[7].visible"/>
<el-table-column label="工单状态" align="center" prop="planStatus" v-if="columns[17].visible">
<template slot-scope="scope">
<dict-tag :options="dict.type.plan_status" :value="scope.row.planStatus"/>
</template>
</el-table-column>
<el-table-column label="计划数量" align="center" prop="planAmount" v-if="columns[8].visible"/> <el-table-column label="计划数量" align="center" prop="planAmount" v-if="columns[8].visible"/>
<el-table-column label="完成数量" align="center" prop="completeAmount" v-if="columns[9].visible"/> <el-table-column label="完成数量" align="center" prop="completeAmount" v-if="columns[9].visible"/>
<el-table-column label="实际开始时间" align="center" prop="beginTime" width="180" v-if="columns[10].visible"> <el-table-column label="实际开始时间" align="center" prop="beginTime" width="180" v-if="columns[10].visible">
@ -322,7 +327,7 @@ import {
export default { export default {
name: 'ProdPlanInfo', name: 'ProdPlanInfo',
dicts: ['finish_flag'], dicts: ['finish_flag','plan_status'],
data() { data() {
return { return {
// //
@ -395,7 +400,8 @@ export default {
{ key: 13, label: `创建人`, visible: false }, { key: 13, label: `创建人`, visible: false },
{ key: 14, label: `创建时间`, visible: false }, { key: 14, label: `创建时间`, visible: false },
{ key: 15, label: `更新人`, visible: false }, { key: 15, label: `更新人`, visible: false },
{ key: 16, label: `更新时间`, visible: false } { key: 16, label: `更新时间`, visible: false },
{ key: 17, label: `工单状态`, visible: true },
] ]
} }
}, },

Loading…
Cancel
Save