Commit d69a2be5 authored by 黄奎's avatar 黄奎
parents 0826d83f 9ec671a1
...@@ -116,13 +116,13 @@ ...@@ -116,13 +116,13 @@
placeholder="入力してください" placeholder="入力してください"
></el-input> ></el-input>
</el-form-item> </el-form-item>
<el-form-item label="" prop="HotelId"> <!-- <el-form-item label="" prop="HotelId">
<span class="label">ホテル</span> <span class="label">ホテル</span>
<el-select size="small" v-model="addMsg.HotelId" placeholder="ホテル" clearable filterable> <el-select size="small" v-model="addMsg.HotelId" placeholder="ホテル" clearable filterable>
<el-option v-for="item in HotelList" :key="item.SID" :label="item.SHotelName" :value="item.SID"> <el-option v-for="item in HotelList" :key="item.SID" :label="item.SHotelName" :value="item.SID">
</el-option> </el-option>
</el-select> </el-select>
</el-form-item> </el-form-item> -->
<el-form-item label="" prop="RoomType"> <el-form-item label="" prop="RoomType">
<span class="label">部屋のタイプ</span> <span class="label">部屋のタイプ</span>
<el-select size="small" v-model="addMsg.RoomType" placeholder="部屋のタイプ" clearable filterable> <el-select size="small" v-model="addMsg.RoomType" placeholder="部屋のタイプ" clearable filterable>
...@@ -253,13 +253,14 @@ ...@@ -253,13 +253,14 @@
] ]
}, },
HotelId:'',
}; };
}, },
mounted() { mounted() {
if(this.$route.query.SID){ if(this.$route.query.SID){
this.msg.HotelId=Number(this.$route.query.SID); this.msg.HotelId=Number(this.$route.query.SID);
this.HotelId=Number(this.$route.query.SID);
} }
this.getList(); this.getList();
this.getRoomType(); this.getRoomType();
...@@ -432,7 +433,7 @@ ...@@ -432,7 +433,7 @@
this.addMsg={ this.addMsg={
Id:0, Id:0,
RoomName:'', RoomName:'',
HotelId:'', HotelId:this.HotelId,
RoomType:'', RoomType:'',
Money:'', Money:'',
CostPrice:'', CostPrice:'',
......
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