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
3bc21efc
Commit
3bc21efc
authored
Jan 08, 2019
by
季圣华
Browse files
采购入库,解决多账户不能显示的问题
parent
7dd7f920
Changes
1
Hide whitespace changes
Inline
Side-by-side
erp_web/js/pages/materials/in_out.js
View file @
3bc21efc
...
@@ -1727,10 +1727,7 @@
...
@@ -1727,10 +1727,7 @@
$
(
"
#OperTimeShow
"
).
text
(
depotHeadInfo
[
4
]);
$
(
"
#OperTimeShow
"
).
text
(
depotHeadInfo
[
4
]);
$
(
'
#OrganIdShow
'
).
text
(
depotHeadInfo
[
11
]);
$
(
'
#OrganIdShow
'
).
text
(
depotHeadInfo
[
11
]);
$
(
"
#HandsPersonIdShow
"
).
text
(
depotHeadInfo
[
12
]);
$
(
"
#HandsPersonIdShow
"
).
text
(
depotHeadInfo
[
12
]);
if
(
depotHeadInfo
[
13
]){
if
(
depotHeadInfo
[
22
]
!=
"
undefined
"
&&
depotHeadInfo
[
23
]
!=
"
undefined
"
){
$
(
"
#AccountIdShow
"
).
text
(
depotHeadInfo
[
13
]);
//结算账户
}
else
if
(
depotHeadInfo
[
22
]
&&
depotHeadInfo
[
23
]){
var
accountArr
=
depotHeadInfo
[
22
].
split
(
"
,
"
);
//账户id列表
var
accountArr
=
depotHeadInfo
[
22
].
split
(
"
,
"
);
//账户id列表
var
accountMoneyArr
=
depotHeadInfo
[
23
].
split
(
"
,
"
);
//账户金额列表
var
accountMoneyArr
=
depotHeadInfo
[
23
].
split
(
"
,
"
);
//账户金额列表
var
accountIdShow
=
""
;
var
accountIdShow
=
""
;
...
@@ -1750,7 +1747,9 @@
...
@@ -1750,7 +1747,9 @@
}
}
}
}
$
(
"
#AccountIdShow
"
).
text
(
accountIdShow
);
$
(
"
#AccountIdShow
"
).
text
(
accountIdShow
);
}
}
else
if
(
depotHeadInfo
[
13
]){
$
(
"
#AccountIdShow
"
).
text
(
depotHeadInfo
[
13
]);
//结算账户
}
$
(
"
#ChangeAmountShow
"
).
text
(
depotHeadInfo
[
8
]);
$
(
"
#ChangeAmountShow
"
).
text
(
depotHeadInfo
[
8
]);
$
(
"
#RemarkShow
"
).
text
(
depotHeadInfo
[
9
]);
$
(
"
#RemarkShow
"
).
text
(
depotHeadInfo
[
9
]);
$
(
"
#DiscountShow
"
).
text
(
depotHeadInfo
[
19
]);
$
(
"
#DiscountShow
"
).
text
(
depotHeadInfo
[
19
]);
...
...
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