Merge branch 'youmengting-dev' of http://gitea.dctpay.com/yangjie/high-mini into new-dev

master
杨杰 1 year ago
commit 4bcdb8c10e
  1. 1
      pages/tabBar/classify/classify.vue
  2. 85
      physical-merchants/classify/order/orderDetail.vue
  3. 2
      physical-merchants/classify/order/wuliuPupup/wuliuPupup.vue

@ -264,6 +264,7 @@
pageNum:_this.pageData.pageStart, pageNum:_this.pageData.pageStart,
pageSize:_this.pageData.pageNum, pageSize:_this.pageData.pageNum,
price:price, price:price,
companyId:app.globalData.companyId
} }
// uni.showLoading({ // uni.showLoading({

@ -40,7 +40,8 @@
<view class=" pd-main backcolorfff border-8r"> <view class=" pd-main backcolorfff border-8r">
<!-- 商品信息 --> <!-- 商品信息 -->
<view v-for="(item,index) in goodsList" :key="index" class="paddbotm10 flex-center-sp"> <view v-for="(item,index) in goodsList" :key="index" class="paddtop10 border-b-666 ">
<view class="flex-center-sp">
<view class=""> <view class="">
<image class="st-img" :src="imageUrl+item.goodsImg" mode="aspectFill"></image> <image class="st-img" :src="imageUrl+item.goodsImg" mode="aspectFill"></image>
</view> </view>
@ -57,13 +58,21 @@
</view> </view>
</view> </view>
</view> </view>
<view class="dis-flex flex-end paddtop10 paddbotm10 ">
<!-- 已支付 判断发货与否申请退款申请售后 -->
<!-- <view class="btn1" v-if="recinfo.orderStatus == 2" @click="applyRefund">申请退款</view> -->
<view class="btn1" v-if="recinfo.orderStatus != 1 && recinfo.orderStatus != 5" @click="checkWuliu(item.id,item.ext6)">查看物流</view>
</view>
</view>
<!-- 当商品超过3个的时候 --> <!-- 当商品超过3个的时候 -->
<view v-if="!moreThanThree&&isShow" class="goodsMore flex-center" @click="checkMore"> <view v-if="!moreThanThree&&isShow" class="goodsMore flex-center" @click="checkMore">
还有{{goodsList2.length}}种商品<text class="icon-ymt to-down"></text> 还有{{goodsList2.length}}种商品<text class="icon-ymt to-down"></text>
</view> </view>
<block v-if="moreThanThree"> <block v-if="moreThanThree">
<view v-for="(item,index) in goodsList2" :key="index" class="paddbotm10 flex-center-sp"> <view v-for="(item,index) in goodsList2" :key="index" class="paddtop10 border-b-666 ">
<view class="flex-center-sp">
<view class=""> <view class="">
<image class="st-img" :src="imageUrl+item.goodsImg" mode="aspectFill"></image> <image class="st-img" :src="imageUrl+item.goodsImg" mode="aspectFill"></image>
</view> </view>
@ -80,6 +89,13 @@
</view> </view>
</view> </view>
</view> </view>
<view class="dis-flex flex-end paddtop10 paddbotm10 ">
<!-- 已支付 判断发货与否申请退款申请售后 -->
<!-- <view class="btn1" v-if="recinfo.orderStatus == 2" @click="applyRefund">申请退款</view> -->
<view class="btn1" v-if="recinfo.orderStatus != 1 && recinfo.orderStatus != 5" @click="checkWuliu(item.id,item.ext6)">查看物流</view>
</view>
</view>
</block> </block>
<view v-if="moreThanThree" class="goodsMore flex-center" @click="checkMore"> <view v-if="moreThanThree" class="goodsMore flex-center" @click="checkMore">
{{recinfo.highChildOrderList.length}}种商品<text class="icon-ymt to-up"></text> {{recinfo.highChildOrderList.length}}种商品<text class="icon-ymt to-up"></text>
@ -137,26 +153,7 @@
</view> </view>
<!-- 待支付时开始 -->
<!-- 订单编号 -->
<!-- <block v-if="recinfo.orderStatus == 1">
<view class="flex-center-sp pd-tb10 bordert">
<view class="fcor666 width80px">订单编号</view>
<view class=" flex-center-sp">
<text class="tr flex-1">{{orderId}}</text>
<text class=" margle10 font12 copy-num fcor666" @click="copyText(orderId)">复制</text>
</view>
</view>
<view class="flex-center-sp pd-tb10 ">
<view class="fcor666 width80px">下单时间</view>
<view class=" ">
{{recinfo.createTime | formatDate('-')}}
</view>
</view>
</block>
-->
</view> </view>
<!-- 物流信息 --> <!-- 物流信息 -->
@ -173,12 +170,12 @@
</view> </view>
</view> </view>
<!-- 物流信息 --> <!-- 物流信息 -->
<view class="flex-center-sp pd-tb10 "> <!-- <view class="flex-center-sp pd-tb10 ">
<view class="fontsize width80px">物流信息</view> <view class="fontsize width80px">物流信息</view>
<view class="fcor666 font16 " @click="checkWuliu"> <view class="fcor666 font16 " @click="checkWuliu">
查看物流信息<text class="icon-ymt to-right fcor666 font16 paddleft5"></text> 查看物流信息<text class="icon-ymt to-right fcor666 font16 paddleft5"></text>
</view> </view>
</view> </view> -->
<!-- 订单编号 --> <!-- 订单编号 -->
<view class="flex-center-sp pd-tb10 "> <view class="flex-center-sp pd-tb10 ">
<view class="fontsize width80px">订单编号</view> <view class="fontsize width80px">订单编号</view>
@ -276,6 +273,7 @@
<!-- #endif --> <!-- #endif -->
</view> </view>
<wuliuPopup ref="wuliu"></wuliuPopup> <wuliuPopup ref="wuliu"></wuliuPopup>
</view> </view>
@ -442,10 +440,10 @@
this.moreThanThree = !this.moreThanThree this.moreThanThree = !this.moreThanThree
}, },
// //
checkWuliu() { checkWuliu(id,status) {
let logisticsNo = this.recinfo.goodsOrder.logisticsNo; // let logisticsNo = this.recinfo.goodsOrder.logisticsNo;
if (!logisticsNo) { if (status == null) {
uni.showToast({ uni.showToast({
title: '暂无数据', title: '暂无数据',
icon: 'none', icon: 'none',
@ -454,7 +452,7 @@
return return
} }
this.$refs.wuliu.show(logisticsNo) this.$refs.wuliu.show(id)
}, },
// //
@ -577,6 +575,21 @@
// #endif // #endif
},
// 退
applyRefund(){
//
// ==>退
uni.navigateTo({
url:"/physical-merchants/applyRefund/selectApplyRefund?msg="+encodeURIComponent(JSON.stringify(this.recinfo))
})
// ==>
// uni.navigateTo({
// url:"/physical-merchants/applyRefund/applyRefund?msg="+encodeURIComponent(JSON.stringify(this.recinfo))+"&refundType="+1
// })
} }
} }
} }
@ -584,6 +597,8 @@
<style lang="scss" scoped> <style lang="scss" scoped>
.fontsize{ .fontsize{
font-size: 16px; font-size: 16px;
} }
@ -700,6 +715,20 @@
right: 0; right: 0;
left: 0; left: 0;
}
.btn1{
height: 20px;
padding: 5px 10px;
border-radius: 15px;
margin-left: 15px;
border: 1px solid #f0f0f0;
color: #666666;
font-size: 16px;
}
.btn { .btn {
height: 20px; height: 20px;
padding: 5px 10px; padding: 5px 10px;
@ -720,6 +749,4 @@
border: 1px solid #FF2342; border: 1px solid #FF2342;
} }
} }
}
</style> </style>

@ -147,7 +147,7 @@
// //
getLogisticsMsg(num){ getLogisticsMsg(num){
let params ={ let params ={
num:num orderId:num
} }
uni.showLoading({ uni.showLoading({
title: '加载中', title: '加载中',

Loading…
Cancel
Save