|
|
@ -1,11 +1,11 @@ |
|
|
<template> |
|
|
<template> |
|
|
<div class="produce-report customer-css"> |
|
|
|
|
|
|
|
|
<div class="produce-report"> |
|
|
<el-dialog v-drag |
|
|
<el-dialog v-drag |
|
|
width="830px" class="customer-dialog" |
|
|
width="830px" class="customer-dialog" |
|
|
:title="titleCon" |
|
|
|
|
|
:close-on-click-modal="false" |
|
|
|
|
|
:visible.sync="visibleFlag"> |
|
|
|
|
|
<el-form :inline="true" label-position="top" style="height: 480px;" label-width="80px"> |
|
|
|
|
|
|
|
|
:title="titleCon" v-bind="$attrs" v-on="$listeners" |
|
|
|
|
|
> |
|
|
|
|
|
<el-form :inline="true" label-position="top" style="height: 480px;" |
|
|
|
|
|
label-width="80px"> |
|
|
<!-- 第一行信息 --> |
|
|
<!-- 第一行信息 --> |
|
|
<el-form style="margin-top: -10px;"> |
|
|
<el-form style="margin-top: -10px;"> |
|
|
<el-form-item label="订单号:"> |
|
|
<el-form-item label="订单号:"> |
|
|
@ -72,7 +72,7 @@ |
|
|
</el-form-item> |
|
|
</el-form-item> |
|
|
<el-form-item> |
|
|
<el-form-item> |
|
|
<el-button type="primary" :disabled="buttonTags.finishRollFlag" |
|
|
<el-button type="primary" :disabled="buttonTags.finishRollFlag" |
|
|
@click="finishRoll" style="margin-left: 10px; margin-bottom: 5px;"> |
|
|
|
|
|
|
|
|
@click="finishRollModal" style="margin-left: 10px; margin-bottom: 5px;"> |
|
|
结束卷</el-button> |
|
|
结束卷</el-button> |
|
|
</el-form-item> |
|
|
</el-form-item> |
|
|
<el-form-item> |
|
|
<el-form-item> |
|
|
@ -346,13 +346,15 @@ |
|
|
</el-dialog> |
|
|
</el-dialog> |
|
|
|
|
|
|
|
|
<!-- 切换操作员 --> |
|
|
<!-- 切换操作员 --> |
|
|
<comSwitchOperator v-show="showOperatorFlag" ref="comSwitchOperator" |
|
|
|
|
|
|
|
|
<comSwitchOperator ref="comSwitchOperator" :close-on-click-modal="false" |
|
|
|
|
|
:visible.sync="showOperatorFlag" |
|
|
@initOperatorData="initOperatorData"> |
|
|
@initOperatorData="initOperatorData"> |
|
|
|
|
|
|
|
|
</comSwitchOperator> |
|
|
</comSwitchOperator> |
|
|
|
|
|
|
|
|
<!-- 结束卷的modal --> |
|
|
<!-- 结束卷的modal --> |
|
|
<comFinishRoll ref="comFinishRoll" v-show="showFinishFlag" > |
|
|
|
|
|
|
|
|
<comFinishRoll ref="comFinishRoll" :close-on-click-modal="false" |
|
|
|
|
|
:visible.sync="showFinishFlag" > |
|
|
|
|
|
|
|
|
</comFinishRoll> |
|
|
</comFinishRoll> |
|
|
</div> |
|
|
</div> |
|
|
@ -374,12 +376,12 @@ import { |
|
|
} from "@/api/yieldReport/produce_report_normal.js"; |
|
|
} from "@/api/yieldReport/produce_report_normal.js"; |
|
|
/*引入组件*/ |
|
|
/*引入组件*/ |
|
|
import comSwitchOperator from "./com_switch_operator";/*切换操作员*/ |
|
|
import comSwitchOperator from "./com_switch_operator";/*切换操作员*/ |
|
|
|
|
|
import comFinishRoll from "./com_finish_roll";/*结束卷数的组件*/ |
|
|
export default { |
|
|
export default { |
|
|
name: "com_produce_report_normal", |
|
|
name: "com_produce_report_normal", |
|
|
data() { |
|
|
data() { |
|
|
return { |
|
|
return { |
|
|
titleCon:'', |
|
|
titleCon:'', |
|
|
visibleFlag: false, |
|
|
|
|
|
showOperatorFlag: false, |
|
|
showOperatorFlag: false, |
|
|
showFinishFlag: false, |
|
|
showFinishFlag: false, |
|
|
activeTable: 'sfdc_time', |
|
|
activeTable: 'sfdc_time', |
|
|
@ -2563,7 +2565,6 @@ export default { |
|
|
operatorId: '', |
|
|
operatorId: '', |
|
|
operatorName: '', |
|
|
operatorName: '', |
|
|
status: '', |
|
|
status: '', |
|
|
seqNo: '', |
|
|
|
|
|
showFlag: false |
|
|
showFlag: false |
|
|
}, |
|
|
}, |
|
|
buttonTags:{ |
|
|
buttonTags:{ |
|
|
@ -2584,6 +2585,7 @@ export default { |
|
|
}, |
|
|
}, |
|
|
components: { |
|
|
components: { |
|
|
comSwitchOperator,/*切换用户的组件*/ |
|
|
comSwitchOperator,/*切换用户的组件*/ |
|
|
|
|
|
comFinishRoll,/*结束卷的组件*/ |
|
|
}, |
|
|
}, |
|
|
methods: { |
|
|
methods: { |
|
|
// 获取多语言列表 |
|
|
// 获取多语言列表 |
|
|
@ -2769,14 +2771,14 @@ export default { |
|
|
+ this.scheduleData.resourceDesc + ' (' + this.operatorData.operatorName+ ')'; |
|
|
+ this.scheduleData.resourceDesc + ' (' + this.operatorData.operatorName+ ')'; |
|
|
}, |
|
|
}, |
|
|
|
|
|
|
|
|
finishRoll(val1,val2){ |
|
|
|
|
|
alert(val1+val2) |
|
|
|
|
|
|
|
|
/*结束卷操作*/ |
|
|
|
|
|
finishRollModal(){ |
|
|
//1.首先调用菜单判断方式 看看是否可以结束卷 |
|
|
//1.首先调用菜单判断方式 看看是否可以结束卷 |
|
|
//checkProduceButton('finishRollFlag'); |
|
|
//checkProduceButton('finishRollFlag'); |
|
|
//打开结束卷的页面 |
|
|
//打开结束卷的页面 |
|
|
this.$nextTick(() => { |
|
|
this.$nextTick(() => { |
|
|
this.showFinishFlag = true; |
|
|
this.showFinishFlag = true; |
|
|
this.$refs.comFinishRoll.init1(val1,val2) |
|
|
|
|
|
|
|
|
this.$refs.comFinishRoll.init(this.scheduleData.seqNo, this.operatorData) |
|
|
// this.$refs.com_finish_roll.init(this.scheduleData.seqNo, this.currentRollOps.rollNo); |
|
|
// this.$refs.com_finish_roll.init(this.scheduleData.seqNo, this.currentRollOps.rollNo); |
|
|
}); |
|
|
}); |
|
|
}, |
|
|
}, |
|
|
|