Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
marketing
Overview
Overview
Details
Activity
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
marketing-web
marketing
Commits
f844c9dc
Commit
f844c9dc
authored
Feb 20, 2021
by
chenxin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: card 历史数据不校验carddon
parent
ddf22833
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
12 additions
and
5 deletions
+12
-5
index.html
dist/index.html
+2
-2
card.af8b9648e1b47492fbdc.js
dist/static/js/card.af8b9648e1b47492fbdc.js
+0
-0
manifest.9d5ef98a20a157b36a7d.js
dist/static/js/manifest.9d5ef98a20a157b36a7d.js
+2
-2
form.js
src/views/card/form.js
+8
-1
No files found.
dist/index.html
View file @
f844c9dc
<!DOCTYPE html>
<html><head><meta
charset=
utf-8
><meta
name=
viewport
content=
"width=device-width,initial-scale=1"
><link
rel=
"shortcut icon"
href=
./static/img/favicon.ico
><title>
GIC后台
</title><link
rel=
stylesheet
type=
text/css
href=
static/fonts/iconfont.css
><link
rel=
stylesheet
type=
text/css
href=
static/css/common.css
><link
rel=
stylesheet
href=
//web-1251519181.file.myqcloud.com/components/element.2.12.0.css
><link
href=
/marketing/static/css/main.f7c05bd3d2a9602b8d6de0b55ae8c739.css
rel=
stylesheet
></head><body><div
id=
app
></div><script
src=
//web-1251519181.file.myqcloud.com/lib/vue/2.5.2/vue.min.js
></script><script
src=
//web-1251519181.file.myqcloud.com/lib/vue-router/3.0.2/vue-router.min.js
></script><script
src=
//web-1251519181.file.myqcloud.com/lib/vuex/3.1.0/vuex.min.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/element.2.12.0.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/header.2.0.45.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/footer.2.0.04.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/card.2.0.19.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/store.2.0.01.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/img-preview.2.0.00.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/member-group.2.2.28.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/store-card.2.0.30.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/store-new.2.0.71.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/confirm-people.2.0.06.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/people.2.0.43.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/export-excel.2.0.16.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/input.2.0.20.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/delete.2.0.00.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/selector.1.2.20.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/pagination.1.0.8.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/track.1.0.4.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/activity-select.1.0.2.1.js
></script><script
type=
text/javascript
src=
/marketing/static/js/manifest.83694b2d0e147740e649.js
></script><script
type=
text/javascript
src=
/marketing/static/js/vendor.fef1c3d3b3b586faaee2.js
></script><script
type=
text/javascript
src=
/marketing/static/js/main.42b83750b6050a394ad3.js
></script></body></html>
\ No newline at end of file
<!DOCTYPE html>
<html><head><meta
charset=
utf-8
><meta
name=
viewport
content=
"width=device-width,initial-scale=1"
><link
rel=
"shortcut icon"
href=
./static/img/favicon.ico
><title>
GIC后台
</title><link
rel=
stylesheet
type=
text/css
href=
static/fonts/iconfont.css
><link
rel=
stylesheet
type=
text/css
href=
static/css/common.css
><link
rel=
stylesheet
href=
//web-1251519181.file.myqcloud.com/components/element.2.12.0.css
><link
href=
/marketing/static/css/main.f7c05bd3d2a9602b8d6de0b55ae8c739.css
rel=
stylesheet
></head><body><div
id=
app
></div><script
src=
//web-1251519181.file.myqcloud.com/lib/vue/2.5.2/vue.min.js
></script><script
src=
//web-1251519181.file.myqcloud.com/lib/vue-router/3.0.2/vue-router.min.js
></script><script
src=
//web-1251519181.file.myqcloud.com/lib/vuex/3.1.0/vuex.min.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/element.2.12.0.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/header.2.0.45.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/footer.2.0.04.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/card.2.0.19.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/store.2.0.01.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/img-preview.2.0.00.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/member-group.2.2.28.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/store-card.2.0.30.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/store-new.2.0.71.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/confirm-people.2.0.06.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/people.2.0.43.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/export-excel.2.0.16.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/input.2.0.20.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/delete.2.0.00.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/selector.1.2.20.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/pagination.1.0.8.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/track.1.0.4.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/activity-select.1.0.2.1.js
></script><script
type=
text/javascript
src=
/marketing/static/js/manifest.9d5ef98a20a157b36a7d.js
></script><script
type=
text/javascript
src=
/marketing/static/js/vendor.fef1c3d3b3b586faaee2.js
></script><script
type=
text/javascript
src=
/marketing/static/js/main.42b83750b6050a394ad3.js
></script></body></html>
\ No newline at end of file
dist/static/js/card.
45a4020140f7de4a1c02
.js
→
dist/static/js/card.
af8b9648e1b47492fbdc
.js
View file @
f844c9dc
This source diff could not be displayed because it is too large. You can
view the blob
instead.
dist/static/js/manifest.
83694b2d0e147740e649
.js
→
dist/static/js/manifest.
9d5ef98a20a157b36a7d
.js
View file @
f844c9dc
!
function
(
e
){
var
c
=
window
.
webpackJsonp
;
window
.
webpackJsonp
=
function
(
r
,
o
,
a
){
for
(
var
f
,
i
,
u
,
d
=
0
,
s
=
[];
d
<
r
.
length
;
d
++
)
i
=
r
[
d
],
n
[
i
]
&&
s
.
push
(
n
[
i
][
0
]),
n
[
i
]
=
0
;
for
(
f
in
o
)
Object
.
prototype
.
hasOwnProperty
.
call
(
o
,
f
)
&&
(
e
[
f
]
=
o
[
f
]);
for
(
c
&&
c
(
r
,
o
,
a
);
s
.
length
;)
s
.
shift
()();
if
(
a
)
for
(
d
=
0
;
d
<
a
.
length
;
d
++
)
u
=
t
(
t
.
s
=
a
[
d
]);
return
u
};
var
r
=
{},
n
=
{
15
:
0
};
function
t
(
c
){
if
(
r
[
c
])
return
r
[
c
].
exports
;
var
n
=
r
[
c
]
=
{
i
:
c
,
l
:
!
1
,
exports
:{}};
return
e
[
c
].
call
(
n
.
exports
,
n
,
n
.
exports
,
t
),
n
.
l
=!
0
,
n
.
exports
}
t
.
e
=
function
(
e
){
var
c
=
n
[
e
];
if
(
0
===
c
)
return
new
Promise
(
function
(
e
){
e
()});
if
(
c
)
return
c
[
2
];
var
r
=
new
Promise
(
function
(
r
,
t
){
c
=
n
[
e
]
=
[
r
,
t
]});
c
[
2
]
=
r
;
var
o
=
document
.
getElementsByTagName
(
"head"
)[
0
],
a
=
document
.
createElement
(
"script"
);
a
.
type
=
"text/javascript"
,
a
.
charset
=
"utf-8"
,
a
.
async
=!
0
,
a
.
timeout
=
12
e4
,
t
.
nc
&&
a
.
setAttribute
(
"nonce"
,
t
.
nc
),
a
.
src
=
t
.
p
+
"static/js/"
+
({
0
:
"card"
,
1
:
"game"
,
2
:
"wechat"
,
3
:
"message"
,
4
:
"ewash"
,
5
:
"scan"
,
6
:
"ecm"
,
7
:
"evaluation"
,
8
:
"activity"
,
9
:
"cdKey"
,
10
:
"recharge"
,
11
:
"msg"
,
12
:
"calllog"
}[
e
]
||
e
)
+
"."
+
{
0
:
"45a4020140f7de4a1c02"
,
1
:
"4e36dc6b55e0fd2d3c84"
,
2
:
"5dc639c3066c5b1b26cf"
,
3
:
"6413b55f63391becb1ba"
,
4
:
"c8a5e5c668cdc258c3c4"
,
5
:
"c5259ccf38eb5ea9a2cf"
,
6
:
"d92dcc7198b8909e9ace"
,
7
:
"45f7d7f2d664f384f7d1"
,
8
:
"35efeb2ae926b54b4341"
,
9
:
"acd1803f49e3f7121560"
,
10
:
"e5cd16e4f5e1229ea313"
,
11
:
"00a6edc9657c9e4c34fa"
,
12
:
"f1c9fa1ccd0d36ae0602"
}[
e
]
+
".js"
;
var
f
=
setTimeout
(
i
,
12
e4
);
function
i
(){
a
.
onerror
=
a
.
onload
=
null
,
clearTimeout
(
f
);
var
c
=
n
[
e
];
0
!==
c
&&
(
c
&&
c
[
1
](
new
Error
(
"Loading chunk "
+
e
+
" failed."
)),
n
[
e
]
=
void
0
)}
return
a
.
onerror
=
a
.
onload
=
i
,
o
.
appendChild
(
a
),
r
},
t
.
m
=
e
,
t
.
c
=
r
,
t
.
d
=
function
(
e
,
c
,
r
){
t
.
o
(
e
,
c
)
||
Object
.
defineProperty
(
e
,
c
,{
configurable
:
!
1
,
enumerable
:
!
0
,
get
:
r
})},
t
.
n
=
function
(
e
){
var
c
=
e
&&
e
.
__esModule
?
function
(){
return
e
.
default
}:
function
(){
return
e
};
return
t
.
d
(
c
,
"a"
,
c
),
c
},
t
.
o
=
function
(
e
,
c
){
return
Object
.
prototype
.
hasOwnProperty
.
call
(
e
,
c
)},
t
.
p
=
"/marketing/"
,
t
.
oe
=
function
(
e
){
throw
console
.
error
(
e
),
e
}}([]);
\ No newline at end of file
!
function
(
e
){
var
c
=
window
.
webpackJsonp
;
window
.
webpackJsonp
=
function
(
r
,
o
,
a
){
for
(
var
f
,
i
,
u
,
d
=
0
,
s
=
[];
d
<
r
.
length
;
d
++
)
i
=
r
[
d
],
n
[
i
]
&&
s
.
push
(
n
[
i
][
0
]),
n
[
i
]
=
0
;
for
(
f
in
o
)
Object
.
prototype
.
hasOwnProperty
.
call
(
o
,
f
)
&&
(
e
[
f
]
=
o
[
f
]);
for
(
c
&&
c
(
r
,
o
,
a
);
s
.
length
;)
s
.
shift
()();
if
(
a
)
for
(
d
=
0
;
d
<
a
.
length
;
d
++
)
u
=
t
(
t
.
s
=
a
[
d
]);
return
u
};
var
r
=
{},
n
=
{
15
:
0
};
function
t
(
c
){
if
(
r
[
c
])
return
r
[
c
].
exports
;
var
n
=
r
[
c
]
=
{
i
:
c
,
l
:
!
1
,
exports
:{}};
return
e
[
c
].
call
(
n
.
exports
,
n
,
n
.
exports
,
t
),
n
.
l
=!
0
,
n
.
exports
}
t
.
e
=
function
(
e
){
var
c
=
n
[
e
];
if
(
0
===
c
)
return
new
Promise
(
function
(
e
){
e
()});
if
(
c
)
return
c
[
2
];
var
r
=
new
Promise
(
function
(
r
,
t
){
c
=
n
[
e
]
=
[
r
,
t
]});
c
[
2
]
=
r
;
var
o
=
document
.
getElementsByTagName
(
"head"
)[
0
],
a
=
document
.
createElement
(
"script"
);
a
.
type
=
"text/javascript"
,
a
.
charset
=
"utf-8"
,
a
.
async
=!
0
,
a
.
timeout
=
12
e4
,
t
.
nc
&&
a
.
setAttribute
(
"nonce"
,
t
.
nc
),
a
.
src
=
t
.
p
+
"static/js/"
+
({
0
:
"card"
,
1
:
"game"
,
2
:
"wechat"
,
3
:
"message"
,
4
:
"ewash"
,
5
:
"scan"
,
6
:
"ecm"
,
7
:
"evaluation"
,
8
:
"activity"
,
9
:
"cdKey"
,
10
:
"recharge"
,
11
:
"msg"
,
12
:
"calllog"
}[
e
]
||
e
)
+
"."
+
{
0
:
"af8b9648e1b47492fbdc"
,
1
:
"4e36dc6b55e0fd2d3c84"
,
2
:
"5dc639c3066c5b1b26cf"
,
3
:
"6413b55f63391becb1ba"
,
4
:
"c8a5e5c668cdc258c3c4"
,
5
:
"c5259ccf38eb5ea9a2cf"
,
6
:
"d92dcc7198b8909e9ace"
,
7
:
"45f7d7f2d664f384f7d1"
,
8
:
"35efeb2ae926b54b4341"
,
9
:
"acd1803f49e3f7121560"
,
10
:
"e5cd16e4f5e1229ea313"
,
11
:
"00a6edc9657c9e4c34fa"
,
12
:
"f1c9fa1ccd0d36ae0602"
}[
e
]
+
".js"
;
var
f
=
setTimeout
(
i
,
12
e4
);
function
i
(){
a
.
onerror
=
a
.
onload
=
null
,
clearTimeout
(
f
);
var
c
=
n
[
e
];
0
!==
c
&&
(
c
&&
c
[
1
](
new
Error
(
"Loading chunk "
+
e
+
" failed."
)),
n
[
e
]
=
void
0
)}
return
a
.
onerror
=
a
.
onload
=
i
,
o
.
appendChild
(
a
),
r
},
t
.
m
=
e
,
t
.
c
=
r
,
t
.
d
=
function
(
e
,
c
,
r
){
t
.
o
(
e
,
c
)
||
Object
.
defineProperty
(
e
,
c
,{
configurable
:
!
1
,
enumerable
:
!
0
,
get
:
r
})},
t
.
n
=
function
(
e
){
var
c
=
e
&&
e
.
__esModule
?
function
(){
return
e
.
default
}:
function
(){
return
e
};
return
t
.
d
(
c
,
"a"
,
c
),
c
},
t
.
o
=
function
(
e
,
c
){
return
Object
.
prototype
.
hasOwnProperty
.
call
(
e
,
c
)},
t
.
p
=
"/marketing/"
,
t
.
oe
=
function
(
e
){
throw
console
.
error
(
e
),
e
}}([]);
\ No newline at end of file
src/views/card/form.js
View file @
f844c9dc
...
...
@@ -117,6 +117,13 @@ export default {
callback
();
};
const
validCardDenomion
=
(
rule
,
value
,
callback
)
=>
{
if
((
this
.
isAdd
||
this
.
isCopy
)
&&
value
<
1
)
{
callback
(
'请输入大于0的整数'
);
return
;
}
callback
();
};
// 验证首图 转赠链接
const
validBannerJumpUrl
=
(
rule
,
value
,
callback
)
=>
{
if
(
this
.
form
.
useJumpFlag
&&
JSON
.
stringify
(
this
.
form
.
bannerJumpUrl
)
==
'{}'
)
{
...
...
@@ -147,7 +154,7 @@ export default {
// costValue: [{ message: '请输入成本费用', trigger: 'blur' }],
cardDenomination
:
[
{
required
:
true
,
message
:
'请输入减免金额'
,
trigger
:
'blur'
},
{
type
:
'number'
,
min
:
1
,
message
:
'请输入大于0的整数'
,
trigger
:
'blur
'
}
{
validator
:
validCardDenomion
,
trigger
:
'change
'
}
],
cardExplain
:
{
required
:
true
,
message
:
'适用门店说明不能为空'
,
trigger
:
'blur'
},
useDescript
:
{
required
:
true
,
message
:
'使用说明不能为空'
,
trigger
:
'blur'
},
...
...
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