#
whycq
2024-05-30 0e78823dd6ee8de811246e687298b17b28cd80c7
pages/phyz/stationManage/stationDetl.vue
@@ -224,7 +224,7 @@
         <button size="mini" type="primary" @click="allocationOut()" v-if="btnType == 'allocationOut'">调拨离场</button>
         <button size="mini" type="primary" @click="allocationIn()" v-if="btnType == 'allocationIn'">调拨进场</button>
         <button size="mini" type="primary" @click="empOut()" v-if="btnType == 'empOut'">空架离场</button>
         <button size="mini" type="primary" @click="empIn()" v-if="btnType == 'allocationIn'">空架进场</button>
         <button size="mini" type="primary" @click="empIn()" v-if="btnType == 'empIn'">空架进场</button>
      </view>
   </view>
</template>
@@ -267,7 +267,7 @@
         })
         setInterval(()=> {
            let k = utils.checkSec()
            console.log(k);
            // console.log(k);
            if (k == 180) {
               this.dis = false
               this.sec = ''
@@ -295,7 +295,11 @@
                  if (res.code === 200) {
                     if (res.data.records[0].locSts == 'O') {
                        if (res.data.records[0].devNo.substring(0, 2) == "DB") {
                           _this.btnType = 'allocationIn'
                           if (res.data.records[0].floor != 1) {
                              _this.btnType = 'allocationIn'
                           } else {
                              _this.btnType = 'empIn'
                           }
                        } else {
                           _this.btnType = 'emptyPakin' 
                        }
@@ -496,8 +500,10 @@
                           wrkMast['ioTitle'] = '调拨入库'
                           _this.btnType = 'null'
                        } else if (wrkMast.ioType == 113) {
                           wrkMast['ioTitle'] = '货架回流'
                           _this.btnType = 'empOut'
                           if (wrkMast.wrkSts == 212) {
                              wrkMast['ioTitle'] = '货架回流'
                              _this.btnType = 'empOut'
                           }
                        } 
                        if (wrkMast.barcode == barcode) {
                           mast = wrkMast