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
27cf338d
Commit
27cf338d
authored
Jun 12, 2019
by
华国豪
🙄
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改挂账单bug
parent
8600892a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
5 deletions
+6
-5
addFinancialGZDocuments.vue
src/components/FinancialModule/addFinancialGZDocuments.vue
+6
-5
No files found.
src/components/FinancialModule/addFinancialGZDocuments.vue
View file @
27cf338d
...
...
@@ -302,7 +302,7 @@
</el-form-item>
</td>
<td
height=
"26px"
>
<el-select
filterable
v-model=
'da.HangingAccountsType'
:placeholder=
"$t('rule.qxzfyshuoming')"
class=
" _border_b_1"
>
<el-select
filterable
v-model=
'da.HangingAccountsType'
@
change=
"$forceUpdate()"
:placeholder=
"$t('rule.qxzfyshuoming')"
class=
" _border_b_1"
>
<el-option
:label=
'$t("fnc.w_shou")'
:value=
'1'
key=
'1'
></el-option>
<el-option
:label=
'$t("fnc.w_zhi")'
:value=
'2'
key=
'2'
></el-option>
</el-select>
...
...
@@ -681,7 +681,8 @@ export default {
leaderType
:
1
,
resultCode
:
null
,
loading2
:
false
,
EmployeeId
:
0
EmployeeId
:
0
,
isFist
:
true
,
}
},
methods
:{
changeTCNum
(
t
,
i
){
...
...
@@ -1107,7 +1108,7 @@ export default {
if
(
i
){
msg
.
ID
=
i
;
}
else
{
this
.
msg
.
ClientID
=
''
;
this
.
msg
.
ClientID
=
this
.
isFist
?
this
.
msg
.
ClientID
:
''
;
this
.
msg
.
AccountNumber
=
''
;
this
.
msg
.
RemitterName
=
''
;
this
.
msg
.
IsLeader
=
1
;
...
...
@@ -1116,6 +1117,7 @@ export default {
if
(
res
.
data
.
resultCode
==
1
)
{
let
data
=
res
.
data
.
data
;
let
ClientAccountList
=
[];
this
.
isFist
=
false
if
(
i
){
data
.
forEach
(
x
=>
{
let
obj
=
{
...
...
@@ -1211,7 +1213,6 @@ export default {
data
.
IsLeader
=
1
;
this
.
msg
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
this
.
msg
.
ClientType
=
this
.
msg
.
ClientType
==
0
?
''
:
this
.
msg
.
ClientType
;
this
.
msg
.
ClientID
=
this
.
msg
.
ClientID
==
0
?
''
:
this
.
msg
.
ClientID
;
this
.
msg
.
RB_Branch_Id
=
this
.
msg
.
RB_Branch_Id
==
0
?
this
.
getLocalStorage
().
RB_Branch_id
:
this
.
msg
.
RB_Branch_Id
;
if
(
this
.
orderObj
&&
this
.
orderObj
.
companyIDList
&&
this
.
orderObj
.
companyIDList
.
length
>
0
)
{
this
.
msg
.
RB_Branch_Id
=
this
.
orderObj
.
companyIDList
[
0
];
...
...
@@ -1243,7 +1244,7 @@ export default {
x
.
currenName
=
y
.
Name
;
}
})
allPrice
=
allPrice
+
parseFloat
(
x
.
bTotalPrice
);
allPrice
=
x
.
HangingAccountsType
===
1
?
allPrice
+
parseFloat
(
x
.
bTotalPrice
)
:
allPrice
-
parseFloat
(
x
.
bTotalPrice
);
});
this
.
allPrice
=
allPrice
;
this
.
allPriceTo
=
this
.
$commonUtils
.
addCommas
(
Math
.
round
(
this
.
allPrice
*
100
)
/
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