|
|
@ -305,6 +305,9 @@ |
|
|
width="115" |
|
|
width="115" |
|
|
:label=labels.rollListOperation> |
|
|
:label=labels.rollListOperation> |
|
|
<template slot-scope="scope"> |
|
|
<template slot-scope="scope"> |
|
|
|
|
|
<a v-if="scope.row.virtualRollFlag=='N'" class="customer-a" |
|
|
|
|
|
@click="rollPrintLabel(scope.row)" |
|
|
|
|
|
>{{'打印'}}</a> |
|
|
<a class="customer-a" v-if="operatorData.operatorName != '' && scope.row.finishedFlag != 'N'" |
|
|
<a class="customer-a" v-if="operatorData.operatorName != '' && scope.row.finishedFlag != 'N'" |
|
|
@click="warnReopenSfdcRollsConfirm(scope.row)" |
|
|
@click="warnReopenSfdcRollsConfirm(scope.row)" |
|
|
>{{ labels.rollListReopen }}</a> |
|
|
>{{ labels.rollListReopen }}</a> |
|
|
@ -453,6 +456,9 @@ |
|
|
<!-- 为生产下机拆卷 --> |
|
|
<!-- 为生产下机拆卷 --> |
|
|
<notOverFinishRoll ref="notOverFinishRoll" :visible.sync="showNotOverFlag" |
|
|
<notOverFinishRoll ref="notOverFinishRoll" :visible.sync="showNotOverFlag" |
|
|
@refreshPageData="refreshPageData"></notOverFinishRoll> |
|
|
@refreshPageData="refreshPageData"></notOverFinishRoll> |
|
|
|
|
|
|
|
|
|
|
|
<!--打印卷标签--> |
|
|
|
|
|
<com-roll-label ref="comRollLabel" ></com-roll-label> |
|
|
</div> |
|
|
</div> |
|
|
|
|
|
|
|
|
</template> |
|
|
</template> |
|
|
@ -493,6 +499,7 @@ import { |
|
|
checkSfdcDefect |
|
|
checkSfdcDefect |
|
|
} from "@/api/yieldReport/produce_report_normal.js"; |
|
|
} from "@/api/yieldReport/produce_report_normal.js"; |
|
|
/*引入组件*/ |
|
|
/*引入组件*/ |
|
|
|
|
|
import comRollLabel from "../../common/com-roll-label";/*打印卷标签*/ |
|
|
import comSwitchOperator from "../com_switch_operator";/*切换操作员*/ |
|
|
import comSwitchOperator from "../com_switch_operator";/*切换操作员*/ |
|
|
import changeSwitchRoll from "./change_switch_roll";/*切换卷操作*/ |
|
|
import changeSwitchRoll from "./change_switch_roll";/*切换卷操作*/ |
|
|
import comSeparateRoll from "../com_separate_roll"; |
|
|
import comSeparateRoll from "../com_separate_roll"; |
|
|
@ -3275,6 +3282,7 @@ export default { |
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|
components: { |
|
|
components: { |
|
|
|
|
|
comRollLabel, |
|
|
comSwitchOperator,/*切换用户的组件*/ |
|
|
comSwitchOperator,/*切换用户的组件*/ |
|
|
changeSwitchRoll,/*切换卷操作*/ |
|
|
changeSwitchRoll,/*切换卷操作*/ |
|
|
comSeparateRoll,/*創建分卷组件*/ |
|
|
comSeparateRoll,/*創建分卷组件*/ |
|
|
@ -3297,6 +3305,12 @@ export default { |
|
|
comFinishPartRoll, |
|
|
comFinishPartRoll, |
|
|
}, |
|
|
}, |
|
|
methods: { |
|
|
methods: { |
|
|
|
|
|
// 卷标签打印 |
|
|
|
|
|
rollPrintLabel(val){ |
|
|
|
|
|
this.$nextTick(() => { |
|
|
|
|
|
this.$refs.comRollLabel.init(val.rollNo) |
|
|
|
|
|
}); |
|
|
|
|
|
}, |
|
|
// 不良记录 |
|
|
// 不良记录 |
|
|
sfdcDefectListSummaries(param){ |
|
|
sfdcDefectListSummaries(param){ |
|
|
const { columns, data } = param; |
|
|
const { columns, data } = param; |
|
|
@ -3821,9 +3835,12 @@ export default { |
|
|
this.createRoll.rollNums= '' |
|
|
this.createRoll.rollNums= '' |
|
|
this.createRoll.rollQty= '' |
|
|
this.createRoll.rollQty= '' |
|
|
//打印卷标签 |
|
|
//打印卷标签 |
|
|
let printList = data.printList; |
|
|
|
|
|
printSfdcLabel(printList); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// let printList = data.printList; |
|
|
|
|
|
// printSfdcLabel(printList); |
|
|
|
|
|
// 打印 |
|
|
|
|
|
this.$nextTick(() => { |
|
|
|
|
|
this.$refs.comRollLabel.init(data.rollNos) |
|
|
|
|
|
}); |
|
|
//刷新报工的页面 |
|
|
//刷新报工的页面 |
|
|
this.getSfdcRollList() |
|
|
this.getSfdcRollList() |
|
|
}else { |
|
|
}else { |
|
|
|