订单详情页面隐藏一些暂时没有的功能

This commit is contained in:
YeMingfei666 2024-10-11 15:45:18 +08:00
parent 6460dcf33d
commit ec509d1186
4 changed files with 13 additions and 10 deletions

View File

@ -92,7 +92,7 @@
<view class="u-flex u-row-between u-m-t-32">
<view>退款原因</view>
<view class="color-999">
<text class="">0.00</text>
<text class="">{{orderInfo.refundRemark||''}}</text>
</view>
</view>
<view class="u-flex u-row-between u-m-t-32 u-p-b-24 border-bottom">

View File

@ -20,10 +20,10 @@
<view>支付方式</view>
<view>{{data.payType||''}}</view>
</view>
<view class="u-flex u-row-between u-m-t-20">
<!-- <view class="u-flex u-row-between u-m-t-20">
<view>预约时间</view>
<view></view>
</view>
</view> -->
<view class="u-flex u-row-between u-m-t-20">
<view>下单时间</view>
<view><up-text v-if="data.createdAt" mode="date" :text="data.createdAt"></up-text></view>
@ -32,10 +32,10 @@
<view>订单编号</view>
<view>{{data.orderNo}}</view>
</view>
<view class="u-flex u-row-between u-m-t-20">
<!-- <view class="u-flex u-row-between u-m-t-20">
<view>商家备注</view>
<my-button plain shape="circle" :width="160" :height="60">编辑</my-button>
</view>
</view> -->
</view>
</template>

View File

@ -12,7 +12,7 @@
:data="orderDetail.seatFee"></extra-vue>
</template>
<order-vue :data="orderDetail.info" :table="options" :seatFee="orderDetail.seatFee"></order-vue>
<step-vue></step-vue>
<!-- <step-vue></step-vue> -->
<view style="height: 200rpx;"></view>
<view class="u-fixed bottom bg-fff ">
<view class="u-flex u-abso">
@ -95,8 +95,8 @@
salePrice
} = seatFee
go.to('PAGES_ORDER_TUIKUAN', {
id:orderDetail.info.id,
cartId:seatFee.id,
orderId:orderDetail.info.id,
id:seatFee.id,
productId,
productSkuId,
productName:name,
@ -253,7 +253,6 @@
for (let i in res.detailList) {
const goods = res.detailList[i]
if (goods.productName != '客座费') {
console.log(goods);
if (goodsMap.hasOwnProperty(goods.placeNum)) {
goodsMap[goods.placeNum].push(goods)
} else {

View File

@ -160,9 +160,13 @@
return infoBox.showToast('退款商品数量不能为0')
}
const selTag=tuikuan.list[tuikuan.sel]
const noteResult=`${selTag?selTag:''}${note.value?(','+note.value):''}`
if (!noteResult) {
return infoBox.showToast('请输入或选择退款原因!')
}
await $returnOrder({
"orderId": option.orderId,
"note":`${selTag?selTag:''}${note.value?(','+note.value):''}` ,
"note":noteResult,
"orderDetails":orderDetail.goodsList.filter(v=>v.number*1).map(v=>{
return {
id:v.id,