jiangping
2023-09-11 4fa0cbae96cde47e4878e16c87da294903a457ae
minipro_standard/pages/OutOperation/OutOperation.vue
@@ -209,6 +209,7 @@
         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 {
@@ -243,15 +244,16 @@
               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)
@@ -346,6 +348,9 @@
                     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)
@@ -362,6 +367,9 @@
                  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 } })
@@ -733,7 +741,7 @@
      bottom: 0;
      left: 30rpx;
      padding-bottom: 68rpx;
      z-index: 9999;
      .page_footer_qr {
         flex: 1;
         height: 88rpx;