记得上下班打卡 | 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
450fcc92
Commit
450fcc92
authored
Nov 26, 2021
by
jiangxiulong
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/dev_20211205' into dev_20211205
parents
8f02edaa
e7210141
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
61 additions
and
43 deletions
+61
-43
info.html
...c/main/resources/templates/zhengzai/adam/member/info.html
+61
-43
No files found.
liquidnet-bus-client/liquidnet-client-admin/liquidnet-client-admin-web/src/main/resources/templates/zhengzai/adam/member/info.html
View file @
450fcc92
...
@@ -427,6 +427,7 @@
...
@@ -427,6 +427,7 @@
<div
class=
"pop_inner"
>
<div
class=
"pop_inner"
>
<input
type=
"hidden"
class=
"parentsIndex"
/>
<input
type=
"hidden"
class=
"parentsIndex"
/>
<input
type=
"hidden"
class=
"childIndex"
/>
<input
type=
"hidden"
class=
"childIndex"
/>
<input
type=
"hidden"
class=
"pop_oper"
/>
<!-- <div class="col-sm-10">-->
<!-- <div class="col-sm-10">-->
<!-- <input type="text" id="coupeAdd_title" name="coupeAdd_title" placeholder="券标题"/>-->
<!-- <input type="text" id="coupeAdd_title" name="coupeAdd_title" placeholder="券标题"/>-->
<!-- </div>-->
<!-- </div>-->
...
@@ -470,7 +471,7 @@
...
@@ -470,7 +471,7 @@
</div>
</div>
<div
class=
"radio-box goods_track"
>
<div
class=
"radio-box goods_track"
>
<label
for=
"radio2"
onclick=
"coupetType(this)"
>
<label
for=
"radio2"
onclick=
"coupetType(this)"
>
<input
type=
"radio"
id=
"coupetypr
3
"
class=
"coupeAddVal"
name=
"coupe_type"
value=
"4"
/>
折扣券
<input
type=
"radio"
id=
"coupetypr
4
"
class=
"coupeAddVal"
name=
"coupe_type"
value=
"4"
/>
折扣券
</label>
</label>
</div>
</div>
</div>
</div>
...
@@ -482,7 +483,7 @@
...
@@ -482,7 +483,7 @@
<div
class=
"coupetypr_search"
>
<div
class=
"coupetypr_search"
>
<div
class=
"remote_wrapper"
style=
"position: relative;"
>
<div
class=
"remote_wrapper"
style=
"position: relative;"
>
<input
name=
"ids"
type=
"hidden"
>
<input
name=
"ids"
type=
"hidden"
>
<input
type=
"text"
id=
"remoteSearch"
>
<input
type=
"text"
id=
"remoteSearch"
placeholder=
"请选择券"
>
</div>
</div>
</div>
</div>
</div>
</div>
...
@@ -576,6 +577,20 @@
...
@@ -576,6 +577,20 @@
});
});
});
});
// 远程搜索券
$
(
'#remoteSearch'
).
remoteSearchPerformance
({
ajax
:{
url
:
candyfix
+
"/list"
,
type
:
"post"
},
chose
:
function
(
text
,
val
){
window
.
couponId
=
val
;
$
(
'.user_rules'
).
show
();
coupenDetail
(
val
,
1
);
// document.getElementsByName("ids")[0].value = val;
}
});
function
tabChange
(
num
)
{
function
tabChange
(
num
)
{
window
.
localStorage
.
setItem
(
'tabActive'
,
num
);
window
.
localStorage
.
setItem
(
'tabActive'
,
num
);
}
}
...
@@ -638,8 +653,6 @@
...
@@ -638,8 +653,6 @@
var
mrightsId
=
this
.
mrightsId
;
var
mrightsId
=
this
.
mrightsId
;
var
couponId
=
this
.
couponId
;
var
couponId
=
this
.
couponId
;
console
.
log
(
this
.
couponId
);
var
MembercoupenData
=
{
var
MembercoupenData
=
{
busiType
:
Number
(
busiType
),
busiType
:
Number
(
busiType
),
couType
:
Number
(
busiType
)
==
3
?
101
:
Number
(
couType
),
couType
:
Number
(
busiType
)
==
3
?
101
:
Number
(
couType
),
...
@@ -655,8 +668,11 @@
...
@@ -655,8 +668,11 @@
valFace
:
valFace
?
valFace
:
1
,
valFace
:
valFace
?
valFace
:
1
,
valOver
:
valOver
?
valOver
:
1
,
valOver
:
valOver
?
valOver
:
1
,
valMinus
:
valMinus
?
valMinus
:
1
,
valMinus
:
valMinus
?
valMinus
:
1
,
oper
:
1
oper
:
$
(
'.pop_oper'
).
val
()
};
};
if
(
$
(
'.pop_oper'
).
val
()
==
3
)
{
MembercoupenData
.
operCouponId
=
this
.
operCouponId
;
}
$
.
operate
.
saveModalBody
(
prefix
+
"/edit_coupon"
,
JSON
.
stringify
(
MembercoupenData
),
function
()
{
$
.
operate
.
saveModalBody
(
prefix
+
"/edit_coupon"
,
JSON
.
stringify
(
MembercoupenData
),
function
()
{
$
(
'.coupe_pop'
).
hide
();
$
(
'.coupe_pop'
).
hide
();
$
(
'.cover_pop'
).
hide
();
$
(
'.cover_pop'
).
hide
();
...
@@ -707,16 +723,8 @@
...
@@ -707,16 +723,8 @@
}
}
}
}
// 远程搜索券
// 券详情
$
(
'#remoteSearch'
).
remoteSearchPerformance
({
function
coupenDetail
(
val
,
num
)
{
ajax
:{
url
:
candyfix
+
"/list"
,
type
:
"post"
},
chose
:
function
(
text
,
val
){
window
.
couponId
=
val
;
$
(
'.user_rules'
).
show
();
// document.getElementsByName("ids")[0].value = val;
$
.
ajax
({
$
.
ajax
({
url
:
candyfix
+
"/info"
,
url
:
candyfix
+
"/info"
,
async
:
false
,
async
:
false
,
...
@@ -741,13 +749,13 @@
...
@@ -741,13 +749,13 @@
}
else
if
(
coupenData
.
busiType
==
3
)
{
}
else
if
(
coupenData
.
busiType
==
3
)
{
$
(
'.user_rules .rules_inner'
).
text
(
'全部演出'
);
$
(
'.user_rules .rules_inner'
).
text
(
'全部演出'
);
}
}
if
(
num
==
3
)
{
$
(
'#remoteSearch'
).
val
(
coupenData
.
title
);
$
(
'.user_rules'
).
show
();
}
}
})
},
success
:
function
(){
}
}
})
})
}
// 权益图片上传
// 权益图片上传
function
icon
(
obj
,
num
)
{
function
icon
(
obj
,
num
)
{
$
(
'.coverFunNum'
).
val
(
num
);
$
(
'.coverFunNum'
).
val
(
num
);
...
@@ -819,6 +827,7 @@
...
@@ -819,6 +827,7 @@
function
addCoupes
(
obj
)
{
function
addCoupes
(
obj
)
{
var
addItemIndex
=
$
(
'.member-coupes'
).
index
(
$
(
obj
));
var
addItemIndex
=
$
(
'.member-coupes'
).
index
(
$
(
obj
));
$
(
'.parentsIndex'
).
val
(
addItemIndex
);
$
(
'.parentsIndex'
).
val
(
addItemIndex
);
$
(
'.pop_oper'
).
val
(
1
);
$
(
'.coupe_pop'
).
show
();
$
(
'.coupe_pop'
).
show
();
}
}
...
@@ -845,8 +854,15 @@
...
@@ -845,8 +854,15 @@
var
valOver
=
parentObj
.
find
(
'#mrcvalOver'
).
val
();
var
valOver
=
parentObj
.
find
(
'#mrcvalOver'
).
val
();
var
valMinus
=
parentObj
.
find
(
'#mrcvalMinus'
).
val
();
var
valMinus
=
parentObj
.
find
(
'#mrcvalMinus'
).
val
();
if
(
this
.
typeCoupe
==
4
)
{
$
(
'#coupetypr4'
).
parent
().
parent
().
parent
().
show
();
}
else
{
$
(
'#coupetypr4'
).
parent
().
parent
().
parent
().
hide
();
}
this
.
mrightsId
=
mrightsId
;
this
.
mrightsId
=
mrightsId
;
this
.
couponId
=
couponId
;
this
.
couponId
=
couponId
;
this
.
operCouponId
=
couponId
;
$
(
'#eventAmt'
).
val
(
eventAmt
);
$
(
'#eventAmt'
).
val
(
eventAmt
);
$
(
'#valOver'
).
val
(
valOver
);
$
(
'#valOver'
).
val
(
valOver
);
...
@@ -890,6 +906,8 @@
...
@@ -890,6 +906,8 @@
busiName
:
'优先购'
busiName
:
'优先购'
}]
}]
}
}
$
(
'.pop_oper'
).
val
(
3
);
coupenDetail
(
couponId
,
3
);
$
(
'.coupe_pop'
).
show
();
$
(
'.coupe_pop'
).
show
();
}
}
...
...
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