|
|
@ -39,7 +39,9 @@ |
|
|
<el-checkbox style="margin-top: 20px;" true-label="Y" false-label="N" v-model="searchData.closedFlag">显示已关闭计划 |
|
|
<el-checkbox style="margin-top: 20px;" true-label="Y" false-label="N" v-model="searchData.closedFlag">显示已关闭计划 |
|
|
</el-checkbox> |
|
|
</el-checkbox> |
|
|
</el-form-item> |
|
|
</el-form-item> |
|
|
<el-form-item :label="' '" style="margin-left: -5px;"> |
|
|
|
|
|
|
|
|
</el-form> |
|
|
|
|
|
<el-form :inline="true" label-position="top" label-width="100px" style="margin-top: 5px;"> |
|
|
|
|
|
<el-form-item style="margin-left: -9px;"> |
|
|
<el-button type="primary" @click="refreshTables()" class="customer-bun-mid" |
|
|
<el-button type="primary" @click="refreshTables()" class="customer-bun-mid" |
|
|
style="margin-left: 10px; margin-bottom: 5px;">查询 |
|
|
style="margin-left: 10px; margin-bottom: 5px;">查询 |
|
|
</el-button> |
|
|
</el-button> |
|
|
@ -57,13 +59,22 @@ |
|
|
导出 |
|
|
导出 |
|
|
</download-excel> |
|
|
</download-excel> |
|
|
</el-form-item> |
|
|
</el-form-item> |
|
|
|
|
|
<el-form-item :label="'已关闭,已达数量'"> |
|
|
|
|
|
<el-card class="customer-el-card customer-el-card-pink" style="margin-left:100px"></el-card> |
|
|
|
|
|
</el-form-item> |
|
|
|
|
|
<el-form-item :label="'已关闭,未达数量'"> |
|
|
|
|
|
<el-card class="customer-el-card customer-el-card-orange" style="margin-left:100px"></el-card> |
|
|
|
|
|
</el-form-item> |
|
|
|
|
|
<el-form-item :label="'未关闭,未达数量'"> |
|
|
|
|
|
<el-card class="customer-el-card customer-el-card-blue" style="margin-left:100px"></el-card> |
|
|
|
|
|
</el-form-item> |
|
|
<div class="mainTable"> |
|
|
<div class="mainTable"> |
|
|
<el-table :height="height" |
|
|
<el-table :height="height" |
|
|
:data="dataList" |
|
|
:data="dataList" |
|
|
:row-class-name="routingRowClassName2" |
|
|
:row-class-name="routingRowClassName2" |
|
|
border |
|
|
border |
|
|
v-loading="dataListLoading" |
|
|
v-loading="dataListLoading" |
|
|
style="width: 100%;"> |
|
|
|
|
|
|
|
|
style="width: 100%;margin-top: -20px"> |
|
|
<el-table-column |
|
|
<el-table-column |
|
|
prop="" |
|
|
prop="" |
|
|
header-align="center" |
|
|
header-align="center" |
|
|
@ -72,6 +83,7 @@ |
|
|
label="操作"> |
|
|
label="操作"> |
|
|
<template slot-scope="scope" class="foo_container"> |
|
|
<template slot-scope="scope" class="foo_container"> |
|
|
<a type="text" size="small" @click="printAction(scope.row)">打印标签</a> |
|
|
<a type="text" size="small" @click="printAction(scope.row)">打印标签</a> |
|
|
|
|
|
<!-- <a type="text" size="small" @click="print(scope.row)">关闭</a>--> |
|
|
</template> |
|
|
</template> |
|
|
</el-table-column> |
|
|
</el-table-column> |
|
|
<el-table-column |
|
|
<el-table-column |
|
|
@ -260,24 +272,6 @@ |
|
|
status: true, |
|
|
status: true, |
|
|
fixed: false |
|
|
fixed: false |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
|
|
|
userId: this.$store.state.user.name, |
|
|
|
|
|
functionId: 5302, |
|
|
|
|
|
serialNumber: '5302ProduceTimeReported', |
|
|
|
|
|
tableId: "5302Produce", |
|
|
|
|
|
tableName: "待生产工单", |
|
|
|
|
|
columnProp: "timeReported", |
|
|
|
|
|
headerAlign: "center", |
|
|
|
|
|
align: "right", |
|
|
|
|
|
columnLabel: "已报告时间", |
|
|
|
|
|
columnWidth: 70, |
|
|
|
|
|
columnHidden: false, |
|
|
|
|
|
columnImage: false, |
|
|
|
|
|
columnSortable: false, |
|
|
|
|
|
sortLv: 0, |
|
|
|
|
|
status: true, |
|
|
|
|
|
fixed: false |
|
|
|
|
|
}, |
|
|
|
|
|
{ |
|
|
{ |
|
|
userId: this.$store.state.user.name, |
|
|
userId: this.$store.state.user.name, |
|
|
functionId: 5302, |
|
|
functionId: 5302, |
|
|
@ -305,7 +299,7 @@ |
|
|
columnProp: "qtyReported", |
|
|
columnProp: "qtyReported", |
|
|
headerAlign: "center", |
|
|
headerAlign: "center", |
|
|
align: "right", |
|
|
align: "right", |
|
|
columnLabel: "已报告数量", |
|
|
|
|
|
|
|
|
columnLabel: "已入库数量", |
|
|
columnWidth: 70, |
|
|
columnWidth: 70, |
|
|
columnHidden: false, |
|
|
columnHidden: false, |
|
|
columnImage: false, |
|
|
columnImage: false, |
|
|
@ -314,24 +308,6 @@ |
|
|
status: true, |
|
|
status: true, |
|
|
fixed: false |
|
|
fixed: false |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
|
|
|
userId: this.$store.state.user.name, |
|
|
|
|
|
functionId: 5302, |
|
|
|
|
|
serialNumber: '5302ProduceNeedDate', |
|
|
|
|
|
tableId: "5302Produce", |
|
|
|
|
|
tableName: "待生产工单", |
|
|
|
|
|
columnProp: "needDate", |
|
|
|
|
|
headerAlign: "center", |
|
|
|
|
|
align: "left", |
|
|
|
|
|
columnLabel: "生产订单要求完工日期", |
|
|
|
|
|
columnWidth: 130, |
|
|
|
|
|
columnHidden: false, |
|
|
|
|
|
columnImage: false, |
|
|
|
|
|
columnSortable: false, |
|
|
|
|
|
sortLv: 0, |
|
|
|
|
|
status: true, |
|
|
|
|
|
fixed: false |
|
|
|
|
|
}, |
|
|
|
|
|
{ |
|
|
{ |
|
|
userId: this.$store.state.user.name, |
|
|
userId: this.$store.state.user.name, |
|
|
functionId: 5302, |
|
|
functionId: 5302, |
|
|
@ -440,42 +416,6 @@ |
|
|
status: true, |
|
|
status: true, |
|
|
fixed: false |
|
|
fixed: false |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
|
|
|
userId: this.$store.state.user.name, |
|
|
|
|
|
functionId: 5302, |
|
|
|
|
|
serialNumber: '5302ProduceQtyApprove', |
|
|
|
|
|
tableId: "5302Produce", |
|
|
|
|
|
tableName: "待生产工单", |
|
|
|
|
|
columnProp: "qtyApprove", |
|
|
|
|
|
headerAlign: "center", |
|
|
|
|
|
align: "right", |
|
|
|
|
|
columnLabel: "合格数量", |
|
|
|
|
|
columnWidth: 80, |
|
|
|
|
|
columnHidden: false, |
|
|
|
|
|
columnImage: false, |
|
|
|
|
|
columnSortable: false, |
|
|
|
|
|
sortLv: 0, |
|
|
|
|
|
status: true, |
|
|
|
|
|
fixed: false |
|
|
|
|
|
}, |
|
|
|
|
|
// { |
|
|
|
|
|
// userId: this.$store.state.user.name, |
|
|
|
|
|
// functionId: 5302, |
|
|
|
|
|
// serialNumber: '5302ProduceBarcodeId', |
|
|
|
|
|
// tableId: "5302Produce", |
|
|
|
|
|
// tableName: "条形码", |
|
|
|
|
|
// columnProp: "barcodeId", |
|
|
|
|
|
// headerAlign: "center", |
|
|
|
|
|
// align: "left", |
|
|
|
|
|
// columnLabel: "条形码", |
|
|
|
|
|
// columnWidth: 80, |
|
|
|
|
|
// columnHidden: false, |
|
|
|
|
|
// columnImage: false, |
|
|
|
|
|
// columnSortable: false, |
|
|
|
|
|
// sortLv: 0, |
|
|
|
|
|
// status: true, |
|
|
|
|
|
// fixed: false |
|
|
|
|
|
// }, |
|
|
|
|
|
{ |
|
|
{ |
|
|
userId: this.$store.state.user.name, |
|
|
userId: this.$store.state.user.name, |
|
|
functionId: 5302, |
|
|
functionId: 5302, |
|
|
@ -494,35 +434,18 @@ |
|
|
status: true, |
|
|
status: true, |
|
|
fixed: false |
|
|
fixed: false |
|
|
}, |
|
|
}, |
|
|
|
|
|
|
|
|
{ |
|
|
{ |
|
|
userId: this.$store.state.user.name, |
|
|
userId: this.$store.state.user.name, |
|
|
functionId: 5302, |
|
|
functionId: 5302, |
|
|
serialNumber: '5302ProduceCrewSize', |
|
|
|
|
|
tableId: "5302Produce", |
|
|
|
|
|
tableName: "待生产工单", |
|
|
|
|
|
columnProp: "crewSize", |
|
|
|
|
|
headerAlign: "center", |
|
|
|
|
|
align: "right", |
|
|
|
|
|
columnLabel: "操作工人数", |
|
|
|
|
|
columnWidth: 80, |
|
|
|
|
|
columnHidden: false, |
|
|
|
|
|
columnImage: false, |
|
|
|
|
|
columnSortable: false, |
|
|
|
|
|
sortLv: 0, |
|
|
|
|
|
status: true, |
|
|
|
|
|
fixed: false |
|
|
|
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
userId: this.$store.state.user.name, |
|
|
|
|
|
functionId: 5302, |
|
|
|
|
|
serialNumber: '5302ProduceQtyScrapt', |
|
|
|
|
|
|
|
|
serialNumber: '5302ProduceScheduledSeqNo', |
|
|
tableId: "5302Produce", |
|
|
tableId: "5302Produce", |
|
|
tableName: "待生产工单", |
|
|
tableName: "待生产工单", |
|
|
columnProp: "qtyScrapt", |
|
|
|
|
|
|
|
|
columnProp: "scheduledSeqNo", |
|
|
headerAlign: "center", |
|
|
headerAlign: "center", |
|
|
align: "right", |
|
|
align: "right", |
|
|
columnLabel: "报废数量", |
|
|
|
|
|
columnWidth: 80, |
|
|
|
|
|
|
|
|
columnLabel: "日计划单号", |
|
|
|
|
|
columnWidth: 100, |
|
|
columnHidden: false, |
|
|
columnHidden: false, |
|
|
columnImage: false, |
|
|
columnImage: false, |
|
|
columnSortable: false, |
|
|
columnSortable: false, |
|
|
@ -530,42 +453,6 @@ |
|
|
status: true, |
|
|
status: true, |
|
|
fixed: false |
|
|
fixed: false |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
|
|
|
userId: this.$store.state.user.name, |
|
|
|
|
|
functionId: 5302, |
|
|
|
|
|
serialNumber: '5302ProduceOutWorkFlag', |
|
|
|
|
|
tableId: "5302Produce", |
|
|
|
|
|
tableName: "待生产工单", |
|
|
|
|
|
columnProp: "outWorkFlag", |
|
|
|
|
|
headerAlign: "center", |
|
|
|
|
|
align: "left", |
|
|
|
|
|
columnLabel: "是否外协", |
|
|
|
|
|
columnWidth: 80, |
|
|
|
|
|
columnHidden: false, |
|
|
|
|
|
columnImage: false, |
|
|
|
|
|
columnSortable: false, |
|
|
|
|
|
sortLv: 0, |
|
|
|
|
|
status: true, |
|
|
|
|
|
fixed: false |
|
|
|
|
|
}, |
|
|
|
|
|
// { |
|
|
|
|
|
// userId: this.$store.state.user.name, |
|
|
|
|
|
// functionId: 5302, |
|
|
|
|
|
// serialNumber: '5302ProduceScheduledSeqNo', |
|
|
|
|
|
// tableId: "5302Produce", |
|
|
|
|
|
// tableName: "待生产工单", |
|
|
|
|
|
// columnProp: "scheduledSeqNo", |
|
|
|
|
|
// headerAlign: "center", |
|
|
|
|
|
// align: "right", |
|
|
|
|
|
// columnLabel: "次序号", |
|
|
|
|
|
// columnWidth: 80, |
|
|
|
|
|
// columnHidden: false, |
|
|
|
|
|
// columnImage: false, |
|
|
|
|
|
// columnSortable: false, |
|
|
|
|
|
// sortLv: 0, |
|
|
|
|
|
// status: true, |
|
|
|
|
|
// fixed: false |
|
|
|
|
|
// }, |
|
|
|
|
|
{ |
|
|
{ |
|
|
userId: this.$store.state.user.name, |
|
|
userId: this.$store.state.user.name, |
|
|
functionId: 5302, |
|
|
functionId: 5302, |
|
|
@ -584,78 +471,7 @@ |
|
|
status: true, |
|
|
status: true, |
|
|
fixed: false |
|
|
fixed: false |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
|
|
|
userId: this.$store.state.user.name, |
|
|
|
|
|
functionId: 5302, |
|
|
|
|
|
serialNumber: '5302ProduceMachSetupTime', |
|
|
|
|
|
tableId: "5302Produce", |
|
|
|
|
|
tableName: "待生产工单", |
|
|
|
|
|
columnProp: "machSetupTime", |
|
|
|
|
|
headerAlign: "center", |
|
|
|
|
|
align: "right", |
|
|
|
|
|
columnLabel: "调机时间", |
|
|
|
|
|
columnWidth: 80, |
|
|
|
|
|
columnHidden: false, |
|
|
|
|
|
columnImage: false, |
|
|
|
|
|
columnSortable: false, |
|
|
|
|
|
sortLv: 0, |
|
|
|
|
|
status: true, |
|
|
|
|
|
fixed: false |
|
|
|
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
userId: this.$store.state.user.name, |
|
|
|
|
|
functionId: 5302, |
|
|
|
|
|
serialNumber: '5302ProduceMachRunFactor', |
|
|
|
|
|
tableId: "5302Produce", |
|
|
|
|
|
tableName: "待生产工单", |
|
|
|
|
|
columnProp: "machRunFactor", |
|
|
|
|
|
headerAlign: "center", |
|
|
|
|
|
align: "right", |
|
|
|
|
|
columnLabel: "单位产出", |
|
|
|
|
|
columnWidth: 80, |
|
|
|
|
|
columnHidden: false, |
|
|
|
|
|
columnImage: false, |
|
|
|
|
|
columnSortable: false, |
|
|
|
|
|
sortLv: 0, |
|
|
|
|
|
status: true, |
|
|
|
|
|
fixed: false |
|
|
|
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
userId: this.$store.state.user.name, |
|
|
|
|
|
functionId: 5302, |
|
|
|
|
|
serialNumber: '5302ProduceFactorUnit', |
|
|
|
|
|
tableId: "5302Produce", |
|
|
|
|
|
tableName: "待生产工单", |
|
|
|
|
|
columnProp: "factorUnit", |
|
|
|
|
|
headerAlign: "center", |
|
|
|
|
|
align: "right", |
|
|
|
|
|
columnLabel: "产出单位", |
|
|
|
|
|
columnWidth: 80, |
|
|
|
|
|
columnHidden: false, |
|
|
|
|
|
columnImage: false, |
|
|
|
|
|
columnSortable: false, |
|
|
|
|
|
sortLv: 0, |
|
|
|
|
|
status: true, |
|
|
|
|
|
fixed: false |
|
|
|
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
userId: this.$store.state.user.name, |
|
|
|
|
|
functionId: 5302, |
|
|
|
|
|
serialNumber: '5302ProduceEfficiency', |
|
|
|
|
|
tableId: "5302Produce", |
|
|
|
|
|
tableName: "待生产工单", |
|
|
|
|
|
columnProp: "efficiency", |
|
|
|
|
|
headerAlign: "center", |
|
|
|
|
|
align: "right", |
|
|
|
|
|
columnLabel: "效率", |
|
|
|
|
|
columnWidth: 80, |
|
|
|
|
|
columnHidden: false, |
|
|
|
|
|
columnImage: false, |
|
|
|
|
|
columnSortable: false, |
|
|
|
|
|
sortLv: 0, |
|
|
|
|
|
status: true, |
|
|
|
|
|
fixed: false |
|
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
{ |
|
|
{ |
|
|
userId: this.$store.state.user.name, |
|
|
userId: this.$store.state.user.name, |
|
|
functionId: 5302, |
|
|
functionId: 5302, |
|
|
@ -674,24 +490,7 @@ |
|
|
status: true, |
|
|
status: true, |
|
|
fixed: false |
|
|
fixed: false |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
|
|
|
userId: this.$store.state.user.name, |
|
|
|
|
|
functionId: 5302, |
|
|
|
|
|
serialNumber: '5302ProduceParkFlag', |
|
|
|
|
|
tableId: "5302Produce", |
|
|
|
|
|
tableName: "待生产工单", |
|
|
|
|
|
columnProp: "parkFlag", |
|
|
|
|
|
headerAlign: "center", |
|
|
|
|
|
align: "left", |
|
|
|
|
|
columnLabel: "暂停", |
|
|
|
|
|
columnWidth: 80, |
|
|
|
|
|
columnHidden: false, |
|
|
|
|
|
columnImage: false, |
|
|
|
|
|
columnSortable: false, |
|
|
|
|
|
sortLv: 0, |
|
|
|
|
|
status: true, |
|
|
|
|
|
fixed: false |
|
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
// { |
|
|
// { |
|
|
// userId: this.$store.state.user.name, |
|
|
// userId: this.$store.state.user.name, |
|
|
// functionId: 5302, |
|
|
// functionId: 5302, |
|
|
@ -782,24 +581,7 @@ |
|
|
status: true, |
|
|
status: true, |
|
|
fixed: false |
|
|
fixed: false |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
|
|
|
userId: this.$store.state.user.name, |
|
|
|
|
|
functionId: 5302, |
|
|
|
|
|
serialNumber: '5302ProduceCostRollUpFlag', |
|
|
|
|
|
tableId: "5302Produce", |
|
|
|
|
|
tableName: "待生产工单", |
|
|
|
|
|
columnProp: "costRollUpFlag", |
|
|
|
|
|
headerAlign: "center", |
|
|
|
|
|
align: "left", |
|
|
|
|
|
columnLabel: "已排料", |
|
|
|
|
|
columnWidth: 80, |
|
|
|
|
|
columnHidden: false, |
|
|
|
|
|
columnImage: false, |
|
|
|
|
|
columnSortable: false, |
|
|
|
|
|
sortLv: 0, |
|
|
|
|
|
status: true, |
|
|
|
|
|
fixed: false |
|
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
], |
|
|
], |
|
|
searchData:{ |
|
|
searchData:{ |
|
|
site:'', |
|
|
site:'', |
|
|
@ -816,7 +598,7 @@ |
|
|
}, |
|
|
}, |
|
|
mounted () { |
|
|
mounted () { |
|
|
this.$nextTick(() => { |
|
|
this.$nextTick(() => { |
|
|
this.height = window.innerHeight - 160 |
|
|
|
|
|
|
|
|
this.height = window.innerHeight - 175 |
|
|
}) |
|
|
}) |
|
|
}, |
|
|
}, |
|
|
methods: { |
|
|
methods: { |
|
|
|