|  |  | 
 |  |  |       <!-- 工作档 --> | 
 |  |  |       <view class="wrkMast" v-if="wrkMast"> | 
 |  |  |          <view class="wrkMast-wrkNo"> | 
 |  |  |             <view style="flex:3">工作号: {{wrkMast.wrkNo}}</view> | 
 |  |  |             <view style="flex:2;text-align: right;">{{wrkMast.ioTitle}}</view> | 
 |  |  |             <view style="flex:5">工作号: {{wrkMast.wrkNo}}</view> | 
 |  |  |             <view style="flex:3;text-align: right;">{{wrkMast.ioTitle}}</view> | 
 |  |  |          </view> | 
 |  |  |          <view>工作类型: {{wrkMast.ioType$}}</view> | 
 |  |  |          <view>源库位: {{wrkMast.sourceLocNo}}</view> | 
 |  |  |          <view>货架码: {{wrkMast.barcode}}</view> | 
 |  |  |       </view> | 
 |  |  |        | 
 |  |  |       <!-- 明细 --> | 
 |  |  | 
 |  |  |       <view class="buttom"> | 
 |  |  |          <button size="mini" type="primary" @click="emptyPakin()" v-if="btnType == 'emptyPakin'">空板入库</button> | 
 |  |  |          <button size="mini" type="primary" @click="emptyOut()" v-if="btnType == 'emptyPakin'">呼叫空板</button> | 
 |  |  |          <button size="mini" type="primary" @click="doContainerMoveOut()" v-if="btnType == 'out' && station.locSts == 'F'">确认出库</button> | 
 |  |  |          <button size="mini" type="primary" @click="doPickIn()" v-if="btnType == 'pick' && station.locSts == 'F'">已拣料回库</button> | 
 |  |  |          <button size="mini" type="primary" @click="startPakin()" v-if="btnType == 'start' && station.locSts == 'F'">启动入库</button> | 
 |  |  |          <button size="mini" type="primary" @click="doContainerMoveOut()" v-if="btnType == 'out'">确认出库</button> | 
 |  |  |          <button size="mini" type="primary" @click="doPickIn()" v-if="btnType == 'pick'">已拣料回库</button> | 
 |  |  |          <button size="mini" type="primary" @click="startPakin()" v-if="btnType == 'start'">启动入库</button> | 
 |  |  |       </view> | 
 |  |  |    </view> | 
 |  |  | </template> | 
 |  |  | 
 |  |  |    export default { | 
 |  |  |       data() { | 
 |  |  |          return { | 
 |  |  |             baseUrl: '', | 
 |  |  |             token: '', | 
 |  |  |             station: null, | 
 |  |  |             reload: { | 
 |  |  |                loading: false, | 
 |  |  | 
 |  |  |                      } else { | 
 |  |  |                         _this.btnType = 'working'  | 
 |  |  |                      } | 
 |  |  |                      // if (res.data.records[0].locSts == 'O') { | 
 |  |  |                      //    res.data.records[0].locSts$ = '没有货架' | 
 |  |  |                      // } else if (res.data.records[0].locSts == 'F') { | 
 |  |  |                      //    res.data.records[0].locSts$ = '货架在库' | 
 |  |  |                      // } else if (res.data.records[0].locSts == 'S') { | 
 |  |  |                      //    res.data.records[0].locSts$ = '货架进入中' | 
 |  |  |                      // } else if (res.data.records[0].locSts == 'R') { | 
 |  |  |                      //    res.data.records[0].locSts$ = '货架离开中' | 
 |  |  |                      // } | 
 |  |  |                       | 
 |  |  |                      setTimeout(()=>{ | 
 |  |  |                         for  (let k of res.data.records) { | 
 |  |  | 
 |  |  |       padding: 24rpx; | 
 |  |  |    } | 
 |  |  |    .wrkMast-wrkNo { | 
 |  |  |       font-size: 32px; | 
 |  |  |       font-size: 30px; | 
 |  |  |       font-weight: bold; | 
 |  |  |       padding: 24rpx 0; | 
 |  |  |       display: flex; |