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/print/print-list.vue | 19 ++++++++++--------- 1 files changed, 10 insertions(+), 9 deletions(-) diff --git a/sub_pages/supplier/print/print-list.vue b/sub_pages/supplier/print/print-list.vue index a4e73c9..d28802e 100644 --- a/sub_pages/supplier/print/print-list.vue +++ b/sub_pages/supplier/print/print-list.vue @@ -135,7 +135,7 @@ // list[j] = i; // j++ // } - + // for (var i = 1; i < 10; i++) { // numList[i - 1] = i // } @@ -145,18 +145,19 @@ that.oneTimeData = 20 // that.printNum = numList // that.printerNum = numList[0] - + }, async onLoad() { var t = this.$storage.getItem('cache_delivery_order_print') || '' if (t) { this.items = JSON.parse(t) - var apitype = '' + var requrl = '' // #ifdef PUB_SUPPLIER - apitype = '/supplier' - // #endif - // #ifdef PUB_PARTNER // apitype = '/supplier' + requrl = `/api/supplier/delivery/list/items/views/new` + // #endif + // #ifndef PUB_SUPPLIER + requrl = `/api/delivery/list/items/views` // #endif //获取详情接口 var ids = [] @@ -176,7 +177,7 @@ const { code, data - } = await this.$http.request('post', `/api${apitype}/delivery/list/items/views`, { + } = await this.$http.request('post', requrl, { data: { // id: this.item.id, ids: ids @@ -756,8 +757,8 @@ that.currentTime = 1 // that.Send(that.buffs[that.currentPrint - 1]) that.prepareSend(that.buffs[that.currentPrint - 1]) - - + + }, 500) } -- Gitblit v1.9.3