|
|
|
@ -1,10 +1,9 @@ |
|
|
|
<template> |
|
|
|
<div class="produce-report"> |
|
|
|
<el-dialog v-drag |
|
|
|
width="830px" class="customer-dialog" |
|
|
|
:title="titleCon" v-bind="$attrs" v-on="$listeners" |
|
|
|
> |
|
|
|
<el-form :inline="true" label-position="top" style="height: 480px;" |
|
|
|
width="820px" class="customer-dialog" |
|
|
|
:title="titleCon" v-bind="$attrs" v-on="$listeners"> |
|
|
|
<el-form :inline="true" label-position="top" style="height: 460px;" |
|
|
|
label-width="80px"> |
|
|
|
<!-- 第一行信息 --> |
|
|
|
<el-form style="margin-top: -10px;"> |
|
|
|
@ -48,7 +47,9 @@ |
|
|
|
<el-input v-model="scheduleData.nextItemDesc" readonly style="width: 180px;"></el-input> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item :label="''" style="margin-left: -5px;"> |
|
|
|
<el-checkbox style="margin-top: 28px;" true-label="true" false-label="false" v-model="scheduleData.currentRollFlag">仅显示当前卷信息</el-checkbox> |
|
|
|
<el-checkbox style="margin-top: 28px;" true-label="true" false-label="false" |
|
|
|
v-model="scheduleData.currentRollFlag">仅显示当前卷信息 |
|
|
|
</el-checkbox> |
|
|
|
</el-form-item> |
|
|
|
</el-form> |
|
|
|
<!-- 第四行菜单 --> |
|
|
|
@ -61,25 +62,32 @@ |
|
|
|
<el-form-item> |
|
|
|
<el-button type="primary" @click="createNewRollFun" :disabled="buttonTags.createNewRollFlag" |
|
|
|
style="margin-left: 10px; margin-bottom: 5px;"> |
|
|
|
创建新卷</el-button> |
|
|
|
创建新卷 |
|
|
|
</el-button> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item> |
|
|
|
<el-button type="primary" @click="switchRollModal" :disabled="buttonTags.switchRollFlag" style="margin-left: 10px; margin-bottom: 5px;"> |
|
|
|
切换卷</el-button> |
|
|
|
<el-button type="primary" @click="switchRollModal" :disabled="buttonTags.switchRollFlag" |
|
|
|
style="margin-left: 10px; margin-bottom: 5px;"> |
|
|
|
切换卷 |
|
|
|
</el-button> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item> |
|
|
|
<el-button type="primary" @click="separateRollModal" :disabled="buttonTags.separateRollFlag" style="margin-left: 10px; margin-bottom: 5px;"> |
|
|
|
创建分卷</el-button> |
|
|
|
<el-button type="primary" @click="separateRollModal" :disabled="buttonTags.separateRollFlag" |
|
|
|
style="margin-left: 10px; margin-bottom: 5px;"> |
|
|
|
创建分卷 |
|
|
|
</el-button> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item> |
|
|
|
<el-button type="primary" :disabled="buttonTags.finishRollFlag" |
|
|
|
@click="finishRollModal" style="margin-left: 10px; margin-bottom: 5px;"> |
|
|
|
结束卷</el-button> |
|
|
|
结束卷 |
|
|
|
</el-button> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item> |
|
|
|
<el-button type="primary" :disabled="buttonTags.mergeRollFlag" |
|
|
|
@click="mergeRollModal" style="margin-left: 10px; margin-bottom: 5px;"> |
|
|
|
合并卷</el-button> |
|
|
|
合并卷 |
|
|
|
</el-button> |
|
|
|
</el-form-item> |
|
|
|
</el-form> |
|
|
|
</fieldset> |
|
|
|
@ -287,24 +295,32 @@ |
|
|
|
</el-tabs> |
|
|
|
</fieldset> |
|
|
|
<!-- 生产调机菜单 --> |
|
|
|
<fieldset class="customer-fieldset" style="margin-left: 600px; margin-top: -460px; width: 200px; height: 120px;"> |
|
|
|
<fieldset class="customer-fieldset" |
|
|
|
style="margin-left: 600px; margin-top: -460px; width: 200px; height: 120px;"> |
|
|
|
<legend class="customer-legend">生产调机</legend> |
|
|
|
<el-form> |
|
|
|
<el-form-item> |
|
|
|
<el-button type="primary" @click="refreshPageData" style="margin-left: 20px; margin-top: 20px; margin-bottom: 25px;"> |
|
|
|
刷新</el-button> |
|
|
|
<el-button type="primary" @click="refreshPageData" |
|
|
|
style="margin-left: 20px; margin-top: 20px; margin-bottom: 25px;"> |
|
|
|
刷新 |
|
|
|
</el-button> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item> |
|
|
|
<el-button type="primary" @click="switchOperatorModal" style="margin-left: 25px; margin-top: 20px;"> |
|
|
|
切换用户</el-button> |
|
|
|
切换用户 |
|
|
|
</el-button> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item style="margin-top: 30px;"> |
|
|
|
<el-button type="primary" @click="startTuningModal" :disabled="buttonTags.tuningFlag" style="margin-left: 10px; margin-bottom: 5px;"> |
|
|
|
开始调机</el-button> |
|
|
|
<el-button type="primary" @click="startTuningModal" :disabled="buttonTags.tuningFlag" |
|
|
|
style="margin-left: 10px; margin-bottom: 5px;"> |
|
|
|
开始调机 |
|
|
|
</el-button> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item style="margin-top: 30px;"> |
|
|
|
<el-button type="primary" @click="startProduceModal" :disabled="buttonTags.produceFlag" style="margin-left: 10px; margin-bottom: 5px;"> |
|
|
|
开始生产</el-button> |
|
|
|
<el-button type="primary" @click="startProduceModal" :disabled="buttonTags.produceFlag" |
|
|
|
style="margin-left: 10px; margin-bottom: 5px;"> |
|
|
|
开始生产 |
|
|
|
</el-button> |
|
|
|
</el-form-item> |
|
|
|
</el-form> |
|
|
|
</fieldset> |
|
|
|
@ -313,8 +329,10 @@ |
|
|
|
<legend class="customer-legend">不良</legend> |
|
|
|
<el-form> |
|
|
|
<el-form-item style="margin-top: -5px;"> |
|
|
|
<el-button @click="defectRollModal" type="primary" :disabled="buttonTags.defectFlag" style="margin-left: 50px; margin-top: 10px;"> |
|
|
|
报告不良</el-button> |
|
|
|
<el-button @click="defectRollModal" type="primary" :disabled="buttonTags.defectFlag" |
|
|
|
style="margin-left: 50px; margin-top: 10px;"> |
|
|
|
报告不良 |
|
|
|
</el-button> |
|
|
|
</el-form-item> |
|
|
|
</el-form> |
|
|
|
</fieldset> |
|
|
|
@ -326,24 +344,28 @@ |
|
|
|
<el-form-item style="margin-top: -5px;"> |
|
|
|
<el-button type="primary" @click="produceToolModal" |
|
|
|
:disabled="buttonTags.toolFlag" style="margin-left: 30px; margin-top: 20px;"> |
|
|
|
刀模板</el-button> |
|
|
|
刀模板 |
|
|
|
</el-button> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item style="margin-top: -5px;"> |
|
|
|
<el-button type="primary" @click="produceMaterialModal" |
|
|
|
:disabled="buttonTags.materialFlag" style="margin-left: 10px; margin-top: 20px;"> |
|
|
|
材料</el-button> |
|
|
|
材料 |
|
|
|
</el-button> |
|
|
|
</el-form-item> |
|
|
|
</el-form> |
|
|
|
</fieldset> |
|
|
|
|
|
|
|
<!-- 停机 --> |
|
|
|
<fieldset class="customer-fieldset" style="margin-left: 600px; margin-bottom: 10px; width: 200px; height: 190px;"> |
|
|
|
<fieldset class="customer-fieldset" |
|
|
|
style="margin-left: 600px; margin-bottom: 10px; width: 200px; height: 190px;"> |
|
|
|
<legend class="customer-legend">停机</legend> |
|
|
|
<el-form> |
|
|
|
<el-form-item> |
|
|
|
<el-button type="primary" @click="produceDownModal" |
|
|
|
:disabled="buttonTags.downTimeFlag" style="margin-left: 30px; margin-top: 10px;"> |
|
|
|
报告其他停机</el-button> |
|
|
|
报告其他停机 |
|
|
|
</el-button> |
|
|
|
</el-form-item> |
|
|
|
</el-form> |
|
|
|
</fieldset> |
|
|
|
@ -2840,7 +2862,7 @@ export default { |
|
|
|
this.refreshCurrentTabTable(); |
|
|
|
}).then(() => { |
|
|
|
//刷新当前的菜单 |
|
|
|
this.refreshPageButtons(); |
|
|
|
//this.refreshPageButtons(); |
|
|
|
}); |
|
|
|
}, |
|
|
|
|
|
|
|
|