| | |
| | | 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 = [] |
| | |
| | | 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 |