Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
SuperMan
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
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
罗超
SuperMan
Commits
f0429019
Commit
f0429019
authored
Nov 13, 2023
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
优惠卷列表修改
parent
a00316c4
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
33 deletions
+18
-33
CouponList.vue
src/components/activity/CouponList.vue
+18
-33
No files found.
src/components/activity/CouponList.vue
View file @
f0429019
...
@@ -26,9 +26,6 @@
...
@@ -26,9 +26,6 @@
cursor
:
pointer
;
cursor
:
pointer
;
}
}
/* .page_CouponList .el-button.is-circle{
border-radius: 4px
} */
.text_al_left
{
.text_al_left
{
text-align
:
left
;
text-align
:
left
;
padding
:
0
10px
;
padding
:
0
10px
;
...
@@ -100,7 +97,6 @@
...
@@ -100,7 +97,6 @@
</el-select>
</el-select>
</span>
</span>
</li>
</li>
<li>
<li>
<input
type=
"button"
class=
"hollowFixedBtn"
:value=
"$t('pub.searchBtn')"
@
click=
"resetPageIndex(),getList()"
>
<input
type=
"button"
class=
"hollowFixedBtn"
:value=
"$t('pub.searchBtn')"
@
click=
"resetPageIndex(),getList()"
>
...
@@ -150,7 +146,6 @@
...
@@ -150,7 +146,6 @@
<td>
{{
item
.
couponsType
===
1
?
$t
(
'active.cl_dyquan'
)
:
$t
(
'active.cl_zkquan'
)
}}
</td>
<td>
{{
item
.
couponsType
===
1
?
$t
(
'active.cl_dyquan'
)
:
$t
(
'active.cl_zkquan'
)
}}
</td>
<td>
{{
item
.
useCondition
}}
</td>
<td>
{{
item
.
useCondition
}}
</td>
<td>
{{
item
.
denomination
}}
</td>
<td>
{{
item
.
denomination
}}
</td>
<!--
<td>
{{
item
.
useState
}}
</td>
-->
<td>
{{
item
.
overlapUse
===
0
?
$t
(
'active.cl_byxu'
)
:
$t
(
'active.cl_yuncu'
)
}}
</td>
<td>
{{
item
.
overlapUse
===
0
?
$t
(
'active.cl_byxu'
)
:
$t
(
'active.cl_yuncu'
)
}}
</td>
<td>
{{
item
.
effectDate
}}
</td>
<td>
{{
item
.
effectDate
}}
</td>
<td>
<td>
...
@@ -399,7 +394,6 @@
...
@@ -399,7 +394,6 @@
v-model=
"addMsg.expansionModel.denomination"
:placeholder=
"$t('active.cl_dkjezk')"
></el-input>
v-model=
"addMsg.expansionModel.denomination"
:placeholder=
"$t('active.cl_dkjezk')"
></el-input>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
<el-col
:span=
"12"
>
<el-col
:span=
"12"
>
<el-form-item
label=
"订单人数"
>
<el-form-item
label=
"订单人数"
>
<el-input
v-model=
"addMsg.expansionModel.orderGuestNum"
class=
"w217"
type=
"number"
/>
<el-input
v-model=
"addMsg.expansionModel.orderGuestNum"
class=
"w217"
type=
"number"
/>
...
@@ -421,7 +415,6 @@
...
@@ -421,7 +415,6 @@
<button
class=
"normalBtn"
@
click=
"submitForm('addMsg')"
>
{{
$t
(
'pub.saveBtn'
)
}}
</button>
<button
class=
"normalBtn"
@
click=
"submitForm('addMsg')"
>
{{
$t
(
'pub.saveBtn'
)
}}
</button>
</div>
</div>
</el-dialog>
</el-dialog>
<el-dialog
custom-class=
'w400'
title=
"修改当日活动库存"
:visible
.
sync=
"updateKucundialog"
center
>
<el-dialog
custom-class=
'w400'
title=
"修改当日活动库存"
:visible
.
sync=
"updateKucundialog"
center
>
<el-form
label-width=
"150px"
>
<el-form
label-width=
"150px"
>
<el-form-item
label=
"修改当日活动库存"
>
<el-form-item
label=
"修改当日活动库存"
>
...
@@ -434,7 +427,6 @@
...
@@ -434,7 +427,6 @@
<el-button
size=
"small"
type=
"danger"
@
click=
"sureUpdatekucun()"
>
确 定
</el-button>
<el-button
size=
"small"
type=
"danger"
@
click=
"sureUpdatekucun()"
>
确 定
</el-button>
</span>
</span>
</el-dialog>
</el-dialog>
</div>
</div>
</
template
>
</
template
>
<
script
>
<
script
>
...
@@ -471,7 +463,6 @@
...
@@ -471,7 +463,6 @@
RateOn
:
"-1"
,
RateOn
:
"-1"
,
Title
:
""
,
//团名
Title
:
""
,
//团名
},
},
leaveBtn
:
""
,
leaveBtn
:
""
,
leaveId
:
""
,
leaveId
:
""
,
loading
:
true
,
loading
:
true
,
...
@@ -623,8 +614,9 @@
...
@@ -623,8 +614,9 @@
this
.
getCouponPlatformEnum
();
this
.
getCouponPlatformEnum
();
this
.
getLineList
();
this
.
getLineList
();
},
},
filters
:
{
},
filters
:
{
},
methods
:
{
methods
:
{
getcouponPriceList
()
{
getcouponPriceList
()
{
this
.
addMsg
.
couponPriceList
=
[]
this
.
addMsg
.
couponPriceList
=
[]
...
@@ -659,8 +651,7 @@
...
@@ -659,8 +651,7 @@
})
})
}
}
}
}
},
}
err
=>
{}
);
);
},
},
GetAuth
()
{
GetAuth
()
{
...
@@ -704,9 +695,9 @@
...
@@ -704,9 +695,9 @@
res
=>
{
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
layerCompanyList
=
res
.
data
.
data
;
this
.
layerCompanyList
=
res
.
data
.
data
;
}
else
{}
this
.
companyList
=
res
.
data
.
data
;
},
}
err
=>
{
}
}
);
);
},
},
getCouponPlatformEnum
()
{
getCouponPlatformEnum
()
{
...
@@ -716,22 +707,21 @@
...
@@ -716,22 +707,21 @@
res
=>
{
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
CouponPlatformEnumList
=
res
.
data
.
data
;
this
.
CouponPlatformEnumList
=
res
.
data
.
data
;
}
else
{}
}
},
}
err
=>
{}
);
);
},
},
getList
()
{
getList
()
{
//获取数据
//获取数据
this
.
loading
=
true
this
.
loading
=
true
this
.
apipost
(
"coupon_post_GetPageList"
,
this
.
msg
,
res
=>
{
this
.
apipost
(
"coupon_post_GetPageList"
,
this
.
msg
,
res
=>
{
this
.
loading
=
false
if
(
res
.
data
.
resultCode
===
1
)
{
if
(
res
.
data
.
resultCode
===
1
)
{
this
.
total
=
res
.
data
.
data
.
count
this
.
total
=
res
.
data
.
data
.
count
this
.
DataList
=
res
.
data
.
data
.
pageData
;
this
.
DataList
=
res
.
data
.
data
.
pageData
;
}
else
{
}
else
{
this
.
$message
.
error
(
res
.
data
.
message
)
this
.
$message
.
error
(
res
.
data
.
message
)
}
}
this
.
loading
=
false
},
null
);
},
null
);
},
},
// 跳转优惠券发放详情
// 跳转优惠券发放详情
...
@@ -763,7 +753,6 @@
...
@@ -763,7 +753,6 @@
if
(
sDate
>
eDate
)
{
if
(
sDate
>
eDate
)
{
return
this
.
$message
.
error
(
this
.
$t
(
'rule.yxjzrbxdyksshijian'
))
return
this
.
$message
.
error
(
this
.
$t
(
'rule.yxjzrbxdyksshijian'
))
}
}
let
sactivityStartDate
=
new
Date
(
this
.
addMsg
.
activityStartDate
)
let
sactivityStartDate
=
new
Date
(
this
.
addMsg
.
activityStartDate
)
let
eactivityEndDate
=
new
Date
(
this
.
addMsg
.
activityEndDate
)
let
eactivityEndDate
=
new
Date
(
this
.
addMsg
.
activityEndDate
)
if
(
sactivityStartDate
>
eactivityEndDate
)
{
if
(
sactivityStartDate
>
eactivityEndDate
)
{
...
@@ -779,9 +768,7 @@
...
@@ -779,9 +768,7 @@
}
else
{
}
else
{
this
.
$message
.
error
(
res
.
data
.
message
);
this
.
$message
.
error
(
res
.
data
.
message
);
}
}
},
});
err
=>
{}
);
},
},
//获取线路列表
//获取线路列表
getLineList
()
{
getLineList
()
{
...
@@ -819,7 +806,6 @@
...
@@ -819,7 +806,6 @@
this
.
addMsg
.
groupId
=
item
.
groupId
this
.
addMsg
.
groupId
=
item
.
groupId
this
.
addMsg
.
branchId
=
item
.
branchId
this
.
addMsg
.
branchId
=
item
.
branchId
this
.
addMsg
.
lineId
=
item
.
lineId
this
.
addMsg
.
lineId
=
item
.
lineId
//this.addMsg.expansionModel=item.expansionModel
this
.
addMsg
.
denomination
=
item
.
denomination
this
.
addMsg
.
denomination
=
item
.
denomination
this
.
addMsg
.
overlapUse
=
item
.
overlapUse
this
.
addMsg
.
overlapUse
=
item
.
overlapUse
this
.
addMsg
.
useCondition
=
item
.
useCondition
this
.
addMsg
.
useCondition
=
item
.
useCondition
...
@@ -841,7 +827,6 @@
...
@@ -841,7 +827,6 @@
denomination
:
""
,
denomination
:
""
,
orderGuestNum
:
""
orderGuestNum
:
""
}
}
}
else
{
}
else
{
this
.
addMsg
.
expansionModel
=
item
.
expansionModel
this
.
addMsg
.
expansionModel
=
item
.
expansionModel
}
}
...
...
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