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
71fbc8a5
Commit
71fbc8a5
authored
Dec 22, 2018
by
季圣华
Browse files
区分 仓库和礼品卡类型
parent
9750415a
Changes
3
Hide whitespace changes
Inline
Side-by-side
erp_web/pages/manage/depot.html
View file @
71fbc8a5
...
...
@@ -312,6 +312,8 @@
//保存信息
$
(
"
#saveDepot
"
).
off
(
"
click
"
).
on
(
"
click
"
,
function
()
{
var
infoObj
=
$
(
"
#depotFM
"
).
serializeObject
();
infoObj
.
type
=
0
;
if
(
checkDepotName
())
{
return
;
}
...
...
@@ -320,7 +322,7 @@
type
:
"
post
"
,
dataType
:
"
json
"
,
data
:
({
info
:
JSON
.
stringify
(
$
(
"
#depotFM
"
).
serializeObject
()
)
info
:
JSON
.
stringify
(
infoObj
)
}),
success
:
function
(
res
)
{
if
(
res
&&
res
.
code
===
200
)
{
...
...
erp_web/pages/manage/depotGift.html
View file @
71fbc8a5
...
...
@@ -306,6 +306,8 @@
//保存信息
$
(
"
#saveDepot
"
).
off
(
"
click
"
).
on
(
"
click
"
,
function
()
{
var
infoObj
=
$
(
"
#depotFM
"
).
serializeObject
();
infoObj
.
type
=
1
;
if
(
checkDepotName
())
{
return
;
}
...
...
@@ -314,7 +316,7 @@
type
:
"
post
"
,
dataType
:
"
json
"
,
data
:
({
info
:
JSON
.
stringify
(
$
(
"
#depotFM
"
).
serializeObject
()
)
info
:
JSON
.
stringify
(
infoObj
)
}),
success
:
function
(
res
)
{
if
(
res
&&
res
.
code
===
200
)
{
...
...
src/main/resources/mapper_xml/DepotMapperEx.xml
View file @
71fbc8a5
...
...
@@ -14,6 +14,7 @@
<if
test=
"remark != null"
>
and remark like '%${remark}%'
</if>
order by sort asc
<if
test=
"offset != null and rows != null"
>
limit #{offset},#{rows}
</if>
...
...
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