diff --git a/src/i18n/lang/en.ts b/src/i18n/lang/en.ts
index 8418ac9..b33a8a1 100644
--- a/src/i18n/lang/en.ts
+++ b/src/i18n/lang/en.ts
@@ -490,7 +490,7 @@ export default {
returner: 'The returner must be equal to the login',
Inbound: 'Spare Inbound',
InboundDetail: 'Inbound Detail',
- orderNum: 'Order Num',
+ orderNum: 'Num',
totalNum: 'total Num',
Operation: 'Operation',
StorageTime: 'Storage Time',
diff --git a/src/pages/raw/handover/RUS-returning/index.vue b/src/pages/raw/handover/RUS-returning/index.vue
index a85ccf6..7e83764 100644
--- a/src/pages/raw/handover/RUS-returning/index.vue
+++ b/src/pages/raw/handover/RUS-returning/index.vue
@@ -147,7 +147,11 @@ export default class returningDom extends BasePage {
this.customToast(this.$t('message.barcode') as string);
return;
}
- await this.model.searchBarcode(this.Barcode);
+ let params = {
+ productCode: this.materieCode.value,
+ barcode: this.Barcode,
+ };
+ await this.model.searchBarcode(params);
this.Container = this.model.ContainerCode;
let arr = {
label: this.Container.locCode,
diff --git a/src/pages/raw/handover/RUS-returning/model.ts b/src/pages/raw/handover/RUS-returning/model.ts
index 4e4dace..ffca46c 100644
--- a/src/pages/raw/handover/RUS-returning/model.ts
+++ b/src/pages/raw/handover/RUS-returning/model.ts
@@ -110,11 +110,12 @@ export class ReturningModule extends VuexModule {
return res;
}
@MutationAction
- async searchBarcode(barcode: any) {
+ async searchBarcode(params: any) {
const res: any = await http.post(url.auth.query.barcode, {
factoryCode: session.factoryCode,
loginName: session.loginName,
- barcode,
+ barcode: params.barcode,
+ productCode: params.productCode,
});
const ContainerCode = res.data;
return { ContainerCode };
diff --git a/src/pages/raw/handover/feeding/RUS-Location.vue b/src/pages/raw/handover/feeding/RUS-Location.vue
index 5231b0a..c907c1c 100644
--- a/src/pages/raw/handover/feeding/RUS-Location.vue
+++ b/src/pages/raw/handover/feeding/RUS-Location.vue
@@ -229,6 +229,7 @@ export default class RawReceiptDetail extends BasePage {
async query() {
if (this.form.documentNo == '') {
this.customToast(this.$t('message.Commission_tips1') as string);
+ return;
}
if (this.sapSupplyIdList.length != 0) {
await this.lock();
@@ -300,7 +301,11 @@ export default class RawReceiptDetail extends BasePage {
this.customToast(this.$t('message.AppendMateriel5') as string);
return;
}
- await this.model.searchBarcode(this.Barcode);
+ let params = {
+ productCode: this.some.materialCode,
+ barcode: this.Barcode,
+ };
+ await this.model.searchBarcode(params);
this.Container = this.model.ContainerCode;
let arr = {
label: this.Container.locCode,
diff --git a/src/pages/raw/handover/feeding/model.ts b/src/pages/raw/handover/feeding/model.ts
index 5dfc4a7..a310da2 100644
--- a/src/pages/raw/handover/feeding/model.ts
+++ b/src/pages/raw/handover/feeding/model.ts
@@ -211,11 +211,12 @@ export class FeedingModule extends VuexModule {
}
//俄罗斯补料扫描容器码
@MutationAction
- async searchBarcode(barcode: any) {
+ async searchBarcode(params: any) {
const res: any = await http.post(url.auth.query.barcode, {
factoryCode: session.factoryCode,
loginName: session.loginName,
- barcode,
+ barcode: params.barcode,
+ productCode: params.productCode,
});
const ContainerCode = res.data;
return { ContainerCode };
diff --git a/src/pages/raw/ingoods/RUS-dnReturnGoods/Local-details.vue b/src/pages/raw/ingoods/RUS-dnReturnGoods/Local-details.vue
index 7feefce..a41a9c0 100644
--- a/src/pages/raw/ingoods/RUS-dnReturnGoods/Local-details.vue
+++ b/src/pages/raw/ingoods/RUS-dnReturnGoods/Local-details.vue
@@ -14,22 +14,24 @@
-
+