#
zhou zhou
9 天以前 eef6fe72909835ef6ff537d6620626ff8973b8ba
pages/home/home.vue
@@ -35,7 +35,7 @@
                  title: '订单入库',
                  name: 'orderPakin',
                  color: 'red',
                  cuIcon: 'pullup',
                  cuIcon: '',
                  url: '/order/orderList'
               },
               {
@@ -44,42 +44,93 @@
                  color: 'orange',
                  cuIcon: 'pullup',
                  url: '/pakin/leftovers'
               },
               },
               // {
               //    title: '平库入库',
               //    name: 'POrderPakin',
               //    color: 'purple',
               //    cuIcon: 'pullup',
               //    cuIcon: '',
               //    url: '/pingku/POrderList'
               // },
               // {
               //    title: '平库出库',
               //    name: 'POrderPakin',
               //    color: 'cyan',
               //    cuIcon: 'pullup',
               //    cuIcon: '',
               //    url: '/pingku/POrderListOut'
               // },
               // {
               //    title: '平库库存调整',
               //    name: 'oo',
               //    color: 'olive',
               //    cuIcon: '',
               //    url: '/pingku/PInventoryAdjustment'
               // },
               {
                  title: '呼叫Agv',
                  name: 'AGVStart',
                  color: 'green',
                  cuIcon: 'order',
                  color: 'cyan',
                  cuIcon: '',
                  url: '/AGV/AGVStart'
               },
               // {
               //    title: 'Agv拆托呼叫',
               //    name: 'AGVDismantle',
               //    color: 'cyan',
               //    cuIcon: '',
               //    url: '/AGV/AGVDismantle'
               // },
               {
                  title: 'Agv储位解绑',
                  name: 'AGVUnbind',
                  color: 'orange',
                  cuIcon: 'order',
                  cuIcon: '',
                  url: '/AGV/AGVUnbind'
               },{
                  title: '盘点',
                  name: 'stockCheck',
                  color: 'red',
                  cuIcon: 'post',
                  url: '/stock/stockCheck'
               },
               // {
               //    title: 'Agv储位绑定',
               //    name: 'AGVBind',
               //    color: 'purple',
               //    cuIcon: '',
               //    url: '/AGV/AGVBind'
               // },
               // {
               //    title: '站绑定',
               //    name: 'AGVStaBind',
               //    color: 'red',
               //    cuIcon: '',
               //    url: '/AGV/AGVStaBind'
               // },
               // {
               //    title: '产线叫料',
               //    name: 'AGVSiteList',
               //    color: 'red',
               //    cuIcon: '',
               //    url: '/AGV/AGVSiteList'
               // },
               // {
               //    title: '产线叫料2',
               //    name: 'AGVSiteList2',
               //    color: 'red',
               //    cuIcon: '',
               //    url: '/AGV/AGVSiteList2'
               // },
               // {
               //    title: '成品呼叫',
               //    name: 'AGVFinishedCall',
               //    color: 'orange',
               //    cuIcon: '',
               //    url: '/AGV/AGVFinishedCall'
               // },
               // {
               //    title: '成品呼叫2',
               //    name: 'AGV_2F',
               //    color: 'purple',
               //    cuIcon: '',
               //    url: '/AGV/AGV2F'
               // },
               // {
               //    title: '组托上架',
               //    name: 'putOn',
@@ -112,11 +163,11 @@
               //    title: '库存查询',
               //    name: 'stockQuery',
               //    color: 'green',
               //    cuIcon: 'check',
               //    cuIcon: '',
               //    url: '/stock/stockQuery'
               // },
               // {
               // {
               //    title: '商品打印',
               //    name: 'matList',
@@ -154,7 +205,9 @@
               },
            ],
            colorList: ['cyan','blue','mauve','pink','brown','red','orange','yellow','olive','olive','green','grey' ]
            colorList: ['cyan', 'blue', 'mauve', 'pink', 'brown', 'red', 'orange', 'yellow', 'olive', 'olive', 'green',
               'grey'
            ]
         };
      },
      onShow() {
@@ -168,7 +221,9 @@
            uni.request({
               url: that.baseUrl + '/menu/pda/auth',
               data: {},
               header: { 'token': uni.getStorageSync('token') },
               header: {
                  'token': uni.getStorageSync('token')
               },
               method: 'POST',
               success(res) {
                  res = res.data
@@ -209,7 +264,7 @@
                           url: '../login/login'
                        });
                     }, 1000);
                  } else if(res.status === 404) {
                  } else if (res.status === 404) {
                     that.elements = that.elements2
                     // uni.showToast({
                     //    title: '默认主页',
@@ -230,7 +285,7 @@
            })
         },
         getIcon(e) {
            const ways = ['pakin','orderPakin','orderPutOn']
            const ways = ['pakin', 'orderPakin', 'orderPutOn']
            if (ways.includes(e)) {
               this.icon = 'pullup'
            }