xuxueyang
2024-09-26 caa3ee00e8481485c5aad55c7758dd48c55888d5
update
已修改1个文件
19 ■■■■ 文件已修改
sub_pages/supplier/print/print-list.vue 19 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
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)
                            }