| 文件名从 minipro_standard/pages_inspect/pages/OutOperation/OutOperation.vue 修改 |
| | |
| | | import { |
| | | getDB |
| | | } from '@/util/api/agencyAPI' |
| | | import { |
| | | logout |
| | | } from '../../util/api' |
| | | export default { |
| | | components: { |
| | | InOutInfo, |
| | |
| | | info: { |
| | | |
| | | }, |
| | | mainOrder: '', |
| | | warehouseId: '', |
| | | ids: [], |
| | | warehouseList: [{ |
| | |
| | | data.wTransferType = '0' |
| | | } |
| | | infoAction(data).then(res => { |
| | | this.mainOrder = res.data.id |
| | | if (this.isZKD) { |
| | | this.info = res.data.wtransfer |
| | | this.warehouseList = res.data.wtransferWarehouseList |
| | |
| | | this.$store.dispatch('getUpcomingNum') |
| | | uni.$u.toast('鎿嶄綔鎴愬姛') |
| | | uni.redirectTo({ |
| | | url: `/pages/warehousingDetails/warehousingDetails?id=${this.id}&dbid=${this.dbid}` |
| | | url: `/pages/warehousingDetails/warehousingDetails?id=${this.info.id}&dbid=${this.dbid}` |
| | | }) |
| | | // uni.redirectTo({ |
| | | // url: `/pages_adjust/pages/outboundDetails/outboundDetails?id=${this.info.id}&dbid=${this.dbid}` |
| | |
| | | } |
| | | } else if (this.type === QRCodeType.CKD) { |
| | | wOutBoundForUpload({ |
| | | id: this.id, |
| | | id: info.value.woutbound.id, |
| | | wOutboundType: 0 |
| | | }).then(res => { |
| | | if (res.code === 200) { |
| | | this.$store.dispatch('getUpcomingNum') |
| | | uni.$u.toast('鎿嶄綔鎴愬姛') |
| | | uni.redirectTo({ |
| | | url: `/pages_adjust/pages/outboundDetails/outboundDetails?id=${this.id}` |
| | | url: `/pages_adjust/pages/outboundDetails/outboundDetails?id=${this.info.id}` |
| | | }) |
| | | // setTimeout(() => { |
| | | // // router.go(-1) |