#
zjj
2024-05-29 d9c50654ead0a35e44294059db41def2de1932b1
pages/home/home.vue
@@ -30,91 +30,77 @@
                  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'
               },
               {
                  title: '订单下架',
                  name: 'orderPutDown',
                  title: '订单组托',
                  name: 'orderComb',
                  color: 'olive',
                  cuIcon: 'pulldown',
                  url: '/order/orderPutDown'
                  url: '/order/orderComb'
               },
               {
                  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: '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 +122,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 +131,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++) {