|
|
@ -140,14 +140,20 @@ |
|
|
|
}, |
|
|
|
|
|
|
|
mounted() { |
|
|
|
|
|
|
|
|
|
|
|
if (this.scanOptions.length == 0) { |
|
|
|
this.scanOptions = getPurchaseReceiptOption(this.settingParam.allowModifyQty, false) |
|
|
|
} |
|
|
|
|
|
|
|
if(import.meta.env.VITE_MANAGE_MODEL=="BY_PACKAGING"){ |
|
|
|
if (this.detailOptions.length == 0) { |
|
|
|
this.detailOptions = getDetailOption(); |
|
|
|
} |
|
|
|
if (this.scanOptions.length == 0) { |
|
|
|
this.scanOptions = getPurchaseReceiptOption(this.settingParam.allowModifyQty, false) |
|
|
|
}else { |
|
|
|
this.scanOptions.splice(0,1) |
|
|
|
} |
|
|
|
|
|
|
|
// this.showLocation(); |
|
|
|
}, |
|
|
|
|
|
|
|
methods: { |
|
|
|