diff --git a/src/pages/raw/handover/aggregating/order.vue b/src/pages/raw/handover/aggregating/order.vue index 9875656..2d733ba 100644 --- a/src/pages/raw/handover/aggregating/order.vue +++ b/src/pages/raw/handover/aggregating/order.vue @@ -200,7 +200,7 @@ export default class AggregatingOrder extends BasePage { if (model.orderList.length === 0) { this.customToast(this.$t('message.Pi_tip4') as string); } else { - if (this.submitForm.receiverName == session.loginName) { + if (this.submitForm.receiver == session.loginName) { this.customToast(this.$t('message.different') as string); return; } @@ -208,7 +208,7 @@ export default class AggregatingOrder extends BasePage { rfPwd: this.submitForm.password, factoryCode: session.factoryCode as string, // loginName: this.submitForm.receiver, - loginName: this.submitForm.receiverName, + loginName: this.submitForm.receiver, }); let submit = false; let selectsta = true; diff --git a/src/pages/raw/handover/aggregating/summary.vue b/src/pages/raw/handover/aggregating/summary.vue index d1fb9e2..a19625a 100644 --- a/src/pages/raw/handover/aggregating/summary.vue +++ b/src/pages/raw/handover/aggregating/summary.vue @@ -235,14 +235,14 @@ export default class AggregatingSummary extends BasePage { if (this.model.aggregateList.length === 0) { this.customToast(this.$t('message.Pi_tip4') as string); } else { - if (this.submitForm.receiverName == session.loginName) { + if (this.submitForm.receiver == session.loginName) { this.customToast(this.$t('message.different') as string); return; } await auth.checkPassword({ rfPwd: this.submitForm.password, factoryCode: session.factoryCode as string, - loginName: this.submitForm.receiverName, + loginName: this.submitForm.receiver, }); let submit = false; let selectsta = true; diff --git a/src/pages/raw/handover/feeding/Location.vue b/src/pages/raw/handover/feeding/Location.vue index 6255979..fc0b719 100644 --- a/src/pages/raw/handover/feeding/Location.vue +++ b/src/pages/raw/handover/feeding/Location.vue @@ -104,7 +104,7 @@ - + {{ $t('message.po_Return') }} @@ -448,6 +448,7 @@ export default class RawReceiptDetail extends BasePage { factoryCode: this.session.factoryCode, loginName: this.session.loginName, }; + console.log(params); await this.model.saveBlDetailUpload(params).then(() => { this.qty = ''; this.LocationList = []; diff --git a/src/pages/raw/handover/feeding/model.ts b/src/pages/raw/handover/feeding/model.ts index a310da2..c26f163 100644 --- a/src/pages/raw/handover/feeding/model.ts +++ b/src/pages/raw/handover/feeding/model.ts @@ -108,7 +108,7 @@ export class FeedingModule extends VuexModule { async saveBlDetailUpload(params: any) { await auth.checkPassword({ factoryCode: session.factoryCode as string, - loginName: session.loginName as string, + loginName: params.operatorPass as string, rfPwd: params.rfPwd, }); await http.post(url.bl.u, { @@ -226,7 +226,7 @@ export class FeedingModule extends VuexModule { async saveBlDetailSubmit(params: any) { await auth.checkPassword({ factoryCode: session.factoryCode as string, - loginName: session.loginName as string, + loginName: params.operatorPass as string, rfPwd: params.rfPwd, }); await http.post(url.bl.uRussia, { diff --git a/src/pages/raw/handover/virtual/summary.vue b/src/pages/raw/handover/virtual/summary.vue index 12a3ad2..a9f5abc 100644 --- a/src/pages/raw/handover/virtual/summary.vue +++ b/src/pages/raw/handover/virtual/summary.vue @@ -225,14 +225,14 @@ export default class VirtualSummary extends BasePage { this.customToast(this.$t('message.Summary_PleaseInputNumber') as string); return; } - if (this.submitForm.receiverName == session.loginName) { + if (this.submitForm.receiver == session.loginName) { this.customToast(this.$t('message.different') as string); return; } let res = await auth.checkPassword({ rfPwd: this.submitForm.password, factoryCode: session.factoryCode as string, - loginName: this.submitForm.receiverName, + loginName: this.submitForm.receiver, }); if (res.code != 1) { return;