| | |
| | | }; |
| | | }, |
| | | onLoad(option) { |
| | | debugger |
| | | this.id = option.id |
| | | wTransferExtDetail(option.id) |
| | | .then(res => { |
| | |
| | | // 跳转出库入库 |
| | | submit() { |
| | | if (this.data.status === 0) { // 出库 |
| | | console.log('出库') |
| | | // router.push({ name: 'issueOperation', query: { id: route.query.id, type: 7 } }) |
| | | uni.navigateTo({ |
| | | url: `/pages/OutOperation/OutOperation?id=${this.id}&type=7` |
| | | url: `/pages_inspect/pages/OutOperation/OutOperation?id=${this.id}&type=7` |
| | | }); |
| | | } else if (this.data.status === 1) { // 入库 |
| | | if (this.data.type === 3) { // 备料确认 |
| | |
| | | // router.push({ name: 'orderStock', query: { id: route.query.id, status: data.value.status, next: 1 } }) |
| | | return |
| | | } |
| | | console.log('入库') |
| | | uni.navigateTo({ |
| | | url: `/pages/InOperation/InOperation?id=${this.id}&type=7` |
| | | url: `/pages_inspect/pages/InOperation/InOperation?id=${this.id}&type=7` |
| | | }); |
| | | // router.push({ name: 'warehousing', query: { id: route.query.id, type: 7 } }) |
| | | } |