|
|
@@ -12,7 +12,8 @@
|
|
|
<view class="info-block">
|
|
|
<view class="flex-a flex-j-b">
|
|
|
<text class="common-title font-32">卖书收入:</text>
|
|
|
- <text class="common-text" style="color: #ff0000" v-if="orderInfo.finalMoney">¥{{ orderInfo.finalMoney }}</text>
|
|
|
+ <text class="common-text" style="color: #ff0000" v-if="orderInfo.finalMoney">¥{{ orderInfo.finalMoney
|
|
|
+ }}</text>
|
|
|
<text class="common-text" style="color: #ff0000" v-else>待审核</text>
|
|
|
</view>
|
|
|
<view class="desc-bg">
|
|
|
@@ -23,7 +24,8 @@
|
|
|
|
|
|
<view class="flex-a flex-j-b" v-if="orderInfo.upsellFinalMoney || orderInfo.upsellExpectMoney">
|
|
|
<text class="common-text-2 font-26">限时加价:</text>
|
|
|
- <text class="common-text-2 font-26">¥{{ orderInfo.upsellFinalMoney || orderInfo.upsellExpectMoney }}</text>
|
|
|
+ <text class="common-text-2 font-26">¥{{ orderInfo.upsellFinalMoney || orderInfo.upsellExpectMoney
|
|
|
+ }}</text>
|
|
|
</view>
|
|
|
<view class="flex-a flex-j-b">
|
|
|
<view class="common-text-2 font-26">
|
|
|
@@ -40,7 +42,8 @@
|
|
|
<text class="common-title font-32">卖书编号:</text>
|
|
|
<view class="common-text-2 font-26 flex-a">
|
|
|
{{ orderInfo.orderId }}
|
|
|
- <image src="../static/copy.png" style="width: 42rpx; height: 42rpx; margin-left: 20rpx" @click="copyOrderNo"></image>
|
|
|
+ <image src="../static/copy.png" style="width: 42rpx; height: 42rpx; margin-left: 20rpx"
|
|
|
+ @click="copyOrderNo"></image>
|
|
|
</view>
|
|
|
</view>
|
|
|
<view class="desc-bg">
|
|
|
@@ -71,24 +74,22 @@
|
|
|
<!-- 底部操作栏 -->
|
|
|
<view class="bottom-fixed-con detail-bottom flex-d">
|
|
|
<service-info :firstOrder="orderInfo.firstOrder"></service-info>
|
|
|
- <view class="flex-a" style="width: 100%; padding: 0 30rpx;justify-content: flex-end;align-items: center;min-height: 42px;">
|
|
|
- <u-button size="small" type="warning" @click="handleOpenOverTime" v-if="orderInfo.confirmCompensationMoney" style="margin-right: 10px">验货超时补偿</u-button>
|
|
|
- <u-button size="small" type="warning" @click="handleOpenSellLoss" v-if="orderInfo.priceCompensationMoney" style="margin-right: 10px">卖亏必赔</u-button>
|
|
|
- <order-actions style="width:fit-content" :order="orderInfo" :status="orderInfo.status" @action="handleAction" @success="getOrderInfo"></order-actions>
|
|
|
+ <view class="flex-a"
|
|
|
+ style="width: 100%; padding: 0 30rpx;justify-content: flex-end;align-items: center;min-height: 42px;">
|
|
|
+ <u-button size="small" type="warning" @click="handleOpenOverTime"
|
|
|
+ v-if="orderInfo.confirmCompensationMoney" style="margin-right: 10px">验货超时补偿</u-button>
|
|
|
+ <u-button size="small" type="warning" @click="handleOpenSellLoss"
|
|
|
+ v-if="orderInfo.priceCompensationMoney" style="margin-right: 10px">卖亏必赔</u-button>
|
|
|
+ <order-actions style="width:fit-content" :order="orderInfo" :status="orderInfo.status"
|
|
|
+ @action="handleAction" @success="getOrderInfo"></order-actions>
|
|
|
</view>
|
|
|
</view>
|
|
|
|
|
|
- <u-action-sheet
|
|
|
- v-model="showReportSheet"
|
|
|
- :list="actionList"
|
|
|
- @close="showReportSheet = false"
|
|
|
- @click="handleReportSelect"
|
|
|
- cancelText="取消"
|
|
|
- :mask-close-able="false"
|
|
|
- :safe-area-inset-bottom="true"
|
|
|
- />
|
|
|
+ <u-action-sheet v-model="showReportSheet" :list="actionList" @close="showReportSheet = false"
|
|
|
+ @click="handleReportSelect" cancelText="取消" :mask-close-able="false" :safe-area-inset-bottom="true" />
|
|
|
|
|
|
- <CommonDialog ref="returnDialog" title="退回不通过书籍" :showFooter="false" @confirm="handleRecycleConfirm" width="88%">
|
|
|
+ <CommonDialog ref="returnDialog" title="退回不通过书籍" :showFooter="false" @confirm="handleRecycleConfirm"
|
|
|
+ width="88%">
|
|
|
<view class="flex-a flex-j-b">
|
|
|
<button class="confirm-btn plain" @click="handleApplyBack">我要取回</button>
|
|
|
<button class="confirm-btn plain" @click="handleRecycleWare">仓库循环处理</button>
|
|
|
@@ -99,21 +100,28 @@
|
|
|
</view>
|
|
|
</CommonDialog>
|
|
|
|
|
|
- <CommonDialog ref="recycleDialog" title="是否按纸价回收" @confirm="handleRecycleConfirm">补贴 ¥{{ orderInfo.basicRecycleMoney || 0 }} 到余额</CommonDialog>
|
|
|
- <CommonDialog ref="recycleWare" title="是否仓库循环处理" @confirm="handleRecycleWareConfirm">感谢您对环保事业的支持,仓库将循环处理</CommonDialog>
|
|
|
+ <CommonDialog ref="recycleDialog" title="是否按纸价回收" @confirm="handleRecycleConfirm">补贴 ¥{{
|
|
|
+ orderInfo.basicRecycleMoney || 0 }} 到余额</CommonDialog>
|
|
|
+ <CommonDialog ref="recycleWare" title="是否仓库循环处理" @confirm="handleRecycleWareConfirm">感谢您对环保事业的支持,仓库将循环处理
|
|
|
+ </CommonDialog>
|
|
|
|
|
|
<CommonDialog ref="overTimeDialog" title="验货超时补偿" @confirm="handleOverTimeConfirm" :showFooter="false">
|
|
|
<view class="flex-a flex-j-b" style="padding: 40rpx 0">
|
|
|
- <u-button class="confirm-btn" type="success" @click="handleOverTimeConfirm">补贴 ¥{{ orderInfo.confirmCompensationMoney || 0 }} 到余额</u-button>
|
|
|
+ <u-button class="confirm-btn" type="success" @click="handleOverTimeConfirm">补贴 ¥{{
|
|
|
+ orderInfo.confirmCompensationMoney || 0 }} 到余额</u-button>
|
|
|
<u-button class="confirm-btn" type="warning" @click="handleCloseOverTime">原谅你了</u-button>
|
|
|
</view>
|
|
|
</CommonDialog>
|
|
|
<CommonDialog ref="sellLossDialog" title="卖亏必赔" @confirm="handleSellLossConfirm" :showFooter="false">
|
|
|
<view class="flex-a flex-j-b" style="padding: 40rpx 0">
|
|
|
- <u-button class="confirm-btn" type="success" @click="handleSellLossConfirm">补贴 ¥{{ orderInfo.priceCompensationMoney || 0 }} 到余额</u-button>
|
|
|
+ <u-button class="confirm-btn" type="success" @click="handleSellLossConfirm">补贴 ¥{{
|
|
|
+ orderInfo.priceCompensationMoney || 0 }} 到余额</u-button>
|
|
|
<u-button class="confirm-btn" type="warning" @click="handleCloseSellLoss">原谅你了</u-button>
|
|
|
</view>
|
|
|
</CommonDialog>
|
|
|
+ <common-dialog ref="reviewDialog" title="温馨提示" @confirm="onApplyReturn">
|
|
|
+ <text>该订单正在排队复审,申请退回复审将退出!</text>
|
|
|
+ </common-dialog>
|
|
|
</view>
|
|
|
</template>
|
|
|
|
|
|
@@ -182,7 +190,13 @@ export default {
|
|
|
});
|
|
|
},
|
|
|
handleReturn() {
|
|
|
- console.log('退回不通过书籍');
|
|
|
+ if (this.orderInfo.restStop === 1) {
|
|
|
+ this.$refs.reviewDialog?.openPopup();
|
|
|
+ } else {
|
|
|
+ this.$refs.returnDialog?.openPopup();
|
|
|
+ }
|
|
|
+ },
|
|
|
+ onApplyReturn() {
|
|
|
this.$refs.returnDialog?.openPopup();
|
|
|
},
|
|
|
//仓库循环处理
|