| | |
| | | "navigationBarTitleText" : "空板入出库", |
| | | "enablePullDownRefresh" : false |
| | | } |
| | | }, |
| | | { |
| | | "path" : "pages/phyz/stationManage/stationManage", |
| | | "style" : |
| | | { |
| | | "navigationBarTitleText" : "站点查询维护", |
| | | "enablePullDownRefresh" : false |
| | | } |
| | | } |
| | | |
| | | |
| | |
| | | project: 'tzsk', |
| | | elements2: [ |
| | | { |
| | | title: '组托', |
| | | name: 'pakin', |
| | | color: 'blue', |
| | | // cuIcon: 'pullup', |
| | | url: `/phyz/AGV/AGVPakin` |
| | | }, |
| | | { |
| | | title: '空板入出库', |
| | | name: 'emptyIn', |
| | | color: 'blue', |
| | |
| | | url: `/phyz/AGV/emptyPakin` |
| | | }, |
| | | { |
| | | title: '采购入库-后转订单', |
| | | name: 'AGVPick', |
| | | color: 'cyan', |
| | | title: '组托', |
| | | name: 'pakin', |
| | | color: 'blue', |
| | | // cuIcon: 'pullup', |
| | | url: `/tzsk/AGV/AGVPick` |
| | | url: `/phyz/AGV/AGVPakin` |
| | | }, |
| | | |
| | | { |
| | |
| | | project: 'tzsk', |
| | | elements2: [ |
| | | { |
| | | title: '站点查询维护', |
| | | name: 'stationManage', |
| | | color: 'cyan', |
| | | // cuIcon: 'pullup', |
| | | url: `/phyz/stationManage/stationManage` |
| | | }, |
| | | { |
| | | title: '入出库管理', |
| | | name: 'inOutManage', |
| | | color: 'cyan', |
| | | color: 'purple', |
| | | // cuIcon: 'pullup', |
| | | url: `/home/inOutManage` |
| | | }, |
| | |
| | | { |
| | | title: '工作档管理', |
| | | name: 'ordeManage', |
| | | color: 'mauve', |
| | | color: 'brown', |
| | | // cuIcon: 'pullup', |
| | | url: `/home/wrkMastManage` |
| | | }, |
New file |
| | |
| | | <template> |
| | | <view> |
| | | <view class="code"> |
| | | <uni-search-bar :focus="searchValueFocus" v-model="searchValue" @input="searchValueInput()" |
| | | maxlength="500" ancel="cancel" @clear="clear" placeholder="输入 / 扫描 订单号"> |
| | | </uni-search-bar> |
| | | </view> |
| | | <view class="list" v-if="station"> |
| | | <view class="list-left"> |
| | | <view>站点编号:{{station.stationCode}}</view> |
| | | <view>工位编号:{{station.devNo}}</view> |
| | | <view>工位状态:{{station.locSts$}}</view> |
| | | <view>条形码:{{station.barcode}}</view> |
| | | <!-- <view class="card-id">{{i + 1}}</view> --> |
| | | </view> |
| | | <view class="list-right" @click="getOrderDetl(item)"> |
| | | <uni-icons type="right" color="#c1c1c1"></uni-icons> |
| | | </view> |
| | | </view> |
| | | <view class="list" v-if="wrkMast"> |
| | | <view class="list-left"> |
| | | <view>工作号:{{wrkMast.wrkNo}}</view> |
| | | <view>工作状态:{{wrkMast.wrkSts$}}</view> |
| | | <view>入出库类型:{{wrkMast.ioType$}}</view> |
| | | <view>源库位:{{wrkMast.sourceLocNo}}</view> |
| | | <view>目标库位:{{wrkMast.locNo}}</view> |
| | | <view>料箱码:{{wrkMast.barcode}}</view> |
| | | <!-- <view class="card-id">{{i + 1}}</view> --> |
| | | </view> |
| | | <view class="list-right" @click="getOrderDetl(item)"> |
| | | <uni-icons type="right" color="#c1c1c1"></uni-icons> |
| | | </view> |
| | | </view> |
| | | </view> |
| | | </template> |
| | | |
| | | <script> |
| | | export default { |
| | | data() { |
| | | return { |
| | | baseUrl: '', |
| | | token: '', |
| | | searchValueFocus: true, |
| | | searchValue: '', |
| | | station: '', |
| | | wrkMast: '' |
| | | |
| | | } |
| | | }, |
| | | onLoad() { |
| | | this.baseUrl = uni.getStorageSync('baseUrl'); |
| | | this.token = uni.getStorageSync('token'); |
| | | }, |
| | | onShow() { |
| | | |
| | | }, |
| | | methods: { |
| | | searchValueInput() { |
| | | this.getBasDevp() |
| | | }, |
| | | // 获取暂存位 |
| | | getBasDevp() { |
| | | let _this = this |
| | | uni.request({ |
| | | url: `${_this.baseUrl}/agv/basDevp/list/auth`, |
| | | header: {'token': uni.getStorageSync('token')}, |
| | | data: { |
| | | curr: 1, |
| | | limit: 1000, |
| | | dev_no: _this.searchValue |
| | | }, |
| | | method: 'GET', |
| | | success(res) { |
| | | res = res.data |
| | | if (res.code === 200) { |
| | | for (let item of res.data.records) { |
| | | _this.station = item |
| | | _this.getWrkMast(item.barcode) |
| | | } |
| | | } |
| | | } |
| | | }) |
| | | }, |
| | | // 获取工作档 |
| | | getWrkMast(barcode) { |
| | | let _this = this |
| | | uni.request({ |
| | | url: `${_this.baseUrl}/agv/wrkMast/list/auth`, |
| | | header: {'token': uni.getStorageSync('token')}, |
| | | data: { |
| | | curr: 1, |
| | | limit: 1000, |
| | | condition: barcode |
| | | }, |
| | | method: 'GET', |
| | | success(res) { |
| | | res = res.data |
| | | if (res.code === 200) { |
| | | for (let item of res.data.records) { |
| | | _this.wrkMast = item |
| | | } |
| | | } |
| | | } |
| | | }) |
| | | } |
| | | } |
| | | } |
| | | </script> |
| | | |
| | | <style> |
| | | @import url('../../../static/css/common/order.css'); |
| | | .list-anfme { |
| | | color: #0082ff; |
| | | font-weight: bold; |
| | | } |
| | | .list-qty-1 { |
| | | color: #33ba43; |
| | | font-weight: bold; |
| | | } |
| | | .list-qty-2 { |
| | | color: #e2231a; |
| | | font-weight: bold; |
| | | } |
| | | </style> |