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
7b097687
Commit
7b097687
authored
Sep 01, 2019
by
季圣华
Browse files
解决采购录入失败的bug
parent
d1063123
Changes
3
Hide whitespace changes
Inline
Side-by-side
erp_web/js/pages/materials/add_temp.js
View file @
7b097687
$
.
get
(
"
../../pages/template/base.html?
99
9
"
,
function
(
tem
)
{
$
.
get
(
"
../../pages/template/base.html?
78
9
"
,
function
(
tem
)
{
if
(
tem
)
{
var
template
=
Handlebars
.
compile
(
tem
);
/**
...
...
erp_web/js/pages/materials/in_out.js
View file @
7b097687
...
...
@@ -2835,9 +2835,6 @@
success
:
function
(
res
)
{
if
(
res
&&
res
.
code
===
200
)
{
$
(
'
#depotDlg
'
).
dialog
(
'
close
'
);
//加载完以后重新初始化
var
opts
=
$
(
"
#tableData
"
).
datagrid
(
'
options
'
);
showDepotDetails
(
opts
.
pageNumber
,
opts
.
pageSize
);
}
},
//此处添加错误处理
...
...
erp_web/pages/template/base.html
View file @
7b097687
...
...
@@ -95,7 +95,7 @@
{{/if}}
{{#if depotSelect}}
<div
id=
"depotDlg"
style=
"width:380px;padding:10px 20px"
buttons=
"#d
lg-buttons
"
>
<div
id=
"depotDlg"
style=
"width:380px;padding:10px 20px"
buttons=
"#d
epotDlgBtn
"
>
<form
id=
"depotFM"
>
<table>
<tr>
...
...
@@ -137,7 +137,7 @@
</table>
</form>
</div>
<div
id=
"d
lg-buttons
"
>
<div
id=
"d
epotDlgBtn
"
>
<a
href=
"javascript:void(0)"
id=
"saveDepot"
>
保存
</a>
<a
href=
"javascript:void(0)"
id=
"cancelDepot"
onclick=
"javascript:$('#depotDlg').dialog('close')"
>
取消
</a>
</div>
...
...
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