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
758ee4fd
Commit
758ee4fd
authored
Nov 16, 2017
by
季圣华
Browse files
如果价格为空,则将其置为0
parent
8a77e18e
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/main/webapp/js/pages/materials/in_out.js
View file @
758ee4fd
...
...
@@ -1022,6 +1022,9 @@
}
body
.
find
(
"
[field='OperNumber']
"
).
find
(
input
).
val
(
1
);
//数量初始化为1
//单价和总价赋值
if
(
!
detailPrice
)
{
detailPrice
=
0
;
}
body
.
find
(
"
[field='UnitPrice']
"
).
find
(
input
).
val
(
detailPrice
);
body
.
find
(
"
[field='AllPrice']
"
).
find
(
input
).
val
(
detailPrice
);
var
taxRate
=
body
.
find
(
"
[field='TaxRate']
"
).
find
(
input
).
val
()
-
0
;
//获取税率
...
...
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