Commit 4d0103d9 authored by home's avatar home

zxf

parent 366275ce
......@@ -197,7 +197,7 @@
getshopclass({}).then(res=>{
if(res.code == 0){
console.log(res.data)
// console.log(res.data)
this.ordinary = res.data.ordinary
this.weigh = res.data.weigh
this.classData[1] = Array.from(res.data.ordinary)
......@@ -207,7 +207,7 @@
}
}
console.log(this.classData[1])
// console.log(this.classData[1])
}
})
......@@ -667,6 +667,7 @@
//添加修改外卖产品
console.log('这里了')
addEditEleProduct(can).then((res1)=>{
console.log(can)
console.log(res1)
if(res1.code==0){
this.$api.msg(res1.msg);
......
......@@ -127,7 +127,7 @@
<view class="infobox" style="width: 60%;">
<view class="title oneline">{{item.product_name}}</view>
<!-- <view class="time">上架时间:{{item.create_time}}</view> -->
<view class="price">库存:{{item.code.length == 13 || item.code.length == 0 ?item.stock:item.stock/1000}}{{item.code.length == 13 || item.code.length == 0 ?'':'kg'}}</view>
<view class="price">库存:{{item.code.length == 13 || item.code.length == 0 ?item.stock:item.stock/1000}} {{item.code.length == 13 || item.code.length == 0 ?'':'kg'}}</view>
<view class="price" v-if="item.code !='' && item.code!=0" >编码:{{item.code}}</view>
</view>
<view class="btnbox flex">
......
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