记得上下班打卡 | 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
91ec63e5
Commit
91ec63e5
authored
Jan 18, 2022
by
dongchun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
正在热卖问题
parent
5eb85268
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
113 additions
and
110 deletions
+113
-110
GoblinSelfZhengzaiController.java
...troller/zhengzai/goblin/GoblinSelfZhengzaiController.java
+1
-1
setGoodsRole.html
...s/templates/zhengzai/store/placingOrder/setGoodsRole.html
+112
-109
No files found.
liquidnet-bus-client/liquidnet-client-admin/liquidnet-client-admin-web/src/main/java/com/liquidnet/client/admin/web/controller/zhengzai/goblin/GoblinSelfZhengzaiController.java
View file @
91ec63e5
...
@@ -145,7 +145,7 @@ public class GoblinSelfZhengzaiController extends BaseController {
...
@@ -145,7 +145,7 @@ public class GoblinSelfZhengzaiController extends BaseController {
return
goblinZhengzaiMarketService
.
zhengzaiSpuList
(
marketId
,
storeId
,
page
);
return
goblinZhengzaiMarketService
.
zhengzaiSpuList
(
marketId
,
storeId
,
page
);
}
}
@
Pos
tMapping
(
"zhengzai/sku"
)
@
Ge
tMapping
(
"zhengzai/sku"
)
@ApiOperation
(
"活动详情-正在下单-店铺sku列表"
)
@ApiOperation
(
"活动详情-正在下单-店铺sku列表"
)
@ApiResponse
(
code
=
200
,
message
=
"接口返回对象参数"
)
@ApiResponse
(
code
=
200
,
message
=
"接口返回对象参数"
)
@ApiImplicitParams
({
@ApiImplicitParams
({
...
...
liquidnet-bus-client/liquidnet-client-admin/liquidnet-client-admin-web/src/main/resources/templates/zhengzai/store/placingOrder/setGoodsRole.html
View file @
91ec63e5
...
@@ -78,35 +78,18 @@
...
@@ -78,35 +78,18 @@
var
r2
=
window
.
location
.
search
.
substr
(
1
).
match
(
reg2
);
var
r2
=
window
.
location
.
search
.
substr
(
1
).
match
(
reg2
);
var
r3
=
window
.
location
.
search
.
substr
(
1
).
match
(
reg3
);
var
r3
=
window
.
location
.
search
.
substr
(
1
).
match
(
reg3
);
let
params
=
{
let
params
=
{
marketId
:
unescape
(
r
[
2
]),
marketId
:
unescape
(
r
[
2
]),
// spuId storeId
storeId
:
unescape
(
r2
[
2
]),
storeId
:
unescape
(
r2
[
2
]),
marketS
puId
:
unescape
(
r3
[
2
])
s
puId
:
unescape
(
r3
[
2
])
};
};
let
datas
=
[];
let
datas
=
[];
$
.
ajax
({
$
.
ajax
({
url
:
'/goblin/marketing/zhengzai/sku
'
,
url
:
'/goblin/marketing/zhengzai/sku
?marketId='
+
unescape
(
r
[
2
])
+
'&storeId='
+
unescape
(
r2
[
2
])
+
'&spuId='
+
unescape
(
r3
[
2
])
,
type
:
'
pos
t'
,
type
:
'
ge
t'
,
data
:
params
,
// contentType: 'application/json'
,
success
:
function
(
res
)
{
success
:
function
(
res
)
{
console
.
log
(
params
)
console
.
log
(
params
)
var
options
=
{
let
column
=
[
id
:
'setTable'
,
// url: '/goblin/marketing/zhengzai/sku',
createUrl
:
prefix2
+
"/addNewActivity"
,
detailUrl
:
prefix2
+
"/addNewActivity?id={id}"
,
removeUrl
:
prefix
+
"/cancel/{id}"
,
openTab
:
prefix2
+
"/activityStoreList/id={id}"
,
// exportUrl: prefix + "/export",
sortName
:
"createdAt"
,
sortOrder
:
"desc"
,
modalName
:
"活动"
,
showSearch
:
false
,
showRefresh
:
false
,
showColumns
:
false
,
showToggle
:
false
,
pagination
:
false
,
data
:
datas
,
columns
:
[
// {
// {
// field: 'valFace',
// field: 'valFace',
// title: '颜色',
// title: '颜色',
...
@@ -188,8 +171,8 @@
...
@@ -188,8 +171,8 @@
<input type="radio" value="3" id="optionsRadios1" name="optionsRadios
${
index
}
"><span>指定用户购买</span></label>
<input type="radio" value="3" id="optionsRadios1" name="optionsRadios
${
index
}
"><span>指定用户购买</span></label>
</div>`
</div>`
}
}
}]
}
};
]
if
(
res
.
code
==
0
)
{
if
(
res
.
code
==
0
)
{
let
{
data
}
=
res
;
let
{
data
}
=
res
;
let
columnsData
=
data
[
0
].
skuSpecList
let
columnsData
=
data
[
0
].
skuSpecList
...
@@ -205,18 +188,38 @@
...
@@ -205,18 +188,38 @@
columnsData
.
forEach
((
item
,
index
)
=>
{
columnsData
.
forEach
((
item
,
index
)
=>
{
obj
.
field
=
'specVname'
+
index
+
''
;
obj
.
field
=
'specVname'
+
index
+
''
;
obj
.
title
=
item
.
specName
;
obj
.
title
=
item
.
specName
;
options
.
columns
.
unshift
(
obj
)
column
.
unshift
({...
obj
}
)
})
})
}
}
datas
=
data
.
map
(
item
=>
{
datas
=
data
.
map
(
item
=>
{
item
.
skuSpecList
.
forEach
((
d
,
i
)
=>
[
item
.
skuSpecList
.
forEach
((
d
,
i
)
=>
[
item
[
'specVname'
+
i
ndex
+
''
]
=
d
.
specName
item
[
'specVname'
+
i
+
''
]
=
d
.
specName
])
])
return
item
return
item
})
})
}
var
options
=
{
id
:
'setTable'
,
// url: '/goblin/marketing/zhengzai/sku',
createUrl
:
prefix2
+
"/addNewActivity"
,
detailUrl
:
prefix2
+
"/addNewActivity?id={id}"
,
removeUrl
:
prefix
+
"/cancel/{id}"
,
openTab
:
prefix2
+
"/activityStoreList/id={id}"
,
// exportUrl: prefix + "/export",
sortName
:
"createdAt"
,
sortOrder
:
"desc"
,
modalName
:
"活动"
,
showSearch
:
false
,
showRefresh
:
false
,
showColumns
:
false
,
showToggle
:
false
,
pagination
:
false
,
data
:
datas
,
columns
:
column
};
$
.
table
.
init
(
options
);
$
.
table
.
init
(
options
);
}
}
}
})
})
return
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