Commit f4559ec7 authored by home's avatar home

zxh

parents 366275ce c12e1f71
......@@ -913,7 +913,6 @@
lunch_box_fee:this.form.lunch_box_fee,//餐盒费
action:this.form.action,//方式(添加:add,修改:edit)
price:this.form.price,//价格
cate_id:this.form.cate_id,
photo: this.c_pics.length == 0?'': this.c_pics[0].data, //图片
activity_price:this.form.activity_price,//秒杀价
store_count:this.form.store_count ,//秒杀库存
......@@ -922,6 +921,10 @@
limit_num:this.form.limit_num ,//秒杀限购数量
};
if(this.c_pics.length > 0){
can.photo = this.c_pics[0].data; //图片
}
this.storeNumber.map((item,index)=>{
if(item.checked==1){
if(index==0){
......@@ -957,7 +960,9 @@
can.product_id = this.product_id;
}
//添加修改外卖产品
console.log('这里了')
console.log('这里了9999999999999999999')
console.log(can)
addEditEleProduct(can).then((res1)=>{
console.log(res1)
if(res1.code==0){
......
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