| | |
| | | <view class="content_list_item_content_item"> |
| | | <view class="content_list_item_content_item_label">批次号:</view> |
| | | <view class="content_list_item_content_item_nr"> |
| | | {{ item.batch }} |
| | | {{ item.batch ? item.batch : '-' }} |
| | | </view> |
| | | </view> |
| | | <view class="content_list_item_content_item"> |
| | |
| | | export default { |
| | | data() { |
| | | return { |
| | | id: null, |
| | | types: [{ |
| | | name: '全部', |
| | | id: '', |
| | |
| | | }; |
| | | }, |
| | | onLoad(option) { |
| | | this.id = option.id |
| | | wTransferExtDetail(option.id) |
| | | .then(res => { |
| | | this.data = res.data |
| | |
| | | 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` |
| | | }); |
| | | } else if (this.data.status === 1) { // 入库 |
| | | if (this.data.type === 3) { // 备料确认 |
| | | console.log('备料确认') |
| | |
| | | return |
| | | } |
| | | console.log('入库') |
| | | uni.navigateTo({ |
| | | url: `/pages/InOperation/InOperation?id=${this.id}&type=7` |
| | | }); |
| | | // router.push({ name: 'warehousing', query: { id: route.query.id, type: 7 } }) |
| | | } |
| | | }, |