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