|
|
|
@ -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;
|
|
|
|
|
}
|
|
|
|
|