diff --git a/src/pages/raw/handover/aggregating/order.vue b/src/pages/raw/handover/aggregating/order.vue index 3760da8..d784a62 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.receiver ? this.submitForm.receiver : this.submitForm.receiverName == session.loginName) { + if ((this.submitForm.receiver ? this.submitForm.receiver : this.submitForm.receiverName) == session.loginName) { this.customToast(this.$t('message.different') as string); return; } diff --git a/src/pages/raw/handover/aggregating/summary.vue b/src/pages/raw/handover/aggregating/summary.vue index 0be92d2..c138e30 100644 --- a/src/pages/raw/handover/aggregating/summary.vue +++ b/src/pages/raw/handover/aggregating/summary.vue @@ -235,7 +235,7 @@ 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.receiver ? this.submitForm.receiver : this.submitForm.receiverName == session.loginName) { + if ((this.submitForm.receiver ? this.submitForm.receiver : this.submitForm.receiverName) == session.loginName) { this.customToast(this.$t('message.different') as string); return; } diff --git a/src/pages/raw/handover/virtual/summary.vue b/src/pages/raw/handover/virtual/summary.vue index 396576c..2ba3133 100644 --- a/src/pages/raw/handover/virtual/summary.vue +++ b/src/pages/raw/handover/virtual/summary.vue @@ -149,6 +149,7 @@ export default class VirtualSummary extends BasePage { loginName: this.submitForm.receiverName, }); this.submitForm.receiver = this.submitForm.receiverName; + //console.log(this.submitForm.receiver) this.submitForm.receiverName = userName; } Modify(e: any) { @@ -225,7 +226,10 @@ export default class VirtualSummary extends BasePage { this.customToast(this.$t('message.Summary_PleaseInputNumber') as string); return; } - if (this.submitForm.receiver ? this.submitForm.receiver : this.submitForm.receiverName == session.loginName) { + //console.log("????",this.submitForm.receiver) + //console.log("//////",this.submitForm.receiver? "true":"false"); + //console.log("<<<<<<<",(this.submitForm.receiver ? this.submitForm.receiver : this.submitForm.receiverName) == session.loginName) + if ((this.submitForm.receiver ? this.submitForm.receiver : this.submitForm.receiverName) == session.loginName) { this.customToast(this.$t('message.different') as string); return; }