Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
SuperMan
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
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
罗超
SuperMan
Commits
0803fed8
Commit
0803fed8
authored
Aug 08, 2019
by
黄媛媛
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://gitlab.oytour.com/luochao/superman
parents
0c81f4e7
60d13bdb
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
95 additions
and
30 deletions
+95
-30
addFinancialDocuments.vue
src/components/FinancialModule/addFinancialDocuments.vue
+2
-2
leaderReimbursement.vue
src/components/LeaderManagement/leaderReimbursement.vue
+17
-18
bookDinnerStatisticsDetails.vue
src/components/Restaurant/bookDinnerStatisticsDetails.vue
+65
-2
clientConfirm.vue
src/components/clientConfirm.vue
+11
-8
No files found.
src/components/FinancialModule/addFinancialDocuments.vue
View file @
0803fed8
...
@@ -1495,14 +1495,14 @@ export default {
...
@@ -1495,14 +1495,14 @@ export default {
this
.
msg
.
FrID
=
this
.
$route
.
query
.
FrID
;
this
.
msg
.
FrID
=
this
.
$route
.
query
.
FrID
;
this
.
Financial_post_Get
(
this
.
$route
.
query
.
FrID
,
0
);
this
.
Financial_post_Get
(
this
.
$route
.
query
.
FrID
,
0
);
}
else
{
}
else
{
let
TCID
=
(
this
.
orderObj
&&
this
.
orderObj
.
TCIDList
&&
this
.
orderObj
.
TCIDList
.
length
>
0
)
?
this
.
orderObj
.
TCIDList
[
0
]
:
0
this
.
financeinfo_post_GetList
(
TCID
);
this
.
msg
.
TemplateId
=
this
.
$route
.
query
.
id
;
this
.
msg
.
TemplateId
=
this
.
$route
.
query
.
id
;
this
.
Financial_post_GetCostTypeList
(
this
.
$route
.
query
.
id
);
this
.
Financial_post_GetCostTypeList
(
this
.
$route
.
query
.
id
);
this
.
BillName
=
userInfo
.
GroupName
;
this
.
BillName
=
userInfo
.
GroupName
;
this
.
BillSonName
=
this
.
$route
.
query
.
Name
;
this
.
BillSonName
=
this
.
$route
.
query
.
Name
;
this
.
FinancialFlowTemplate_post_GetProcessList
(
this
.
$route
.
query
.
id
);
this
.
FinancialFlowTemplate_post_GetProcessList
(
this
.
$route
.
query
.
id
);
this
.
Financial_post_Get
(
0
,
parseInt
(
this
.
$route
.
query
.
id
));
this
.
Financial_post_Get
(
0
,
parseInt
(
this
.
$route
.
query
.
id
));
let
TCID
=
(
this
.
orderObj
&&
this
.
orderObj
.
TCIDList
&&
this
.
orderObj
.
TCIDList
.
length
>
0
)
?
this
.
orderObj
.
TCIDList
[
0
]
:
0
this
.
financeinfo_post_GetList
(
TCID
);
}
}
if
(
this
.
$route
.
query
.
Conditon
){
if
(
this
.
$route
.
query
.
Conditon
){
this
.
returnCode
=
this
.
$route
.
query
.
Conditon
;
this
.
returnCode
=
this
.
$route
.
query
.
Conditon
;
...
...
src/components/LeaderManagement/leaderReimbursement.vue
View file @
0803fed8
...
@@ -541,27 +541,25 @@
...
@@ -541,27 +541,25 @@
<th>
操作
</th>
<th>
操作
</th>
</tr>
</tr>
<tr
v-for=
'(item, index) in nav'
>
<tr
v-for=
'(item, index) in nav'
>
<td
:rowspan=
"nav.length"
width=
"180"
v-if=
"index===0"
>
总金额:
<td>
{{item.TCNUMS}}
</td>
<!-- {{moneyFormat(TotalNav.reimburseTotalPrice.PlanPrice)}} -->
<td
:rowspan=
"nav.length * CurrencyListMoney.length"
width=
"180"
v-if=
"index===0"
>
总金额:
<!-- ({{currencyTypeObj.}}) -->
<span
v-for=
"(cur,index) in CurrencyListMoney"
:key=
"index+5000"
>
{{cur.money}}
<span
v-for=
"(cur,index) in CurrencyListMoney"
:key=
"index+5000"
>
{{cur.money}}
<span
v-if=
"cur.CurrencyId>0"
>
({{currencyTypeObj[cur.CurrencyId]}})
</span>
<span
v-if=
"cur.CurrencyId>0"
>
({{currencyTypeObj[cur.CurrencyId]}})
</span>
</br></span>
</br></span>
</td>
</td>
<td>
{{item.TCNUMS}}
</td>
<td
style=
"padding: 5px 20px;"
>
<td
style=
"padding: 5px 20px;"
>
<div
style=
"margin:10px 0"
v-for=
"cur in CurrencyListMoney"
>
<div
style=
"margin:10px 0"
v-for=
"cur in CurrencyListMoney"
>
<
template
v-for=
"leadr in cur.LeaderGetPriceArr"
>
<
template
v-for=
"leadr in cur.LeaderGetPriceArr"
>
<p
style=
"padding-left:20px;display:inline-block"
v-if=
"leadr.LeaderGetPrice>0"
>
已领款:
<p
style=
"padding-left:20px;display:inline-block"
>
<span
style=
"color: red;"
>
{{
moneyFormat
(
leadr
.
LeaderGetPrice
)
}}
<span
v-if=
"cur.CurrencyId>0"
>
(
{{
currencyTypeObj
[
leadr
.
CurrencyId
]
}}
)
</span></span></p>
已领款:
<el-input
class=
"w300"
v-if=
"leadr.LeaderGetPrice
<
leadr
.
PlanPrice
"
<span
style=
"color: red;"
>
type=
"number"
v-model=
"leadr.LeaderGetPriceT"
></el-input>
{{
moneyFormat
(
leadr
.
LeaderGetPrice
)
}}
</
template
>
<span
v-if=
"cur.CurrencyId > 0"
>
(
{{
currencyTypeObj
[
leadr
.
CurrencyId
]
}}
)
</span>
</span>
</p>
<el-input
class=
"w300"
v-if=
"leadr.LeaderGetPrice
<
leadr
.
PlanPrice
"
type=
"number"
v-model=
"leadr.LeaderGetPriceT"
></el-input>
</
template
>
</div>
</div>
</td>
</td>
<td>
<td>
<p
v-for=
"(subItem, subIndex) in item.FinanceIds"
><span
class=
"cursorpointer text-decoration"
<p
v-for=
"(subItem, subIndex) in item.FinanceIds"
><span
class=
"cursorpointer text-decoration"
...
@@ -574,9 +572,10 @@
...
@@ -574,9 +572,10 @@
<div
style=
"margin:10px 0"
v-for=
"(cur,index2) in CurrencyListMoney"
>
<div
style=
"margin:10px 0"
v-for=
"(cur,index2) in CurrencyListMoney"
>
<
template
v-for=
"leadr in cur.LeaderGetPriceArr"
>
<
template
v-for=
"leadr in cur.LeaderGetPriceArr"
>
<input
type=
"button"
v-if=
"item.TeamType == 1 && index2==0"
value=
"日当费"
class=
"normalBtn"
@
click=
"goZhiDan(item, 2)"
/>
<input
type=
"button"
v-if=
"item.TeamType == 1 && index2==0"
value=
"日当费"
class=
"normalBtn"
@
click=
"goZhiDan(item, 2)"
/>
<input
type=
"button"
v-if=
"item.hideZDBtn"
value=
"制单"
class=
"normalBtn"
@
click=
"goZhiDan(item,0,leadr)"
/>
<el-tooltip
class=
"item"
effect=
"dark"
:content=
"currencyTypeObj[leadr.CurrencyId]"
placement=
"top"
>
</
template
>
<input
type=
"button"
v-if=
"item.hideZDBtn"
value=
"制单"
class=
"normalBtn"
@
click=
"goZhiDan(item,0,leadr)"
/>
</el-tooltip>
</
template
>
</div>
</div>
</td>
</td>
</tr>
</tr>
...
...
src/components/Restaurant/bookDinnerStatisticsDetails.vue
View file @
0803fed8
...
@@ -118,9 +118,24 @@
...
@@ -118,9 +118,24 @@
</td>
</td>
<td
v-if=
"childIndex==0"
:rowspan=
"3"
>
<td
v-if=
"childIndex==0"
:rowspan=
"3"
>
{{subItem.TotalPrice}}
{{subItem.TotalPrice}}
<
template
v-if=
"subItem.NewTotalPrice"
>
<br
/><span
style=
"color:red;"
>
{{
subItem
.
NewTotalPrice
}}
</span>
</
template
>
</td>
</td>
<td
v-if=
"childIndex==0"
:rowspan=
"3"
>
<td
v-if=
"childIndex==0"
:rowspan=
"3"
>
<table
class=
"dinnerTable"
>
<table
class=
"dinnerTable"
>
<tr>
<td
width=
"70"
style=
"text-align:right;"
>
币种:
</td>
<td>
<el-select
v-model=
"subItem.CurrencyId"
placeholder=
"请选择"
class=
'w135 sel'
@
change=
"calculationPrice(subItem)"
>
<el-option
:label=
"$t('pub.unlimitedSel')"
:value=
'0'
></el-option>
<el-option
v-for=
"(item,index) in allCurrencyList"
:key=
"index"
:label=
"item.Name"
:value=
"item.ID"
>
</el-option>
</el-select>
</td>
</tr>
<tr>
<tr>
<td
width=
"60"
style=
"text-align:right;"
>
<td
width=
"60"
style=
"text-align:right;"
>
付款方式:
付款方式:
...
@@ -197,6 +212,7 @@
...
@@ -197,6 +212,7 @@
CurrentUserInfo
:
{},
CurrentUserInfo
:
{},
//是否禁用按钮
//是否禁用按钮
IsDisabled
:
false
,
IsDisabled
:
false
,
allCurrencyList
:
[],
};
};
},
},
methods
:
{
methods
:
{
...
@@ -278,10 +294,52 @@
...
@@ -278,10 +294,52 @@
},
},
calculationPrice
(
obj
)
{
calculationPrice
(
obj
)
{
let
totalPrice
=
0
;
let
totalPrice
=
0
;
obj
.
DiningPriceList
.
forEach
(
item
=>
{
//获取当前选中的对象
totalPrice
+=
item
.
PeoplePrice
*
(
item
.
PeopleNum
-
item
.
Discount
)
*
(
1
-
item
.
DiscountPrice
/
100
);
let
currentObj
=
{};
if
(
obj
.
CurrencyId
!=
0
)
{
currentObj
=
this
.
allCurrencyList
.
find
(
item
=>
{
return
item
.
ID
===
obj
.
CurrencyId
;
//筛选出匹配数据
});
}
//日元
let
jpaObj
=
this
.
allCurrencyList
.
find
(
item
=>
{
return
item
.
ID
===
3
;
//筛选出匹配数据
});
obj
.
DiningPriceList
.
forEach
((
item
,
index
)
=>
{
var
tempPrice
=
0
;
var
coefficient
=
1
;
totalPrice
+=
item
.
PeoplePrice
*
(
item
.
PeopleNum
-
item
.
Discount
)
*
(
coefficient
-
item
.
DiscountPrice
/
100
);
totalPrice
+=
tempPrice
;
})
})
obj
.
TotalPrice
=
totalPrice
.
toFixed
(
2
);
obj
.
TotalPrice
=
totalPrice
.
toFixed
(
2
);
if
(
currentObj
&&
currentObj
.
ID
>
0
)
{
//人民币
if
(
currentObj
.
ID
==
1
)
{
obj
.
NewTotalPrice
=
currentObj
.
Name
+
":"
+
(
totalPrice
*
jpaObj
.
PayRate
).
toFixed
(
2
);
}
//日元
else
if
(
currentObj
.
ID
==
3
)
{
obj
.
NewTotalPrice
=
""
;
}
else
{
if
(
currentObj
.
CurrentRate
>
1
)
{
obj
.
NewTotalPrice
=
currentObj
.
Name
+
":"
+
((
totalPrice
*
jpaObj
.
PayRate
)
/
currentObj
.
CurrentRate
).
toFixed
(
2
);
}
else
{
obj
.
NewTotalPrice
=
currentObj
.
Name
+
":"
+
((
totalPrice
*
jpaObj
.
PayRate
)
*
currentObj
.
CurrentRate
).
toFixed
(
2
);
}
}
}
else
{
obj
.
NewTotalPrice
=
""
;
}
this
.
$forceUpdate
();
// let totalPrice = 0;
// obj.DiningPriceList.forEach(item => {
// totalPrice += item.PeoplePrice * (item.PeopleNum - item.Discount) * (1 - item.DiscountPrice / 100);
// })
// obj.TotalPrice = totalPrice.toFixed(2);
},
},
saveList
(
type
)
{
saveList
(
type
)
{
this
.
IsDisabled
=
true
;
this
.
IsDisabled
=
true
;
...
@@ -356,6 +414,11 @@
...
@@ -356,6 +414,11 @@
this
.
TCNUM
=
this
.
$route
.
query
.
TCNUM
;
this
.
TCNUM
=
this
.
$route
.
query
.
TCNUM
;
this
.
GuestNum
=
this
.
$route
.
query
.
GuestNum
;
this
.
GuestNum
=
this
.
$route
.
query
.
GuestNum
;
this
.
getList
();
this
.
getList
();
this
.
apipost
(
"financeinfo_post_GetList"
,
{},
res
=>
{
if
(
res
.
data
.
resultCode
===
1
)
{
this
.
allCurrencyList
=
res
.
data
.
data
;
}
},
err
=>
{});
}
}
};
};
...
...
src/components/clientConfirm.vue
View file @
0803fed8
...
@@ -27,9 +27,9 @@
...
@@ -27,9 +27,9 @@
.dic_content
.item_content
.title
{
width
:
100%
;
text-align
:
center
;
margin-top
:
20px
;}
.dic_content
.item_content
.title
{
width
:
100%
;
text-align
:
center
;
margin-top
:
20px
;}
.dic_content
.item_content
>
label
{
width
:
100%
;
text-align
:
left
;
font-weight
:
bold
;
background-color
:
#F2F2F2
;
margin
:
30px
0
;
padding
:
8px
0
;
text-indent
:
20px
;
display
:
inline-block
;
font-size
:
16px
;}
.dic_content
.item_content
>
label
{
width
:
100%
;
text-align
:
left
;
font-weight
:
bold
;
background-color
:
#F2F2F2
;
margin
:
30px
0
;
padding
:
8px
0
;
text-indent
:
20px
;
display
:
inline-block
;
font-size
:
16px
;}
.dic_content
.item_content
>
span
{
font-size
:
13px
;
line-height
:
26px
;
margin-left
:
10px
;}
.dic_content
.item_content
>
span
{
font-size
:
13px
;
line-height
:
26px
;
margin-left
:
10px
;}
.dic_content
.item_content
.content_table
{
border
:
1px
solid
#d1d1d1
;
margin-top
:
10px
;
width
:
100%
;}
.dic_content
.item_content
.content_table
{
border
:
1px
solid
#d1d1d1
;
margin-top
:
10px
;
width
:
100%
;
text-align
:
center
;
}
.dic_content
.item_content
.content_table
th
{
background-color
:
#F2F2F2
;}
.dic_content
.item_content
.content_table
th
{
background-color
:
#F2F2F2
;}
.dic_content
.item_content
.content_table
th
,
.dic_content
.item_content
.content_table
t
h
t
d
{
border
:
1px
solid
#808080
;
text-align
:
center
;
padding
:
10px
;}
.dic_content
.item_content
.content_table
th
,
.dic_content
.item_content
.content_table
td
{
border
:
1px
solid
#808080
;
text-align
:
center
;
padding
:
10px
;}
.dic_content
.item_content
font
{
color
:
blue
;
display
:
inline-block
;
padding
:
0
10px
;
font-size
:
13px
;}
.dic_content
.item_content
font
{
color
:
blue
;
display
:
inline-block
;
padding
:
0
10px
;
font-size
:
13px
;}
.dic_content
.content_table
font
{
min-width
:
0
;}
.dic_content
.content_table
font
{
min-width
:
0
;}
...
@@ -53,15 +53,15 @@
...
@@ -53,15 +53,15 @@
.dic_content
.shouquanNum
{
font-weight
:
bold
;}
.dic_content
.shouquanNum
{
font-weight
:
bold
;}
.dic_content
.zhangTitle
{
height
:
90px
;
font-size
:
16px
;
font-weight
:
bold
;
line-height
:
90px
!important
;}
.dic_content
.zhangTitle
{
height
:
90px
;
font-size
:
16px
;
font-weight
:
bold
;
line-height
:
90px
!important
;}
.dic_content
.toTopDistance
{
margin-top
:
15px
;}
.dic_content
.toTopDistance
{
margin-top
:
15px
;}
.dic_content
.travelDan
td
{
border
:
none
;
text-align
:
left
;
text-indent
:
20px
;
padding
:
10px
0
;}
.dic_content
.travelDan
td
{
border
:
none
!important
;
text-align
:
left
;
text-indent
:
20px
;
padding
:
10px
0
;}
.dic_content
.travelDan
{
padding
:
50px
0
;}
.dic_content
.travelDan
{
padding
:
50px
0
;}
.dic_content
.zhangOne
{
position
:
absolute
;
width
:
200px
;
top
:
-83px
;
left
:
160px
;}
.dic_content
.zhangOne
{
position
:
absolute
;
width
:
200px
;
top
:
-83px
;
left
:
160px
;}
.dic_content
.zhangTwo
{
position
:
absolute
;
width
:
200px
;
top
:
-60px
;
left
:
80px
;}
.dic_content
.zhangTwo
{
position
:
absolute
;
width
:
200px
;
top
:
-60px
;
left
:
80px
;}
.dic_content
.comonTb
td
{
padding
:
15px
0
;}
.dic_content
.comonTb
td
{
padding
:
15px
0
;}
.dic_content
.remindInfo
{
position
:
absolute
;
top
:
42%
;
left
:
35%
;
font-size
:
60px
;
color
:
#FF7F7F
;
letter-spacing
:
20px
;}
.dic_content
.remindInfo
{
position
:
absolute
;
top
:
42%
;
left
:
35%
;
font-size
:
60px
;
color
:
#FF7F7F
;
letter-spacing
:
20px
;}
.dic_content
.signName
{
position
:
relative
;
top
:
10px
;
width
:
140px
;}
.dic_content
.signName
{
position
:
relative
;
top
:
10px
;
width
:
140px
;}
.dic_content
.LRTB
td
:nth-child
(
odd
)
{
text-align
:
right
;
padding
-right
:
20px
;}
.dic_content
.LRTB
td
:nth-child
(
odd
)
{
text-align
:
right
;
padding
:
10px
;
height
:
50px
;
border
:
1px
solid
#d1d1d1
;}
.dic_content
.LRTB
td
:nth-child
(
even
)
{
text-align
:
left
;
padding
-left
:
20px
;}
.dic_content
.LRTB
td
:nth-child
(
even
)
{
text-align
:
left
;
padding
:
10px
;
height
:
50px
;
border
:
1px
solid
#d1d1d1
;}
.dic_content
.shouquanNum
{
.dic_content
.shouquanNum
{
margin
:
30px
0
!important
;
margin
:
30px
0
!important
;
font-weight
:
bold
;
font-weight
:
bold
;
...
@@ -113,6 +113,9 @@
...
@@ -113,6 +113,9 @@
border
:
1px
solid
#E95252
;
border
:
1px
solid
#E95252
;
border-radius
:
15px
;
border-radius
:
15px
;
}
}
.ClientTravelTable
td
{
border
:
1px
solid
#d1d1d1
;
}
</
style
>
</
style
>
<
template
>
<
template
>
...
@@ -393,7 +396,7 @@
...
@@ -393,7 +396,7 @@
</div>
</div>
<div
class=
"item_content"
>
<div
class=
"item_content"
>
<label
id=
"l5"
>
旅客信息
</label>
<label
id=
"l5"
>
旅客信息
</label>
<table
class=
"content_table"
cellpadding=
"0"
cellspacing=
"0"
style=
"border-collapse:collapse"
>
<table
class=
"content_table
ClientTravelTable
"
cellpadding=
"0"
cellspacing=
"0"
style=
"border-collapse:collapse"
>
<tr>
<tr>
<th>
姓名
</th>
<th>
姓名
</th>
<th>
国籍
</th>
<th>
国籍
</th>
...
@@ -544,8 +547,8 @@
...
@@ -544,8 +547,8 @@
<td
>
经办人:
<font>
{{dataList.agentName}}
</font></td>
<td
>
经办人:
<font>
{{dataList.agentName}}
</font></td>
</tr>
</tr>
<tr>
<tr>
<td
style=
"text-indent:118px;"
>
签约日期:
<font>
{{getDate(dataList.payDate)}}
</font>
</td>
<td>
签约日期:
<font>
{{getDate(dataList.payDate)}}
</font>
</td>
<td
style=
"text-indent:35px;"
>
签约日期:
<font>
{{getDate(dataList.payDate)}}
</font>
</td>
<td>
签约日期:
<font>
{{getDate(dataList.payDate)}}
</font>
</td>
</tr>
</tr>
</table>
</table>
</div>
</div>
...
...
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