记得上下班打卡 | 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
a1ce192d
Commit
a1ce192d
authored
Nov 25, 2021
by
dongchun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改添加编辑商品的参数
parent
4504931e
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
21 additions
and
0 deletions
+21
-0
integralStoreEdit.html
...resources/templates/zhengzai/stone/integralStoreEdit.html
+21
-0
No files found.
liquidnet-bus-client/liquidnet-client-admin/liquidnet-client-admin-web/src/main/resources/templates/zhengzai/stone/integralStoreEdit.html
View file @
a1ce192d
...
...
@@ -153,6 +153,13 @@
<input
type=
"radio"
value=
"3"
name=
"typeOne"
><span>
优先购
</span>
</div>
</div>
<div
id=
"scoreType"
class=
"main_type"
>
<span
class=
"labelName"
><i
class=
"required"
>
*
</i>
类别:
</span>
<div
class=
"layui-input-block"
style=
"display: flex"
>
<input
type=
"radio"
value=
"0"
name=
"selectType"
checked
><span>
商品
</span>
<input
type=
"radio"
value=
"1"
name=
"selectType"
><span>
券
</span>
</div>
</div>
<div
class=
"scope_application"
id=
"scope_application"
>
<span
class=
"labelName"
><i
class=
"required"
>
*
</i>
券名称:
</span>
<div
class=
"search_ipt"
style=
"position: relative;display: inline;"
>
...
...
@@ -268,6 +275,8 @@
let
showPicture
=
''
;
// 展示图片
let
limit
=
''
;
// 限兑次数
let
itemId
=
''
;
//
let
selectType
=
''
let
type
=
''
;
$
(
document
).
ready
(
function
()
{
var
$summernote
=
$
(
'#summernote'
).
summernote
({
height
:
300
,
...
...
@@ -340,6 +349,9 @@
$
(
'#summernote'
).
summernote
(
'code'
,
data
.
details
)
$
(
'.summernote'
).
eq
(
1
).
summernote
(
'code'
,
data
.
notice
)
// $("#attention").val(data.notice);
if
(
data
.
type
==
1
)
{
$
(
"input[name='selectType'][value='1']"
).
attr
(
"checked"
,
"checked"
).
siblings
().
removeAttr
(
'checked'
);
}
if
(
data
.
limitCount
!=
0
)
{
sendType
=
1
$
(
"input[name='sendType'][value='1']"
).
attr
(
"checked"
,
"checked"
).
siblings
().
removeAttr
(
'checked'
);
...
...
@@ -443,6 +455,9 @@
$
(
"input[name=typeOne]"
).
change
(
function
(
e
){
typeOne
=
e
.
target
.
value
;
});
$
(
"input[name=selectType]"
).
change
(
function
(
e
){
selectType
=
e
.
target
.
value
;
});
$
(
"input[name=sendType]"
).
change
(
function
(
e
){
sendType
=
e
.
target
.
value
;
if
(
sendType
==
1
)
{
...
...
@@ -514,6 +529,12 @@
delete
data
.
startTime
delete
data
.
endTime
}
if
(
selectType
==
1
)
{
delete
data
.
targetId
data
[
'type'
]
=
1
}
else
{
data
[
'type'
]
=
11
}
promiseMethods
(
ctx
+
'stone/item'
,
type
,
data
).
then
(
res
=>
{
layer
.
msg
(
''
+
res
);
if
(
res
.
code
!=
undefined
&&
res
.
code
!=
web_status
.
SUCCESS
)
{
...
...
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