记得上下班打卡 | 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
44543e69
Commit
44543e69
authored
Nov 10, 2021
by
dongchun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改前端bug
parent
e3c7b407
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
7 deletions
+14
-7
integralStore.html
...ain/resources/templates/zhengzai/stone/integralStore.html
+9
-3
integralStoreEdit.html
...resources/templates/zhengzai/stone/integralStoreEdit.html
+1
-1
form.html
...urces/templates/zhengzai/sweet/integralActivity/form.html
+4
-3
No files found.
liquidnet-bus-client/liquidnet-client-admin/liquidnet-client-admin-web/src/main/resources/templates/zhengzai/stone/integralStore.html
View file @
44543e69
...
...
@@ -126,10 +126,16 @@
// align: 'center',
formatter
:
function
(
value
,
row
,
index
)
{
let
dataArr
=
[];
if
(
row
.
status
==
7
)
{
return
`<span class="btn btn-warning btn-xs" href="javascript:void(0)" onclick="$.operate.editTab('
${
row
.
itemId
}
')">编辑</span>
<span class="btn btn-warning btn-xs" href="javascript:void(0)" onclick="openShelvesModal('
${
row
.
itemId
}
', 1, '确定下架此商品吗?')">上架</span>
<span class="btn btn-warning btn-xs" href="javascript:void(0)" onclick="openShelvesModal('
${
row
.
itemId
}
', '-1', '确定删除此商品吗?')">删除</span>`
}
else
{
return
`<span class="btn btn-warning btn-xs" href="javascript:void(0)" onclick="$.operate.editTab('
${
row
.
itemId
}
')">编辑</span>
<span class="btn btn-warning btn-xs" href="javascript:void(0)" onclick="openShelvesModal('
${
row
.
itemId
}
', 7, '确定下架此商品吗?')">下架</span>
<span class="btn btn-warning btn-xs" href="javascript:void(0)" onclick="openShelvesModal('
${
row
.
itemId
}
', '-1', '确定删除此商品吗?')">删除</span>`
}
}
}]
};
$
.
table
.
init
(
options
);
...
...
liquidnet-bus-client/liquidnet-client-admin/liquidnet-client-admin-web/src/main/resources/templates/zhengzai/stone/integralStoreEdit.html
View file @
44543e69
...
...
@@ -512,7 +512,7 @@
delete
data
.
startTime
delete
data
.
endTime
}
promiseMethods
(
ctx
+
'stone/item'
,
'p
os
t'
,
data
).
then
(
res
=>
{
promiseMethods
(
ctx
+
'stone/item'
,
'p
u
t'
,
data
).
then
(
res
=>
{
layer
.
msg
(
''
+
res
);
if
(
res
.
code
!=
undefined
&&
res
.
code
!=
web_status
.
SUCCESS
)
{
$
.
modal
.
alertWarning
(
res
.
msg
);
...
...
liquidnet-bus-client/liquidnet-client-admin/liquidnet-client-admin-web/src/main/resources/templates/zhengzai/sweet/integralActivity/form.html
View file @
44543e69
...
...
@@ -286,10 +286,11 @@
let
arr
=
[
'谢谢惠顾'
,
'积分'
,
'代金券'
,
'满减券'
,
'优先购买'
,
'实物'
];
let
str
=
''
;
arr
.
forEach
((
item
,
i
)
=>
{
i
++
if
(
i
==
data
[
index
].
prizeType
)
{
str
+=
`<option value="
${
i
+
1
}
" selected>
${
item
}
</option>`
str
+=
`<option value="
${
i
}
" selected>
${
item
}
</option>`
}
else
{
str
+=
`<option value="
${
i
+
1
}
">
${
item
}
</option>`
str
+=
`<option value="
${
i
}
">
${
item
}
</option>`
}
})
let
dom
=
`<select id='prizeType
${
index
}
' class='form-control' name=''>
...
...
@@ -361,7 +362,7 @@
title
:
'奖品剩余'
,
formatter
:
function
(
value
,
row
,
index
)
{
if
(
itemId
)
{
return
row
.
prizeNum
-
row
.
WinPrizeNum
return
(
row
.
prizeNum
-
row
.
WinPrizeNum
)
||
'-'
}
else
{
return
'-'
}
...
...
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