From 78abd5572d7dbf45124ed30a06fbffbb236066b7 Mon Sep 17 00:00:00 2001
From: xuxueyang <xuxy@fengyuntec.com>
Date: 星期五, 09 八月 2024 19:17:37 +0800
Subject: [PATCH] update质检

---
 sub_pages/supplier/print/print-list.vue |    9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)

diff --git a/sub_pages/supplier/print/print-list.vue b/sub_pages/supplier/print/print-list.vue
index 1a813de..9bf47d5 100644
--- a/sub_pages/supplier/print/print-list.vue
+++ b/sub_pages/supplier/print/print-list.vue
@@ -145,12 +145,19 @@
 			var t = this.$storage.getItem('cache_delivery_order_print') || ''
 			if (t) {
 				this.item = JSON.parse(t)
+				var apitype = ''
+				// #ifdef PUB_SUPPLIER
+				apitype = '/supplier'
+				// #endif
+				// #ifdef PUB_PARTNER
+				// apitype = '/supplier'
+				// #endif
 				//获取详情接口
 				this.$message.showLoading()
 				const {
 					code,
 					data
-				} = await this.$http.request('get', '/api/supplier/delivery/list/items/view', {
+				} = await this.$http.request('get', `/api${apitype}/delivery/list/items/view`, {
 					params: {
 						id: this.item.id
 					}

--
Gitblit v1.9.3