xuxueyang
2024-09-27 2324366f7a02f2c62fef36dcd0d74e6c385766dd
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`