From caa3ee00e8481485c5aad55c7758dd48c55888d5 Mon Sep 17 00:00:00 2001
From: xuxueyang <xuxy@fengyuntec.com>
Date: 星期四, 26 九月 2024 15:24:55 +0800
Subject: [PATCH] update

---
 sub_pages/supplier/order-manage/order-manage-settlement-op-detail.vue |   15 +++++++++++----
 1 files changed, 11 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 3356cb1..bde1740 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,7 +7,7 @@
 				},
 				orderItemId: '',
 				op: '',
-
+				opStr: ''
 			};
 		},
 		async onLoad(options) {
@@ -16,7 +16,7 @@
 			this.opStr = options.opStr || ''
 			if (this.opStr) {
 				uni.setNavigationBarTitle({
-					title: opStr
+					title: this.opStr
 				})
 			}
 
@@ -26,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
 					}
@@ -78,13 +83,14 @@
 
 					<!-- <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>
+		
 		<view class="p10" style="margin-top: 0rpx;padding-top: 0rpx;" v-if="dto.pictureList&&dto.pictureList.length>0">
 			<view class="line-gray"></view>
 
@@ -98,6 +104,7 @@
 				</view>
 			</view>
 		</view>
+
 	</view>
 
 	</view>

--
Gitblit v1.9.3