Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
jinli gu
JSH ERP
Commits
262eef62
Commit
262eef62
authored
Feb 17, 2019
by
季圣华
Browse files
供应商对账界面解决优惠金额显示为null的bug
parent
863457e7
Changes
1
Hide whitespace changes
Inline
Side-by-side
erp_web/js/pages/materials/bill_detail.js
View file @
262eef62
...
...
@@ -222,7 +222,7 @@
$
(
"
#bill .DiscountShow
"
).
text
(
data
.
discount
);
$
(
"
#bill .DiscountMoneyShow
"
).
text
(
data
.
discountmoney
);
$
(
"
#bill .DiscountLastMoneyShow
"
).
text
(
data
.
discountlastmoney
);
$
(
"
#bill .ChangeAmountShow
"
).
text
(
data
.
changeamount
);
$
(
"
#bill .ChangeAmountShow
"
).
text
(
data
.
changeamount
==
null
?
""
:
data
.
changeamount
);
$
(
"
#bill .DebtShow
"
).
text
((
data
.
discountlastmoney
-
data
.
changeamount
).
toFixed
(
2
));
$
(
"
#bill .OtherMoneyShow
"
).
text
(
data
.
othermoney
==
null
?
""
:
data
.
othermoney
);
$
(
"
#bill .AccountDayShow
"
).
text
(
data
.
accountday
==
null
?
""
:
data
.
accountday
);
//结算天数
...
...
@@ -316,7 +316,7 @@
$
(
"
#bill .AccountIdShow
"
).
text
(
data
.
accountname
);
$
(
'
#bill .OrganIdShow
'
).
text
(
data
.
organname
);
$
(
"
#bill .HandsPersonIdShow
"
).
text
(
data
.
handspersonname
);
$
(
"
#bill .ChangeAmountShow
"
).
text
(
data
.
changeamount
);
$
(
"
#bill .ChangeAmountShow
"
).
text
(
data
.
changeamount
==
null
?
""
:
data
.
changeamount
);
var
totalprice
=
data
.
totalprice
;
var
accountHeadID
=
data
.
id
;
initTableData_account_show
(
totalprice
,
accountHeadID
);
//明细列表-查看状态
...
...
Write
Preview
Supports
Markdown
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