计划模块(工单管理页面显示优化)

yangwl
wws 1 year ago
parent 839c65dcb6
commit 50601615c7

@ -153,24 +153,25 @@
</el-row> </el-row>
<el-table v-loading="loading" :data="workorderList" @selection-change="handleSelectionChange"> <el-table v-loading="loading" :data="workorderList" @selection-change="handleSelectionChange">
<el-table-column type="selection" width="55" align="center" > <el-table-column type="selection" align="center" >
</el-table-column> </el-table-column>
<el-table-column label="工单ID" align="center" prop="workorderId" v-if="false"/> <el-table-column label="工单ID" align="center" prop="workorderId" v-if="false"/>
<el-table-column label="子工单编码" align="center" prop="workorderCode" width="180"/> <el-table-column width="150" label="子工单编号" align="center" prop="workorderCode"/>
<el-table-column label="工单名称" align="center" prop="workorderName" v-if="false"/> <el-table-column label="工单名称" align="center" prop="workorderName" v-if="false"/>
<el-table-column label="订单id" align="center" prop="orderId" v-if="false"/> <el-table-column label="订单id" align="center" prop="orderId" v-if="false"/>
<el-table-column label="子订单编码" align="center" prop="orderCode" width="160"/> <el-table-column width="150" label="子订单编码" align="center" prop="orderCode"/>
<el-table-column label="产品ID" align="center" prop="productId" v-if="false"/> <el-table-column label="产品ID" align="center" prop="productId" v-if="false"/>
<el-table-column label="产品编号" align="center" prop="productCode" width="160"/> <el-table-column width="180" label="产品编码" align="center" prop="productCode"/>
<el-table-column label="产品名称" align="center" prop="productName" width="160"/> <el-table-column width="300" label="产品名称" align="center" prop="productName"/>
<el-table-column label="规格型号" align="center" prop="productSpc" v-if="false"/> <el-table-column label="规格型号" align="center" prop="productSpc" v-if="false"/>
<el-table-column label="单位" align="center" prop="unit" /> <el-table-column width="50" label="单位" align="center" prop="unit" />
<el-table-column label="已生产数量" align="center" prop="quantityProduced" width="100"/> <el-table-column width="120" label="已生产数量" align="center" prop="quantityProduced"/>
<el-table-column label="已拆分数量" align="center" prop="quantitySplit" width="100"/> <el-table-column width="120" label="派工数量" align="center" prop="quantitySplit"/>
<el-table-column label="工艺编码" align="center" prop="routeCode" /> <el-table-column width="150" label="工艺编码" align="center" prop="routeCode" />
<el-table-column label="产线设备" align="center" prop="prodLineCode" /> <el-table-column width="150" label="工艺名称" align="center" prop="routeName" />
<el-table-column label="工单生产日期" align="center" prop="productDate" width="180"> <el-table-column width="130" label="产线设备" align="center" prop="prodLineCode" />
<el-table-column width="120" label="工单生产日期" align="center" prop="productDate">
<template slot-scope="scope"> <template slot-scope="scope">
<span>{{ parseTime(scope.row.productDate, '{y}-{m}-{d}') }}</span> <span>{{ parseTime(scope.row.productDate, '{y}-{m}-{d}') }}</span>
</template> </template>

Loading…
Cancel
Save