|
|
|
@ -9,54 +9,54 @@ |
|
|
|
label-width="80px"> |
|
|
|
<!-- 第一行信息 --> |
|
|
|
<el-form style="margin-top: -10px;"> |
|
|
|
<el-form-item :label=labels.orderNo class="customer-item"> |
|
|
|
<el-form-item label="订单号" class="customer-item"> |
|
|
|
<el-input v-model="scheduleData.orderNo" :readonly="true" style="width: 130px;"></el-input> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item :label=labels.partNo class="customer-item"> |
|
|
|
<el-form-item label="物料编码" class="customer-item"> |
|
|
|
<el-input v-model="scheduleData.partNo" :readonly="true" style="width: 130px;"></el-input> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item :label=labels.partDesc class="customer-item"> |
|
|
|
<el-form-item label="物料名称/规格" class="customer-item"> |
|
|
|
<el-input v-model="scheduleData.partDesc" :readonly="true" style="width: 200px;"></el-input> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item :label=labels.seqNo class="customer-item"> |
|
|
|
<el-form-item label="派工单号" class="customer-item"> |
|
|
|
<el-input v-model="scheduleData.seqNo" :readonly="true" style="width: 80px;"></el-input> |
|
|
|
</el-form-item> |
|
|
|
</el-form> |
|
|
|
<!-- 第二行信息 --> |
|
|
|
<el-form> |
|
|
|
<el-form-item :label=labels.needDate class="customer-item"> |
|
|
|
<el-form-item label="要求完工日期" class="customer-item"> |
|
|
|
<el-input v-model="scheduleData.planFinishTime" :readonly="true" style="width: 130px;"></el-input> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item :label=labels.planStartDate class="customer-item"> |
|
|
|
<el-form-item label="要求开工日期" class="customer-item"> |
|
|
|
<el-input v-model="scheduleData.planStartTime" :readonly="true" style="width: 130px;"></el-input> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item :label=labels.lotSize class="customer-item"> |
|
|
|
<el-form-item label="原始派工单需求数量" class="customer-item"> |
|
|
|
<el-input v-model="scheduleData.qtyRequiredOriginal" :readonly="true" style="width: 80px;"></el-input> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item :label=labels.scheduledDate class="customer-item"> |
|
|
|
<el-form-item label="排产日期" class="customer-item"> |
|
|
|
<el-input v-model="scheduleData.scheduledDate" :readonly="true" style="width: 80px;"></el-input> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item :label=labels.shiftNo class="customer-item"> |
|
|
|
<el-form-item label="班次" class="customer-item"> |
|
|
|
<el-input v-model="scheduleData.shiftNo" :readonly="true" style="width: 80px;"></el-input> |
|
|
|
</el-form-item> |
|
|
|
</el-form> |
|
|
|
<!-- 第三行信息 --> |
|
|
|
<el-form> |
|
|
|
<el-form-item :label=labels.preItemNo class="customer-item"> |
|
|
|
<el-form-item label="前道工序" class="customer-item"> |
|
|
|
<el-input v-model="scheduleData.preItemDesc" :readonly="true" style="width: 180px;"></el-input> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item :label=labels.nextItemNo prop="languageDefault" class="customer-item"> |
|
|
|
<el-form-item label="后道工序" prop="languageDefault" class="customer-item"> |
|
|
|
<el-input v-model="scheduleData.nextItemDesc" :readonly="true" style="width: 180px;"></el-input> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item :label="''" style="margin-left: -5px;" class="customer-item"> |
|
|
|
<el-checkbox style="margin-left: 30px; margin-top: 28px;" true-label="true" false-label="false" |
|
|
|
v-model="scheduleData.currentRollFlag">{{ labels.onlyCurrentRoll }} |
|
|
|
v-model="scheduleData.currentRollFlag">仅显示当前卷信息 |
|
|
|
</el-checkbox> |
|
|
|
</el-form-item> |
|
|
|
</el-form> |
|
|
|
<!-- 第四行菜单 --> |
|
|
|
<fieldset class="customer-fieldset" style="width: 660px;"> |
|
|
|
<legend class="customer-legend">{{ labels.rollButtons }}</legend> |
|
|
|
<legend class="customer-legend">卷操作</legend> |
|
|
|
<el-form> |
|
|
|
<el-form-item class="customer-roll-css" style="width: 130px; font-size: 16px; color: #387877;"> |
|
|
|
<el-input v-model="this.currentRollOps.rollNo" :readonly="true" style="width: 140px;"></el-input> |
|
|
|
@ -64,38 +64,38 @@ |
|
|
|
<el-form-item> |
|
|
|
<el-button class="customer-bun-mid" type="primary" @click="warnCreateNewRollConfirm" |
|
|
|
:disabled="buttonTags.createNewRollFlag" |
|
|
|
style="margin-left: 5px; margin-bottom: 5px;">{{ buttons.newRollButton }} |
|
|
|
style="margin-left: 5px; margin-bottom: 5px;">创建新卷 |
|
|
|
</el-button> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item> |
|
|
|
<el-button class="customer-bun-mid" type="primary" @click="switchRollModal" |
|
|
|
:disabled="buttonTags.switchRollFlag" |
|
|
|
style="margin-left: 10px; margin-bottom: 5px;">{{ buttons.switchRoll }} |
|
|
|
style="margin-left: 10px; margin-bottom: 5px;">切换卷 |
|
|
|
</el-button> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item> |
|
|
|
<el-button class="customer-bun-mid" type="primary" @click="separateRollModal" |
|
|
|
:disabled="buttonTags.separateRollFlag" |
|
|
|
style="margin-left: 10px; margin-bottom: 5px;"> |
|
|
|
{{ buttons.separateRoll }} |
|
|
|
创建分卷 |
|
|
|
</el-button> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item> |
|
|
|
<el-button class="customer-bun-mid" type="primary" :disabled="buttonTags.finishRollFlag" |
|
|
|
@click="finishRollModal" style="margin-left: 10px; margin-bottom: 5px;"> |
|
|
|
{{ buttons.finishRoll }} |
|
|
|
结束卷 |
|
|
|
</el-button> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item> |
|
|
|
<el-button class="customer-bun-mid" type="primary" :disabled="buttonTags.mergeRollFlag" |
|
|
|
@click="mergeRollModal" style="margin-left: 10px; margin-bottom: 5px;"> |
|
|
|
{{ buttons.mergeRoll }} |
|
|
|
合并卷 |
|
|
|
</el-button> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item> |
|
|
|
<el-button class="customer-bun-mid" type="primary" :disabled="buttonTags.finishScheduleFlag" |
|
|
|
@click="showFinishScheduleModal" style="margin-left: 10px; margin-bottom: 5px;"> |
|
|
|
{{ buttons.finishSchedule }} |
|
|
|
结单 |
|
|
|
</el-button> |
|
|
|
</el-form-item> |
|
|
|
</el-form> |
|
|
|
@ -103,10 +103,10 @@ |
|
|
|
|
|
|
|
<!-- 列表展示区域 --> |
|
|
|
<fieldset class="customer-fieldset" style="margin-bottom: 10px; width: 660px; height: 450px;"> |
|
|
|
<legend class="customer-legend">{{ labels.listDesc }}</legend> |
|
|
|
<legend class="customer-legend">列表信息</legend> |
|
|
|
<el-tabs v-model="activeTable" style="margin-top: -3px; width: 655px; height: 425px;" |
|
|
|
type="border-card" @tab-click="tabClick" class="customer-tab"> |
|
|
|
<el-tab-pane :label=labels.orderInfo name="order_info"> |
|
|
|
<el-tab-pane label="订单信息" name="order_info"> |
|
|
|
<div style="height: 400px; padding: 10px;"> |
|
|
|
<!-- 技术注意事项 --> |
|
|
|
<div style="margin-bottom: 10px;"> |
|
|
|
@ -142,7 +142,7 @@ |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</el-tab-pane> |
|
|
|
<el-tab-pane :label=labels.timeList name="sfdc_time"> |
|
|
|
<el-tab-pane label="时间" name="sfdc_time"> |
|
|
|
<el-table |
|
|
|
height="400" |
|
|
|
:data="sfdcTimeList" |
|
|
|
@ -154,11 +154,9 @@ |
|
|
|
header-align="center" |
|
|
|
align="center" |
|
|
|
width="80" |
|
|
|
:label=labels.rollListOperation> |
|
|
|
label="操作"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
<a class="customer-a" @click="deleteSfdcTimeHist(scope.row)">{{ |
|
|
|
labels.deleteSfdcTime || '删除' |
|
|
|
}}</a> |
|
|
|
<a class="customer-a" @click="deleteSfdcTimeHist(scope.row)">删除</a> |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column |
|
|
|
@ -179,7 +177,7 @@ |
|
|
|
</el-table-column> |
|
|
|
</el-table> |
|
|
|
</el-tab-pane> |
|
|
|
<el-tab-pane :label=labels.toolList name="sfdc_tool"> |
|
|
|
<el-tab-pane label="刀模板记录" name="sfdc_tool"> |
|
|
|
<el-table |
|
|
|
height="170" |
|
|
|
:data="orderToolList" |
|
|
|
@ -214,16 +212,16 @@ |
|
|
|
header-align="center" |
|
|
|
align="center" |
|
|
|
width="75" |
|
|
|
:label=labels.toolListOperation> |
|
|
|
label="操作"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
<a class="customer-a" |
|
|
|
v-if="operatorData.operatorName != '' && scope.row.finishedFlag == 'N' && scope.row.rollNo != '*'" |
|
|
|
@click="replaceToolModal(scope.row)" |
|
|
|
>{{ labels.toolListReplace }}</a> |
|
|
|
>刀模替换</a> |
|
|
|
<a class="customer-a" |
|
|
|
v-if="operatorData.operatorName != '' && scope.row.finishedFlag != 'Y' && scope.row.rollNo == '*'" |
|
|
|
@click="warnFinishToolConfirm(scope.row)" |
|
|
|
>{{ labels.toolListFinish }}</a> |
|
|
|
>结束使用</a> |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column |
|
|
|
@ -244,7 +242,7 @@ |
|
|
|
</el-table-column> |
|
|
|
</el-table> |
|
|
|
</el-tab-pane> |
|
|
|
<el-tab-pane :label=labels.materialList name="sfdc_material"> |
|
|
|
<el-tab-pane label="材料" name="sfdc_material"> |
|
|
|
<el-table |
|
|
|
height="170" |
|
|
|
:data="orderBomList" |
|
|
|
@ -279,22 +277,20 @@ |
|
|
|
header-align="center" |
|
|
|
align="center" |
|
|
|
width="115" |
|
|
|
:label=labels.materialListOperation> |
|
|
|
label="操作"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
<!-- <a class="customer-a" @click="deleteSfdcMaterialHist(scope.row)">{{--> |
|
|
|
<!-- labels.deleteSfdcTime || '删除'--> |
|
|
|
<!-- }} </a>--> |
|
|
|
<!-- <a class="customer-a" @click="deleteSfdcMaterialHist(scope.row)">删除</a>--> |
|
|
|
<a class="customer-a" v-if="operatorData.operatorName != '' && scope.row.rollNo != '*' && scope.row.sAPBOMItemNo >= 0 |
|
|
|
&& scope.row.finishedFlag == 'N' && scope.row.histType == '发料'" |
|
|
|
@click="replaceMaterialModal(scope.row)">{{ labels.materialListReplace }}</a> |
|
|
|
@click="replaceMaterialModal(scope.row)">换料</a> |
|
|
|
<a class="customer-a" v-if="operatorData.operatorName != '' && scope.row.rollNo == '*' && scope.row.sAPBOMItemNo >= 0 |
|
|
|
&& scope.row.finishedFlag == 'N' && scope.row.histType == '发料'" |
|
|
|
@click="cuttingMaterialModal(scope.row)" |
|
|
|
>{{ labels.materialListCutting }}</a> |
|
|
|
>下料</a> |
|
|
|
<a class="customer-a" v-if="operatorData.operatorName != '' && scope.row.finishedFlag == 'N' && scope.row.sAPBOMItemNo >= 0 |
|
|
|
&& scope.row.histType == '发料' && scope.row.keyRMFlag == 'N'" |
|
|
|
@click="warnFinishMaterialWithNoRemainderConfirm(scope.row)" |
|
|
|
>{{ labels.materialListFinish }}</a> |
|
|
|
>结束生产</a> |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column |
|
|
|
@ -316,7 +312,7 @@ |
|
|
|
|
|
|
|
</el-table> |
|
|
|
</el-tab-pane> |
|
|
|
<el-tab-pane :label=labels.rollopsList name="sfdc_rollOps"> |
|
|
|
<el-tab-pane label="生产卷操作信息" name="sfdc_rollOps"> |
|
|
|
<el-table |
|
|
|
height="400" |
|
|
|
:data="sfdcRollOpsList" |
|
|
|
@ -342,7 +338,7 @@ |
|
|
|
</el-table> |
|
|
|
</el-tab-pane> |
|
|
|
<!-- 不良记录 --> |
|
|
|
<el-tab-pane :label=labels.defectList name="sfdc_defect"> |
|
|
|
<el-tab-pane label="不良记录" name="sfdc_defect"> |
|
|
|
<el-table |
|
|
|
height="400" |
|
|
|
:data="sfdcDefectList" |
|
|
|
@ -356,11 +352,9 @@ |
|
|
|
header-align="center" |
|
|
|
align="center" |
|
|
|
width="80" |
|
|
|
:label=labels.rollListOperation> |
|
|
|
label="操作"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
<a class="customer-a" @click="deleteSfdcDefect(scope.row)">{{ |
|
|
|
labels.deleteSfdcDefect || '删除' |
|
|
|
}}</a> |
|
|
|
<a class="customer-a" @click="deleteSfdcDefect(scope.row)">删除</a> |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column |
|
|
|
@ -381,7 +375,7 @@ |
|
|
|
</el-table-column> |
|
|
|
</el-table> |
|
|
|
</el-tab-pane> |
|
|
|
<el-tab-pane :label=labels.rollList name="sfdc_roll"> |
|
|
|
<el-tab-pane label="机器下机卷" name="sfdc_roll"> |
|
|
|
<el-table |
|
|
|
height="400" |
|
|
|
:data="sfdcRollList" |
|
|
|
@ -413,17 +407,17 @@ |
|
|
|
header-align="center" |
|
|
|
align="center" |
|
|
|
width="150" |
|
|
|
:label=labels.rollListOperation> |
|
|
|
label="操作"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
<a class="customer-a" v-if="operatorData.operatorName != '' && scope.row.finishedFlag != 'N'" |
|
|
|
@click="warnReopenSfdcRollsConfirm(scope.row)" |
|
|
|
>{{ labels.rollListReopen }}</a> |
|
|
|
>重打开</a> |
|
|
|
<a class="customer-a" v-if="operatorData.operatorName != ''" |
|
|
|
@click="warnDeleteSfdcRollsConfirm(scope.row)" |
|
|
|
>{{ labels.rollListDelete }}</a> |
|
|
|
>删除卷</a> |
|
|
|
<a class="customer-a" v-if="operatorData.operatorName != ''" |
|
|
|
@click="printSfdcFlowLabel(scope.row)" |
|
|
|
>{{ labels.rollListPrint }}</a> |
|
|
|
>打印卷标签</a> |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
</el-table> |
|
|
|
@ -435,37 +429,37 @@ |
|
|
|
<div style="margin-left: 680px; margin-top: -640px; width: 200px;"> |
|
|
|
<el-button class="customer-bun-mid controller-bun" type="primary" @click="refreshPageData" |
|
|
|
style="margin-left: 20px; margin-bottom: 10px; width: 60px;"> |
|
|
|
{{ buttons.refreshButton }} |
|
|
|
刷新 |
|
|
|
</el-button> |
|
|
|
<el-button class="customer-bun-mid controller-bun" type="primary" @click="switchOperatorModal" |
|
|
|
style="margin-left: 28px; margin-bottom: 10px; width: 60px;"> |
|
|
|
{{ buttons.switchOperator }} |
|
|
|
切换用户 |
|
|
|
</el-button> |
|
|
|
</div> |
|
|
|
|
|
|
|
<!-- 生产调机菜单 --> |
|
|
|
<fieldset class="customer-fieldset" |
|
|
|
style="margin-left: 680px; width: 200px; height: 100px;"> |
|
|
|
<legend class="customer-legend">{{ labels.produceButtons }}</legend> |
|
|
|
<legend class="customer-legend">生产调机</legend> |
|
|
|
<el-form> |
|
|
|
<el-form-item style="margin-top: 10px;"> |
|
|
|
<el-button class="customer-bun-mid controller-bun" type="primary" @click="startTuningModal" |
|
|
|
:disabled="buttonTags.tuningFlag" |
|
|
|
style="margin-left: 15px; margin-bottom: 5px;"> |
|
|
|
{{ buttons.startTuning }} |
|
|
|
开始调机 |
|
|
|
</el-button> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item> |
|
|
|
<el-button class="customer-bun-mid controller-bun" type="primary" @click="startProduceModal" |
|
|
|
:disabled="buttonTags.produceFlag" |
|
|
|
style="margin-left: 20px; margin-bottom: 5px;margin-top: 10px"> |
|
|
|
{{ buttons.startProduce }} |
|
|
|
开始生产 |
|
|
|
</el-button> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item> |
|
|
|
<el-button class="customer-bun-mid" type="primary" @click="sopPreviewModal" |
|
|
|
style="margin-left: 15px; margin-bottom: 5px;margin-top: 10px"> |
|
|
|
{{ buttons.sopView }} |
|
|
|
SOP预览 |
|
|
|
</el-button> |
|
|
|
</el-form-item> |
|
|
|
</el-form> |
|
|
|
@ -474,32 +468,32 @@ |
|
|
|
|
|
|
|
<!-- 扫描 --> |
|
|
|
<fieldset class="customer-fieldset" style="margin-left: 680px; width: 200px; height: 80px;"> |
|
|
|
<legend class="customer-legend">{{ labels.scanButtons }}</legend> |
|
|
|
<legend class="customer-legend">过程控制</legend> |
|
|
|
<el-form> |
|
|
|
<el-form-item style="margin-top: -5px;"> |
|
|
|
<el-button class="customer-bun-mid controller-bun" type="primary" @click="produceToolModal" |
|
|
|
disabled="disabled" style="margin-left: 15px; margin-top: 20px;"> |
|
|
|
<!-- :disabled="buttonTags.toolFlag"--> |
|
|
|
{{ buttons.toolButton }} |
|
|
|
刀模上机 |
|
|
|
</el-button> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item style="margin-top: -5px;"> |
|
|
|
<el-button class="customer-bun-mid controller-bun" type="primary" @click="produceMaterialModal" |
|
|
|
:disabled="buttonTags.materialFlag" style="margin-left: 20px; margin-top: 20px;"> |
|
|
|
{{ buttons.materialButton }} |
|
|
|
材料上机 |
|
|
|
</el-button> |
|
|
|
</el-form-item> |
|
|
|
</el-form> |
|
|
|
</fieldset> |
|
|
|
<!-- 不良 --> |
|
|
|
<fieldset class="customer-fieldset" style="margin-left: 680px; width: 200px; height: 80px;"> |
|
|
|
<legend class="customer-legend">{{ labels.defectButtons }}</legend> |
|
|
|
<legend class="customer-legend">过程不良</legend> |
|
|
|
<el-form style="text-align: center;"> |
|
|
|
<el-form-item style="margin-top: 5px;"> |
|
|
|
<el-button class="customer-bun-mid controller-bun" @click="defectRollModal" type="primary" |
|
|
|
:disabled="buttonTags.defectFlag" |
|
|
|
style="margin-left: 0px; margin-top: 10px;"> |
|
|
|
{{ buttons.reportDefect }} |
|
|
|
报告不良 |
|
|
|
|
|
|
|
</el-button> |
|
|
|
</el-form-item> |
|
|
|
@ -511,12 +505,12 @@ |
|
|
|
<!-- 停机 --> |
|
|
|
<fieldset class="customer-fieldset" |
|
|
|
style="margin-left: 680px; width: 200px; height: 80px;"> |
|
|
|
<legend class="customer-legend">{{ labels.downTimeButtons }}</legend> |
|
|
|
<legend class="customer-legend">过程异常</legend> |
|
|
|
<el-form style="text-align: center;"> |
|
|
|
<el-form-item> |
|
|
|
<el-button class="customer-bunx-max controller-bun" type="primary" @click="produceDownModal" |
|
|
|
:disabled="buttonTags.downTimeFlag" style="margin-top: 10px;"> |
|
|
|
{{ buttons.downTime }} |
|
|
|
异常停机 |
|
|
|
</el-button> |
|
|
|
</el-form-item> |
|
|
|
</el-form> |
|
|
|
@ -524,7 +518,7 @@ |
|
|
|
<!--其他操作--> |
|
|
|
<fieldset class="customer-fieldset" |
|
|
|
style="margin-left: 680px; margin-bottom: 10px; width: 200px; height: 80px;"> |
|
|
|
<legend class="customer-legend">{{ buttons.otherOperation }}</legend> |
|
|
|
<legend class="customer-legend">其他操作</legend> |
|
|
|
<el-form style="text-align: center;"> |
|
|
|
|
|
|
|
<el-form-item style="margin-top: 10px ; margin-left: 5px"> |
|
|
|
@ -537,26 +531,26 @@ |
|
|
|
<div style="text-align: right; margin: 0;width: 120px;"> |
|
|
|
<el-button type="primary" v-if="scheduleData.preItemNo <= 0" @click="finishPartRollModal" |
|
|
|
style=" width: 120px; margin-bottom: 5px; margin-left: 3PX"> |
|
|
|
{{ buttons.preReport }} |
|
|
|
产量报告 |
|
|
|
</el-button> |
|
|
|
<el-button type="primary" @click="switchRollReverse" |
|
|
|
style=" width: 120px; margin-bottom: 5px;margin-left: 3PX; "> |
|
|
|
{{ buttons.deleteRoll }} |
|
|
|
删除卷 |
|
|
|
</el-button> |
|
|
|
<el-button type="primary" @click="notOverFinishRollModal" |
|
|
|
:disabled="!buttonTags.createNewRollFlag" |
|
|
|
style=" width: 120px; margin-bottom: 5px;margin-left: 3PX; "> |
|
|
|
{{ buttons.notProduce }} |
|
|
|
未生产下机拆卷 |
|
|
|
</el-button> |
|
|
|
<el-button type="primary" @click="produceKeyMaterialModal" |
|
|
|
:disabled="buttonTags.createNewRollFlag" |
|
|
|
style=" width: 120px; margin-bottom: 5px;margin-left: 3PX; "> |
|
|
|
扫描卷 |
|
|
|
</el-button> |
|
|
|
<!-- <el-button type="primary" @click="produceKeyMaterialModal"--> |
|
|
|
<!-- :disabled="buttonTags.createNewRollFlag"--> |
|
|
|
<!-- style=" width: 120px; margin-bottom: 5px;margin-left: 3PX; ">--> |
|
|
|
<!-- {{ buttons.scannerRoll || '扫描卷' }}--> |
|
|
|
<!-- </el-button>--> |
|
|
|
</div> |
|
|
|
<el-button type="primary" class="controller-bun" :disabled="buttonTags.finishScheduleFlag" |
|
|
|
style=" width: 80px; margin-bottom: 5px; " @click="popoverFlag=true" |
|
|
|
slot="reference">{{ labels.otherButtons }} |
|
|
|
slot="reference">其他操作 |
|
|
|
</el-button> |
|
|
|
</el-popover> |
|
|
|
</el-form-item> |
|
|
|
@ -570,17 +564,17 @@ |
|
|
|
<div style="text-align: right; margin: 0;width: 120px;"> |
|
|
|
<el-button type="primary" :disabled="rollSplitButton " @click="rollSplit()" |
|
|
|
style=" width: 120px; margin-bottom: 5px; margin-left: 3PX"> |
|
|
|
{{ labels.rollSplit }} |
|
|
|
创建分卷 |
|
|
|
</el-button> |
|
|
|
<el-button type="primary" @click="malformedMaterialModal" |
|
|
|
:disabled="malformedMaterialButtonFlag || rollSplitButton || scheduleData.closedFlag=='Y'" |
|
|
|
style=" width: 120px; margin-bottom: 5px; margin-left: 3PX"> |
|
|
|
{{ labels.scannerMaterial }} |
|
|
|
扫描材料 |
|
|
|
</el-button> |
|
|
|
</div> |
|
|
|
<el-button type="primary" class="controller-bun" :disabled="buttonTags.materialMalformedFlag" |
|
|
|
style=" width: 80px; margin-bottom: 5px; " @click="popoverFlag2=true" |
|
|
|
slot="reference">{{ labels.materialMalformed }} |
|
|
|
slot="reference">材料异常处理 |
|
|
|
</el-button> |
|
|
|
</el-popover> |
|
|
|
</el-form-item> |
|
|
|
@ -590,19 +584,19 @@ |
|
|
|
<!-- 质量检验 --> |
|
|
|
<fieldset class="customer-fieldset" |
|
|
|
style="margin-left: 680px; margin-bottom: 10px; width: 200px; height: 80px;"> |
|
|
|
<legend class="customer-legend">{{ labels.qualityInspection }}</legend> |
|
|
|
<legend class="customer-legend">质量检验</legend> |
|
|
|
<el-form style="text-align: center;"> |
|
|
|
<el-form-item style="margin-top: 10px;"> |
|
|
|
<el-button class="customer-bun-mid" type="primary" @click="qualityInspectionModal" |
|
|
|
style="margin-left: 15px; margin-bottom: 5px;"> |
|
|
|
{{ buttons.qualityInspection }} |
|
|
|
过程检验 |
|
|
|
</el-button> |
|
|
|
</el-form-item> |
|
|
|
|
|
|
|
<el-form-item> |
|
|
|
<el-button class="controller-bun" type="primary" @click="qualityInspectionModal" |
|
|
|
style="margin-left: 15px; margin-bottom: 5px;margin-top: 10px;"> |
|
|
|
{{ buttons.mrb }} |
|
|
|
MRB异常单 |
|
|
|
</el-button> |
|
|
|
</el-form-item> |
|
|
|
|
|
|
|
@ -612,12 +606,12 @@ |
|
|
|
<!-- TID绑定 --> |
|
|
|
<fieldset class="customer-fieldset" |
|
|
|
style="margin-left: 680px; margin-bottom: 10px; width: 200px; height: 80px;"> |
|
|
|
<legend class="customer-legend">{{ labels.tidBanding }}</legend> |
|
|
|
<legend class="customer-legend">TID绑定</legend> |
|
|
|
<el-form style="text-align: center;"> |
|
|
|
<el-form-item style="margin-top: 10px;"> |
|
|
|
<el-button class="customer-bun-mid" type="primary" |
|
|
|
style="margin-left: 15px; margin-bottom: 5px;"> |
|
|
|
{{ buttons.tidBand }} |
|
|
|
TID文件 |
|
|
|
</el-button> |
|
|
|
</el-form-item> |
|
|
|
</el-form> |
|
|
|
@ -3163,6 +3157,7 @@ export default { |
|
|
|
downTimeFlag: true, |
|
|
|
finishScheduleFlag: true, |
|
|
|
otherBunFlag: true, |
|
|
|
materialMalformedFlag: true, |
|
|
|
malformedMaterialFlag: true, |
|
|
|
}, |
|
|
|
dataListLoading: false, |
|
|
|
@ -3308,7 +3303,7 @@ export default { |
|
|
|
componentTitle: '机台工作台', |
|
|
|
orderNo: '订单号', |
|
|
|
partNo: '物料编码', |
|
|
|
partDesc: '物料名称/规则', |
|
|
|
partDesc: '物料名称/规格', |
|
|
|
seqNo: '派工单号', |
|
|
|
needDate: '要求完工日期', |
|
|
|
planStartDate: '刷新', |
|
|
|
@ -3386,7 +3381,7 @@ export default { |
|
|
|
tableId: '*' |
|
|
|
}, { |
|
|
|
functionId: functionId, |
|
|
|
languageValue: '物料名称/规则', |
|
|
|
languageValue: '物料名称/规格', |
|
|
|
objectId: 'partDesc', |
|
|
|
objectType: 'label', |
|
|
|
tableId: '*' |
|
|
|
@ -3821,7 +3816,7 @@ export default { |
|
|
|
const sums = []; |
|
|
|
columns.forEach((column, index) => { |
|
|
|
if (index === 1) { |
|
|
|
sums[index] = this.labels.totalSum; |
|
|
|
sums[index] = '合计: '; |
|
|
|
return; |
|
|
|
} |
|
|
|
if (index == 4) { |
|
|
|
@ -3849,7 +3844,7 @@ export default { |
|
|
|
const sums = []; |
|
|
|
columns.forEach((column, index) => { |
|
|
|
if (index === 0) { |
|
|
|
sums[index] = this.labels.sfdcRollSum; |
|
|
|
sums[index] = '下机卷总数:'; |
|
|
|
return; |
|
|
|
} |
|
|
|
if (index == 14) { |
|
|
|
@ -3875,13 +3870,13 @@ export default { |
|
|
|
// 删除卷 |
|
|
|
switchRollReverse() { |
|
|
|
if (this.currentRollOps.rollNo === '暂无卷号') { |
|
|
|
this.$message.warning(this.labels.noneRollNo); |
|
|
|
this.$message.warning('暂无卷号!'); |
|
|
|
this.popoverFlag = false |
|
|
|
return; |
|
|
|
} |
|
|
|
this.$confirm(this.labels.sureDeleteRoll + this.currentRollOps.rollNo + this.labels.currentRollNo, '提示', { |
|
|
|
confirmButtonText: this.labels.confirmLabel, |
|
|
|
celButtonText: this.labels.cancelLabel, |
|
|
|
this.$confirm('确定要删除' + this.currentRollOps.rollNo + '当前卷?', '提示', { |
|
|
|
confirmButtonText: '确定', |
|
|
|
cancelButtonText: '取消', |
|
|
|
type: 'warning' |
|
|
|
}).then(() => { |
|
|
|
//执行删除卷 |
|
|
|
@ -4088,7 +4083,7 @@ export default { |
|
|
|
this.scheduleData.preItemNo = data.row.preItemNo; |
|
|
|
this.scheduleData.closedFlag = data.row.closedFlag; |
|
|
|
//设置弹窗的标题 |
|
|
|
this.titleCon = this.labels.componentTitle + ' - ' + data.row.itemDesc + ' ' |
|
|
|
this.titleCon = '机台工作台' + ' - ' + data.row.itemDesc + ' ' |
|
|
|
+ data.row.resourceDesc + ' (' + this.operatorData.operatorName + ')'; |
|
|
|
}) |
|
|
|
//刷新页面的卷信息 |
|
|
|
@ -4209,7 +4204,7 @@ export default { |
|
|
|
this.operatorData = JSON.parse(JSON.stringify(operatorData)); |
|
|
|
//切换当前账户的信息 |
|
|
|
//设置弹窗的标题 |
|
|
|
this.titleCon = this.labels.componentTitle + ' - ' + this.scheduleData.workCenterDesc + ' ' |
|
|
|
this.titleCon = '机台工作台' + ' - ' + this.scheduleData.workCenterDesc + ' ' |
|
|
|
+ this.scheduleData.resourceDesc + ' (' + this.operatorData.operatorName + ')'; |
|
|
|
//刷新菜单 |
|
|
|
}, |
|
|
|
@ -4225,7 +4220,7 @@ export default { |
|
|
|
this.operatorData.operatorName = ''; |
|
|
|
this.operatorData.showFlag = false; |
|
|
|
//刷新标题 |
|
|
|
this.titleCon = this.labels.componentTitle + ' - ' + this.scheduleData.workCenterDesc + ' ' |
|
|
|
this.titleCon = '机台工作台' + ' - ' + this.scheduleData.workCenterDesc + ' ' |
|
|
|
+ this.scheduleData.resourceDesc + ' (' + this.operatorData.operatorName + ')'; |
|
|
|
}, |
|
|
|
|
|
|
|
@ -4233,7 +4228,7 @@ export default { |
|
|
|
switchOperatorModal() { |
|
|
|
//首先判断是否选择好派工单 |
|
|
|
if (JSON.stringify(this.currentRow) == '{}') { |
|
|
|
this.$message.error(this.labels.pleaseSelectSeqNo); |
|
|
|
this.$message.error('请先选择派工单!'); |
|
|
|
return false; |
|
|
|
} |
|
|
|
//打开操作员切换功能 |
|
|
|
@ -4248,9 +4243,9 @@ export default { |
|
|
|
//禁用当按钮 操作完成 恢复 |
|
|
|
this.buttonTags.createNewRollFlag = true; |
|
|
|
//提示操作 |
|
|
|
this.$confirm(this.labels.sureCreateNewRoll, '提示', { |
|
|
|
confirmButtonText: this.labels.confirmLabel, |
|
|
|
celButtonText: this.labels.cancelLabel, |
|
|
|
this.$confirm('确实要创建一个新卷吗?', '提示', { |
|
|
|
confirmButtonText: '确定', |
|
|
|
cancelButtonText: '取消', |
|
|
|
type: 'warning' |
|
|
|
}).then(() => { |
|
|
|
//执行创建新卷的操作 |
|
|
|
@ -4326,7 +4321,7 @@ export default { |
|
|
|
//判断是否是暂无卷号 |
|
|
|
let currentRollNo = this.currentRollOps.rollNo; |
|
|
|
if (currentRollNo === '暂无卷号') { |
|
|
|
this.$message.error(this.labels.noRollCantMerge); |
|
|
|
this.$message.error('暂无卷号参与无法合并卷!'); |
|
|
|
return false; |
|
|
|
} |
|
|
|
//打开合并卷的页面 |
|
|
|
@ -4483,9 +4478,9 @@ export default { |
|
|
|
|
|
|
|
/*提醒是否重新打开的提示*/ |
|
|
|
warnReopenSfdcRollsConfirm(sfdcRollRow) { |
|
|
|
this.$confirm(this.labels.sureReopenSfdcRoll + sfdcRollRow.rollNo + this.labels.sureLabel, '提示', { |
|
|
|
confirmButtonText: this.labels.confirmLabel, |
|
|
|
celButtonText: this.labels.cancelLabel, |
|
|
|
this.$confirm('确实要重新打开卷' + sfdcRollRow.rollNo + '吗?', '提示', { |
|
|
|
confirmButtonText: '确定', |
|
|
|
cancelButtonText: '取消', |
|
|
|
type: 'warning' |
|
|
|
}).then(() => { |
|
|
|
//执行重新打开sfdcRolls记录的操作 |
|
|
|
@ -4514,9 +4509,9 @@ export default { |
|
|
|
|
|
|
|
/*提醒是否删除的提示*/ |
|
|
|
warnDeleteSfdcRollsConfirm(sfdcRollRow) { |
|
|
|
this.$confirm(this.labels.sureDeleteCurrentRoll, '提示', { |
|
|
|
confirmButtonText: this.labels.confirmLabel, |
|
|
|
celButtonText: this.labels.cancelLabel, |
|
|
|
this.$confirm('确实要删除该卷吗?', '提示', { |
|
|
|
confirmButtonText: '确定', |
|
|
|
cancelButtonText: '取消', |
|
|
|
type: 'warning' |
|
|
|
}).then(() => { |
|
|
|
//执行重新打开sfdcRolls记录的操作 |
|
|
|
@ -4546,9 +4541,9 @@ export default { |
|
|
|
|
|
|
|
/*结束使用 工具确认功能*/ |
|
|
|
warnFinishToolConfirm(toolRow) { |
|
|
|
this.$confirm(this.labels.sureEndThisToolUsed, '提示', { |
|
|
|
confirmButtonText: this.labels.confirmLabel, |
|
|
|
celButtonText: this.labels.cancelLabel, |
|
|
|
this.$confirm('确实要结束该工具的使用吗?', '提示', { |
|
|
|
confirmButtonText: '确定', |
|
|
|
cancelButtonText: '取消', |
|
|
|
type: 'warning' |
|
|
|
}).then(() => { |
|
|
|
//执行结束使用工具的的操作 |
|
|
|
@ -4578,9 +4573,9 @@ export default { |
|
|
|
|
|
|
|
/*结束使用 材料确认功能*/ |
|
|
|
warnFinishMaterialWithNoRemainderConfirm(materialRow) { |
|
|
|
this.$confirm(this.labels.sureEndThisToolUsed, '提示', { |
|
|
|
confirmButtonText: this.labels.confirmLabel, |
|
|
|
celButtonText: this.labels.cancelLabel, |
|
|
|
this.$confirm('确实要结束该材料的使用吗?', '提示', { |
|
|
|
confirmButtonText: '确定', |
|
|
|
cancelButtonText: '取消', |
|
|
|
type: 'warning' |
|
|
|
}).then(() => { |
|
|
|
//执行结束使用材料的的操作 |
|
|
|
|