Commit 968f7c06 authored by 石家欣's avatar 石家欣

sjx

parent 42d9c1d7
...@@ -199,14 +199,14 @@ ...@@ -199,14 +199,14 @@
<!-- @scroll="" --> <!-- @scroll="" -->
<scroll-view class="scroll-view_H" style="height: 50vh;" scroll-y="true" > <scroll-view class="scroll-view_H" style="height: 50vh;" scroll-y="true" >
<view class="chindlist "> <view class="chindlist ">
<checkbox-group class="flex ali-c flex-wrap chilidlistbox" @change="radioChange2" v-model="parameter.goods_id"> <radio-group class="flex ali-c flex-wrap chilidlistbox" @change="radioChange2" v-model="parameter.goods_id">
<label class="flex ali-c jus-b itemlable" v-for="(item,index) in shoplist" :key="index"> <label class="flex ali-c jus-b itemlable" v-for="(item,index) in shoplist" :key="index">
<view class="itemname">{{item.product_name}}</view> <view class="itemname">{{item.product_name}}</view>
<view class="checkbox"> <view class="checkbox">
<checkbox color="#FF6900" :value="item.product_id" :checked="item.checked" /> <radio color="#FF6900" @change="radioChange2" :value="item.product_id" :checked="item.checked" />
</view> </view>
</label> </label>
</checkbox-group> </radio-group>
<view class="xiayiye title" @tap="nextPage" v-if="xianshi" >下一页>>></view> <view class="xiayiye title" @tap="nextPage" v-if="xianshi" >下一页>>></view>
<view class="xiayiye title" @tap="nextPage" v-else >没有更多了~</view> <view class="xiayiye title" @tap="nextPage" v-else >没有更多了~</view>
</view> </view>
...@@ -273,7 +273,6 @@ ...@@ -273,7 +273,6 @@
max_fetch: "",//每人最大可以使用 max_fetch: "",//每人最大可以使用
money: "",//金额 money: "",//金额
range_type: "1",//参与的商品 1全部 0部分 range_type: "1",//参与的商品 1全部 0部分
//id:"", //优惠劵id 编辑必传
action:"add",//编辑必传 方式(添加add,修改edit) action:"add",//编辑必传 方式(添加add,修改edit)
}, },
...@@ -399,7 +398,7 @@ ...@@ -399,7 +398,7 @@
//coupons 商户发放卡券 提交发放卡券的方法 submit //coupons 商户发放卡券 提交发放卡券的方法 submit
async coupons(){ async coupons(){
let can = this.parameter; let can = this.parameter;
can.goods_id = can.goods_id.join(","); // can.goods_id = can.goods_id.join(";");
let res = await addEditCoupons(can); let res = await addEditCoupons(can);
if(res.code==0){ if(res.code==0){
...@@ -536,6 +535,7 @@ ...@@ -536,6 +535,7 @@
max_fetch: "",//每人最大可以使用 max_fetch: "",//每人最大可以使用
money: "",//金额 money: "",//金额
range_type: "1",//参与的商品 1全部 0部分 range_type: "1",//参与的商品 1全部 0部分
action:'add'
}; };
}, },
taggleTab(inde){ taggleTab(inde){
......
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