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
279f2770
Commit
279f2770
authored
Feb 21, 2020
by
zhengke
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改验证
parent
d64486f2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
7 deletions
+10
-7
Quotation.vue
src/components/assetsman/Quotation.vue
+5
-5
RoomList.vue
src/components/assetsman/RoomList.vue
+5
-2
No files found.
src/components/assetsman/Quotation.vue
View file @
279f2770
...
@@ -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=
"check
Integer
(addMsg,'CostPrice')"
size=
"mini"
v-model=
"addMsg.CostPrice"
<el-input
@
keyup
.
native=
"check
Price
(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=
"check
Integer
(addMsg,'Money')"
size=
"mini"
v-model=
"addMsg.Money"
<el-input
@
keyup
.
native=
"check
Price
(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=
"check
Integer
(addMsg,'B2BPrice')"
size=
"mini"
v-model=
"addMsg.B2BPrice"
<el-input
@
keyup
.
native=
"check
Price
(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=
"check
Integer
(addMsg,'B2CPrice')"
size=
"mini"
v-model=
"addMsg.B2CPrice"
<el-input
@
keyup
.
native=
"check
Price
(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=
"check
Integer
(addMsg,'TaxPrice')"
size=
"mini"
v-model=
"addMsg.TaxPrice"
<el-input
@
keyup
.
native=
"check
Price
(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=
"库存数量"
>
...
...
src/components/assetsman/RoomList.vue
View file @
279f2770
...
@@ -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=
"check
Integer
(addMsg,'ExtraBedMoney')"
v-model=
"addMsg.ExtraBedMoney"
placeholder=
"入力してください"
></el-input>
<el-input
size=
"mini"
@
keyup
.
native=
"check
Price
(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
,
...
...
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