From 955ea95fb913822c5978ec4a98a794b3c65c21d3 Mon Sep 17 00:00:00 2001
From: 陶杰 <1378534974@qq.com>
Date: 星期三, 11 九月 2024 16:31:23 +0800
Subject: [PATCH] 1.首页下拉刷新 3.交易大厅的下拉框
---
sub_pages/supplier/print/print-list.vue | 14 ++++++++++++--
1 files changed, 12 insertions(+), 2 deletions(-)
diff --git a/sub_pages/supplier/print/print-list.vue b/sub_pages/supplier/print/print-list.vue
index 1a813de..db2c79d 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
}
@@ -667,10 +674,13 @@
characteristicId: that.writeCharaterId,
value: buf,
success: function(res) {
- console.log(res)
+ // console.log(res)
},
fail: function(e) {
console.log(e)
+ // wx.showToast({
+ // title: '打印失败:' + e,
+ // })
},
complete: function() {
currentTime++
--
Gitblit v1.9.3