| | |
| | | show: false,
|
| | | info: {
|
| | |
|
| | | },
|
| | | }, |
| | | mainOrder: '',
|
| | | warehouseId: '',
|
| | | ids: [],
|
| | | warehouseList: [{
|
| | |
| | | infoAction = wTransferForInOut
|
| | | data.wTransferType = '0'
|
| | | } |
| | | infoAction(data).then(res => {
|
| | | if (this.isZKD) {
|
| | | infoAction(data).then(res => { |
| | | this.mainOrder = res.data.id
|
| | | if (this.isZKD) { |
| | | this.info = res.data.wtransfer
|
| | | this.warehouseList = res.data.wtransferWarehouseList |
| | | this.warehouseId = this.warehouseList[0].warehouseId
|
| | |
| | | this.$store.dispatch('getUpcomingNum')
|
| | | uni.$u.toast('操作成功') |
| | | uni.redirectTo({ |
| | | url: `/pages/warehousingDetails/warehousingDetails?id=${this.info.id}&dbid=${this.dbid}` |
| | | url: `/pages/warehousingDetails/warehousingDetails?id=${this.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: info.value.woutbound.id,
|
| | | id: this.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.info.id}` |
| | | url: `/pages_adjust/pages/outboundDetails/outboundDetails?id=${this.id}` |
| | | })
|
| | | // setTimeout(() => {
|
| | | // // router.go(-1)
|