|
@ -140,14 +140,20 @@ |
|
|
}, |
|
|
}, |
|
|
|
|
|
|
|
|
mounted() { |
|
|
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) { |
|
|
if (this.detailOptions.length == 0) { |
|
|
this.detailOptions = getDetailOption(); |
|
|
this.detailOptions = getDetailOption(); |
|
|
} |
|
|
} |
|
|
if (this.scanOptions.length == 0) { |
|
|
}else { |
|
|
this.scanOptions = getPurchaseReceiptOption(this.settingParam.allowModifyQty, false) |
|
|
this.scanOptions.splice(0,1) |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
// this.showLocation(); |
|
|
|
|
|
}, |
|
|
}, |
|
|
|
|
|
|
|
|
methods: { |
|
|
methods: { |
|
|