#
whycq
2023-10-04 d78a337df4af502f6e886dd4cb1533f2ec02843c
pages/home/home.vue
@@ -23,45 +23,116 @@
            token: '',
            icon: '',
            elements: [],
            elements2: [{
            elements2: [
               {
                  title: '组托入库',
                  name: 'pakin',
                  color: 'cyan',
                  cuIcon: 'pullup',
                  url: '/pakin/pakin'
                  url: '/tzsk/pakin/pakin2'
               },
               {
                  title: '组托上架',
                  name: 'pakin',
                  color: 'cyan',
                  cuIcon: 'pullup',
                  url: '/tzsk/order/orderPutOn'
               },
               {
                  title: '订单拣货',
                  name: 'pakin',
                  color: 'cyan',
                  cuIcon: 'pullup',
                  url: '/tzsk/order/orderPick'
               },
               {
                  title: '临时入库',
                  name: 'pakin',
                  color: 'cyan',
                  cuIcon: 'pullup',
                  url: '/pakin/pakin2'
               },
               {
                  title: 'AGV盘点/拣料',
                  name: 'pakin',
                  color: 'cyan',
                  cuIcon: 'pullup',
                  url: '/tzsk/AGV/AGVPick'
               },
               {
                  title: '再次拣料',
                  name: 'changePallet',
                  color: 'green',
                  cuIcon: 'order',
                  url: '/pakin/pickAgain'
               },
               {
                  title: 'AGV组托',
                  name: 'AGVPakin',
                  color: 'blue',
                  cuIcon: 'pullup',
                  url: '/tzsk/AGV/AGVPakin'
               },
               {
                  title: 'AGV上架绑定',
                  name: 'AGVPakinBing',
                  color: 'mauve',
                  // cuIcon: 'pullup',
                  url: '/tzsk/AGV/AGVPakinBing'
               },
               {
                  title: 'AGV启动入库',
                  name: 'AGVStart',
                  color: 'pink',
                  // cuIcon: 'pullup',
                  url: '/tzsk/AGV/AGVStart'
               },
               {
                  title: 'AGV上架组托',
                  name: 'AGVPakinOn',
                  color: 'brown',
                  // cuIcon: 'pullup',
                  url: '/tzsk/AGV/AGVPakinOn'
               },
               {
                  title: '订单入库',
                  name: 'orderPakin',
                  color: 'blue',
                  color: 'red',
                  cuIcon: 'pullup',
                  url: '/order/orderPakin'
               },
               // {
               //    title: '打印',
               //    name: 'print',
               //    color: 'purple',
               //    cuIcon: 'text',
               //    url: '/print/print'
               // },
               {
                  title: '组托上架',
                  name: 'putOn',
                  color: 'orange',
                  cuIcon: 'pullup',
                  url: '/pakin/putOn'
               },
               {
                  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'
               },
@@ -165,11 +236,12 @@
                        });
                     }, 1000);
                  } else if(res.status === 404) {
                     uni.showToast({
                        title: '404',
                        icon: "none",
                        position: 'top'
                     })
                     that.elements = that.elements2
                     // uni.showToast({
                     //    title: '默认主页',
                     //    icon: "none",
                     //    position: 'top'
                     // })
                  } else {
                     uni.showToast({
                        title: res.msg,