xuxueyang
2024-09-27 2324366f7a02f2c62fef36dcd0d74e6c385766dd
update 打印(供应商
已修改3个文件
14 ■■■■ 文件已修改
manifest.json 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/order/order-delivery-detail.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
sub_pages/supplier/print/print-list.vue 10 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
manifest.json
@@ -49,7 +49,7 @@
    "quickapp" : {},
    /* 快应用特有相关 */
    "mp-weixin" : {
        "appid" : "wx1441324401626290",
        "appid" : "wx3203fd935a6ffe09",
        "setting" : {
            "urlCheck" : false,
            "es6" : true,
pages/order/order-delivery-detail.vue
@@ -94,7 +94,7 @@
                arr.push(item)
                this.$storage.setItem('cache_delivery_order_print', JSON.stringify(arr))
                uni.navigateTo({
                    url: '/sub_pages/supplier/print/print-list'
                    url: '/sub_pages/supplier/print/print-list?source=detail'
                })
            }
sub_pages/supplier/print/print-list.vue
@@ -147,14 +147,20 @@
            // that.printerNum = numList[0]
        },
        async onLoad() {
        async onLoad(options) {
            var t = this.$storage.getItem('cache_delivery_order_print') || ''
            if (t) {
                this.items = JSON.parse(t)
                var requrl = ''
                // #ifdef PUB_SUPPLIER
                // apitype = '/supplier'
                requrl = `/api/supplier/delivery/list/items/views/new`
                if(options.source=='detail'){
                    requrl = `/api/supplier/delivery/list/items/views`
                }else{
                    requrl = `/api/supplier/delivery/list/items/views/new`
                }
                // #endif
                // #ifndef PUB_SUPPLIER
                requrl = `/api/delivery/list/items/views`