Commit e31c7a45 authored by xd's avatar xd

优惠券ID写死

parent eafb8c60
......@@ -145,12 +145,12 @@
class="right noborder"
readonly
clickable
:value="addForm.couponId"
:value="addForm.couponIds"
placeholder="请输入优惠券ID"
@touchstart.native.stop="unitShow = true"
/>
<van-number-keyboard
v-model="addForm.couponId "
v-model="addForm.couponIds "
:show="unitShow"
@blur="unitShow = false"
/>
......@@ -228,13 +228,14 @@ export default {
unit: '',
instruction: '',
limitOfUse: '',
couponId: '',
couponIds: '',
remind: '',
usageMax: '',
salesAmount: '',
usageAmount: '',
deptId: '',
cxcode: ''
cxcode: '',
couponId: 126
},
typeList: ['现金券'],
storeList: [
......@@ -326,7 +327,7 @@ export default {
this.$toast("请输入结束时间")
return false
}
if(!this.addForm.couponId){
if(!this.addForm.couponIds){
this.$toast("请输入优惠券ID")
return false
}
......@@ -351,7 +352,6 @@ export default {
this.$toast("请输入用券金额")
return false
}
addCoupon(this.addForm).then(res => {
console.log(res,'res')
if(res.errorCode == "fail") {
......
......@@ -375,6 +375,7 @@ export default {
})
},
// 获取店铺新增粉丝
getAllNewFans() {
let params = {
oyStallCode: this.oyStallCode
......@@ -386,6 +387,7 @@ export default {
console.log(err);
})
},
// 获取新增粉丝
getAddFans(flag, userId) {
let JsonStr = {}
if (flag == 1) {
......
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