Commit b2249cf3 authored by 黄奎's avatar 黄奎

页面修改

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