Commit 279f2770 authored by zhengke's avatar zhengke

修改验证

parent d64486f2
...@@ -108,22 +108,22 @@ ...@@ -108,22 +108,22 @@
<div class="baseform"> <div class="baseform">
<el-form-item label="" prop="CostPrice" title="成本价人民币"> <el-form-item label="" prop="CostPrice" title="成本价人民币">
<span class="label">原価人民元</span> <span class="label">原価人民元</span>
<el-input @keyup.native="checkInteger(addMsg,'CostPrice')" size="mini" v-model="addMsg.CostPrice" <el-input @keyup.native="checkPrice(addMsg,'CostPrice')" size="mini" v-model="addMsg.CostPrice"
placeholder="原価人民元" maxlength="7"></el-input> placeholder="原価人民元" maxlength="7"></el-input>
</el-form-item> </el-form-item>
<el-form-item label="" prop="Money" title="内部卖价人民币"> <el-form-item label="" prop="Money" title="内部卖价人民币">
<span class="label">内部で人民元を売り買いする</span> <span class="label">内部で人民元を売り買いする</span>
<el-input @keyup.native="checkInteger(addMsg,'Money')" size="mini" v-model="addMsg.Money" <el-input @keyup.native="checkPrice(addMsg,'Money')" size="mini" v-model="addMsg.Money"
placeholder="内部で人民元を売り買いする" maxlength="7"></el-input> placeholder="内部で人民元を売り買いする" maxlength="7"></el-input>
</el-form-item> </el-form-item>
<el-form-item label="" prop="B2BPrice" title="同行卖价人民币"> <el-form-item label="" prop="B2BPrice" title="同行卖价人民币">
<span class="label">同業で人民元を売り買いする</span> <span class="label">同業で人民元を売り買いする</span>
<el-input @keyup.native="checkInteger(addMsg,'B2BPrice')" size="mini" v-model="addMsg.B2BPrice" <el-input @keyup.native="checkPrice(addMsg,'B2BPrice')" size="mini" v-model="addMsg.B2BPrice"
placeholder="同業で人民元を売り買いする" maxlength="7"></el-input> placeholder="同業で人民元を売り買いする" maxlength="7"></el-input>
</el-form-item> </el-form-item>
<el-form-item label="" prop="B2CPrice" title="直客价格人民币"> <el-form-item label="" prop="B2CPrice" title="直客价格人民币">
<span class="label">顧客価格は人民元</span> <span class="label">顧客価格は人民元</span>
<el-input @keyup.native="checkInteger(addMsg,'B2CPrice')" size="mini" v-model="addMsg.B2CPrice" <el-input @keyup.native="checkPrice(addMsg,'B2CPrice')" size="mini" v-model="addMsg.B2CPrice"
placeholder="顧客価格は人民元" maxlength="7"></el-input> placeholder="顧客価格は人民元" maxlength="7"></el-input>
</el-form-item> </el-form-item>
<el-form-item label="" title="是否含税"> <el-form-item label="" title="是否含税">
...@@ -135,7 +135,7 @@ ...@@ -135,7 +135,7 @@
</el-form-item> </el-form-item>
<el-form-item label="" prop="TaxPrice" title="税金" v-if="addMsg.IsContainsTax==0"> <el-form-item label="" prop="TaxPrice" title="税金" v-if="addMsg.IsContainsTax==0">
<span class="label">税金</span> <span class="label">税金</span>
<el-input @keyup.native="checkInteger(addMsg,'TaxPrice')" size="mini" v-model="addMsg.TaxPrice" <el-input @keyup.native="checkPrice(addMsg,'TaxPrice')" size="mini" v-model="addMsg.TaxPrice"
placeholder="税金" maxlength="7"></el-input> placeholder="税金" maxlength="7"></el-input>
</el-form-item> </el-form-item>
<el-form-item label="" prop="Inventory" title="库存数量"> <el-form-item label="" prop="Inventory" title="库存数量">
......
...@@ -163,7 +163,7 @@ ...@@ -163,7 +163,7 @@
</el-form-item> </el-form-item>
<el-form-item label="" title="加床价" prop="ExtraBedMoney"> <el-form-item label="" title="加床价" prop="ExtraBedMoney">
<span class="label">エクストラベット料金</span> <span class="label">エクストラベット料金</span>
<el-input size="mini" @keyup.native="checkInteger(addMsg,'ExtraBedMoney')" v-model="addMsg.ExtraBedMoney" placeholder="入力してください"></el-input> <el-input size="mini" @keyup.native="checkPrice(addMsg,'ExtraBedMoney')" v-model="addMsg.ExtraBedMoney" placeholder="入力してください"></el-input>
</el-form-item> </el-form-item>
<el-form-item label="" title="宽带" prop="BroadBand"> <el-form-item label="" title="宽带" prop="BroadBand">
<span class="label">ブロードバンド</span> <span class="label">ブロードバンド</span>
...@@ -173,7 +173,7 @@ ...@@ -173,7 +173,7 @@
</el-form-item> </el-form-item>
<el-form-item label="" title="楼层" prop="Floor"> <el-form-item label="" title="楼层" prop="Floor">
<span class="label">フロア</span> <span class="label">フロア</span>
<el-input size="mini" v-model="addMsg.Floor" placeholder="入力してください"></el-input> <el-input size="mini" v-model="addMsg.Floor" @keyup.native="checkInteger(addMsg,'Floor')" placeholder="入力してください"></el-input>
</el-form-item> </el-form-item>
<el-form-item label="" prop="PeopleNum" title="人数"> <el-form-item label="" prop="PeopleNum" title="人数">
<span class="label">最大人数</span> <span class="label">最大人数</span>
...@@ -475,6 +475,7 @@ ...@@ -475,6 +475,7 @@
if (res.data.resultCode == 1) { if (res.data.resultCode == 1) {
this.dataList = res.data.data.pageData; this.dataList = res.data.data.pageData;
this.total = res.data.data.count; this.total = res.data.data.count;
console.log(this.dataList,'datalist');
} else { } else {
this.Error(res.data.message); this.Error(res.data.message);
} }
...@@ -565,6 +566,7 @@ ...@@ -565,6 +566,7 @@
if(this.addMsg.RoomFacility.length>0){ if(this.addMsg.RoomFacility.length>0){
this.addMsg.RoomFacility=this.addMsg.RoomFacility.toString(); this.addMsg.RoomFacility=this.addMsg.RoomFacility.toString();
} }
this.addMsg.PeopleNum=parseInt(this.addMsg.PeopleNum);
this.apipost("scm_post_SetSCMHotelRoomInfo", this.addMsg, this.apipost("scm_post_SetSCMHotelRoomInfo", this.addMsg,
res => { res => {
this.queryLoad = false; this.queryLoad = false;
...@@ -638,6 +640,7 @@ ...@@ -638,6 +640,7 @@
}, },
//修改 //修改
Edit(item) { Edit(item) {
console.log(item,'itemmm');
this.addMsg = { this.addMsg = {
Id: item.Id, Id: item.Id,
RoomName: item.RoomName, RoomName: item.RoomName,
......
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