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
f16fa8c7
Commit
f16fa8c7
authored
Aug 07, 2024
by
liudong1993
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
bb867a41
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
21 additions
and
6 deletions
+21
-6
selectSettlementData.vue
.../MonthlyCostStatement/components/selectSettlementData.vue
+10
-2
settlement.vue
...nents/FinancialModule/MonthlyCostStatement/settlement.vue
+11
-4
No files found.
src/components/FinancialModule/MonthlyCostStatement/components/selectSettlementData.vue
View file @
f16fa8c7
...
...
@@ -38,7 +38,7 @@
其他收入
</span>
<span
v-else-if=
"scope.row.Type==2"
style=
"display: inline-block;
<span
v-else-if=
"scope.row.Type==2
&& scope.row.TCIDList && scope.row.TCIDList.count>0
"
style=
"display: inline-block;
padding: 2px 8px;
color: white;
background-color: #E95252;
...
...
@@ -46,6 +46,14 @@
border-radius: 4px;"
>
成本支出
</span>
<span
v-else-if=
"scope.row.Type==2"
style=
"display: inline-block;
padding: 2px 8px;
color: white;
background-color: #2BB87C;
line-height: 16px;
border-radius: 4px;"
>
PIC代付
</span>
<span
v-else-if=
"scope.row.Type==1"
style=
"display: inline-block;
padding: 2px 8px;
color: white;
...
...
@@ -126,7 +134,7 @@
this
.
dataList
.
forEach
(
x
=>
{
x
.
DetailList
.
forEach
(
y
=>
{
if
(
x
.
TemplateId
==
281
||
x
.
TemplateId
==
283
||
x
.
Type
==
2
){
if
(
x
.
TemplateId
==
281
||
x
.
TemplateId
==
283
||
(
x
.
Type
==
2
&&
x
.
TCIDList
&&
x
.
TCIDList
.
count
>
0
)
){
this
.
OriginalMoney
+=
(
y
.
Money
*
100
)
}
else
{
this
.
OriginalMoney
-=
(
y
.
Money
*
100
)
...
...
src/components/FinancialModule/MonthlyCostStatement/settlement.vue
View file @
f16fa8c7
...
...
@@ -70,7 +70,7 @@
<button
class=
"normalBtn"
@
click=
"GenerateDocuments()"
>
生成结算单据
</button>
</li>
</ul>
注释:此处为对台湾结算,结算金额 = 分润收入 + 其他收入(经营费+佣金等) + 台湾成本支出 - 台湾团费收入
注释:此处为对台湾结算,结算金额 = 分润收入 + 其他收入(经营费+佣金等) + 台湾成本支出 - 台湾团费收入
- PIC代付
</div>
<div
style=
"display: flex;flex-wrap: nowrap; padding: 10px;"
>
<div
style=
"display: flex;flex-wrap: wrap;"
>
...
...
@@ -122,8 +122,7 @@
border-radius: 4px;"
>
其他收入
</span>
<span
v-else-if=
"scope.row.Type==2"
style=
"display: inline-block;
<span
v-else-if=
"scope.row.Type==2 && scope.row.TCIDList && scope.row.TCIDList.count>0"
style=
"display: inline-block;
padding: 2px 8px;
color: white;
background-color: #E95252;
...
...
@@ -131,6 +130,14 @@
border-radius: 4px;"
>
成本支出
</span>
<span
v-else-if=
"scope.row.Type==2"
style=
"display: inline-block;
padding: 2px 8px;
color: white;
background-color: #2BB87C;
line-height: 16px;
border-radius: 4px;"
>
PIC代付
</span>
<span
v-else-if=
"scope.row.Type==1"
style=
"display: inline-block;
padding: 2px 8px;
color: white;
...
...
@@ -627,7 +634,7 @@
let
Money
=
0
this
.
multipleSelection
.
forEach
(
x
=>
{
x
.
DetailList
.
forEach
(
y
=>
{
if
(
x
.
TemplateId
==
281
||
x
.
TemplateId
==
283
||
x
.
Type
==
2
)
{
if
(
x
.
TemplateId
==
281
||
x
.
TemplateId
==
283
||
(
x
.
Type
==
2
&&
x
.
TCIDList
&&
x
.
TCIDList
.
count
>
0
)
)
{
Money
+=
(
y
.
Money
*
100
)
}
else
{
Money
-=
(
y
.
Money
*
100
)
...
...
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