jiangping
2023-09-11 4fa0cbae96cde47e4878e16c87da294903a457ae
minipro_standard/pages/InOperation/InOperation.vue
@@ -382,32 +382,45 @@
               }).then(res => {
                  if (res.code === 200) {
                     this.$store.dispatch('getUpcomingNum')
                     uni.$u.toast('操作成功')
                     // Toast.success({
                     //    message: '操作成功',
                     //    forbidClick: true,
                     //    duration: 2000
                     // })
                     uni.$u.toast('操作成功')
                     if (this.type == '4') { // 跳转完工入库详情
                        // uni.navigateTo({
                        //    url:
                        // })
                        // router.push({
                        //    name: 'completionDetails',
                        //    query: {
                        //       id: route.query.id,
                        //       dbid: route.query.dbid,
                        //       type: 7,
                        //       isShow: 2
                        //    }
                        // })
                        return
                     }
                     uni.redirectTo({
                        url: `/pages_adjust/pages/outboundDetails/outboundDetails?id=${this.id}`
                     })
                     
                     // setTimeout(() => {
                     //    if (route.query.Type == '4') { // 跳转完工入库详情
                     //       router.push({
                     //          name: 'completionDetails',
                     //          query: {
                     //             id: route.query.id,
                     //             dbid: route.query.dbid,
                     //             type: 7,
                     //             isShow: 2
                     //          }
                     //       })
                     //       return
                     //    }
                     //    router.replace({
                     //       name: 'wTransferDetail',
                     //       query: {
                     //          id: route.query.id
                     //       }
                     //    })
                        // if (route.query.Type == '4') { // 跳转完工入库详情
                        //    router.push({
                        //       name: 'completionDetails',
                        //       query: {
                        //          id: route.query.id,
                        //          dbid: route.query.dbid,
                        //          type: 7,
                        //          isShow: 2
                        //       }
                        //    })
                        //    return
                        // }
                        // router.replace({
                        //    name: 'wTransferDetail',
                        //    query: {
                        //       id: route.query.id
                        //    }
                        // })
                     // }, 2000)
                  }
               })
@@ -419,7 +432,10 @@
               }).then(res => {
                  if (res.code === 200) {
                     this.$store.dispatch('getUpcomingNum')
                     uni.$u.toast('操作成功')
                     uni.$u.toast('操作成功')
                     uni.redirectTo({
                        url: `/pages_adjust/pages/warehousingDetails1/warehousingDetails1?id=${this.id}`
                     })
                     // Toast.success({
                     //    message: '操作成功',
                     //    forbidClick: true,