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
739e1753
Commit
739e1753
authored
Sep 07, 2019
by
季圣华
Browse files
解决销售订单里面无法保存销售人员的bug
parent
d729f7ed
Changes
1
Hide whitespace changes
Inline
Side-by-side
erp_web/js/pages/materials/in_out.js
View file @
739e1753
...
@@ -1583,7 +1583,7 @@
...
@@ -1583,7 +1583,7 @@
$
(
"
#payType
"
).
empty
().
append
(
option
);
$
(
"
#payType
"
).
empty
().
append
(
option
);
}
}
if
(
listSubType
===
"
销售
"
||
listSubType
===
"
销售退货
"
){
if
(
listSubType
===
"
销售
"
||
listSubType
===
"
销售退货
"
||
listSubType
===
"
销售订单
"
){
if
(
depotHeadInfo
[
18
]){
if
(
depotHeadInfo
[
18
]){
var
arr
=
depotHeadInfo
[
18
].
split
(
"
,
"
);
var
arr
=
depotHeadInfo
[
18
].
split
(
"
,
"
);
var
salesmanArray
=
[];
var
salesmanArray
=
[];
...
@@ -1724,7 +1724,7 @@
...
@@ -1724,7 +1724,7 @@
$
(
"
#depotHeadDlgShow .back-amount-show
"
).
text
(
0
);
$
(
"
#depotHeadDlgShow .back-amount-show
"
).
text
(
0
);
}
}
}
}
if
(
listSubType
===
"
销售
"
||
listSubType
===
"
销售退货
"
){
if
(
listSubType
===
"
销售
"
||
listSubType
===
"
销售退货
"
||
listSubType
===
"
销售订单
"
){
if
(
depotHeadInfo
[
18
]){
if
(
depotHeadInfo
[
18
]){
var
arr
=
depotHeadInfo
[
18
].
split
(
"
,
"
);
var
arr
=
depotHeadInfo
[
18
].
split
(
"
,
"
);
var
salesmanStr
=
""
;
var
salesmanStr
=
""
;
...
@@ -1972,7 +1972,7 @@
...
@@ -1972,7 +1972,7 @@
}
}
}
}
var
SalesmanStr
=
""
;
var
SalesmanStr
=
""
;
if
(
listSubType
===
"
销售
"
||
listSubType
===
"
销售退货
"
){
if
(
listSubType
===
"
销售
"
||
listSubType
===
"
销售退货
"
||
listSubType
===
"
销售订单
"
){
var
Salesman
=
$
(
'
#Salesman
'
).
combobox
(
'
getValues
'
).
toString
();
//销售人员
var
Salesman
=
$
(
'
#Salesman
'
).
combobox
(
'
getValues
'
).
toString
();
//销售人员
if
(
Salesman
)
{
if
(
Salesman
)
{
var
SalesmanArray
=
Salesman
.
split
(
"
,
"
);
var
SalesmanArray
=
Salesman
.
split
(
"
,
"
);
...
...
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