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
10663647
Commit
10663647
authored
Feb 20, 2019
by
zhangmeng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add:预提交到master
parent
6995bffe
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
9 additions
and
7 deletions
+9
-7
dist.zip
dist.zip
+0
-0
index.html
dist/index.html
+2
-2
app.db46833bbc52c4de920e.js
dist/static/js/app.db46833bbc52c4de920e.js
+0
-0
index.html
index.html
+2
-0
form.js
src/views/card/form.js
+3
-3
form.vue
src/views/card/form.vue
+2
-2
No files found.
dist.zip
View file @
10663647
No preview for this file type
dist/index.html
View file @
10663647
<!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/css/iconfont.css
><link
rel=
stylesheet
type=
text/css
href=
static/css/common.css
><link
href=
/marketing/static/css/app.570142dbac874805954309f6148bb92c.css
rel=
stylesheet
></head><body><div
id=
app
></div><script
type=
text/javascript
src=
/marketing/static/js/manifest.0a85049e489e85ac5f0a.js
></script><script
type=
text/javascript
src=
/marketing/static/js/vendor.fc6b7e10cb9b79ccb999.js
></script><script
type=
text/javascript
src=
/marketing/static/js/app.cb22e926f0a8ccda0d36.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/css/iconfont.css
><link
rel=
stylesheet
type=
text/css
href=
static/css/common.css
><link
href=
/marketing/static/css/app.570142dbac874805954309f6148bb92c.css
rel=
stylesheet
></head><body><div
id=
app
></div><script
type=
text/javascript
src=
/marketing/static/js/manifest.0a85049e489e85ac5f0a.js
></script><script
type=
text/javascript
src=
/marketing/static/js/vendor.fc6b7e10cb9b79ccb999.js
></script><script
type=
text/javascript
src=
/marketing/static/js/app.db46833bbc52c4de920e.js
></script></body></html>
\ No newline at end of file
dist/static/js/app.
cb22e926f0a8ccda0d36
.js
→
dist/static/js/app.
db46833bbc52c4de920e
.js
View file @
10663647
This source diff could not be displayed because it is too large. You can
view the blob
instead.
index.html
View file @
10663647
...
...
@@ -13,5 +13,7 @@
<div
id=
"app"
></div>
<!-- built files will be auto injected -->
<!-- <script src="https://web-1251519181.cos.ap-shanghai.myqcloud.com/header.2.0.00.js"></script>
<script src="https://web-1251519181.cos.ap-shanghai.myqcloud.com/people.2.0.00.js"></script> -->
</body>
</html>
src/views/card/form.js
View file @
10663647
...
...
@@ -9,7 +9,7 @@ import dmGoodsInput from '../../components/goods-input/index.vue';
const
initForm
=
{
cardType
:
0
,
// 1.卡券类型: 抵金券: 0; 折扣券: 1; 兑换券: 2
cardName
:
''
,
// 2.卡券名称
cardApplyChannel
:[],
// 卡券适用渠道
//
cardApplyChannel:[], // 卡券适用渠道
subName
:
''
,
// 3.备注名
subTitle
:
''
,
// 4.卡券副标题
erpDemoCode
:
''
,
// demo券号
...
...
@@ -57,7 +57,7 @@ export default {
only
:
false
,
cardLimitRadio
:
1
,
rules
:
{
cardApplyChannel
:{
required
:
true
,
type
:
'array'
,
message
:
'请选择卡券渠道'
,
trigger
:
'change'
},
//
cardApplyChannel:{required: true, type:'array', message: '请选择卡券渠道', trigger: 'change'},
cardName
:
{
required
:
true
,
message
:
'请输入卡券名称'
,
trigger
:
'blur'
},
subName
:
{
required
:
true
,
message
:
'请输入备注名称'
,
trigger
:
'blur'
},
subTitle
:
{
required
:
true
,
message
:
'请输入卡券副标题'
,
trigger
:
'blur'
},
...
...
@@ -323,7 +323,7 @@ export default {
async
saveUpdateCard
()
{
let
card
=
{},
params
=
{};
card
.
cardApplyChannel
=
this
.
form
.
cardApplyChannel
.
join
(
','
);
//
card.cardApplyChannel = this.form.cardApplyChannel.join(',');
card
.
coupCardId
=
this
.
form
.
coupCardId
;
card
.
cardType
=
this
.
form
.
cardType
;
card
.
cardName
=
this
.
form
.
cardName
;
...
...
src/views/card/form.vue
View file @
10663647
...
...
@@ -7,11 +7,11 @@
<el-radio
:label=
"2"
>
兑换券
</el-radio>
</el-radio-group>
</el-form-item>
<el-form-item
label=
"卡券适用渠道"
prop=
"cardApplyChannel"
>
<
!--
<
el-form-item
label=
"卡券适用渠道"
prop=
"cardApplyChannel"
>
<el-select
v-model=
"form.cardApplyChannel"
multiple
class=
"w400"
placeholder=
"请选择"
:disabled=
"isEdit || isInfo"
>
<el-option
v-for=
"item in cardApplyChannelOptions"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
></el-option>
</el-select>
</el-form-item>
</el-form-item>
-->
<el-form-item
prop=
"cardName"
label=
"卡券名称"
>
<dm-input
v-model=
"form.cardName"
class=
"w400"
placeholder=
"请输入卡券名称"
:disabled=
"isEdit || isInfo"
:byteType=
"1"
:maxlength=
"9"
></dm-input>
</el-form-item>
...
...
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