update - 在制品查询明细功能、导出

master
yinq 8 months ago
parent 18d31e3f06
commit 87fea08a0c

@ -92,10 +92,12 @@
<el-table-column label="产线" align="center" prop="PRODUCT_LINE_NAME" width="80" v-if="columns[1].visible"/> <el-table-column label="产线" align="center" prop="PRODUCT_LINE_NAME" width="80" v-if="columns[1].visible"/>
<el-table-column label="订单编号" align="center" prop="ORDER_CODE" width="100" v-if="columns[3].visible"/> <el-table-column label="订单编号" align="center" prop="ORDER_CODE" width="100" v-if="columns[3].visible"/>
<el-table-column label="物料编号" align="center" prop="MATERIAL_CODE" width="130" v-if="columns[4].visible"/> <el-table-column label="物料编号" align="center" prop="MATERIAL_CODE" width="130" v-if="columns[4].visible"/>
<el-table-column label="物料名称" align="center" prop="MATERIAL_NAME" width="430" v-if="columns[5].visible"/> <el-table-column label="物料名称" align="center" prop="MATERIAL_NAME" width="230" v-if="columns[5].visible"/>
<el-table-column label="产品编号" align="center" prop="PRODUCT_CODE" width="130" v-if="columns[6].visible"/> <el-table-column label="产品编号" align="center" prop="PRODUCT_CODE" width="130" v-if="columns[6].visible"/>
<el-table-column label="产品名称" align="center" prop="PRODUCT_NAME" width="230" v-if="columns[7].visible"/> <el-table-column label="产品名称" align="center" prop="PRODUCT_NAME" width="230" v-if="columns[7].visible"/>
<el-table-column label="在制数量" align="center" prop="COMP_AMOUNT" width="120" v-if="columns[8].visible"> <el-table-column label="订单数量" align="center" prop="ORDER_AMOUNT" v-if="columns[9].visible"/>
<el-table-column label="完成数量" align="center" prop="COMPLETE_AMOUNT" v-if="columns[10].visible"/>
<el-table-column label="在制数量" align="center" prop="COMP_AMOUNT" v-if="columns[8].visible">
<template slot-scope="scope"> <template slot-scope="scope">
<el-button type="text" @click="openDifference(scope.row)">{{ scope.row.COMP_AMOUNT }}</el-button> <el-button type="text" @click="openDifference(scope.row)">{{ scope.row.COMP_AMOUNT }}</el-button>
</template> </template>
@ -225,7 +227,9 @@ export default {
{ key: 5, label: `物料名称`, visible: true }, { key: 5, label: `物料名称`, visible: true },
{ key: 6, label: `产品编号`, visible: true }, { key: 6, label: `产品编号`, visible: true },
{ key: 7, label: `产品名称`, visible: true }, { key: 7, label: `产品名称`, visible: true },
{ key: 8, label: `在制数量`, visible: true } { key: 8, label: `在制数量`, visible: true },
{ key: 9, label: `订单数量`, visible: true },
{ key: 10, label: `完成数量`, visible: true },
], ],
// 线 // 线
productLineList: [], productLineList: [],

Loading…
Cancel
Save