|
|
|
@ -1,7 +1,7 @@ |
|
|
|
<template> |
|
|
|
<div class="customer-css"> |
|
|
|
<!-- 菜单按钮区域 --> |
|
|
|
<fieldset class="customer-field" style="width: 675px; padding: 0.35em 0.75em 0.425em;"> |
|
|
|
<fieldset class="customer-field" style="width: 300px; padding: 0.35em 0.75em 0.425em;"> |
|
|
|
<legend>菜单</legend> |
|
|
|
<el-form :inline="true" label-position="top" label-width="100px" style=""> |
|
|
|
<el-form-item :label="''"> |
|
|
|
@ -21,30 +21,30 @@ |
|
|
|
style="margin-left: 10px; margin-bottom: 5px;">{{ buttons.fqcReportButton }} |
|
|
|
</el-button> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item :label="''"> |
|
|
|
<el-button type="primary" @click="switchOperatorModal(2)" class="customer-bun-mid" |
|
|
|
:disabled="reportButton.reworkReportButton" |
|
|
|
style="margin-left: 10px; margin-bottom: 5px;">{{ buttons.reworkInspectReport }} |
|
|
|
</el-button> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item :label="''"> |
|
|
|
<el-button type="primary" @click="switchOperatorModal(4)" class="customer-bun-mid" |
|
|
|
:disabled="reportButton.packReportButton" |
|
|
|
style="margin-left: 10px; margin-bottom: 5px;">{{ buttons.repackageReport }} |
|
|
|
</el-button> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item :label="''"> |
|
|
|
<el-button type="primary" @click="switchOperatorModal(3)" class="customer-bun-mid" |
|
|
|
:disabled="reportButton.fqcSegmentReportButton" |
|
|
|
style="margin-left: 10px; margin-bottom: 5px;">{{ buttons.fqcSplitRollReport }} |
|
|
|
</el-button> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item :label="''"> |
|
|
|
<el-button type="primary" class="customer-bun-mid" @click="switchOperatorModal(8)" |
|
|
|
:disabled="reportButton.slitReportButton" |
|
|
|
style="margin-left: 10px; width: 60px; margin-bottom: 5px;">{{ buttons.splitReport }} |
|
|
|
</el-button> |
|
|
|
</el-form-item> |
|
|
|
<!-- <el-form-item :label="''">--> |
|
|
|
<!-- <el-button type="primary" @click="switchOperatorModal(2)" class="customer-bun-mid"--> |
|
|
|
<!-- :disabled="reportButton.reworkReportButton"--> |
|
|
|
<!-- style="margin-left: 10px; margin-bottom: 5px;">{{ buttons.reworkInspectReport }}--> |
|
|
|
<!-- </el-button>--> |
|
|
|
<!-- </el-form-item>--> |
|
|
|
<!-- <el-form-item :label="''">--> |
|
|
|
<!-- <el-button type="primary" @click="switchOperatorModal(4)" class="customer-bun-mid"--> |
|
|
|
<!-- :disabled="reportButton.packReportButton"--> |
|
|
|
<!-- style="margin-left: 10px; margin-bottom: 5px;">{{ buttons.repackageReport }}--> |
|
|
|
<!-- </el-button>--> |
|
|
|
<!-- </el-form-item>--> |
|
|
|
<!-- <el-form-item :label="''">--> |
|
|
|
<!-- <el-button type="primary" @click="switchOperatorModal(3)" class="customer-bun-mid"--> |
|
|
|
<!-- :disabled="reportButton.fqcSegmentReportButton"--> |
|
|
|
<!-- style="margin-left: 10px; margin-bottom: 5px;">{{ buttons.fqcSplitRollReport }}--> |
|
|
|
<!-- </el-button>--> |
|
|
|
<!-- </el-form-item>--> |
|
|
|
<!-- <el-form-item :label="''">--> |
|
|
|
<!-- <el-button type="primary" class="customer-bun-mid" @click="switchOperatorModal(8)"--> |
|
|
|
<!-- :disabled="reportButton.slitReportButton"--> |
|
|
|
<!-- style="margin-left: 10px; width: 60px; margin-bottom: 5px;">{{ buttons.splitReport }}--> |
|
|
|
<!-- </el-button>--> |
|
|
|
<!-- </el-form-item>--> |
|
|
|
</el-form> |
|
|
|
</fieldset> |
|
|
|
<!-- 查询时间和产品 --> |
|
|
|
@ -119,30 +119,30 @@ |
|
|
|
{{ labels.cancelAllScheduleOperations }} |
|
|
|
</el-dropdown-item> |
|
|
|
<hr width="95%"/> |
|
|
|
<el-dropdown-item class="customer-li" command="7" :disabled="menuButton.costRollUpFlagButton"> |
|
|
|
{{ labels.prodIssued }} |
|
|
|
</el-dropdown-item> |
|
|
|
<el-dropdown-item class="customer-li" command="8" :disabled="menuButton.canceledCostRollUpFlagButton"> |
|
|
|
{{ labels.cancelProdIssued }} |
|
|
|
</el-dropdown-item> |
|
|
|
<!-- <el-dropdown-item class="customer-li" command="7" :disabled="menuButton.costRollUpFlagButton">--> |
|
|
|
<!-- {{ labels.prodIssued }}--> |
|
|
|
<!-- </el-dropdown-item>--> |
|
|
|
<!-- <el-dropdown-item class="customer-li" command="8" :disabled="menuButton.canceledCostRollUpFlagButton">--> |
|
|
|
<!-- {{ labels.cancelProdIssued }}--> |
|
|
|
<!-- </el-dropdown-item>--> |
|
|
|
<el-dropdown-item class="customer-li" command="查看物料库存" |
|
|
|
:disabled="menuButton.partStockFlag">{{ labels.viewPartStock }} |
|
|
|
</el-dropdown-item> |
|
|
|
<hr width="95%"/> |
|
|
|
<el-dropdown-item class="customer-li" command="9" :disabled="menuButton.manualFlagButton"> |
|
|
|
{{ labels.toolIssued }} |
|
|
|
</el-dropdown-item> |
|
|
|
<el-dropdown-item class="customer-li" command="10" :disabled="menuButton.canceledManualFlagButton"> |
|
|
|
{{ labels.cancelToolIssued }} |
|
|
|
</el-dropdown-item> |
|
|
|
<hr width="95%"/> |
|
|
|
<el-dropdown-item class="customer-li" command="11" :disabled="menuButton.repairSOFlagButton"> |
|
|
|
{{ labels.printIssued }} |
|
|
|
</el-dropdown-item> |
|
|
|
<el-dropdown-item class="customer-li" command="12" :disabled="menuButton.canceledRepairSOFlagButton"> |
|
|
|
{{ labels.cancelPrintIssued }} |
|
|
|
</el-dropdown-item> |
|
|
|
<hr width="95%"/> |
|
|
|
<!-- <el-dropdown-item class="customer-li" command="9" :disabled="menuButton.manualFlagButton">--> |
|
|
|
<!-- {{ labels.toolIssued }}--> |
|
|
|
<!-- </el-dropdown-item>--> |
|
|
|
<!-- <el-dropdown-item class="customer-li" command="10" :disabled="menuButton.canceledManualFlagButton">--> |
|
|
|
<!-- {{ labels.cancelToolIssued }}--> |
|
|
|
<!-- </el-dropdown-item>--> |
|
|
|
<!-- <hr width="95%"/>--> |
|
|
|
<!-- <el-dropdown-item class="customer-li" command="11" :disabled="menuButton.repairSOFlagButton">--> |
|
|
|
<!-- {{ labels.printIssued }}--> |
|
|
|
<!-- </el-dropdown-item>--> |
|
|
|
<!-- <el-dropdown-item class="customer-li" command="12" :disabled="menuButton.canceledRepairSOFlagButton">--> |
|
|
|
<!-- {{ labels.cancelPrintIssued }}--> |
|
|
|
<!-- </el-dropdown-item>--> |
|
|
|
<!-- <hr width="95%"/>--> |
|
|
|
</el-dropdown-menu> |
|
|
|
</el-dropdown> |
|
|
|
<!-- <el-button @click="userSetting" type="primary">{{ buttons.settingTable }}</el-button>--> |
|
|
|
@ -351,60 +351,60 @@ export default { |
|
|
|
produceScheduleList: [], |
|
|
|
dataListLoading: false, |
|
|
|
columnList: [ |
|
|
|
{ |
|
|
|
userId: this.$store.state.user.name, |
|
|
|
functionId: 5302, |
|
|
|
serialNumber: '5302ProduceMatIssueFlag', |
|
|
|
tableId: '5302Produce', |
|
|
|
tableName: '待生产工单', |
|
|
|
columnProp: 'matIssueFlag', |
|
|
|
headerAlign: 'center', |
|
|
|
align: 'center', |
|
|
|
columnLabel: '已排料', |
|
|
|
columnWidth: 80, |
|
|
|
columnHidden: false, |
|
|
|
columnImage: false, |
|
|
|
columnSortable: true, |
|
|
|
sortLv: 0, |
|
|
|
status: true, |
|
|
|
fixed: '' |
|
|
|
}, |
|
|
|
{ |
|
|
|
userId: this.$store.state.user.name, |
|
|
|
functionId: 5302, |
|
|
|
serialNumber: '5302ProduceToolIssueFlag', |
|
|
|
tableId: '5302Produce', |
|
|
|
tableName: '待生产工单', |
|
|
|
columnProp: 'toolIssueFlag', |
|
|
|
headerAlign: 'center', |
|
|
|
align: 'center', |
|
|
|
columnLabel: '刀模已发', |
|
|
|
columnWidth: 90, |
|
|
|
columnHidden: false, |
|
|
|
columnImage: false, |
|
|
|
columnSortable: true, |
|
|
|
sortLv: 0, |
|
|
|
status: true, |
|
|
|
fixed: '' |
|
|
|
}, |
|
|
|
{ |
|
|
|
userId: this.$store.state.user.name, |
|
|
|
functionId: 5302, |
|
|
|
serialNumber: '5302ProducePlateIssueFlag', |
|
|
|
tableId: '5302Produce', |
|
|
|
tableName: '待生产工单', |
|
|
|
columnProp: 'plateIssueFlag', |
|
|
|
headerAlign: 'center', |
|
|
|
align: 'center', |
|
|
|
columnLabel: '印版已发', |
|
|
|
columnWidth: 90, |
|
|
|
columnHidden: false, |
|
|
|
columnImage: false, |
|
|
|
columnSortable: true, |
|
|
|
sortLv: 0, |
|
|
|
status: true, |
|
|
|
fixed: '' |
|
|
|
}, |
|
|
|
// { |
|
|
|
// userId: this.$store.state.user.name, |
|
|
|
// functionId: 5302, |
|
|
|
// serialNumber: '5302ProduceMatIssueFlag', |
|
|
|
// tableId: '5302Produce', |
|
|
|
// tableName: '待生产工单', |
|
|
|
// columnProp: 'matIssueFlag', |
|
|
|
// headerAlign: 'center', |
|
|
|
// align: 'center', |
|
|
|
// columnLabel: '已排料', |
|
|
|
// columnWidth: 80, |
|
|
|
// columnHidden: false, |
|
|
|
// columnImage: false, |
|
|
|
// columnSortable: true, |
|
|
|
// sortLv: 0, |
|
|
|
// status: true, |
|
|
|
// fixed: '' |
|
|
|
// }, |
|
|
|
// { |
|
|
|
// userId: this.$store.state.user.name, |
|
|
|
// functionId: 5302, |
|
|
|
// serialNumber: '5302ProduceToolIssueFlag', |
|
|
|
// tableId: '5302Produce', |
|
|
|
// tableName: '待生产工单', |
|
|
|
// columnProp: 'toolIssueFlag', |
|
|
|
// headerAlign: 'center', |
|
|
|
// align: 'center', |
|
|
|
// columnLabel: '刀模已发', |
|
|
|
// columnWidth: 90, |
|
|
|
// columnHidden: false, |
|
|
|
// columnImage: false, |
|
|
|
// columnSortable: true, |
|
|
|
// sortLv: 0, |
|
|
|
// status: true, |
|
|
|
// fixed: '' |
|
|
|
// }, |
|
|
|
// { |
|
|
|
// userId: this.$store.state.user.name, |
|
|
|
// functionId: 5302, |
|
|
|
// serialNumber: '5302ProducePlateIssueFlag', |
|
|
|
// tableId: '5302Produce', |
|
|
|
// tableName: '待生产工单', |
|
|
|
// columnProp: 'plateIssueFlag', |
|
|
|
// headerAlign: 'center', |
|
|
|
// align: 'center', |
|
|
|
// columnLabel: '印版已发', |
|
|
|
// columnWidth: 90, |
|
|
|
// columnHidden: false, |
|
|
|
// columnImage: false, |
|
|
|
// columnSortable: true, |
|
|
|
// sortLv: 0, |
|
|
|
// status: true, |
|
|
|
// fixed: '' |
|
|
|
// }, |
|
|
|
{ |
|
|
|
userId: this.$store.state.user.name, |
|
|
|
functionId: 5302, |
|
|
|
|