Commit b2249cf3 authored by 黄奎's avatar 黄奎

页面修改

parent 45cd3ab1
......@@ -357,9 +357,10 @@
<el-option v-for="item in roomlist" :key="item.ID" :label="item.HouseInfo" :value="item.ID">
</el-option>
</el-select>
<input type="button" value="新增房间" class="normalBtn" @click="addhouse()" title="需要拼房,但没有双人间(半间)的点击新增房间" />
<!-- <input type="button" value="刷新房间" class="normalBtn" v-if="UpdateOrderHouseBtn"
@click="SellUpdateOrderHouse()" title="选择人数后没有房间的点击刷新" /> -->
<template v-if="roomlist&&roomlist.length<=0">
<input type="button" value="新增房间" class="normalBtn" @click="addhouse()"
title="需要拼房,但没有双人间(半间)的点击新增房间" />
</template>
</el-form-item>
</li>
<li>
......@@ -1531,45 +1532,7 @@
let OrderId = this.addMsg.OrderId;
let IsBed = this.addMsg.IsBed;
let Sex = this.addMsg.Sex;
if (Sex == 1 || Sex == 2) {
this.apipost(
"sellorder_post_GetHouseDetailsByOrderID", {
TCIDs: TCIDs,
OrderId: OrderId,
Sex: Sex,
IsBed: IsBed
},
res => {
if (res.data.resultCode == 1) {
this.roomlist = res.data.data;
if (this.roomlist.length < 1) {
this.UpdateOrderHouseBtn = true
}
} else {
this.$message.error(res.data.message);
}
},
err => {}
);
}
},
SellUpdateOrderHouse() {
let OrderId = this.addMsg.OrderId;
this.apipost(
"sellorder_post_SellUpdateOrderHouse_V2", {
OrderId: OrderId
},
res => {
if (res.data.resultCode == 1) {
this.Roominformation()
this.UpdateOrderHouseBtn = false
} else {
this.$message.error(res.data.message);
}
},
err => {}
);
this.getHouselist(Sex, TCIDs, OrderId, IsBed)
},
getHouselist(Sex, TCID, OrderId, IsBed) {
if (Sex == 1 || Sex == 2) {
......@@ -1587,7 +1550,6 @@
this.$message.error(res.data.message);
}
},
err => {}
);
} else {
this.$message.error('请选择性别');
......@@ -1679,7 +1641,6 @@
this.getVisaIdentityTypeEnum();
this.getEconomicCapability();
this.GetGuestMustVisaAir();
this.isOneDay = this.$route.query.isOneDay;
this.LineId = this.$route.query.LineId;
this.addMsg.TCID = this.$route.query.TCID;
......@@ -1699,6 +1660,7 @@
}
this.addMsg.IssuingAuthority = "公安部出入境管理局";
this.getJingDIan();
}
};
......
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