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
fbde2c72
Commit
fbde2c72
authored
Feb 13, 2020
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
页面修改
parent
b2eabb60
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
34 additions
and
12 deletions
+34
-12
Quotation.vue
src/components/assetsman/Quotation.vue
+34
-12
No files found.
src/components/assetsman/Quotation.vue
View file @
fbde2c72
...
...
@@ -46,12 +46,12 @@
<th
style=
"text-align:center;display:none"
title=
"内部卖价人民币"
>
内部で人民元を売り買いする
</th>
<th
style=
"text-align:center"
title=
"同行卖价人民币"
>
同業で人民元を売り買いする
</th>
<th
style=
"text-align:center"
title=
"直客价格人民币"
>
顧客価格は人民元
</th>
<th
style=
"text-align:center"
title=
"是否含税"
>
税込みかどうか
</th>
<th
style=
"text-align:center"
title=
"是否含税"
>
税込みかどうか
</th>
<th
style=
"text-align:center"
title=
"库存数量"
>
在庫数量
</th>
<th
style=
"text-align:center"
>
操作
</th>
</tr>
<tr
v-for=
"(childItem,childIndex) in subItem.data.SubList"
:key=
"childIndex"
>
<td
style=
"text-align:center;white-space:nowrap; "
>
<td
style=
"text-align:center;white-space:nowrap; "
>
{{
childItem
.
CostPrice
}}
</td>
<td
style=
"text-align:center;white-space:nowrap;display:none"
>
...
...
@@ -66,9 +66,9 @@
<td
style=
"text-align:center;white-space:nowrap; "
>
{{
childItem
.
IsContainsTaxStr
}}
<template
v-if=
"childItem.IsContainsTax==0"
>
<br/>
<br
/>
<span
style=
"color:red"
>
税金:
{{
childItem
.
TaxPrice
}}
税金:
{{
childItem
.
TaxPrice
}}
</span>
</
template
>
</td>
...
...
@@ -77,7 +77,10 @@
</td>
<td
style=
"text-align:center;white-space:nowrap;"
>
<a
style=
"text-decoration:underline;cursor:pointer;color:#089bab;"
@
click=
"GetRoomPrice(childItem)"
>
修正
</a>
@
click=
"GetRoomPrice(childItem)"
>
修正
</a>
<a
style=
"text-decoration:underline;cursor:pointer;color:#089bab;"
@
click=
"DeleteRoomPrice(childItem)"
>
削除
</a>
</td>
</tr>
</table>
...
...
@@ -189,12 +192,12 @@
trigger
:
"blur"
}],
B2BPrice
:
[{
B2BPrice
:
[{
required
:
true
,
message
:
"在庫数を入力してください"
,
trigger
:
"blur"
}],
B2CPrice
:
[{
B2CPrice
:
[{
required
:
true
,
message
:
"在庫数を入力してください"
,
trigger
:
"blur"
...
...
@@ -286,11 +289,11 @@
this
.
hotelInfo
.
HotelName
=
json
.
HotelName
;
this
.
hotelInfo
.
TotalInventory
=
json
.
TotalInventory
;
this
.
hotelInfo
.
Validity
=
json
.
Validity
;
this
.
hotelInfo
.
B2BPrice
=
json
.
B2BPrice
;
this
.
hotelInfo
.
B2CPrice
=
json
.
B2CPrice
;
this
.
hotelInfo
.
IsContainsTax
=
json
.
IsContainsTax
;
this
.
hotelInfo
.
IsContainsTaxStr
=
json
.
IsContainsTaxStr
;
this
.
hotelInfo
.
TaxPrice
=
json
.
TaxPrice
;
this
.
hotelInfo
.
B2BPrice
=
json
.
B2BPrice
;
this
.
hotelInfo
.
B2CPrice
=
json
.
B2CPrice
;
this
.
hotelInfo
.
IsContainsTax
=
json
.
IsContainsTax
;
this
.
hotelInfo
.
IsContainsTaxStr
=
json
.
IsContainsTaxStr
;
this
.
hotelInfo
.
TaxPrice
=
json
.
TaxPrice
;
for
(
let
i
=
0
;
i
<
this
.
dayList
[
key
].
days
.
length
;
i
++
)
{
for
(
let
j
=
0
;
j
<
json
.
length
;
j
++
)
{
if
(
this
.
dayList
[
key
].
days
[
i
].
day
===
json
[
j
].
DayStr
)
{
...
...
@@ -392,6 +395,24 @@
}
});
},
//删除报价
DeleteRoomPrice
(
item
)
{
var
that
=
this
;
this
.
Confirm
(
"削除するか?"
,
function
()
{
that
.
apipost
(
"scm_post_RemoveSCMHotelRoomPriceService"
,
{
Id
:
item
.
Id
},
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
that
.
Success
(
res
.
data
.
message
);
that
.
getMonths
();
that
.
clearAddMsg
();
}
else
{
that
.
Error
(
res
.
data
.
message
);
}
});
});
},
//提交数据
submitForm
(
formName
)
{
this
.
$refs
[
formName
].
validate
(
valid
=>
{
...
...
@@ -415,6 +436,7 @@
},
}
};
</
script
>
<
style
>
.Quotation
.el-checkbox__input.is-checked
+
.el-checkbox__label
{
...
...
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