记得上下班打卡 | 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
c53e0936
Commit
c53e0936
authored
Dec 14, 2021
by
liuran
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改创建编辑积分商品
parent
88f5dda7
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
29 additions
and
1 deletion
+29
-1
integralStore.html
...ain/resources/templates/zhengzai/stone/integralStore.html
+28
-0
integralStoreEdit.html
...resources/templates/zhengzai/stone/integralStoreEdit.html
+1
-1
No files found.
liquidnet-bus-client/liquidnet-client-admin/liquidnet-client-admin-web/src/main/resources/templates/zhengzai/stone/integralStore.html
View file @
c53e0936
...
@@ -58,6 +58,19 @@
...
@@ -58,6 +58,19 @@
var
prefix
=
ctx
+
"stone/item"
;
var
prefix
=
ctx
+
"stone/item"
;
var
prefix2
=
ctx
;
var
prefix2
=
ctx
;
var
couType
=
[[
$
{
couType
}]];
var
couType
=
[[
$
{
couType
}]];
var
simpleTypeDataList
=
[{
id
:
1
,
simpleName
:
'5元'
},
{
id
:
2
,
simpleName
:
'10元'
},
{
id
:
3
,
simpleName
:
'25元'
},
{
id
:
4
,
simpleName
:
'35元'
}]
$
(
function
()
{
$
(
function
()
{
var
options
=
{
var
options
=
{
url
:
prefix2
+
"stone/item/list"
,
url
:
prefix2
+
"stone/item/list"
,
...
@@ -94,6 +107,21 @@
...
@@ -94,6 +107,21 @@
}
}
}
}
},
},
{
field
:
'simpleType'
,
title
:
'优惠券分类'
,
formatter
:
function
(
value
,
row
,
index
)
{
if
(
value
==
0
)
{
return
'无条件'
;
}
else
{
for
(
var
i
in
simpleTypeDataList
)
{
if
(
simpleTypeDataList
[
i
].
id
==
value
)
{
return
simpleTypeDataList
[
i
].
simpleName
;
}
}
}
}
},
{
{
field
:
'busiType'
,
field
:
'busiType'
,
title
:
'类型'
,
title
:
'类型'
,
...
...
liquidnet-bus-client/liquidnet-client-admin/liquidnet-client-admin-web/src/main/resources/templates/zhengzai/stone/integralStoreEdit.html
View file @
c53e0936
...
@@ -381,7 +381,7 @@
...
@@ -381,7 +381,7 @@
$
(
"#labelSelectType"
).
find
(
"option[value='0']"
).
attr
(
"selected"
,
true
);
$
(
"#labelSelectType"
).
find
(
"option[value='0']"
).
attr
(
"selected"
,
true
);
}
else
{
}
else
{
var
simpleTypeData
=
data
.
simpleType
.
toString
();
var
simpleTypeData
=
data
.
simpleType
.
toString
();
$
(
"#labelSelectType"
).
find
(
"option[value=
simpleTypeData
]"
).
attr
(
"selected"
,
true
);
$
(
"#labelSelectType"
).
find
(
"option[value=
"
+
simpleTypeData
+
"
]"
).
attr
(
"selected"
,
true
);
}
}
}
}
})
})
...
...
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