#
whycq
2024-06-26 bac73fb0b9bc55eb76a26adbc8ada71a1566a8de
pages/home/home.vue
@@ -4,7 +4,7 @@
         <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>
@@ -24,52 +24,66 @@
            icon: '',
            elements: [],
            elements2: [
               // {
               //    title: '组托入库',
               //    name: 'pakin',
               //    color: 'cyan',
               //    cuIcon: 'pullup',
               //    url: '/pakin/pakin'
               // },
               {
                  title: '订单组托',
                  title: '组托入库',
                  name: 'pakin',
                  color: 'cyan',
                  cuIcon: 'pullup',
                  url: '/pakin/pakin'
               },
               {
                  title: '定点出库',
                  name: 'pakin',
                  color: 'yellow',
                  cuIcon: 'pullup',
                  url: '/pakin/pakin2'
               },
               // {
               //    title: '再次拣料',
               //    name: 'changePallet',
               //    color: 'green',
               //    cuIcon: 'order',
               //    url: '/pakin/pickAgain'
               // },
               /* {
                  title: '订单入库',
                  name: 'orderPakin',
                  color: 'blue',
                  color: 'red',
                  cuIcon: 'pullup',
                  url: '/order/orderPakin'
               },
               {
                  title: '组托上架',
                  name: 'putOn',
                  color: 'cyan',
                  color: 'orange',
                  cuIcon: 'pullup',
                  url: '/pakin/putOn'
               },
               // {
               //    title: '打印',
               //    name: 'print',
               //    color: 'purple',
               //    cuIcon: 'text',
               //    url: '/print/print'
               // },
               {
                  title: '打印',
                  name: 'print',
                  color: 'purple',
                  cuIcon: 'text',
                  url: '/print/print'
               },
               {
                  title: '订单上架',
                  name: 'orderPutOn',
                  color: 'mauve',
                  color: 'yellow',
                  cuIcon: 'pullup',
                  url: '/order/orderPutOn'
               },
               {
                  title: '订单下架',
                  name: 'orderPutDown',
                  color: 'pink',
                  color: 'olive',
                  cuIcon: 'pulldown',
                  url: '/order/orderPutDown'
               },
               {
                  title: '库存查询',
                  name: 'stockQuery',
                  color: 'brown',
                  color: 'green',
                  cuIcon: 'check',
                  url: '/stock/stockQuery'
               },
@@ -107,7 +121,7 @@
                  color: 'green',
                  cuIcon: 'order',
                  url: '/stock/changePallet'
               },
               }, */
               {
                  title: '退出登录',
                  name: 'logOut',
@@ -123,7 +137,7 @@
      onShow() {
         this.baseUrl = uni.getStorageSync('baseUrl');
         this.token = uni.getStorageSync('token');
         this.getAuth()
         // this.getAuth()
      },
      methods: {
         getAuth() {