#
whycq
2024-07-06 377700c2d7677af5c08a7508ccf78e3ca32c9128
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>
@@ -30,91 +30,91 @@
                  color: 'cyan',
                  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: '组托上架',
                  title: '平库组托',
                  name: 'putOn',
                  color: 'orange',
                  cuIcon: 'pullup',
                  url: '/pakin/putOn'
               },
               {
                  title: '打印',
                  title: '平库上架',
                  name: 'print',
                  color: 'purple',
                  cuIcon: 'text',
                  url: '/print/print'
               },
               {
                  title: '订单上架',
                  title: '平库下架',
                  name: 'orderPutOn',
                  color: 'yellow',
                  cuIcon: 'pullup',
                  url: '/order/orderPutOn'
                  url: '/order/orderList'
               },
               {
                  title: '订单下架',
                  name: 'orderPutDown',
                  title: '订单组托',
                  name: 'orderComb',
                  color: 'olive',
                  cuIcon: 'pulldown',
                  url: '/order/orderPutDown'
                  url: '/order/orderComb'
               },
               {
                  title: '库存查询',
                  name: 'stockQuery',
                  title: '并板入库',
                  name: 'orderPickConfirm',
                  color: 'green',
                  cuIcon: 'check',
                  url: '/stock/stockQuery'
                  cuIcon: 'pulldown',
                  url: '/order/orderPickConfirm'
               },
               {
                  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: 'changePallet',
                  title: '制令入库',
                  name: 'pakin',
                  color: 'green',
                  cuIcon: 'order',
                  url: '/stock/changePallet'
                  cuIcon: 'pulldown',
                  url: '/order/zlOrderPakin'
               },
               // {
               //    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: 'changePallet',
               //    color: 'green',
               //    cuIcon: 'order',
               //    url: '/stock/changePallet'
               // },
               {
                  title: '退出登录',
                  name: 'logOut',
@@ -136,7 +136,7 @@
         getAuth() {
            let that = this
            uni.request({
               url: that.baseUrl + '/menu/pda/auth',
               url: that.baseUrl + '/mobile/menu/pda/auth',
               data: {},
               header: { 'token': uni.getStorageSync('token') },
               method: 'POST',
@@ -145,7 +145,7 @@
                  that.elements = []
                  if (res.code === 200) {
                     if (res.data == undefined || res.data == null || res.data == "") {
                        that.elements = that.elements2
                        that.elements = that.elements2
                        return
                     }
                     for (var i = 0; i < res.data.length; i++) {
@@ -163,9 +163,9 @@
                     }
                     that.elements.push({
                        title: '退出登录',
                        name: 'logOut',
                        name: '',
                        color: 'grey',
                        cuIcon: 'exit',
                        cuIcon: '',
                        url: '/login/logOut'
                     })
                  } else if (res.code === 403) {