记得上下班打卡 | 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
08de62eb
Commit
08de62eb
authored
Nov 01, 2022
by
张国柄
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/hjc_now' into dev_221101ZGB01
parents
4fcb6947
3cd20dec
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
1215 additions
and
43 deletions
+1215
-43
add1 copy 2.html
...rces/templates/zhengzai/candy/coupon/mgt/add1 copy 2.html
+601
-0
add1 copy.html
...ources/templates/zhengzai/candy/coupon/mgt/add1 copy.html
+613
-0
add1.html
...n/resources/templates/zhengzai/candy/coupon/mgt/add1.html
+1
-43
No files found.
liquidnet-bus-client/liquidnet-client-admin/liquidnet-client-admin-web/src/main/resources/templates/zhengzai/candy/coupon/mgt/add1 copy 2.html
0 → 100644
View file @
08de62eb
This diff is collapsed.
Click to expand it.
liquidnet-bus-client/liquidnet-client-admin/liquidnet-client-admin-web/src/main/resources/templates/zhengzai/candy/coupon/mgt/add1 copy.html
0 → 100644
View file @
08de62eb
This diff is collapsed.
Click to expand it.
liquidnet-bus-client/liquidnet-client-admin/liquidnet-client-admin-web/src/main/resources/templates/zhengzai/candy/coupon/mgt/add1.html
View file @
08de62eb
...
...
@@ -257,38 +257,14 @@
let
playMethod
=
'1'
;
// 叠加/限制
let
goodsId
=
''
;
$
(
"#scope_application"
).
hide
();
function
search
()
{
let
data
=
{
status
:
'(3,6,8,9)'
,
title
:
searchVal
}
let
str
=
''
;
promiseMethods
(
ctx
+
'kylin/base/performance/status'
,
'get'
,
data
,
'application/x-www-form-urlencoded'
).
then
(
res
=>
{
if
(
res
.
value
.
length
>
0
)
{
let
filterData
=
[];
searchData
=
[...
res
.
value
];
let
obj
=
{};
searchData
.
reduce
((
cur
,
next
)
=>
{
if
(
!
obj
[
next
.
performancesId
])
{
obj
[
next
.
performancesId
]
=
true
str
+=
`<li class="selectData" onclick="selectOne('
${
next
.
performancesId
}
','
${
next
.
title
}
')">
${
next
.
title
}
</li>`
}
},[])
//设置cur默认类型为数组,并且初始值为空的数组
$
(
'#dataList'
).
html
(
str
);
}
else
{
$
(
'#dataList'
).
html
(
'<li style="width:100%;text-align:center;color:#ccc;">--- 暂无数据 ---</li>'
);
}
})
};
function
common
(
num
)
{
console
.
log
(
num
,
'?????'
)
let
url
=
''
;
let
idField
=
''
;
let
keyField
=
''
;
let
effectiveFields
=
''
;
let
domData
=
''
;
if
(
!
num
)
{
url
=
ctx
+
'compilations/goodsList'
;
url
=
ctx
+
'compilations/goodsList
?name=
'
;
idField
=
'spuId'
;
keyField
=
'name'
;
effectiveFields
=
[
'name'
];
...
...
@@ -344,23 +320,6 @@
});;
$
(
"#searchIpt"
).
bsSuggest
.
init
}
function
getMallList
()
{
let
data
=
{
name
:
searchVal
}
let
str
=
''
;
promiseMethods
(
'/compilations/goodsList'
,
'get'
,
data
).
then
(
res
=>
{
if
(
res
.
data
.
length
>
0
)
{
searchData
=
[...
res
.
data
];
searchData
.
forEach
((
item
,
index
)
=>
{
str
+=
`<li class="selectData" onclick="selectOne('
${
item
.
spuId
}
','
${
item
.
name
}
')">
${
item
.
name
}
</li>`
})
$
(
'#dataList'
).
html
(
str
);
}
else
{
$
(
'#dataList'
).
html
(
'<li style="width:100%;text-align:center;color:#ccc;">--- 暂无数据 ---</li>'
);
}
})
};
function
selectOne
(
id
,
name
)
{
console
.
log
(
id
)
showId
=
id
;
...
...
@@ -505,7 +464,6 @@
});
function
create
()
{
if
(
!
$
(
'#valFace'
).
val
()
||
!
$
(
'#title'
).
val
()
||
!
$
(
'#num'
).
val
()
||
!
$
(
'#ticketTime'
).
val
()
||
!
$
(
'#describeTxt'
).
val
())
{
return
layer
.
msg
(
'请将必填项输入完整~!'
);
if
(
typeTwo
==
0
)
{
...
...
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