Commit 015e9617 authored by 黄奎's avatar 黄奎

新增R

parent a1b396aa
<style>
.w100{
width:100px!important;
.w100 {
width: 100px !important;
}
.quotationTable .el-input__inner{
height:35px!important;
.quotationTable .el-input__inner {
height: 35px !important;
}
</style>
<template>
<div class="Quotation">
......@@ -123,6 +125,13 @@
<el-input @keyup.native="checkPrice(addMsg,'RoomPrice'),changePrice()" v-model="addMsg.RoomPrice"
placeholder="宿泊費" maxlength="7" class="input"></el-input>
</td>
<td title=" R金额[返佣]" class="tdRight">
R
</td>
<td>
<el-input @keyup.native="checkPrice(addMsg,'RMoney'),changePrice()" v-model="addMsg.RMoney"
placeholder="R" maxlength="7" class="input"></el-input>
</td>
<td title="消费税" class="tdRight">
消費税
</td>
......@@ -144,6 +153,9 @@
<el-input @keyup.native="checkPrice(addMsg,'RuTangTax'),changePrice()" v-model="addMsg.RuTangTax"
placeholder="入湯税" maxlength="7" class="input"></el-input>
</td>
</tr>
<tr>
<td title="成本价" class="tdRight">
契約料金
</td>
......@@ -151,8 +163,6 @@
<el-input @keyup.native="checkPrice(addMsg,'CostPrice')" v-model="addMsg.CostPrice"
placeholder="契約料金" maxlength="7" class="input"></el-input>
</td>
</tr>
<tr>
<td title="内部卖价" class="tdRight">
社内料金
</td>
......@@ -177,7 +187,7 @@
<td title="直客价格" class="tdRight">
在庫数量
</td>
<td colspan="3">
<td>
<el-input @keyup.native="checkInteger(addMsg,'Inventory')" class="input" v-model="addMsg.Inventory"
placeholder="在庫数量" maxlength="4"></el-input>
</td>
......@@ -235,6 +245,7 @@
XiaoFeiTax: 0, //消费税
SuBoTax: 0, //宿泊税
RuTangTax: 0, //入汤税
RMoney: 0, // R金额[返佣]
},
dateList: [], //日历数据
loading: false,
......@@ -298,7 +309,7 @@
//价格改变
changePrice() {
this.addMsg.CostPrice = Number(this.addMsg.RoomPrice) + Number(this.addMsg.XiaoFeiTax) + Number(this.addMsg
.SuBoTax) + Number(this.addMsg.RuTangTax);
.SuBoTax) + Number(this.addMsg.RuTangTax)-Number(this.addMsg.RMoney);
this.addMsg.Money = (Number(this.addMsg.CostPrice) * Number(1.1)).toFixed(0);
},
goUrlRoom() {
......@@ -457,7 +468,7 @@
this.addMsg.XiaoFeiTax = 0;
this.addMsg.SuBoTax = 0;
this.addMsg.RuTangTax = 0;
this.addMsg.RMoney = 0;
},
//获取房型报价
GetRoomPrice(item) {
......@@ -479,6 +490,7 @@
this.addMsg.XiaoFeiTax = tempData.XiaoFeiTax;
this.addMsg.SuBoTax = tempData.SuBoTax;
this.addMsg.RuTangTax = tempData.RuTangTax;
this.addMsg.RMoney = tempData.RMoney;
}
});
},
......
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