|  |  |  | 
|---|
|  |  |  | <template> | 
|---|
|  |  |  | <view> | 
|---|
|  |  |  | <view class="status_bar"> | 
|---|
|  |  |  | <!-- 这里是状态栏 --> | 
|---|
|  |  |  | </view> | 
|---|
|  |  |  | <uni-nav-bar left-icon="left" background-color="#f8f8f8" title="并板入库" @clickLeft="back"  :fixed="true" | 
|---|
|  |  |  | :border="false" rightWidth="160rpx" leftWidth="160rpx" | 
|---|
|  |  |  | > | 
|---|
|  |  |  | <block slot="right"> | 
|---|
|  |  |  | <view class="city"> | 
|---|
|  |  |  | <view> | 
|---|
|  |  |  | <text class="uni-nav-bar-text">{{store}}</text> | 
|---|
|  |  |  | </view> | 
|---|
|  |  |  | </view> | 
|---|
|  |  |  | </block> | 
|---|
|  |  |  | </uni-nav-bar> | 
|---|
|  |  |  | <view class="code"> | 
|---|
|  |  |  | <view class="item"> | 
|---|
|  |  |  | <view class="code-decs">库位号:</view> | 
|---|
|  |  |  | 
|---|
|  |  |  | return { | 
|---|
|  |  |  | baseUrl: '', | 
|---|
|  |  |  | token: '', | 
|---|
|  |  |  | storeId: 0, | 
|---|
|  |  |  | store: '', | 
|---|
|  |  |  | locNo: '', | 
|---|
|  |  |  | locNoList: [], | 
|---|
|  |  |  | sta: '', | 
|---|
|  |  |  | 
|---|
|  |  |  | this.token = uni.getStorageSync('token'); | 
|---|
|  |  |  | this.getPickStaList() | 
|---|
|  |  |  | this.getMatList() | 
|---|
|  |  |  | this.storeId = uni.getStorageSync('store') | 
|---|
|  |  |  | if (this.storeId == 1) { | 
|---|
|  |  |  | this.store = '宁波仓' | 
|---|
|  |  |  | } | 
|---|
|  |  |  | if (this.storeId == 2) { | 
|---|
|  |  |  | this.store = '新昌仓' | 
|---|
|  |  |  | } | 
|---|
|  |  |  | }, | 
|---|
|  |  |  | methods: { | 
|---|
|  |  |  | back() { uni.navigateBack({}) }, | 
|---|
|  |  |  | set(e) { | 
|---|
|  |  |  | var ck = this.dataList[e].checked | 
|---|
|  |  |  | this.dataList[e].checked = ck ? false : true | 
|---|