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 @@
cursor
:
pointer
;
}
/* .page_CouponList .el-button.is-circle{
border-radius: 4px
} */
.text_al_left
{
text-align
:
left
;
padding
:
0
10px
;
...
...
@@ -100,7 +97,6 @@
</el-select>
</span>
</li>
<li>
<input
type=
"button"
class=
"hollowFixedBtn"
:value=
"$t('pub.searchBtn')"
@
click=
"resetPageIndex(),getList()"
>
...
...
@@ -150,7 +146,6 @@
<td>
{{
item
.
couponsType
===
1
?
$t
(
'active.cl_dyquan'
)
:
$t
(
'active.cl_zkquan'
)
}}
</td>
<td>
{{
item
.
useCondition
}}
</td>
<td>
{{
item
.
denomination
}}
</td>
<!--
<td>
{{
item
.
useState
}}
</td>
-->
<td>
{{
item
.
overlapUse
===
0
?
$t
(
'active.cl_byxu'
)
:
$t
(
'active.cl_yuncu'
)
}}
</td>
<td>
{{
item
.
effectDate
}}
</td>
<td>
...
...
@@ -399,7 +394,6 @@
v-model=
"addMsg.expansionModel.denomination"
:placeholder=
"$t('active.cl_dkjezk')"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"12"
>
<el-form-item
label=
"订单人数"
>
<el-input
v-model=
"addMsg.expansionModel.orderGuestNum"
class=
"w217"
type=
"number"
/>
...
...
@@ -421,7 +415,6 @@
<button
class=
"normalBtn"
@
click=
"submitForm('addMsg')"
>
{{
$t
(
'pub.saveBtn'
)
}}
</button>
</div>
</el-dialog>
<el-dialog
custom-class=
'w400'
title=
"修改当日活动库存"
:visible
.
sync=
"updateKucundialog"
center
>
<el-form
label-width=
"150px"
>
<el-form-item
label=
"修改当日活动库存"
>
...
...
@@ -434,7 +427,6 @@
<el-button
size=
"small"
type=
"danger"
@
click=
"sureUpdatekucun()"
>
确 定
</el-button>
</span>
</el-dialog>
</div>
</
template
>
<
script
>
...
...
@@ -471,7 +463,6 @@
RateOn
:
"-1"
,
Title
:
""
,
//团名
},
leaveBtn
:
""
,
leaveId
:
""
,
loading
:
true
,
...
...
@@ -623,8 +614,9 @@
this
.
getCouponPlatformEnum
();
this
.
getLineList
();
},
filters
:
{
},
filters
:
{
},
methods
:
{
getcouponPriceList
()
{
this
.
addMsg
.
couponPriceList
=
[]
...
...
@@ -659,8 +651,7 @@
})
}
}
},
err
=>
{}
}
);
},
GetAuth
()
{
...
...
@@ -704,9 +695,9 @@
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
layerCompanyList
=
res
.
data
.
data
;
}
else
{}
},
err
=>
{
}
this
.
companyList
=
res
.
data
.
data
;
}
}
);
},
getCouponPlatformEnum
()
{
...
...
@@ -716,22 +707,21 @@
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
CouponPlatformEnumList
=
res
.
data
.
data
;
}
else
{}
},
err
=>
{}
}
}
);
},
getList
()
{
//获取数据
this
.
loading
=
true
this
.
apipost
(
"coupon_post_GetPageList"
,
this
.
msg
,
res
=>
{
this
.
loading
=
false
if
(
res
.
data
.
resultCode
===
1
)
{
this
.
total
=
res
.
data
.
data
.
count
this
.
DataList
=
res
.
data
.
data
.
pageData
;
}
else
{
this
.
$message
.
error
(
res
.
data
.
message
)
}
this
.
loading
=
false
},
null
);
},
// 跳转优惠券发放详情
...
...
@@ -763,7 +753,6 @@
if
(
sDate
>
eDate
)
{
return
this
.
$message
.
error
(
this
.
$t
(
'rule.yxjzrbxdyksshijian'
))
}
let
sactivityStartDate
=
new
Date
(
this
.
addMsg
.
activityStartDate
)
let
eactivityEndDate
=
new
Date
(
this
.
addMsg
.
activityEndDate
)
if
(
sactivityStartDate
>
eactivityEndDate
)
{
...
...
@@ -779,9 +768,7 @@
}
else
{
this
.
$message
.
error
(
res
.
data
.
message
);
}
},
err
=>
{}
);
});
},
//获取线路列表
getLineList
()
{
...
...
@@ -819,7 +806,6 @@
this
.
addMsg
.
groupId
=
item
.
groupId
this
.
addMsg
.
branchId
=
item
.
branchId
this
.
addMsg
.
lineId
=
item
.
lineId
//this.addMsg.expansionModel=item.expansionModel
this
.
addMsg
.
denomination
=
item
.
denomination
this
.
addMsg
.
overlapUse
=
item
.
overlapUse
this
.
addMsg
.
useCondition
=
item
.
useCondition
...
...
@@ -841,7 +827,6 @@
denomination
:
""
,
orderGuestNum
:
""
}
}
else
{
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