小小儁爺
2025-05-08 ebbe758df90e7049a859317c8055a7f81ca3422f
pages/xtsy/index.vue
@@ -120,7 +120,7 @@
               if (this.$companyType === 'A') {
                  this.menuList = res.data.filter(i => i.code === '2005')[0].children
               } else if (this.$companyType === 'B') {
                  this.menuList = res.data
                  this.menuList = res.data.sort((a, b) => a.seq - b.seq)
                  // this.menuList = []
                  // res.data.forEach(i => {
                  //    i.children.forEach(j => {
@@ -167,7 +167,7 @@
               case '2100':
                  url = 'grzx/gzcl' //工资产量
                  break;
               case '2014':
               case '2101':
                  url = 'grzx/mmsz' //密码设置
                  break;
               case '2015':
@@ -203,6 +203,9 @@
                  // 质量管理
               case '2701':
                  url = 'zlgl/rcjy' //入厂检验
                  break;
               case '2702':
                  url = 'zlgl/sjjy' //首检检验
                  break;
@@ -212,6 +215,7 @@
               case '2704':
                  url = 'zlgl/wgjy' //完工检验
                  break;
                  // 设备管理
@@ -405,6 +409,16 @@
               case '2104':
                  url = 'znfx/scjd' //生产进度
                  break;
                  // 物料管理
               case '2600':
                  url = 'wlgl/cgdh' //采购到货
                  break;
               case '2601':
                  url = 'wlgl/cgrk' //采购入库
                  break;
            }
            this.popupShow = false //二级菜单的显隐控制
            console.log(url)