| | |
| | | <view class="nav-list"> |
| | | <navigator hover-class='none' :url="'/pages' + item.url" class="nav-li" navigateTo |
| | | :class="'bg-'+item.color" :style="[{animation: 'show ' + ((index+1)*0.2+1) + 's 1'}]" |
| | | v-for="(item,index) in elements" :key="index"> |
| | | v-for="(item,index) in elements2" :key="index"> |
| | | <view class="nav-title">{{item.title}}</view> |
| | | <view class="nav-name">{{item.name}}</view> |
| | | <text :class="'cuIcon-' + item.cuIcon"></text> |
| | |
| | | cuIcon: 'pullup', |
| | | url: '/pakin/pakin' |
| | | }, |
| | | { |
| | | title: '再次拣料', |
| | | name: 'changePallet', |
| | | color: 'green', |
| | | cuIcon: 'order', |
| | | url: '/pakin/pickAgain' |
| | | }, |
| | | { |
| | | title: '订单入库', |
| | | name: 'orderPakin', |
| | | color: 'red', |
| | | cuIcon: 'pullup', |
| | | url: '/order/orderPakin' |
| | | }, |
| | | { |
| | | title: '销售单入库', |
| | | name: 'orderIn', |
| | | color: 'blue', |
| | | cuIcon: 'pullup', |
| | | url: '/order/orderIn' |
| | | }, |
| | | { |
| | | title: 'Bom入库单', |
| | | name: 'orderBomPakin', |
| | | color: 'red', |
| | | cuIcon: 'pullup', |
| | | url: '/order/orderBomPakin' |
| | | }, |
| | | { |
| | | title: '组托上架', |
| | | name: 'putOn', |
| | | color: 'orange', |
| | | cuIcon: 'pullup', |
| | | url: '/pakin/putOn' |
| | | }, |
| | | { |
| | | title: '打印', |
| | | name: 'print', |
| | | color: 'purple', |
| | | cuIcon: 'text', |
| | | url: '/print/print' |
| | | }, |
| | | { |
| | | title: '订单上架', |
| | | name: 'orderPutOn', |
| | | color: 'yellow', |
| | | cuIcon: 'pullup', |
| | | url: '/order/orderPutOn' |
| | | }, |
| | | { |
| | | title: '订单下架', |
| | | name: 'orderPutDown', |
| | | color: 'olive', |
| | | cuIcon: 'pulldown', |
| | | url: '/order/orderPutDown' |
| | | }, |
| | | { |
| | | title: '库存查询', |
| | | name: 'stockQuery', |
| | | color: 'green', |
| | | cuIcon: 'check', |
| | | url: '/stock/stockQuery' |
| | | }, |
| | | { |
| | | title: '盘点', |
| | | name: 'stockCheck', |
| | | color: 'red', |
| | | cuIcon: 'post', |
| | | url: '/stock/stockCheck' |
| | | }, |
| | | { |
| | | title: '商品打印', |
| | | name: 'matList', |
| | | color: 'orange', |
| | | cuIcon: 'post', |
| | | url: '/mat/matList' |
| | | }, |
| | | { |
| | | title: '补货', |
| | | name: 'restock', |
| | | color: 'yellow', |
| | | cuIcon: 'punch', |
| | | url: '/stock/restock' |
| | | }, |
| | | { |
| | | title: '转全板', |
| | | name: 'piking', |
| | | color: 'olive', |
| | | cuIcon: 'order', |
| | | url: '/pakin/piking' |
| | | }, |
| | | { |
| | | title: '并板组托', |
| | | name: 'mergeStore', |
| | | color: 'olive', |
| | | cuIcon: 'order', |
| | | url: '/pakin/mergeStore' |
| | | }, |
| | | { |
| | | title: '换板绑定', |
| | | name: 'changePallet', |
| | | color: 'green', |
| | | cuIcon: 'order', |
| | | url: '/stock/changePallet' |
| | | }, |
| | | // { |
| | | // title: '再次拣料', |
| | | // name: 'changePallet', |
| | | // color: 'green', |
| | | // cuIcon: 'order', |
| | | // url: '/pakin/pickAgain' |
| | | // }, |
| | | // { |
| | | // title: '订单入库', |
| | | // name: 'orderPakin', |
| | | // color: 'red', |
| | | // cuIcon: 'pullup', |
| | | // url: '/order/orderPakin' |
| | | // }, |
| | | // { |
| | | // title: '销售单入库', |
| | | // name: 'orderIn', |
| | | // color: 'blue', |
| | | // cuIcon: 'pullup', |
| | | // url: '/order/orderIn' |
| | | // }, |
| | | // { |
| | | // title: 'Bom入库单', |
| | | // name: 'orderBomPakin', |
| | | // color: 'red', |
| | | // cuIcon: 'pullup', |
| | | // url: '/order/orderBomPakin' |
| | | // }, |
| | | // { |
| | | // title: '组托上架', |
| | | // name: 'putOn', |
| | | // color: 'orange', |
| | | // cuIcon: 'pullup', |
| | | // url: '/pakin/putOn' |
| | | // }, |
| | | // { |
| | | // title: '打印', |
| | | // name: 'print', |
| | | // color: 'purple', |
| | | // cuIcon: 'text', |
| | | // url: '/print/print' |
| | | // }, |
| | | // { |
| | | // title: '订单上架', |
| | | // name: 'orderPutOn', |
| | | // color: 'yellow', |
| | | // cuIcon: 'pullup', |
| | | // url: '/order/orderPutOn' |
| | | // }, |
| | | // { |
| | | // title: '订单下架', |
| | | // name: 'orderPutDown', |
| | | // color: 'olive', |
| | | // cuIcon: 'pulldown', |
| | | // url: '/order/orderPutDown' |
| | | // }, |
| | | // { |
| | | // title: '库存查询', |
| | | // name: 'stockQuery', |
| | | // color: 'green', |
| | | // cuIcon: 'check', |
| | | // url: '/stock/stockQuery' |
| | | // }, |
| | | // { |
| | | // title: '盘点', |
| | | // name: 'stockCheck', |
| | | // color: 'red', |
| | | // cuIcon: 'post', |
| | | // url: '/stock/stockCheck' |
| | | // }, |
| | | // { |
| | | // title: '商品打印', |
| | | // name: 'matList', |
| | | // color: 'orange', |
| | | // cuIcon: 'post', |
| | | // url: '/mat/matList' |
| | | // }, |
| | | // { |
| | | // title: '补货', |
| | | // name: 'restock', |
| | | // color: 'yellow', |
| | | // cuIcon: 'punch', |
| | | // url: '/stock/restock' |
| | | // }, |
| | | // { |
| | | // title: '转全板', |
| | | // name: 'piking', |
| | | // color: 'olive', |
| | | // cuIcon: 'order', |
| | | // url: '/pakin/piking' |
| | | // }, |
| | | // { |
| | | // title: '并板组托', |
| | | // name: 'mergeStore', |
| | | // color: 'olive', |
| | | // cuIcon: 'order', |
| | | // url: '/pakin/mergeStore' |
| | | // }, |
| | | // { |
| | | // title: '换板绑定', |
| | | // name: 'changePallet', |
| | | // color: 'green', |
| | | // cuIcon: 'order', |
| | | // url: '/stock/changePallet' |
| | | // }, |
| | | { |
| | | title: '退出登录', |
| | | name: 'logOut', |
| | |
| | | <view class="form-item-content"><text>{{mat.specs}}</text></view> |
| | | </view> |
| | | <view class="form-item"> |
| | | <view class="form-item-desc"><text>批号</text></view> |
| | | <view class="form-item-desc"><text>情况说明</text></view> |
| | | <view class="form-item-content"> |
| | | <view class="form-input"> |
| | | <input type="text" v-model="mat.batch"> |
| | |
| | | <view class="left-item">{{item.specs}}</view> |
| | | </view> |
| | | <view class="list-left-item"> |
| | | <view class="desc">批号:</view> |
| | | <view class="desc" style="width: 38%;">情况说明:</view> |
| | | <view class="left-item"> |
| | | <uni-tag :text="item.batch" type="warning"></uni-tag> |
| | | </view> |
| | |
| | | </view> |
| | | </view> |
| | | <view class="popup-item"> |
| | | <view class="popup-item-left">批号:</view> |
| | | <view class="popup-item-right"><input type="text" v-model="batch"></view> |
| | | <view class="popup-item-left" style="width: 20vw;">情况说明:</view> |
| | | <view class="popup-item-right" style="width: 46vw;"><input type="text" v-model="batch"></view> |
| | | </view> |
| | | <!-- <view class="popup-item"> |
| | | <view class="popup-item-left">重量:</view> |
| | |
| | | // 搜索物料 |
| | | findMat() { |
| | | let that = this |
| | | var mat = that.matnr |
| | | let submitMat |
| | | let newMatnr |
| | | if (mat.includes(';')) { |
| | | newMatnr = mat.split(';') |
| | | submitMat = newMatnr[1] |
| | | } else { |
| | | submitMat = mat |
| | | } |
| | | uni.request({ |
| | | url: that.baseUrl + '/mat/auth', |
| | | data: { |
| | | matnr: that.matnr |
| | | matnr: submitMat |
| | | }, |
| | | header: { |
| | | 'token': uni.getStorageSync('token') |
| | |
| | | min-height: 40rpx; |
| | | display: flex; |
| | | align-items: center; |
| | | width: 25%; |
| | | width: 20%; |
| | | } |
| | | .left-item { |
| | | display: flex; |