Commit f0429019 authored by 黄奎's avatar 黄奎

优惠卷列表修改

parent a00316c4
......@@ -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()">
&nbsp;
......@@ -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
}
......
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