feat(lot合批):新增逻辑
增加作业规则筛选一下可以看到的拆/合批次的工序作业规则:LOT_OPERATION,用于维护可以查看处理的工序
This commit is contained in:
parent
fa9a36d21c
commit
0c0032931d
@ -86,6 +86,7 @@ export default {
|
|||||||
// 作业规则
|
// 作业规则
|
||||||
checkLotStatus: '',
|
checkLotStatus: '',
|
||||||
notAllowSplitMergeManyTimes:'',
|
notAllowSplitMergeManyTimes:'',
|
||||||
|
lotOperation: '',
|
||||||
lotDialogVisible: false,
|
lotDialogVisible: false,
|
||||||
lotDialogObj: {
|
lotDialogObj: {
|
||||||
title: this.$t('mes.barCode'),
|
title: this.$t('mes.barCode'),
|
||||||
@ -187,6 +188,9 @@ export default {
|
|||||||
ruleValue = rule.optionValue;
|
ruleValue = rule.optionValue;
|
||||||
} else if (rule.optionName === 'NOT_ALLOW_SPLIT_MANY_TIMES' || rule.optionName === 'NOT_ALLOW_MERGE_MANY_TIMES') {
|
} else if (rule.optionName === 'NOT_ALLOW_SPLIT_MANY_TIMES' || rule.optionName === 'NOT_ALLOW_MERGE_MANY_TIMES') {
|
||||||
this.notAllowSplitMergeManyTimes = rule.optionValue;
|
this.notAllowSplitMergeManyTimes = rule.optionValue;
|
||||||
|
} else if (rule.optionName === 'LOT_OPERATION') {
|
||||||
|
//lotOperation
|
||||||
|
this.lotOperation = rule.optionValue;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -224,7 +228,8 @@ export default {
|
|||||||
lotNo: me.form.lotNo,
|
lotNo: me.form.lotNo,
|
||||||
action: me.titleKey,
|
action: me.titleKey,
|
||||||
checkLotStatus: me.checkLotStatus,
|
checkLotStatus: me.checkLotStatus,
|
||||||
notAllowSplitMergeManyTimes: me.notAllowSplitMergeManyTimes
|
notAllowSplitMergeManyTimes: me.notAllowSplitMergeManyTimes,
|
||||||
|
lotOperation: me.lotOperation
|
||||||
})
|
})
|
||||||
.then((resp) => {
|
.then((resp) => {
|
||||||
let {
|
let {
|
||||||
@ -271,6 +276,7 @@ export default {
|
|||||||
param.splitMerge = 'true'
|
param.splitMerge = 'true'
|
||||||
param.checkLotStatus = this.checkLotStatus
|
param.checkLotStatus = this.checkLotStatus
|
||||||
param.notAllowSplitMergeManyTimes = this.notAllowSplitMergeManyTimes
|
param.notAllowSplitMergeManyTimes = this.notAllowSplitMergeManyTimes
|
||||||
|
param.lotOperation = this.lotOperation
|
||||||
param.action = this.titleKey
|
param.action = this.titleKey
|
||||||
return getLot2(param)
|
return getLot2(param)
|
||||||
},
|
},
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user