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
0ba2911b
Commit
0ba2911b
authored
Oct 16, 2023
by
吴春
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
8e472353
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
9 deletions
+10
-9
addFinancialDocuments.vue
src/components/FinancialModule/addFinancialDocuments.vue
+10
-9
No files found.
src/components/FinancialModule/addFinancialDocuments.vue
View file @
0ba2911b
...
...
@@ -1216,7 +1216,7 @@
x
.
CostTypeName
.
indexOf
(
'车'
)
!=
-
1
||
x
.
CostTypeName
.
indexOf
(
'门票'
)
!=
-
1
)
{
this
.
HandFeeDetail
&&
this
.
HandFeeDetail
.
DetailList
.
forEach
((
y
,
indexs
)
=>
{
if
(
x
.
CostTypeName
.
indexOf
(
'房'
)
!=
-
1
&&
x
.
CostTypeName
.
indexOf
(
'房费送客手数料'
)
==
-
1
&&
y
.
Type
==
1
&&
companyID
!=
1220
)
{
y
.
show
=
true
,
numToFANG
+=
Number
(
obj
.
Number
)
//, y.Num = numToFANG
}
...
...
@@ -1230,27 +1230,28 @@
y
.
show
=
true
,
numToMEN
+=
Number
(
obj
.
Number
)
//, y.Num = numToMEN
}
if
(
x
.
CostTypeName
.
indexOf
(
'房费送客手数料'
)
!=
-
1
&&
y
.
Type
==
5
)
{
if
(
x
.
UnitPrice
To
<
0
){
y
.
Unit_Price
=
x
.
UnitPriceTo
*-
1
}
if
(
x
.
UnitPrice
<
0
){
y
.
Unit_Price
=-
x
.
UnitPrice
}
else
{
y
.
Unit_Price
=
x
.
UnitPrice
To
y
.
Unit_Price
=
x
.
UnitPrice
}
y
.
Num
=
x
.
Number
y
.
show
=
true
,
numToMEN
+=
Number
(
obj
.
Number
)
//, y.Num = numToMEN
}
if
(
x
.
CostTypeName
.
indexOf
(
'餐费送客手数料'
)
!=
-
1
&&
y
.
Type
==
6
)
{
y
.
Num
=
x
.
Number
if
(
x
.
UnitPriceTo
<
0
){
y
.
Unit_Price
=
x
.
UnitPriceTo
*-
1
}
console
.
log
(
"UnitPriceTo"
,
x
.
UnitPrice
)
if
(
x
.
UnitPrice
<
0
){
y
.
Unit_Price
=-
x
.
UnitPrice
;
}
else
{
y
.
Unit_Price
=
x
.
UnitPrice
To
y
.
Unit_Price
=
x
.
UnitPrice
}
y
.
show
=
true
,
numToMEN
+=
Number
(
obj
.
Number
)
//, y.Num = numToMEN
}
if
(
x
.
CostTypeName
.
indexOf
(
'门票送客手数料'
)
!=
-
1
&&
y
.
Type
==
7
)
{
y
.
Num
=
x
.
Number
if
(
x
.
UnitPrice
To
<
0
){
y
.
Unit_Price
=
x
.
UnitPriceTo
*-
1
}
if
(
x
.
UnitPrice
<
0
){
y
.
Unit_Price
=-
x
.
UnitPrice
}
else
{
y
.
Unit_Price
=
x
.
UnitPrice
To
y
.
Unit_Price
=
x
.
UnitPrice
}
y
.
show
=
true
,
numToMEN
+=
Number
(
obj
.
Number
)
//, y.Num = numToMEN
}
...
...
@@ -1258,7 +1259,7 @@
})
}
})
console
.
log
(
"我进来啦3"
,
this
.
HandFeeDetail
);
if
(
states
)
{
this
.
msg
.
detailList
.
forEach
((
x
,
index
)
=>
{
this
.
HandFeeDetail
&&
this
.
HandFeeDetail
.
DetailList
.
forEach
((
y
,
indexs
)
=>
{
...
...
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