|
@@ -363,7 +363,8 @@
|
|
|
<el-input placeholder="付款金额" v-model="OpHotelReservationsData.payMoney"
|
|
|
style="width: 52%;">
|
|
|
</el-input>
|
|
|
- <el-select v-model="OpHotelReservationsData.paymentCurrency" style="width: 45%;">
|
|
|
+ <el-select v-model="OpHotelReservationsData.paymentCurrency" style="width: 45%;"
|
|
|
+ filterable>
|
|
|
<el-option v-for="item in currencyList" :key="item.id" :label="item.name"
|
|
|
:value="item.id">
|
|
|
</el-option>
|
|
@@ -1119,6 +1120,9 @@ export default {
|
|
|
that.$message.error("网络错误,请稍后重试");
|
|
|
});
|
|
|
}
|
|
|
+ } else {
|
|
|
+ this.$message.error('请完善信息在保存!');
|
|
|
+ return false;
|
|
|
}
|
|
|
})
|
|
|
|
|
@@ -1304,6 +1308,7 @@ export default {
|
|
|
|
|
|
},
|
|
|
DownloadVOUCHER(index, row) {
|
|
|
+ debugger
|
|
|
var url = "/api/Groups/HotelGenerate"
|
|
|
this.$axios({
|
|
|
method: 'post',
|
|
@@ -1311,13 +1316,14 @@ export default {
|
|
|
headers: {
|
|
|
Authorization: 'Bearer ' + this.token
|
|
|
},
|
|
|
- data: { id: row.diId }
|
|
|
+ data: { id: row.id }
|
|
|
}).then(function (res) {
|
|
|
debugger
|
|
|
if (res.data.code == 200) {
|
|
|
window.location.href = res.data.data
|
|
|
//that.HotelReservationsByDiId()
|
|
|
} else {
|
|
|
+ that.$message.error(res.data.msg);
|
|
|
}
|
|
|
}).catch(function (error) {
|
|
|
that.$message.error("网络错误,请稍后重试");
|