diff --git a/api/trading-floor.js b/api/trading-floor.js index c0cd124..c50c5c5 100644 --- a/api/trading-floor.js +++ b/api/trading-floor.js @@ -23,7 +23,7 @@ export function getCommunityList(data) { * */ export function getCommunityshow(data) { - console.log(data) + return request.get('community/show/'+data,{}, { noAuth: true }); @@ -34,7 +34,7 @@ export function getCommunityshow(data) { * */ export function getCommunitygetOrderList(data) { - return request.get('community/getOrderList', data, { + return request.get('community/product/lst', data, { noAuth: true }); } diff --git a/components/orderGoods/index.vue b/components/orderGoods/index.vue index 3688141..86242be 100644 --- a/components/orderGoods/index.vue +++ b/components/orderGoods/index.vue @@ -25,7 +25,8 @@ {{ item.cart_info.productPresell.delivery_type === 1 ? '支付尾款后' : '预售结束后' }}{{ item.cart_info.productPresell.delivery_day }}天内 - 申请退款 + + 申请退款 退款中 x {{item.product_num - item.refund_num}} 已退款 x {{item.product_num - item.refund_num}} 去评价 @@ -73,7 +74,7 @@ 退款中 x {{item.product_num - item.refund_num}} 已退款 x {{item.product_num - item.refund_num}} - 申请退款 + 申请退款 去评价 已评价 diff --git a/components/release/release.vue b/components/release/release.vue index 41c69c1..2265738 100644 --- a/components/release/release.vue +++ b/components/release/release.vue @@ -63,14 +63,16 @@ }, methods: { navigtion(item) { - if (item.title1 = '发布调货商品') { - uni.navigateTo({ - url: '/pages/trading_hall/adddiscounts/index' - }) - } else { + + if (item.title1 =='发布调货商品') { uni.navigateTo({ url: '/pages/trading_hall/transfer_goods/index' }) + } else { + + uni.navigateTo({ + url: '/pages/trading_hall/adddiscounts/index' + }) } }, close() { diff --git a/components/shoppinglist/shoppinglist.vue b/components/shoppinglist/shoppinglist.vue index 0af82a1..3628d5c 100644 --- a/components/shoppinglist/shoppinglist.vue +++ b/components/shoppinglist/shoppinglist.vue @@ -16,11 +16,11 @@ - + - - @@ -30,9 +30,17 @@ {{item.store_name}} - - - 采购价格:100 库存:100 + + + + + {{item.attrValue[index].sku}} + + + + + 库存:{{item.stock}} @@ -47,19 +55,10 @@ 出售数量 - - + + @@ -80,11 +79,10 @@