xuxueyang
2024-09-26 caa3ee00e8481485c5aad55c7758dd48c55888d5
sub_pages/supplier/print/print-list.vue
@@ -151,12 +151,13 @@
         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