|
|
@ -173,6 +173,11 @@ |
|
|
|
type: Boolean, |
|
|
|
default: true |
|
|
|
}, |
|
|
|
// checkIssue是校验发料 |
|
|
|
fromType:{ |
|
|
|
type:String, |
|
|
|
default:'' |
|
|
|
} |
|
|
|
}, |
|
|
|
watch: { |
|
|
|
|
|
|
@ -209,7 +214,8 @@ |
|
|
|
|
|
|
|
mounted() { |
|
|
|
this.detailOptions = getDetailOption(); |
|
|
|
this.scanOptions = getRecordOption(this.allowModifyQty,this.allowModifyLocation); |
|
|
|
// this.scanOptions = getRecordOption(this.allowModifyQty,this.allowModifyLocation); |
|
|
|
if(this.fromType =='checkIssue'){
this.scanOptions = getRecordOption(false,this.allowModifyLocation);
}else{
this.scanOptions = getRecordOption(this.allowModifyQty,this.allowModifyLocation);
} |
|
|
|
this.removeOptions = this.isShowModifedLocation ?getEditLocationRemoveOption():getClearOption(); |
|
|
|
}, |
|
|
|
|
|
|
|