| | |
| | | this.type = option.type
|
| | | this.id = option.id
|
| | | this.isZKD = this.type == QRCodeType.ZKD
|
| | | this.dbid = option.dbid
|
| | | if (option.dbid) {
|
| | | this.getDBs(option.dbid)
|
| | | } else {
|
| | |
| | | infoAction = wTransferForInOut
|
| | | data.wTransferType = '0'
|
| | | }
|
| | | console.log('------');
|
| | | infoAction(data).then(res => {
|
| | | // this.warehouseId = this.info.wtransferWarehouseList[0].warehouseId
|
| | | console.log(this.type == QRCodeType.ZKD);
|
| | | if (this.isZKD) {
|
| | | this.info = res.data.wtransfer
|
| | | this.warehouseList = res.data.wtransferWarehouseList
|
| | | this.warehouseId = this.warehouseList[0].warehouseId
|
| | | } else {
|
| | | this.info = res.data.woutbound
|
| | | this.woutboundDetailsWait = res.data.woutboundDetailsWait
|
| | | this.warehouseId = this.woutboundDetailsWait[0].warehouseId
|
| | | }
|
| | | }).catch(err => {
|
| | | uni.$u.toast(err)
|
| | |
| | | if (res.code === 200) {
|
| | | this.$store.dispatch.dispatch('getUpcomingNum')
|
| | | uni.$u.toast('操作成功')
|
| | | uni.redirectTo({ |
| | | url: `/pages_adjust/pages/outboundDetails/outboundDetails?id=${this.info.id}&dbid=${this.dbid}` |
| | | })
|
| | | // setTimeout(() => {
|
| | | // router.replace({ name: 'wTransferDetail', query: { id: info.value.wtransfer.id, dbid: route.query.dbid } })
|
| | | // }, 2000)
|
| | |
| | | if (res.code === 200) {
|
| | | this.$store.dispatch.dispatch('getUpcomingNum')
|
| | | uni.$u.toast('操作成功')
|
| | | uni.redirectTo({ |
| | | url: `/pages_adjust/pages/outboundDetails/outboundDetails?id=${this.info.id}` |
| | | })
|
| | | // setTimeout(() => {
|
| | | // // router.go(-1)
|
| | | // router.replace({ name: 'wOutboundDetail', query: { id: info.value.wtransfer.id } })
|
| | |
| | | bottom: 0;
|
| | | left: 30rpx;
|
| | | padding-bottom: 68rpx;
|
| | |
|
| | | z-index: 9999;
|
| | | .page_footer_qr {
|
| | | flex: 1;
|
| | | height: 88rpx;
|