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
29d5923f
Commit
29d5923f
authored
Oct 30, 2019
by
华国豪
🙄
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://gitlab.oytour.com/luochao/superman
parents
46e598d7
d5110dc1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
3 deletions
+17
-3
CompanyAccount.vue
src/components/FinancialModule/CompanyAccount.vue
+1
-1
leaderPay2.vue
src/components/leaderPay2.vue
+16
-2
No files found.
src/components/FinancialModule/CompanyAccount.vue
View file @
29d5923f
...
...
@@ -251,7 +251,7 @@
<el-col
:span=
"4"
:gutter=
"35"
>
<el-form-item
:label=
"$t('fnc.yhkahao')"
prop=
"BackNo"
>
<el-input
v-model=
"addMsg.BackNo"
class=
""
maxlength=
"2
0
"
></el-input>
<el-input
v-model=
"addMsg.BackNo"
class=
""
maxlength=
"2
5
"
></el-input>
</el-form-item>
</el-col>
</el-row>
...
...
src/components/leaderPay2.vue
View file @
29d5923f
...
...
@@ -1082,8 +1082,22 @@
methods
:
{
GetDinnerPrice
(
item
)
{
var
totalPrice
=
0
;
item
.
data
.
forEach
(
subItem
=>
{
totalPrice
+=
subItem
.
TradingTotalPrice
var
DiningID
=
0
;
var
UseDinnerType
=
""
;
var
UseTimeStr
=
""
;
item
.
data
.
forEach
((
subItem
,
subIndex
)
=>
{
//不相同才计算总金额
if
(
subItem
.
DiningID
==
DiningID
&&
subItem
.
UseDinnerType
==
UseDinnerType
&&
subItem
.
UseTimeStr
==
UseTimeStr
)
{
totalPrice
+=
0
}
else
{
totalPrice
+=
subItem
.
TradingTotalPrice
}
DiningID
=
subItem
.
DiningID
;
UseDinnerType
=
subItem
.
UseDinnerType
;
UseTimeStr
=
subItem
.
UseTimeStr
;
});
return
totalPrice
.
toFixed
(
2
);
},
...
...
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