Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
H
HotelProject
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
zhengke
HotelProject
Commits
015e9617
Commit
015e9617
authored
Mar 05, 2020
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
新增R
parent
a1b396aa
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
21 additions
and
9 deletions
+21
-9
Quotation.vue
src/components/assetsman/Quotation.vue
+21
-9
No files found.
src/components/assetsman/Quotation.vue
View file @
015e9617
<
style
>
<
style
>
.w100
{
.w100
{
width
:
100px
!important
;
width
:
100px
!important
;
}
}
.quotationTable
.el-input__inner
{
height
:
35px
!important
;
.quotationTable
.el-input__inner
{
height
:
35px
!important
;
}
}
</
style
>
</
style
>
<
template
>
<
template
>
<div
class=
"Quotation"
>
<div
class=
"Quotation"
>
...
@@ -123,6 +125,13 @@
...
@@ -123,6 +125,13 @@
<el-input
@
keyup
.
native=
"checkPrice(addMsg,'RoomPrice'),changePrice()"
v-model=
"addMsg.RoomPrice"
<el-input
@
keyup
.
native=
"checkPrice(addMsg,'RoomPrice'),changePrice()"
v-model=
"addMsg.RoomPrice"
placeholder=
"宿泊費"
maxlength=
"7"
class=
"input"
></el-input>
placeholder=
"宿泊費"
maxlength=
"7"
class=
"input"
></el-input>
</td>
</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
title=
"消费税"
class=
"tdRight"
>
消費税
消費税
</td>
</td>
...
@@ -144,6 +153,9 @@
...
@@ -144,6 +153,9 @@
<el-input
@
keyup
.
native=
"checkPrice(addMsg,'RuTangTax'),changePrice()"
v-model=
"addMsg.RuTangTax"
<el-input
@
keyup
.
native=
"checkPrice(addMsg,'RuTangTax'),changePrice()"
v-model=
"addMsg.RuTangTax"
placeholder=
"入湯税"
maxlength=
"7"
class=
"input"
></el-input>
placeholder=
"入湯税"
maxlength=
"7"
class=
"input"
></el-input>
</td>
</td>
</tr>
<tr>
<td
title=
"成本价"
class=
"tdRight"
>
<td
title=
"成本价"
class=
"tdRight"
>
契約料金
契約料金
</td>
</td>
...
@@ -151,8 +163,6 @@
...
@@ -151,8 +163,6 @@
<el-input
@
keyup
.
native=
"checkPrice(addMsg,'CostPrice')"
v-model=
"addMsg.CostPrice"
<el-input
@
keyup
.
native=
"checkPrice(addMsg,'CostPrice')"
v-model=
"addMsg.CostPrice"
placeholder=
"契約料金"
maxlength=
"7"
class=
"input"
></el-input>
placeholder=
"契約料金"
maxlength=
"7"
class=
"input"
></el-input>
</td>
</td>
</tr>
<tr>
<td
title=
"内部卖价"
class=
"tdRight"
>
<td
title=
"内部卖价"
class=
"tdRight"
>
社内料金
社内料金
</td>
</td>
...
@@ -177,7 +187,7 @@
...
@@ -177,7 +187,7 @@
<td
title=
"直客价格"
class=
"tdRight"
>
<td
title=
"直客价格"
class=
"tdRight"
>
在庫数量
在庫数量
</td>
</td>
<td
colspan=
"3"
>
<td>
<el-input
@
keyup
.
native=
"checkInteger(addMsg,'Inventory')"
class=
"input"
v-model=
"addMsg.Inventory"
<el-input
@
keyup
.
native=
"checkInteger(addMsg,'Inventory')"
class=
"input"
v-model=
"addMsg.Inventory"
placeholder=
"在庫数量"
maxlength=
"4"
></el-input>
placeholder=
"在庫数量"
maxlength=
"4"
></el-input>
</td>
</td>
...
@@ -235,6 +245,7 @@
...
@@ -235,6 +245,7 @@
XiaoFeiTax
:
0
,
//消费税
XiaoFeiTax
:
0
,
//消费税
SuBoTax
:
0
,
//宿泊税
SuBoTax
:
0
,
//宿泊税
RuTangTax
:
0
,
//入汤税
RuTangTax
:
0
,
//入汤税
RMoney
:
0
,
// R金额[返佣]
},
},
dateList
:
[],
//日历数据
dateList
:
[],
//日历数据
loading
:
false
,
loading
:
false
,
...
@@ -298,7 +309,7 @@
...
@@ -298,7 +309,7 @@
//价格改变
//价格改变
changePrice
()
{
changePrice
()
{
this
.
addMsg
.
CostPrice
=
Number
(
this
.
addMsg
.
RoomPrice
)
+
Number
(
this
.
addMsg
.
XiaoFeiTax
)
+
Number
(
this
.
addMsg
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
);
this
.
addMsg
.
Money
=
(
Number
(
this
.
addMsg
.
CostPrice
)
*
Number
(
1.1
)).
toFixed
(
0
);
},
},
goUrlRoom
()
{
goUrlRoom
()
{
...
@@ -457,7 +468,7 @@
...
@@ -457,7 +468,7 @@
this
.
addMsg
.
XiaoFeiTax
=
0
;
this
.
addMsg
.
XiaoFeiTax
=
0
;
this
.
addMsg
.
SuBoTax
=
0
;
this
.
addMsg
.
SuBoTax
=
0
;
this
.
addMsg
.
RuTangTax
=
0
;
this
.
addMsg
.
RuTangTax
=
0
;
this
.
addMsg
.
RMoney
=
0
;
},
},
//获取房型报价
//获取房型报价
GetRoomPrice
(
item
)
{
GetRoomPrice
(
item
)
{
...
@@ -479,6 +490,7 @@
...
@@ -479,6 +490,7 @@
this
.
addMsg
.
XiaoFeiTax
=
tempData
.
XiaoFeiTax
;
this
.
addMsg
.
XiaoFeiTax
=
tempData
.
XiaoFeiTax
;
this
.
addMsg
.
SuBoTax
=
tempData
.
SuBoTax
;
this
.
addMsg
.
SuBoTax
=
tempData
.
SuBoTax
;
this
.
addMsg
.
RuTangTax
=
tempData
.
RuTangTax
;
this
.
addMsg
.
RuTangTax
=
tempData
.
RuTangTax
;
this
.
addMsg
.
RMoney
=
tempData
.
RMoney
;
}
}
});
});
},
},
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment