Browse Source

换包装 2022年4月7日 sxm

master
[li_she] 4 years ago
parent
commit
c88b2abb5a
  1. 5
      src/views/modules/yieldReport/com_merge_roll.vue
  2. 4
      src/views/modules/yieldReport/otherReport/change_packaging.vue

5
src/views/modules/yieldReport/com_merge_roll.vue

@ -58,6 +58,7 @@ export default {
data() { data() {
return { return {
titleCon: '合并卷', titleCon: '合并卷',
rollType: '',
scheduleData: { scheduleData: {
site: this.$store.state.user.site, site: this.$store.state.user.site,
username: this.$store.state.user.name, username: this.$store.state.user.name,
@ -116,7 +117,8 @@ export default {
}, },
methods: { methods: {
// //
init(scheduleData, operatorData) {
init(scheduleData, operatorData,rollType) {
this.rollType = rollType?1:0
// //
this.scheduleData = scheduleData; this.scheduleData = scheduleData;
// //
@ -225,6 +227,7 @@ export default {
'newRollQty': this.pageData.newRollQty, 'newRollQty': this.pageData.newRollQty,
'username': this.pageData.username, 'username': this.pageData.username,
'operatorId': this.pageData.operatorId, 'operatorId': this.pageData.operatorId,
parkFlag: this.rollType==1?'Y':'N' ,
'newRollFlag': false 'newRollFlag': false
}; };
// //

4
src/views/modules/yieldReport/otherReport/change_packaging.vue

@ -3304,7 +3304,7 @@ export default {
this.createRoll.seqNo = this.scheduleData.seqNo this.createRoll.seqNo = this.scheduleData.seqNo
this.createRoll.rollNo = this.currentRollOps.rollNo this.createRoll.rollNo = this.currentRollOps.rollNo
this.createRoll.operatorId = this.operatorData.operatorId; this.createRoll.operatorId = this.operatorData.operatorId;
this.createRoll.rollCount = this.operatorData.rollNums;
this.createRoll.rollCount = this.createRoll.rollNums;
this.createRoll.sFQCSlitFlag = 'N' this.createRoll.sFQCSlitFlag = 'N'
otherCheckCreateSplitSfdcRoll(this.createRoll).then(({data}) => { otherCheckCreateSplitSfdcRoll(this.createRoll).then(({data}) => {
// //
@ -3377,7 +3377,7 @@ export default {
// //
this.$nextTick(() => { this.$nextTick(() => {
this.showMergeFlag = true; this.showMergeFlag = true;
this.$refs.comMergeRoll.init(this.scheduleData, this.operatorData)
this.$refs.comMergeRoll.init(this.scheduleData, this.operatorData,1)
}); });
}, },

Loading…
Cancel
Save