From 4f5cbfb0878d0d35ce01b7c32ade1807c067fd27 Mon Sep 17 00:00:00 2001
From: xuxueyang <xuxy@fengyuntec.com>
Date: 星期四, 19 九月 2024 16:12:43 +0800
Subject: [PATCH] add 签到和其他页面细节
---
sub_pages/supplier/order-manage/order-manage-settlement-op-detail.vue | 25 +++++++++++++++++++++----
1 files changed, 21 insertions(+), 4 deletions(-)
diff --git a/sub_pages/supplier/order-manage/order-manage-settlement-op-detail.vue b/sub_pages/supplier/order-manage/order-manage-settlement-op-detail.vue
index 02342c9..e084707 100644
--- a/sub_pages/supplier/order-manage/order-manage-settlement-op-detail.vue
+++ b/sub_pages/supplier/order-manage/order-manage-settlement-op-detail.vue
@@ -7,12 +7,18 @@
},
orderItemId: '',
op: '',
-
+ opStr: ''
};
},
async onLoad(options) {
this.orderItemId = options.orderItemId || ''
this.op = options.op || ''
+ this.opStr = options.opStr || ''
+ if (this.opStr) {
+ uni.setNavigationBarTitle({
+ title: opStr
+ })
+ }
await this.init()
@@ -20,10 +26,15 @@
methods: {
async init() {
+ var apitype = 'supplier'
+ // #ifdef PUB_CUSTOMER
+ apitype = 'customer'
+ // #endif
+
this.$message.showLoading()
const {
data
- } = await this.$http.request('get', `/api/supplier/delivery/mine/list/check/info/` + this.op, {
+ } = await this.$http.request('get', `/api/${apitype}/delivery/mine/list/check/info/` + this.op, {
params: {
orderItemId: this.orderItemId
}
@@ -55,6 +66,8 @@
</script>
<template>
<view class="delivery-detail-page bg-white p20">
+ <no-data v-if="!dto.id" style="width: 100%;"></no-data>
+
<view v-if="dto.id">
<view class="delivery-info p10 flex">
<view class="flex1">
@@ -68,15 +81,16 @@
<view class="name" v-if="dto.targetLevel">降级等级:{{ dto.targetLevelStr || dto.targetLevel || '-'}}
</view>
- <view class="name" v-if="dto.type">处理类型:{{ dto.type || '-'}}</view>
+ <!-- <view class="name" v-if="dto.type">处理类型:{{ dto.type || '-'}}</view> -->
<view class="name">处理数量:{{ dto.num || '-' }}</view>
- <view class="name">扣款金额:{{ dto.deductAmount || '-'}}</view>
+ <view class="name">扣款金额:¥{{ dto.deductAmount || '-'}}</view>
</view>
</view>
</view>
+ <!-- #ifndef PUB_CUSTOMER -->
<view class="p10" style="margin-top: 0rpx;padding-top: 0rpx;" v-if="dto.pictureList&&dto.pictureList.length>0">
<view class="line-gray"></view>
@@ -90,6 +104,8 @@
</view>
</view>
</view>
+ <!-- #endif -->
+
</view>
</view>
@@ -100,6 +116,7 @@
font-weight: 400;
font-size: 28rpx;
line-height: 40rpx;
+ min-height: 99vh;
.arrive-img {
width: 96rpx;
--
Gitblit v1.9.3