| | |
| | | <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> |
| | |
| | | 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: '组托上架', |
| | |
| | | url: '/pakin/piking' |
| | | }, |
| | | { |
| | | title: '并板组托', |
| | | name: 'mergeStore', |
| | | color: 'olive', |
| | | cuIcon: 'order', |
| | | url: '/pakin/mergeStore' |
| | | }, |
| | | { |
| | | title: '换板绑定', |
| | | name: 'changePallet', |
| | | color: 'green', |
| | |
| | | success(res) { |
| | | res = res.data |
| | | that.elements = [ |
| | | { |
| | | title: '组件物料', |
| | | name: 'moduleMat', |
| | | color: 'green', |
| | | cuIcon: 'order', |
| | | url: '/mat/moduleMat' |
| | | }, |
| | | // { |
| | | // title: '组件入库', |
| | | // name: 'modulePakin', |
| | | // color: 'green', |
| | | // cuIcon: 'order', |
| | | // url: '/pakin/modulePakin' |
| | | // }, |
| | | ] |
| | | if (res.code === 200) { |
| | | if (res.data == undefined || res.data == null || res.data == "") { |
| | |
| | | break; |
| | | } |
| | | that.getIcon(res.data[i].title) |
| | | that.elements.unshift({ |
| | | that.elements.push({ |
| | | title: res.data[i].name, |
| | | name: res.data[i].title, |
| | | color: that.colorList[i], |