From d23c25ffba52e073fbf120c45b511fc8ab683b0f Mon Sep 17 00:00:00 2001
From: 陶杰 <1378534974@qq.com>
Date: 星期一, 23 九月 2024 14:45:37 +0800
Subject: [PATCH] 1.合伙人-个人资料修改

---
 sub_pages/supplier/order-manage/order-manage-settlement-op-detail.vue |   11 ++++++++---
 1 files changed, 8 insertions(+), 3 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 55feea7..ca65b29 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:''
+				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
 					}

--
Gitblit v1.9.3