Commit 9939e2f2 authored by 华国豪's avatar 华国豪 🙄

‘抽奖活动’

parent a5330127
...@@ -101,12 +101,12 @@ ...@@ -101,12 +101,12 @@
<td>{{item.couponCount}}</td> <td>{{item.couponCount}}</td>
<td>{{item.couponReceiveCount}}</td> <td>{{item.couponReceiveCount}}</td>
<td>{{(item.couponCount - item.couponReceiveCount) > 0 ? (item.couponCount - item.couponReceiveCount) : 0 }}</td> <td>{{(item.couponCount - item.couponReceiveCount) > 0 ? (item.couponCount - item.couponReceiveCount) : 0 }}</td>
<td>{{item.lineName}}</td> <td>{{item.lineId <= 0 ? '不限' : item.lineName}}</td>
<td>{{item.couponsType ===1 ? "抵用券" : "折扣券"}}</td> <td>{{item.couponsType ===1 ? "抵用券" : "折扣券"}}</td>
<td>{{item.useCondition}}</td> <td>{{item.useCondition}}</td>
<td>{{item.denomination}}</td> <td>{{item.denomination}}</td>
<!-- <td>{{item.useState}}</td> --> <!-- <td>{{item.useState}}</td> -->
<td>{{item.overlapUse === 1 ? "不允许" : "允许"}}</td> <td>{{item.overlapUse === 0 ? "不允许" : "允许"}}</td>
<td>{{item.effectDate}}</td> <td>{{item.effectDate}}</td>
<td>{{item.expirationDate}}</td> <td>{{item.expirationDate}}</td>
<td>{{item.createBy}}</td> <td>{{item.createBy}}</td>
...@@ -323,12 +323,13 @@ export default { ...@@ -323,12 +323,13 @@ export default {
companyList: [], companyList: [],
layerDepartMentList: [], layerDepartMentList: [],
departMentList: [], departMentList: [],
PostList: [] PostList: [],
groupId: '',
}; };
}, },
mounted() { mounted() {
let userInfo = this.getLocalStorage(); let userInfo = this.getLocalStorage();
this.msg.groupId = this.getCompanyMsg.RB_Group_Id = this.addMsg.groupId = userInfo.RB_Group_id; //集团 this.groupId = this.msg.groupId = this.getCompanyMsg.RB_Group_Id = this.addMsg.groupId = userInfo.RB_Group_id; //集团
this.msg.branchId = userInfo.RB_Branch_id; //公司 this.msg.branchId = userInfo.RB_Branch_id; //公司
this.getList(); this.getList();
this.getCompany(); this.getCompany();
...@@ -456,6 +457,20 @@ export default { ...@@ -456,6 +457,20 @@ export default {
resetForm(formName) { resetForm(formName) {
//弹出框取消 初始化谈框内表单 //弹出框取消 初始化谈框内表单
this.$refs[formName].resetFields(); this.$refs[formName].resetFields();
this.addMsg = {
couponsName: "",
effectDate: "",
expirationDate: "",
couponsType: 1,
groupId: this.groupId,
branchId: "",
lineId: "",
denomination: "",
overlapUse: 0,
useCondition: "",
id: 0,
couponCount: '',
}
} }
} }
}; };
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment