记得上下班打卡 | git大法好,push需谨慎
Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
liquidnet-bus-v1
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
董敬伟
liquidnet-bus-v1
Commits
f69c193d
Commit
f69c193d
authored
Nov 26, 2021
by
dongchun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改选择商品时无法编写券名称的问题
parent
9d1ed69d
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
24 additions
and
3 deletions
+24
-3
integralStoreEdit.html
...resources/templates/zhengzai/stone/integralStoreEdit.html
+24
-3
No files found.
liquidnet-bus-client/liquidnet-client-admin/liquidnet-client-admin-web/src/main/resources/templates/zhengzai/stone/integralStoreEdit.html
View file @
f69c193d
...
...
@@ -13,7 +13,9 @@
.main_title
,
.main_type
,
.money
,
.scope_application
,
.sendType
,
.phoneNumber
,
.playMethod
{
margin-bottom
:
20px
;
}
#searchIpt
{
display
:
none
;
}
.phoneNumber
,
.playMethod
{
display
:
none
;
}
...
...
@@ -164,6 +166,7 @@
<span
class=
"labelName"
><i
class=
"required"
>
*
</i>
券名称:
</span>
<div
class=
"search_ipt"
style=
"position: relative;display: inline;"
>
<input
type=
"text"
id=
"searchIpt"
autocomplete=
"off"
class=
"layui-input"
placeholder=
"全部"
>
<input
type=
"text"
id=
"searchIptMall"
autocomplete=
"off"
class=
"layui-input"
placeholder=
"全部"
>
<ul
id=
"dataList"
style=
"position: absolute;"
></ul>
</div>
</div>
...
...
@@ -457,6 +460,15 @@
});
$
(
"input[name=selectType]"
).
change
(
function
(
e
){
selectType
=
e
.
target
.
value
;
if
(
selectType
==
0
)
{
$
(
"#searchIptMall"
).
show
()
$
(
"#searchIpt"
).
hide
()
$
(
"#searchIpt"
).
val
(
''
)
}
else
{
$
(
"#searchIptMall"
).
hide
()
$
(
"#searchIptMall"
).
val
(
''
)
$
(
"#searchIpt"
).
show
()
}
});
$
(
"input[name=sendType]"
).
change
(
function
(
e
){
sendType
=
e
.
target
.
value
;
...
...
@@ -483,9 +495,18 @@
});
function
create
()
{
if
(
!
$
(
'#searchIpt'
).
val
()
||
!
showPicture
||
!
$
(
'#integralNum'
).
val
()
||
!
$
(
'#moneyNum'
).
val
()
||
!
$
(
'#inventory'
).
val
()
||
!
$
(
'#summernote'
).
summernote
(
'code'
)
||
!
$
(
'.summernote'
).
eq
(
1
).
summernote
(
'code'
))
{
if
(
!
showPicture
||
!
$
(
'#integralNum'
).
val
()
||
!
$
(
'#moneyNum'
).
val
()
||
!
$
(
'#inventory'
).
val
()
||
!
$
(
'#summernote'
).
summernote
(
'code'
)
||
!
$
(
'.summernote'
).
eq
(
1
).
summernote
(
'code'
))
{
return
layer
.
msg
(
'请将必填项输入完整~!'
);
}
if
(
selectType
==
1
)
{
if
(
!
$
(
'#searchIpt'
).
val
())
{
return
layer
.
msg
(
'请将必填项输入完整~!'
);
}
}
else
{
if
(
!
$
(
'#searchIptMall'
).
val
())
{
return
layer
.
msg
(
'请将必填项输入完整~!'
);
}
}
if
(
sendType
==
1
)
{
if
(
!
$
(
"#linit"
).
val
())
{
return
layer
.
msg
(
'请填写限兑次数!'
);
...
...
@@ -517,7 +538,7 @@
startTime
:
$
.
common
.
dateFormat
(
startTime
,
'yyyy-MM-dd HH:mm:ss'
),
// 上架时间status = 2 必传)
status
:
Number
(
shelves
),
// 上架状态[1-不限|2-定时|7-下线]
targetId
:
showId
,
// 目标物品id
targetTitle
:
$
(
'#searchIpt'
).
val
()
// 目标物品标题
targetTitle
:
$
(
'#searchIpt'
).
val
()
||
$
(
"#searchIptMall"
).
val
()
// 目标物品标题
}
let
type
=
'post'
;
if
(
!
itemId
)
{
...
...
Write
Preview
Markdown
is supported
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