Commit d02ccad2 authored by liudong1993's avatar liudong1993

损失单

parent 08ea275b
......@@ -2009,6 +2009,7 @@ export default {
//1-可以修改,0-不能修改【默认可以修改】
isOrder:1
},
IsChargeLossOrders:0,
addMsg: {
OrderId: "0",
TCID: "0",
......@@ -2608,6 +2609,7 @@ export default {
this.endTime = obj.backDate;
this.getMinPrice(obj.orderId);
this.addMsg.OrderId = obj.orderId;
this.IsChargeLossOrders=obj.isChargeLossOrders;
this.apipost(
"sellorder_post_GetOrderEntity",
{ ID: obj.orderId },
......@@ -3180,9 +3182,13 @@ export default {
Number(this.addMsg.ESeatNum) +
Number(this.addMsg.FSeatNum)
) {
if(this.IsChargeLossOrders==1){
}else{
this.$message.warning("人数和机位数不相等!");
return;
}
}
if (
Number(this.addMsg.AirticketNum) +
Number(this.addMsg.ManNum) +
......
......@@ -927,12 +927,12 @@
</el-col>
<el-col :span="4">
<el-form-item label="商务舱" prop="ESeatNum">
<el-input v-model='addMsg.ESeatNum' :disabled="true"></el-input>
<el-input v-model='addMsg.ESeatNum' @keyup.native="checkInteger(addMsg,'ESeatNum')"></el-input>
</el-form-item>
</el-col>
<el-col :span="4">
<el-form-item label="头等舱" prop="FSeatNum">
<el-input v-model='addMsg.FSeatNum' :disabled="true"></el-input>
<el-input v-model='addMsg.FSeatNum' @keyup.native="checkInteger(addMsg,'FSeatNum')"></el-input>
</el-form-item>
</el-col>
</el-row>
......@@ -1198,12 +1198,12 @@
</el-col>
<el-col :span="4">
<el-form-item label="商务舱" prop="ESeatNum">
<el-input v-model='addMsg.ESeatNum' :disabled="true"></el-input>
<el-input v-model='addMsg.ESeatNum' @keyup.native="checkInteger(addMsg,'ESeatNum')"></el-input>
</el-form-item>
</el-col>
<el-col :span="4">
<el-form-item label="头等舱" prop="FSeatNum">
<el-input v-model='addMsg.FSeatNum' :disabled="true"></el-input>
<el-input v-model='addMsg.FSeatNum' @keyup.native="checkInteger(addMsg,'FSeatNum')"></el-input>
</el-form-item>
</el-col>
<el-col :span="4">
......@@ -2144,6 +2144,7 @@ import updateSalesMan from "../../commonPage/updateSalesMan.vue";
Remarks: ""
},
IsUnion: 2,
IsChargeLossOrders:0,
addMsg: {
OrderId: "0",
TCID: "0",
......@@ -2697,6 +2698,7 @@ import updateSalesMan from "../../commonPage/updateSalesMan.vue";
this.endTime = obj.BackDate;
this.getMinPrice(obj.OrderId);
this.addMsg.OrderId = obj.OrderId;
this.IsChargeLossOrders=obj.IsChargeLossOrders;
this.apipost(
"sellorder_post_GetOrderEntity", {
ID: obj.OrderId
......@@ -3178,9 +3180,13 @@ import updateSalesMan from "../../commonPage/updateSalesMan.vue";
Number(this.addMsg.ESeatNum) +
Number(this.addMsg.FSeatNum)
) {
if(this.IsChargeLossOrders==1){
}else{
this.$message.warning("人数和机位数不相等!");
return;
}
}
if (
Number(this.addMsg.AirticketNum) +
Number(this.addMsg.ManNum) +
......
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