Commit 8e8cbe77 authored by youjie's avatar youjie

no message

parent 94ad57bc
...@@ -886,7 +886,7 @@ export default { ...@@ -886,7 +886,7 @@ export default {
} }
}, },
editOrderfun(row) { editOrderfun(row) {
if (row.TicketStatus == 1 && row.OrderStatus == 1) { if (row.OrderStatus==1&&(row.TicketStatus == 1||row.TicketStatus == 5) || (row.visaStatus == 0||row.visaStatus == 1)) {
this.MsgBus.$emit( this.MsgBus.$emit(
"editOrderTicketOrderBoxOpen", "editOrderTicketOrderBoxOpen",
row.GuestId, row.GuestId,
...@@ -917,7 +917,7 @@ export default { ...@@ -917,7 +917,7 @@ export default {
} }
}, },
editOrderAmountfun(row) { editOrderAmountfun(row) {
if (row.TicketStatus == 1 && row.OrderStatus == 1) { if (row.OrderStatus==1&&(row.TicketStatus == 1||row.TicketStatus == 5) || (row.visaStatus == 0||row.visaStatus == 1)) {
this.MsgBus.$emit("editTicketOrderBoxOpen", row.GuestId, row, true); this.MsgBus.$emit("editTicketOrderBoxOpen", row.GuestId, row, true);
} else { } else {
this.$confirm('该订单已经无法编辑金额', "提示", { this.$confirm('该订单已经无法编辑金额', "提示", {
......
...@@ -975,7 +975,7 @@ ...@@ -975,7 +975,7 @@
if (this.userInfo.EmployeeId != row.EnterID && this.userInfo.EmployeeId != row.CreateBy) { if (this.userInfo.EmployeeId != row.EnterID && this.userInfo.EmployeeId != row.CreateBy) {
this.ValidateOperator() this.ValidateOperator()
} else { } else {
if (row.TicketStatus == 1 && row.OrderStatus == 1) { if (row.OrderStatus==1&&(row.TicketStatus == 1||row.TicketStatus == 5) || (row.visaStatus == 0||row.visaStatus == 1)) {
let $this = this; let $this = this;
this.MsgBus.$emit("editOrderTicketOrderBoxOpen", $this.ID, row, true); this.MsgBus.$emit("editOrderTicketOrderBoxOpen", $this.ID, row, true);
} else { } else {
...@@ -988,7 +988,7 @@ ...@@ -988,7 +988,7 @@
if (this.userInfo.EmployeeId != row.EnterID && this.userInfo.EmployeeId != row.CreateBy) { if (this.userInfo.EmployeeId != row.EnterID && this.userInfo.EmployeeId != row.CreateBy) {
this.ValidateOperator() this.ValidateOperator()
} else { } else {
if (row.TicketStatus == 1 && row.OrderStatus == 1) { if (row.OrderStatus==1&&(row.TicketStatus == 1||row.TicketStatus == 5) || (row.visaStatus == 0||row.visaStatus == 1)) {
let $this = this; let $this = this;
this.MsgBus.$emit("editTicketOrderBoxOpen", $this.ID, row, true); this.MsgBus.$emit("editTicketOrderBoxOpen", $this.ID, row, true);
} else { } else {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment