| | |
| | | }, |
| | | orderItemId: '', |
| | | op: '', |
| | | opStr:'' |
| | | opStr: '' |
| | | }; |
| | | }, |
| | | async onLoad(options) { |
| | |
| | | this.opStr = options.opStr || '' |
| | | if (this.opStr) { |
| | | uni.setNavigationBarTitle({ |
| | | title: opStr |
| | | title: this.opStr |
| | | }) |
| | | } |
| | | |
| | |
| | | |
| | | methods: { |
| | | async init() { |
| | | var apitype = 'supplier' |
| | | // #ifdef PUB_CUSTOMER |
| | | apitype = 'customer' |
| | | // #endif |
| | | |
| | | this.$message.showLoading() |
| | | const { |
| | | data |
| | | } = await this.$http.request('get', `/api/supplier/delivery/mine/list/check/info/` + this.op, { |
| | | } = await this.$http.request('get', `/api/${apitype}/delivery/mine/list/check/info/` + this.op, { |
| | | params: { |
| | | orderItemId: this.orderItemId |
| | | } |