Mr.Zhang
2023-09-12 041c81a20c93a6b8238e810fe9a1adfee9c9d86f
minipro_standard/pages/InOperation/InOperation.vue
@@ -21,7 +21,8 @@
                  <div class="page_content_title">
                     <div class="page_content_title_top">
                        <span v-if="item.batch">{{ item.materialName + ' | ' + item.materialCode }}</span>
                        <span v-else>{{ item.materialName + ' | ' + item.materialCode }}</span>
                        <span v-else>{{ item.materialName + ' | ' + item.materialCode }}</span>
                        <span>{{item.outActnum}}{{item.unitName}}</span>
                     </div>
                     <div class="page_content_title_bottom">
                        <span class="green" v-if="item.qualityType === 0">合格&nbsp;<span
@@ -35,7 +36,7 @@
                        <span>{{item.batch ? item.batch : '-'}}</span>
                     </div>
                  </div>
                  <div class="page_content_list" v-for="(childer, idxs) in item.wstockExtListVOList" :key="idxs">
                  <!-- <div class="page_content_list" v-for="(childer, idxs) in item.wstockExtListVOList" :key="idxs">
                     <div class="page_content_list_item">
                        <div class="page_content_list_item_label">入库货位:</div>
                        <div class="page_content_list_item_nr">{{ childer.locationName }}</div>
@@ -44,7 +45,7 @@
                        <div class="page_content_list_item_label">数量:</div>
                        <div class="page_content_list_item_nr">{{ childer.num }}{{ childer.unitName }}</div>
                     </div>
                  </div>
                  </div> -->
               </div>
            </view>
         </uni-collapse-item>
@@ -205,7 +206,8 @@
            isZKD: false,
            show: false,
            info: {},
            ids: [],
            ids: [],
            mainOrder: '',
            location: '',
            locationName: '',
            wtransferWarehouseList: [],
@@ -252,7 +254,8 @@
               infoAction = wTransferForInOut
               data.wTransferType = '1'
            }
            infoAction(data).then(res => {
            infoAction(data).then(res => {
               this.mainOrder = res.data.id
               if (this.isZKD) {
                  this.info = res.data.wtransfer
                  this.wareHouseId = res.data.wtransfer.inWarehouseId
@@ -382,32 +385,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 +435,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,