| | |
| | | onShow() { |
| | | this.baseUrl = uni.getStorageSync('baseUrl'); |
| | | this.token = uni.getStorageSync('token'); |
| | | if (uni.getStorageSync('lev1')) { |
| | | this.lev1 = uni.getStorageSync('lev1'); |
| | | } else { |
| | | this.lev1 = 2 |
| | | } |
| | | |
| | | this.getLocMastList() |
| | | this.barcode = '' |
| | | }, |
| | |
| | | }, 100); |
| | | }, |
| | | getLocMastList(barcode) { |
| | | let _this = this |
| | | let _this = this |
| | | uni.setStorageSync('lev1', this.lev1); |
| | | uni.request({ |
| | | url: `${_this.baseUrl}/agv/locMast/list/auth`, |
| | | header: {'token': uni.getStorageSync('token')}, |
| | |
| | | limit: 50, |
| | | row1: _this.row1, |
| | | bay1: _this.bay1, |
| | | lev1: _this.lev1, |
| | | floor: _this.lev1, |
| | | barcode: barcode |
| | | }, |
| | | method: 'GET', |
| | |
| | | .locSts-P { |
| | | background-color: #ffaa00; |
| | | } |
| | | .locSts-Q { |
| | | background-color: #47a301; |
| | | } |
| | | .locSts-X { |
| | | background-color: #767676; |
| | | } |