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
29633595
Commit
29633595
authored
Dec 10, 2017
by
季圣华
Browse files
修复单据‘销售人员’显示的bug
parent
9f18f0bc
Changes
1
Show whitespace changes
Inline
Side-by-side
src/main/webapp/js/pages/materials/in_out.js
View file @
29633595
...
@@ -2050,6 +2050,7 @@
...
@@ -2050,6 +2050,7 @@
var
SalesmanStr
=
""
;
var
SalesmanStr
=
""
;
if
(
listSubType
===
"
销售
"
||
listSubType
===
"
销售退货
"
){
if
(
listSubType
===
"
销售
"
||
listSubType
===
"
销售退货
"
){
var
Salesman
=
$
(
'
#Salesman
'
).
combobox
(
'
getValues
'
).
toString
();
//销售人员
var
Salesman
=
$
(
'
#Salesman
'
).
combobox
(
'
getValues
'
).
toString
();
//销售人员
if
(
Salesman
)
{
var
SalesmanArray
=
Salesman
.
split
(
"
,
"
);
var
SalesmanArray
=
Salesman
.
split
(
"
,
"
);
for
(
var
i
=
0
;
i
<
SalesmanArray
.
length
;
i
++
)
{
for
(
var
i
=
0
;
i
<
SalesmanArray
.
length
;
i
++
)
{
if
(
i
===
SalesmanArray
.
length
-
1
)
{
if
(
i
===
SalesmanArray
.
length
-
1
)
{
...
@@ -2060,6 +2061,7 @@
...
@@ -2060,6 +2061,7 @@
}
}
}
}
}
}
}
var
getAccountID
=
$
.
trim
(
$
(
"
#AccountId
"
).
val
());
var
getAccountID
=
$
.
trim
(
$
(
"
#AccountId
"
).
val
());
if
(
$
(
"
#AccountId
"
).
val
()
===
"
many
"
){
//多账户
if
(
$
(
"
#AccountId
"
).
val
()
===
"
many
"
){
//多账户
getAccountID
=
null
;
getAccountID
=
null
;
...
...
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