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
2b792c6a
Commit
2b792c6a
authored
Mar 01, 2023
by
youjie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no message
parent
bea472ce
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
18 deletions
+8
-18
addFinancialDocuments.vue
src/components/FinancialModule/addFinancialDocuments.vue
+6
-16
domesticCommissionTW.vue
src/components/FinancialModule/domesticCommissionTW.vue
+2
-2
No files found.
src/components/FinancialModule/addFinancialDocuments.vue
View file @
2b792c6a
...
...
@@ -941,11 +941,12 @@ export default {
if
(
this
.
orderObj
&&
this
.
orderObj
.
Rate
&&
this
.
orderObj
.
Money
){
let
yballPrice
=
0
this
.
msg
&&
this
.
msg
.
detailList
&&
this
.
msg
.
detailList
.
forEach
((
item
,
i
)
=>
{
yballPrice
+=
Number
(
yballPrice
+
item
.
UnitPriceTo
)
yballPrice
+=
Number
(
yballPrice
)
+
Number
(
item
.
UnitPrice
)
console
.
log
(
item
)
})
this
.
yballPriceTo
=
yballPrice
if
(
this
.
orderObj
.
Money
!=
this
.
yballPriceTo
){
this
.
Error
(
`原币总金额
必须
等于
${
this
.
orderObj
.
Money
}
!`
)
this
.
Error
(
`原币总金额
需
等于
${
this
.
orderObj
.
Money
}
!`
)
return
}
}
...
...
@@ -1437,10 +1438,7 @@ export default {
// }
if
(
!
this
.
orderObj
&&
id
>
0
)
{
this
.
msg
.
RB_Branch_Id
=
this
.
msg
.
RB_Branch_Id
}
else
if
(
this
.
orderObj
&&
this
.
orderObj
.
OutBranchId
!=
''
){
// 台湾提成公司
this
.
msg
.
RB_Branch_Id
=
this
.
orderObj
.
OutBranchId
;
}
else
{
}
else
{
this
.
msg
.
RB_Branch_Id
=
this
.
getLocalStorage
().
RB_Branch_id
}
}
else
{
...
...
@@ -1603,10 +1601,6 @@ export default {
}
else
{
this
.
msg
.
RB_Depart_Id
=
this
.
msg
.
RB_Depart_Id
?
this
.
msg
.
RB_Depart_Id
:
this
.
getLocalStorage
().
RB_Department_Id
;
}
// 台湾提成公司
if
(
this
.
orderObj
&&
this
.
orderObj
.
OutBranchId
!=
''
){
this
.
msg
.
RB_Branch_Id
=
this
.
orderObj
.
OutBranchId
;
}
}
},
err
=>
{})
...
...
@@ -1828,12 +1822,8 @@ export default {
this
.
EmployeeId
=
userInfo
.
EmployeeId
;
this
.
emplyeeName
=
userInfo
.
emName
;
this
.
DepartIDs
=
this
.
msg
.
RB_Depart_Id
=
userInfo
.
RB_Department_Id
;
// 台湾提成公司
if
(
this
.
orderObj
&&
this
.
orderObj
.
OutBranchId
!=
''
){
this
.
RB_Branch_id
=
this
.
departmentMsg
.
RB_Branch_Id
=
this
.
msg
.
RB_Branch_Id
=
this
.
orderObj
.
OutBranchId
;
}
else
{
this
.
RB_Branch_id
=
this
.
departmentMsg
.
RB_Branch_Id
=
this
.
msg
.
RB_Branch_Id
=
userInfo
.
RB_Branch_id
;
}
this
.
companyMsg
.
RB_Group_Id
=
this
.
departmentMsg
.
RB_Group_Id
=
userInfo
.
RB_Group_id
;
this
.
IsUploadPic
=
this
.
$route
.
query
.
IsUploadPic
;
...
...
src/components/FinancialModule/domesticCommissionTW.vue
View file @
2b792c6a
...
...
@@ -382,14 +382,14 @@
OtherType
:
69
,
ReFinanceId
:
item
.
Id
,
Rate
:
item
.
CurrencyRateList
[
0
].
Rate
,
OutBranchId
:
this
.
msg
.
OutBranchId
}
let
query
=
{
blank
:
"y"
,
tab
:
"新增付款单据"
,
Type
:
2
,
IsUploadPic
:
1
,
orderObj
:
JSON
.
stringify
(
obj
)
orderObj
:
JSON
.
stringify
(
obj
),
companyID
:
this
.
msg
.
OutBranchId
}
if
(
this
.
msg
.
OutBranchId
>-
1
){
query
.
id
=
30
...
...
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