菜单 三级检索的实现,可配置搜索是否包含标题

const asideTreeDataOrigin = [ //? 原始的侧边栏数据,不可修改
];
let asideTreeData = JSON.parse(JSON.stringify(asideTreeDataOrigin)); //? 动态的实时展示的侧边栏数据

const menuCheck = (val, menuItem) => menuItem.name.indexOf(val) > -1 || menuItem.quickIndex.indexOf(val) > -1; //todo 每一项的匹配规则

/**
 * todo 侧边栏根据搜索框的值动态更新
 * @param value (string) 需要检索的字符串
 * @param asideData (any[]) 侧边栏的原始数据
 * @param allLevel (boolean)是否需要对所有级别都进行检索,默认为否,只检索根级别的功能
 * @returns (any[])检索后的数据
 */
function asideTreeDataRetrieve (value = '', asideData = [], allLevel = false) {
  if (value && Array.isArray(asideData) && asideData.length) { //* 基础条件
    const data = JSON.parse(JSON.stringify(asideData));
    return data.reduce((accumulator, menuItem) => {
      if (menuItem.subMenus) { //* 如果当前菜单有子菜单时
        if (allLevel && menuCheck(value, menuItem)) { //* 对所有级别都进行检索
          return accumulator.concat(menuItem)
        }
        // menuItem.subMenus = arguments.callee(value, menuItem.subMenus, allLevel); //? 子级数据更新为最新的检索结果 —— 非严格模式
        menuItem.subMenus = asideTreeDataRetrieve(value, menuItem.subMenus, allLevel); //? 子级数据更新为最新的检索结果 —— 严格模式
        return menuItem.subMenus.length ? accumulator.concat(menuItem) : accumulator;
      } //* 如果当前菜单没有子菜单时
      return menuCheck(value, menuItem) ? accumulator.concat(menuItem) : accumulator;
    }, [])
  }
  return [];
};

function debounce(callback, wait) { //* 工程内的防抖函数
  let timer; //计时器
  return function() {
      let args = arguments;
      let _this = this;
      if (timer) clearTimeout(timer);
      timer = setTimeout(function() {
          callback.apply(_this, args);
      }, wait);
  }
}

const handleSearchChange = debounce((val) => { //todo 搜索框变化时执行
  const retrievedData = asideTreeDataRetrieve(val, asideTreeDataOrigin);
  asideTreeData = retrievedData;
  console.log('%c ▶️ 张浩雨: handleSearchChange -> asideTreeData ', 'font-size:16px;background-color:#8245df;color:white;', asideTreeData)
}, 1000)


handleSearchChange('采')
handleSearchChange('采购')
handleSearchChange('采购合同')

后端返回的菜单数据

const asideTreeDataOrigin = [ //? 原始的侧边栏数据,不可修改
	{
		"id": 2272,
		"code": "hzero.ciec",
		"name": "CIEC管理",
		"level": "organization",
		"parentId": 0,
		"type": "root",
		"sort": 1,
		"route": "",
		"subMenus": [
			{
				"id": 2273,
				"code": "hzero.ciec.mdm",
				"name": "主数据服务",
				"level": "organization",
				"parentId": 2272,
				"type": "dir",
				"sort": 0,
				"route": "",
				"parentName": "CIEC管理",
				"subMenus": [
					{
						"id": 2278,
						"code": "hzero.ciec.mdm.material.manage",
						"name": "物料管理",
						"quickIndex": "wuliaoguanli",
						"level": "organization",
						"parentId": 2273,
						"type": "menu",
						"sort": 0,
						"route": "/mdm/material-manage",
						"parentName": "主数据服务",
						"viewCode": "mdm.material.manage"
					},
					{
						"id": 2280,
						"code": "hzero.ciec.mdm.material.category.manage",
						"name": "物料类别管理",
						"quickIndex": "wuliaoleibieguanli",
						"level": "organization",
						"parentId": 2273,
						"type": "menu",
						"sort": 0,
						"route": "/mdm/material-category-manage",
						"parentName": "主数据服务",
						"viewCode": "mdm.material.category.manage"
					},
					{
						"id": 2331,
						"code": "hzero.ciec.mdm.store-info-manage",
						"name": "仓库主数据管理",
						"quickIndex": "cangkuzhushujuguanli",
						"level": "organization",
						"parentId": 2273,
						"type": "menu",
						"sort": 0,
						"route": "/mdm/store-info-manage",
						"parentName": "主数据服务",
						"viewCode": "mdm.store-info-manage"
					},
					{
						"id": 2352,
						"code": "hzero.ciec.mdm.credit-manage",
						"name": "信用额度申请",
						"quickIndex": "xinyongeduguanli",
						"level": "organization",
						"parentId": 2273,
						"type": "menu",
						"sort": 0,
						"route": "/mdm/credit-manage",
						"parentName": "主数据服务",
						"viewCode": "mdm.credit-manage"
					},
					{
						"id": 2354,
						"code": "hzero.ciec.mdm.relationship-manage",
						"name": "系属关系维护",
						"quickIndex": "xishuguanliweihu",
						"level": "organization",
						"parentId": 2273,
						"type": "menu",
						"sort": 0,
						"route": "/mdm/relationship-manage",
						"parentName": "主数据服务",
						"viewCode": "mdm.relationship-manage"
					},
					{
						"id": 2356,
						"code": "hzero.ciec.mdm.credit-line-sheet-manage",
						"name": "信用额度维护单",
						"quickIndex": "xinyongeduweihudan",
						"level": "organization",
						"parentId": 2273,
						"type": "menu",
						"sort": 0,
						"route": "/mdm/credit-sheet-manage",
						"parentName": "主数据服务",
						"viewCode": "mdm.credit-line-sheet-manage"
					},
					{
						"id": 2358,
						"code": "hzero.ciec.mdm.credit-allocation-manage",
						"name": "信用额度调拨管理",
						"quickIndex": "xinyongedudiaoboguanli",
						"level": "organization",
						"parentId": 2273,
						"type": "menu",
						"sort": 0,
						"route": "/mdm/credit-allocation-manage",
						"parentName": "主数据服务",
						"viewCode": "mdm.credit-allocation-manage"
					},
					{
						"id": 2737,
						"code": "hzero.ciec.mdm.adjustment-coefficient-platform",
						"name": "理算系数平台",
						"quickIndex": "lisuanxishupingtai",
						"level": "organization",
						"parentId": 2273,
						"type": "menu",
						"sort": 0,
						"route": "/mdm/adjustment-coefficient-platform",
						"parentName": "主数据服务",
						"viewCode": "mdm.adjustment-coefficient-platform"
					},
					{
						"id": 3000,
						"code": "hzero.ciec.mdm.customer-manage",
						"name": "客商管理",
						"quickIndex": "keshangguanli",
						"level": "organization",
						"parentId": 2273,
						"type": "menu",
						"sort": 0,
						"route": "/mdm/customer-manage",
						"parentName": "主数据服务",
						"viewCode": "mdm.customer-manage"
					},
					{
						"id": 3159,
						"code": "hzero.ciec.mdm.auth-apply",
						"name": "特殊权限申请单",
						"quickIndex": "teshuquanxianshenqingdan",
						"level": "organization",
						"parentId": 2273,
						"type": "menu",
						"sort": 0,
						"route": "/mdm/auth-apply",
						"parentName": "主数据服务",
						"viewCode": "mdm.auth-apply"
					},
					{
						"id": 4797,
						"code": "hzero.ciec.mdm.inno-admittance-apply",
						"name": "创新业务准入申请",
						"quickIndex": "chuangxinyewuzhunrushenqing",
						"level": "organization",
						"parentId": 2273,
						"type": "menu",
						"sort": 0,
						"route": "/mdm/inno-admittance-apply",
						"parentName": "主数据服务",
						"viewCode": "mdm.inno-admittance-apply"
					}
				],
				"viewCode": "mdm"
			},
			{
				"id": 2282,
				"code": "hzero.ciec.contract",
				"name": "合同服务",
				"level": "organization",
				"parentId": 2272,
				"type": "dir",
				"sort": 0,
				"route": "",
				"parentName": "CIEC管理",
				"subMenus": [
					{
						"id": 2327,
						"code": "hzero.ciec.contract.market-price-inquiry",
						"name": "市场价格管理",
						"quickIndex": "shichangjiageguanli",
						"level": "organization",
						"parentId": 2282,
						"type": "menu",
						"sort": 0,
						"route": "/cms/market-price-inquiry",
						"parentName": "合同服务",
						"viewCode": "contract.market-price-inquiry"
					},
					{
						"id": 2329,
						"code": "hzero.ciec.contract.steel",
						"name": "钢厂价格管理",
						"quickIndex": "GCJGGL",
						"level": "organization",
						"parentId": 2282,
						"type": "menu",
						"sort": 0,
						"route": "/cms/steel",
						"parentName": "合同服务",
						"viewCode": "contract.steel"
					},
					{
						"id": 2333,
						"code": "hzero.ciec.contract.procurement-contract-manage",
						"name": "采购合同管理",
						"quickIndex": "caigouhetongguanli",
						"level": "organization",
						"parentId": 2282,
						"type": "menu",
						"sort": 0,
						"route": "/cms/procurement-contract-manage",
						"parentName": "合同服务",
						"viewCode": "contract.procurement-contract-manage"
					},
					{
						"id": 2428,
						"code": "hzero.ciec.contract.sale-contract-manage",
						"name": "销售合同管理",
						"quickIndex": "xiaoshouhetongguanli",
						"level": "organization",
						"parentId": 2282,
						"type": "menu",
						"sort": 0,
						"route": "/cms/sale-contract-manage",
						"parentName": "合同服务",
						"viewCode": "contract.sale-contract-manage"
					},
					{
						"id": 2436,
						"code": "hzero.ciec.contract.contract-template-manage",
						"name": "合同模板管理",
						"quickIndex": "hetongmubanguanli",
						"level": "organization",
						"parentId": 2282,
						"type": "menu",
						"sort": 0,
						"route": "/cms/contract-template-manage",
						"parentName": "合同服务",
						"viewCode": "contract.contract-template-manage"
					},
					{
						"id": 2451,
						"code": "hzero.ciec.contract.sale-agreement-manage",
						"name": "销售协议管理",
						"quickIndex": "xiaoshouxieyiguanli",
						"level": "organization",
						"parentId": 2282,
						"type": "menu",
						"sort": 0,
						"route": "/cms/sale-agreement-manage",
						"parentName": "合同服务",
						"viewCode": "contract.sale-agreement-manage"
					},
					{
						"id": 2455,
						"code": "hzero.ciec.contract.procurement-plan-manage",
						"name": "采购计划单",
						"quickIndex": "caigoujihuadan",
						"level": "organization",
						"parentId": 2282,
						"type": "menu",
						"sort": 0,
						"route": "/cms/procurement-plan-manage",
						"parentName": "合同服务",
						"viewCode": "contract.procurement-plan-manage"
					},
					{
						"id": 2477,
						"code": "hzero.ciec.contract.price-confirmation-manage",
						"name": "价格确认单",
						"quickIndex": "JGQRD",
						"level": "organization",
						"parentId": 2282,
						"type": "menu",
						"sort": 0,
						"route": "/cms/price-confirmation-manage",
						"parentName": "合同服务",
						"viewCode": "contract.price-confirmation-manage"
					},
					{
						"id": 2501,
						"code": "hzero.ciec.contract.resource-distribut-manage",
						"name": "资源配货单",
						"quickIndex": "ziyuanpeihuodan",
						"level": "organization",
						"parentId": 2282,
						"type": "menu",
						"sort": 0,
						"route": "/cms/resource-distribut-manage",
						"parentName": "合同服务",
						"viewCode": "contract.resource-distribut-manage"
					},
					{
						"id": 2748,
						"code": "hzero.ciec.contract.contract-terms",
						"name": "合同条款",
						"quickIndex": "hetongtiaokuan",
						"level": "organization",
						"parentId": 2282,
						"type": "menu",
						"sort": 0,
						"route": "/cms/contract-terms",
						"parentName": "合同服务",
						"viewCode": "contract.contract-terms"
					},
					{
						"id": 4913,
						"code": "hzero.ciec.contract.batch-code",
						"name": "批次号管理",
						"quickIndex": "PCHGL",
						"level": "organization",
						"parentId": 2282,
						"type": "menu",
						"sort": 0,
						"route": "/cms/batch-code",
						"parentName": "合同服务",
						"viewCode": "contract.batch-code"
					},
					{
						"id": 4935,
						"code": "hzero.ciec.contract.ex-contract-manage",
						"name": "出口合同管理",
						"quickIndex": "CKHTGL",
						"level": "organization",
						"parentId": 2282,
						"type": "menu",
						"sort": 0,
						"route": "/cms/ex-contract-manage",
						"parentName": "合同服务",
						"viewCode": "contract.ex-contract-manage"
					},
					{
						"id": 5023,
						"code": "hzero.ciec.wms.foreign-chain",
						"name": "关联交易管理",
						"quickIndex": "GLJYGL",
						"level": "organization",
						"parentId": 2282,
						"type": "menu",
						"sort": 0,
						"route": "/wms/foreign-chain",
						"parentName": "合同服务",
						"viewCode": "wms.foreign-chain"
					},
					{
						"id": 5611,
						"code": "hzero.ciec.contract.qiming-interactive-platform2",
						"name": "启明交互平台",
						"quickIndex": "qmjhqt",
						"level": "organization",
						"parentId": 2282,
						"type": "menu",
						"sort": 0,
						"route": "/cms/qiming-interactive-platform/list",
						"parentName": "合同服务",
						"viewCode": "contract.qiming-interactive-platform2"
					}
				],
				"viewCode": "contract"
			},
			{
				"id": 2319,
				"code": "hzero.ciec.wms",
				"name": "仓储服务",
				"level": "organization",
				"parentId": 2272,
				"type": "dir",
				"sort": 0,
				"route": "",
				"parentName": "CIEC管理",
				"subMenus": [
					{
						"id": 2320,
						"code": "hzero.ciec.wms.sales-bill-manage",
						"name": "销售提单",
						"quickIndex": "xiaoshoushiti",
						"level": "organization",
						"parentId": 2319,
						"type": "menu",
						"sort": 0,
						"route": "/wms/sales-bill-manage",
						"parentName": "仓储服务",
						"viewCode": "wms.sales-bill-manage"
					},
					{
						"id": 2350,
						"code": "hzero.ciec.wms.purchase-warehousing",
						"name": "采购入库单",
						"quickIndex": "caigourukudan",
						"level": "organization",
						"parentId": 2319,
						"type": "menu",
						"sort": 0,
						"route": "/wms/purchase-warehousing",
						"parentName": "仓储服务",
						"viewCode": "wms.purchase-warehousing"
					},
					{
						"id": 2432,
						"code": "hzero.ciec.wms.sale-bill-lading",
						"name": "销售实提单",
						"quickIndex": "xiaoshoushitidan",
						"level": "organization",
						"parentId": 2319,
						"type": "menu",
						"sort": 0,
						"route": "/wms/sale-bill-lading",
						"parentName": "仓储服务",
						"viewCode": "wms.sale-bill-lading"
					},
					{
						"id": 2459,
						"code": "hzero.ciec.wms.number-objection",
						"name": "数量异议单",
						"quickIndex": "shuliangyiyidan",
						"level": "organization",
						"parentId": 2319,
						"type": "menu",
						"sort": 0,
						"route": "/wms/number-objection",
						"parentName": "仓储服务",
						"viewCode": "wms.number-objection"
					},
					{
						"id": 2524,
						"code": "hzero.ciec.wms.voyage-manage",
						"name": "航次管理",
						"quickIndex": "hangciguanli",
						"level": "organization",
						"parentId": 2319,
						"type": "menu",
						"sort": 0,
						"route": "/wms/voyage-manage",
						"parentName": "仓储服务",
						"viewCode": "wms.voyage-manage"
					},
					{
						"id": 2607,
						"code": "hzero.ciec.wms.purchase-return-notice",
						"name": "采购退货通知单",
						"quickIndex": "caigoutuihuotongzhidan",
						"level": "organization",
						"parentId": 2319,
						"type": "menu",
						"sort": 0,
						"route": "/wms/purchase-return-notice",
						"parentName": "仓储服务",
						"viewCode": "wms.purchase-return-notice"
					},
					{
						"id": 2621,
						"code": "hzero.ciec.wms.purchase-return-manage",
						"name": "采购退货单",
						"quickIndex": "caigoutuihuodan",
						"level": "organization",
						"parentId": 2319,
						"type": "menu",
						"sort": 0,
						"route": "/wms/purchase-return-manage",
						"parentName": "仓储服务",
						"viewCode": "wms.purchase-return-manage"
					},
					{
						"id": 4937,
						"code": "hzero.ciec.wms.registration-heads",
						"name": "装船登记单",
						"quickIndex": "ZCDJDCX",
						"level": "organization",
						"parentId": 2319,
						"type": "menu",
						"sort": 0,
						"route": "/wms/shipment-register",
						"parentName": "仓储服务",
						"viewCode": "wms.registration-heads"
					},
					{
						"id": 4967,
						"code": "hzero.ciec.wms.foreign-voyage-manage",
						"name": "航次管理(外贸)",
						"quickIndex": "HCGLWM",
						"level": "organization",
						"parentId": 2319,
						"type": "menu",
						"sort": 0,
						"route": "/wms/foreign-voyage-manage",
						"parentName": "仓储服务",
						"viewCode": "wms.foreign-voyage-manage"
					}
				],
				"viewCode": "wms"
			},
			{
				"id": 2322,
				"code": "hzero.ciec.fin",
				"name": "FIN服务",
				"level": "organization",
				"parentId": 2272,
				"type": "dir",
				"sort": 0,
				"route": "",
				"parentName": "CIEC管理",
				"subMenus": [
					{
						"id": 2323,
						"code": "hzero.ciec.fin.payment-application",
						"name": "付款申请管理",
						"quickIndex": "fukuanshenqingguanli",
						"level": "organization",
						"parentId": 2322,
						"type": "menu",
						"sort": 0,
						"route": "/fin/payment-application",
						"parentName": "FIN服务",
						"viewCode": "fin.payment-application"
					},
					{
						"id": 2343,
						"code": "hzero.ciec.fin.payment-slip-manage",
						"name": "付款单",
						"quickIndex": "fukuandan",
						"level": "organization",
						"parentId": 2322,
						"type": "menu",
						"sort": 0,
						"route": "/fin/payment-slip-manage",
						"parentName": "FIN服务",
						"viewCode": "fin.payment-slip-manage"
					},
					{
						"id": 2503,
						"code": "hzero.ciec.fin.fund-occupation-interest-rate",
						"name": "资金占用利率",
						"quickIndex": "ZJZYLR",
						"level": "organization",
						"parentId": 2322,
						"type": "menu",
						"sort": 0,
						"route": "/fin/fund-occupation-interest-rate",
						"parentName": "FIN服务",
						"viewCode": "fin.fund-occupation-interest-rate"
					},
					{
						"id": 2509,
						"code": "hzero.ciec.fin.recording-voucher-manage",
						"name": "记账凭证管理",
						"quickIndex": "jizhangpinzhengguanli",
						"level": "organization",
						"parentId": 2322,
						"type": "menu",
						"sort": 0,
						"route": "/fin/recording-voucher-manage",
						"parentName": "FIN服务",
						"viewCode": "fin.recording-voucher-manage"
					},
					{
						"id": 2526,
						"code": "hzero.ciec.fin.invoiced-summary",
						"name": "已开票汇总",
						"quickIndex": "yikaipiaohuizong",
						"level": "organization",
						"parentId": 2322,
						"type": "menu",
						"sort": 0,
						"route": "/fin/invoiced-summary",
						"parentName": "FIN服务",
						"viewCode": "fin.invoiced-summary"
					},
					{
						"id": 2553,
						"code": "hzero.ciec.fin.receipt-manage",
						"name": "收款单",
						"quickIndex": "shoukuandan",
						"level": "organization",
						"parentId": 2322,
						"type": "menu",
						"sort": 0,
						"route": "/fin/receipt-manage",
						"parentName": "FIN服务",
						"viewCode": "fin.receipt-manage"
					},
					{
						"id": 2716,
						"code": "hzero.ciec.fin.invoice-registration",
						"name": "进项发票登记",
						"quickIndex": "jinxiangfapiaodengji",
						"level": "organization",
						"parentId": 2322,
						"type": "menu",
						"sort": 0,
						"route": "/fin/invoice-registration",
						"parentName": "FIN服务",
						"viewCode": "fin.invoice-registration"
					},
					{
						"id": 5027,
						"code": "hzero.ciec.fin.export-back-tax",
						"name": "出口退税计提",
						"quickIndex": "CKTSJT",
						"level": "organization",
						"parentId": 2322,
						"type": "menu",
						"sort": 0,
						"route": "/fin/export-back-tax",
						"parentName": "FIN服务",
						"viewCode": "fin.export-back-tax"
					},
					{
						"id": 5815,
						"code": "hzero.ciec.fin.concurrency-request",
						"name": "创建账务",
						"quickIndex": "cjzw",
						"level": "organization",
						"parentId": 2322,
						"type": "menu",
						"sort": 0,
						"route": "/fin/concurrency-request",
						"parentName": "FIN服务",
						"viewCode": "fin.concurrency-request"
					}
				],
				"viewCode": "fin"
			},
			{
				"id": 2345,
				"code": "hzero.ciec.dca",
				"name": "DCA管理",
				"level": "organization",
				"parentId": 2272,
				"type": "dir",
				"sort": 0,
				"route": "",
				"parentName": "CIEC管理",
				"subMenus": [
					{
						"id": 2346,
						"code": "hzero.ciec.dca.strategy-sheet",
						"name": "策略单",
						"quickIndex": "celuedan",
						"level": "organization",
						"parentId": 2345,
						"type": "menu",
						"sort": 0,
						"route": "/dca/strategy-sheet",
						"parentName": "DCA管理",
						"viewCode": "dca.strategy-sheet"
					},
					{
						"id": 2475,
						"code": "hzero.ciec.dca.positions",
						"name": "头寸定价日期登记",
						"quickIndex": "toucundingjiariqidengji",
						"level": "organization",
						"parentId": 2345,
						"type": "menu",
						"sort": 0,
						"route": "/dca/positions",
						"parentName": "DCA管理",
						"viewCode": "dca.positions"
					},
					{
						"id": 2495,
						"code": "hzero.ciec.dca.available-quantity",
						"name": "可供量查询",
						"quickIndex": "kegongliangchaxun",
						"level": "organization",
						"parentId": 2345,
						"type": "menu",
						"sort": 0,
						"route": "/dca/available-quantity",
						"parentName": "DCA管理",
						"viewCode": "dca.available-quantity"
					},
					{
						"id": 5479,
						"code": "hzero.ciec.dca.market-maker-info",
						"name": "做市商及账号信息",
						"quickIndex": "zuoshishangjizhanghaoxinxi",
						"level": "organization",
						"parentId": 2345,
						"type": "menu",
						"sort": 0,
						"route": "/dca/market-maker-info",
						"parentName": "DCA管理",
						"viewCode": "dca.market-maker-info"
					},
					{
						"id": 5487,
						"code": "hzero.ciec.dca.option-product-info",
						"name": "期权产品信息",
						"quickIndex": "qiquanchanpinxinxi",
						"level": "organization",
						"parentId": 2345,
						"type": "menu",
						"sort": 0,
						"route": "/dca/option-product-info",
						"parentName": "DCA管理",
						"viewCode": "dca.option-product-info"
					},
					{
						"id": 5495,
						"code": "hzero.ciec.dca.option-open-list",
						"name": "期权开仓记录",
						"quickIndex": "qiquankaicangjilu",
						"level": "organization",
						"parentId": 2345,
						"type": "menu",
						"sort": 0,
						"route": "/dca/option-open-list",
						"parentName": "DCA管理",
						"viewCode": "dca.option-open-list"
					},
					{
						"id": 5503,
						"code": "hzero.ciec.dca.option-position",
						"name": "期权持仓估值",
						"quickIndex": "qiquanchicangguzhi",
						"level": "organization",
						"parentId": 2345,
						"type": "menu",
						"sort": 0,
						"route": "/dca/option-position",
						"parentName": "DCA管理",
						"viewCode": "dca.option-position"
					},
					{
						"id": 5509,
						"code": "hzero.ciec.dca.option-close-list",
						"name": "期权平仓记录",
						"quickIndex": "qiquanpingcangjilu",
						"level": "organization",
						"parentId": 2345,
						"type": "menu",
						"sort": 0,
						"route": "/dca/option-close-list",
						"parentName": "DCA管理",
						"viewCode": "dca.option-close-list"
					},
					{
						"id": 5579,
						"code": "hzero.ciec.dca.daily-credit",
						"name": "每日授信余额",
						"quickIndex": "mrsxye",
						"level": "organization",
						"parentId": 2345,
						"type": "menu",
						"sort": 0,
						"route": "/dca/daily-credit",
						"parentName": "DCA管理",
						"viewCode": "dca.daily-credit"
					}
				],
				"viewCode": "dca"
			}
		],
		"viewCode": ""
	},
	{
		"id": 3733,
		"code": "hzero.ciec_report",
		"name": "CIEC报表",
		"level": "organization",
		"parentId": 0,
		"type": "root",
		"sort": 2,
		"icon": "icon-test2",
		"route": "",
		"subMenus": [
			{
				"id": 3735,
				"code": "hzero.ciec_report.cg",
				"name": "采购报表",
				"level": "organization",
				"parentId": 3733,
				"type": "dir",
				"sort": 1,
				"route": "",
				"parentName": "CIEC报表",
				"subMenus": [
					{
						"id": 3739,
						"code": "hzero.ciec_report.cg.HCMS.PO_CONTRACT.COLLECT",
						"name": "采购合同汇总表",
						"quickIndex": "caigouhetonghuizongbiao",
						"level": "organization",
						"parentId": 3735,
						"type": "menu",
						"sort": 1,
						"route": "/xrpt/show/HCMS.PO_CONTRACT.COLLECT_URL",
						"parentName": "采购报表",
						"viewCode": "cg.HCMS.PO_CONTRACT.COLLECT"
					},
					{
						"id": 3769,
						"code": "hzero.ciec_report.cg.HWMS.PUR_DELIVERY.COLLECT",
						"name": "采购发货汇总表",
						"quickIndex": "caigoufahuohuizongbiao",
						"level": "organization",
						"parentId": 3735,
						"type": "menu",
						"sort": 3,
						"route": "/xrpt/show/HWMS.PUR_DELIVERY.COLLECT_URL",
						"parentName": "采购报表",
						"viewCode": "cg.HWMS.PUR_DELIVERY.COLLECT"
					},
					{
						"id": 3777,
						"code": "hzero.ciec_report.cg.HCMS.PO_CONTRACT_EXE.COLLECT",
						"name": "采购合同执行情况汇总表",
						"quickIndex": "caigouhetongzhixingqingkuang",
						"level": "organization",
						"parentId": 3735,
						"type": "menu",
						"sort": 5,
						"route": "/xrpt/show/HCMS.PO_CONTRACT_EXE.COLLECT",
						"parentName": "采购报表",
						"viewCode": "cg.HCMS.PO_CONTRACT_EXE.COLLECT"
					},
					{
						"id": 3781,
						"code": "hzero.ciec_report.cg.HCMS.PO_CONTRACT_EXE_DETAIL",
						"name": "采购合同执行情况明细表",
						"quickIndex": "caigouhetongzhixingqingkuang",
						"level": "organization",
						"parentId": 3735,
						"type": "menu",
						"sort": 6,
						"route": "/xrpt/show/HCMS.PO_CONTRACT_EXE_DETAIL",
						"parentName": "采购报表",
						"viewCode": "cg.HCMS.PO_CONTRACT_EXE_DETAIL"
					}
				],
				"viewCode": "cg"
			},
			{
				"id": 3737,
				"code": "hzero.ciec_report.xs",
				"name": "销售报表",
				"level": "organization",
				"parentId": 3733,
				"type": "dir",
				"sort": 2,
				"route": "",
				"parentName": "CIEC报表",
				"subMenus": [
					{
						"id": 3853,
						"code": "hzero.ciec_report.xs.HCMS.SALE_CONTRACT_SUM",
						"name": "销售合同汇总表",
						"quickIndex": "xiaoshouhetonghuizongbiao",
						"level": "organization",
						"parentId": 3737,
						"type": "menu",
						"sort": 1,
						"route": "/xrpt/show/HCMS.SALE_CONTRACT_SUM_URL",
						"parentName": "销售报表",
						"viewCode": "xs.HCMS.SALE_CONTRACT_SUM"
					},
					{
						"id": 3857,
						"code": "hzero.ciec_report.xs.SALE_CONTRACT_DETAIL",
						"name": "销售合同明细表",
						"quickIndex": "xiaoshouhetongmingxibiao",
						"level": "organization",
						"parentId": 3737,
						"type": "menu",
						"sort": 2,
						"route": "/xrpt/show/HCMS.SALE_CONTRACT_DETAIL_URL",
						"parentName": "销售报表",
						"viewCode": "xs.SALE_CONTRACT_DETAIL"
					},
					{
						"id": 3979,
						"code": "hzero.ciec_report.xs.HWMS.LADING_DETAILS",
						"name": "销售提单明细",
						"quickIndex": "xiaoshoutidanmingxi",
						"level": "organization",
						"parentId": 3737,
						"type": "menu",
						"sort": 3,
						"route": "/xrpt/show/HWMS.LADING_DETAILS_URL",
						"parentName": "销售报表",
						"viewCode": "xs.HWMS.LADING_DETAILS"
					},
					{
						"id": 4051,
						"code": "hzero.ciec_report.xs.SALES.CON_EXECUTION_DETAIL_NEW",
						"name": "销售合同执行情况明细报表",
						"quickIndex": "xiaoshouhetongzhixingqingkuang",
						"level": "organization",
						"parentId": 3737,
						"type": "menu",
						"sort": 4,
						"route": "/xrpt/show/SALES.CON_EXECUTION_DETAIL_NEW",
						"parentName": "销售报表",
						"viewCode": "xs.SALES.CON_EXECUTION_DETAIL_NEW"
					},
					{
						"id": 3825,
						"code": "hzero.ciec_report.xs.HCMS.SALE_CONTRACT_EXE_SUM",
						"name": "销售合同执行情况汇总表",
						"quickIndex": "xiaoshouhetongzhixingqingkuang",
						"level": "organization",
						"parentId": 3737,
						"type": "menu",
						"sort": 5,
						"route": "/xrpt/show/HCMS.SALE_CONTRACT_EXE_SUM",
						"parentName": "销售报表",
						"viewCode": "xs.HCMS.SALE_CONTRACT_EXE_SUM"
					},
					{
						"id": 4083,
						"code": "hzero.ciec_report.xs.HWMS_LADING_CODE",
						"name": "销售提单码单",
						"quickIndex": "xiaoshoutidanmadan",
						"level": "organization",
						"parentId": 3737,
						"type": "menu",
						"sort": 6,
						"route": "/xrpt/show/HWMS_LADING_CODE",
						"parentName": "销售报表",
						"viewCode": "xs.HWMS_LADING_CODE"
					},
					{
						"id": 4087,
						"code": "hzero.ciec_report.xs.HWMS_LADING_LIST_URL",
						"name": "销售提单汇总表",
						"quickIndex": "xiaoshoutidanhuizongbiao",
						"level": "organization",
						"parentId": 3737,
						"type": "menu",
						"sort": 7,
						"route": "/xrpt/show/HWMS_LADING_LIST_URL",
						"parentName": "销售报表",
						"viewCode": "xs.HWMS_LADING_LIST_URL"
					},
					{
						"id": 4121,
						"code": "hzero.ciec_report.xs.HCMS.SO_AGREEMENT_EXE",
						"name": "销售协议执行情况表",
						"quickIndex": "xiaoshouxieyizhixing",
						"level": "organization",
						"parentId": 3737,
						"type": "menu",
						"sort": 8,
						"route": "/xrpt/show/HCMS.SO_AGREEMENT_EXE_URL",
						"parentName": "销售报表",
						"viewCode": "xs.HCMS.SO_AGREEMENT_EXE"
					},
					{
						"id": 4205,
						"code": "hzero.ciec_report.xs.HWMS_LADING_PROFITS",
						"name": "提单毛利码单表",
						"quickIndex": "tidanmaolimadanbiao",
						"level": "organization",
						"parentId": 3737,
						"type": "menu",
						"sort": 11,
						"route": "/xrpt/show/HWMS_LADING_PROFITS",
						"parentName": "销售报表",
						"viewCode": "xs.HWMS_LADING_PROFITS"
					}
				],
				"viewCode": "xs"
			},
			{
				"id": 3743,
				"code": "hzero.ciec_report.kc",
				"name": "库存报表",
				"level": "organization",
				"parentId": 3733,
				"type": "dir",
				"sort": 3,
				"route": "",
				"parentName": "CIEC报表",
				"subMenus": [
					{
						"id": 3849,
						"code": "hzero.ciec_report.kc.HWMS.IN_ROAD_DETAILS",
						"name": "在途资源明细表",
						"quickIndex": "zaituziyuanmingxibiao",
						"level": "organization",
						"parentId": 3743,
						"type": "menu",
						"sort": 3,
						"route": "/xrpt/show/HWMS.IN_ROAD_DETAILS",
						"parentName": "库存报表",
						"viewCode": "kc.HWMS.IN_ROAD_DETAILS"
					},
					{
						"id": 3889,
						"code": "hzero.ciec_report.kc.HWMS_INVENTORY_DETAILS",
						"name": "库存资源明细表",
						"quickIndex": "kucunziyuanmingxibiao",
						"level": "organization",
						"parentId": 3743,
						"type": "menu",
						"sort": 4,
						"route": "/xrpt/show/HWMS_INVENTORY_DETAILS",
						"parentName": "库存报表",
						"viewCode": "kc.HWMS_INVENTORY_DETAILS"
					},
					{
						"id": 3893,
						"code": "hzero.ciec_report.kc.HWMS_INVENTORY_LIST",
						"name": "库存资源汇总表",
						"quickIndex": "kucunziyuanhuizongbiao",
						"level": "organization",
						"parentId": 3743,
						"type": "menu",
						"sort": 5,
						"route": "/xrpt/show/HWMS_INVENTORY_LIST_URL",
						"parentName": "库存报表",
						"viewCode": "kc.HWMS_INVENTORY_LIST"
					},
					{
						"id": 3901,
						"code": "hzero.ciec_report.kc.HWMS_TRANSACTUIN",
						"name": "入库资源明细表",
						"quickIndex": "rukuziyuanmingxibiao",
						"level": "organization",
						"parentId": 3743,
						"type": "menu",
						"sort": 6,
						"route": "/xrpt/show/HWMS_TRANSACTUIN",
						"parentName": "库存报表",
						"viewCode": "kc.HWMS_TRANSACTUIN"
					},
					{
						"id": 3905,
						"code": "hzero.ciec_report.kc.HWMS_TRANSACTION_SUM",
						"name": "入库资源汇总表",
						"quickIndex": "rukuziyuanhuizongbiao",
						"level": "organization",
						"parentId": 3743,
						"type": "menu",
						"sort": 7,
						"route": "/xrpt/show/HWMS_TRANSACTION_SUM_URL",
						"parentName": "库存报表",
						"viewCode": "kc.HWMS_TRANSACTION_SUM"
					},
					{
						"id": 3909,
						"code": "hzero.ciec_report.kc.HWMS_OUTBOUND_RESOURCE_DETAILS",
						"name": "出库资源明细表",
						"quickIndex": "chukuziyuanmingxibiao",
						"level": "organization",
						"parentId": 3743,
						"type": "menu",
						"sort": 8,
						"route": "/xrpt/show/HWMS_OUTBOUND_RESOURCE_DETAILS_URL",
						"parentName": "库存报表",
						"viewCode": "kc.HWMS_OUTBOUND_RESOURCE_DETAILS"
					},
					{
						"id": 4063,
						"code": "hzero.ciec_report.kc.HPFM.INV_RESOURCE_COLLECT",
						"name": "资源进销存汇总表",
						"quickIndex": "ziyuanjinxiaocunhuizongbiao",
						"level": "organization",
						"parentId": 3743,
						"type": "menu",
						"sort": 12,
						"route": "/xrpt/show/HPFM.INV_RESOURCE_COLLECT",
						"parentName": "库存报表",
						"viewCode": "kc.HPFM.INV_RESOURCE_COLLECT"
					},
					{
						"id": 4067,
						"code": "hzero.ciec_report.kc.HPFM.INV_RESOURCE_ACCOUNT",
						"name": "库存资源台账表",
						"quickIndex": "kucunziyuantaizhangbiao",
						"level": "organization",
						"parentId": 3743,
						"type": "menu",
						"sort": 13,
						"route": "/xrpt/show/HPFM.INV_RESOURCE_ACCOUNT",
						"parentName": "库存报表",
						"viewCode": "kc.HPFM.INV_RESOURCE_ACCOUNT"
					}
				],
				"viewCode": "kc"
			},
			{
				"id": 3745,
				"code": "hzero.ciec_report.js",
				"name": "结算报表",
				"level": "organization",
				"parentId": 3733,
				"type": "dir",
				"sort": 4,
				"route": "",
				"parentName": "CIEC报表",
				"subMenus": [
					{
						"id": 3785,
						"code": "hzero.ciec_report.js.HWMS.PO_NA_TICKET",
						"name": "采购未到票明细表",
						"quickIndex": "caigouweidaopiaomingxibiao",
						"level": "organization",
						"parentId": 3745,
						"type": "menu",
						"sort": 1,
						"route": "/xrpt/show/HWMS.PO_NA_TICKET",
						"parentName": "结算报表",
						"viewCode": "js.HWMS.PO_NA_TICKET"
					},
					{
						"id": 4137,
						"code": "hzero.ciec_report.js.HWMS.SO_NI_DETAIL",
						"name": "销售未开票明细",
						"quickIndex": "xiaoshouweikaipiaomingxi",
						"level": "organization",
						"parentId": 3745,
						"type": "menu",
						"sort": 2,
						"route": "/xrpt/show/HWMS.SO_NI_DETAIL",
						"parentName": "结算报表",
						"viewCode": "js.HWMS.SO_NI_DETAIL"
					},
					{
						"id": 3789,
						"code": "hzero.ciec_report.js.HFIN.FEE_NA_DETAIL",
						"name": "费用未到票明细表",
						"quickIndex": "feiyongweidaopiaomingxibiao",
						"level": "organization",
						"parentId": 3745,
						"type": "menu",
						"sort": 3,
						"route": "/xrpt/show/HFIN.FEE_NA_DETAIL",
						"parentName": "结算报表",
						"viewCode": "js.HFIN.FEE_NA_DETAIL"
					},
					{
						"id": 4129,
						"code": "hzero.ciec_report.js.INNER.TRADING_COMPARE",
						"name": "内部关联交易对照表",
						"quickIndex": "neibuguanlianjiaoyiduizhaobiao",
						"level": "organization",
						"parentId": 3745,
						"type": "menu",
						"sort": 5,
						"route": "/xrpt/show/INNER.TRADING_COMPARE_URL",
						"parentName": "结算报表",
						"viewCode": "js.INNER.TRADING_COMPARE"
					},
					{
						"id": 3833,
						"code": "hzero.ciec_report.js.HFIN.FEE_PAY",
						"name": "费用情况汇总表",
						"quickIndex": "feiyongqingkuanghuizongbiao",
						"level": "organization",
						"parentId": 3745,
						"type": "menu",
						"sort": 10,
						"route": "/xrpt/show/HFIN.FEE_PAY",
						"parentName": "结算报表",
						"viewCode": "js.HFIN.FEE_PAY"
					}
				],
				"viewCode": "js"
			},
			{
				"id": 3747,
				"code": "hzero.ciec_report.wl",
				"name": "往来报表",
				"level": "organization",
				"parentId": 3733,
				"type": "dir",
				"sort": 5,
				"route": "",
				"parentName": "CIEC报表",
				"subMenus": [
					{
						"id": 4055,
						"code": "hzero.ciec_report.wl.HPFM.SO_TRANSACTION_FINANCE",
						"name": "销售往来明细表(财务余额)",
						"quickIndex": "xiaoshouwanglaimingxibiao",
						"level": "organization",
						"parentId": 3747,
						"type": "menu",
						"sort": 1,
						"route": "/xrpt/show/HPFM.SO_TRANSACTION_FINANCE",
						"parentName": "往来报表",
						"viewCode": "wl.HPFM.SO_TRANSACTION_FINANCE"
					},
					{
						"id": 4071,
						"code": "hzero.ciec_report.wl.PURCHASE_TRANSACTION_COLLECT",
						"name": "采购往来汇总表",
						"quickIndex": "caigouwanglaihuizongbiao",
						"level": "organization",
						"parentId": 3747,
						"type": "menu",
						"sort": 2,
						"route": "/xrpt/show/PURCHASE_TRANSACTION_COLLECT",
						"parentName": "往来报表",
						"viewCode": "wl.PURCHASE_TRANSACTION_COLLECT"
					},
					{
						"id": 4075,
						"code": "hzero.ciec_report.wl.HPFM.TRANSACTION_LIST_BUSINESS",
						"name": "采购往来明细表(业务余额)",
						"quickIndex": "caigouwanglaimingxibiao",
						"level": "organization",
						"parentId": 3747,
						"type": "menu",
						"sort": 3,
						"route": "/xrpt/show/HPFM.TRANSACTION_LIST_BUSINESS",
						"parentName": "往来报表",
						"viewCode": "wl.HPFM.TRANSACTION_LIST_BUSINESS"
					},
					{
						"id": 4079,
						"code": "hzero.ciec_report.wl.HPFM.TRANSACTION_LIST_FINANCE",
						"name": "采购往来明细表(财务余额)",
						"quickIndex": "caigouwanglaimingxibiao",
						"level": "organization",
						"parentId": 3747,
						"type": "menu",
						"sort": 4,
						"route": "/xrpt/show/HPFM.TRANSACTION_LIST_FINANCE",
						"parentName": "往来报表",
						"viewCode": "wl.HPFM.TRANSACTION_LIST_FINANCE"
					},
					{
						"id": 4105,
						"code": "hzero.ciec_report.wl.HPFM.SO_TRANSACTION_BUSINESS",
						"name": "销售往来明细表(业务余额)",
						"quickIndex": "xiaoshouwanglaimingxibiao",
						"level": "organization",
						"parentId": 3747,
						"type": "menu",
						"sort": 10,
						"route": "/xrpt/show/HPFM.SO_TRANSACTION_BUSINESS",
						"parentName": "往来报表",
						"viewCode": "wl.HPFM.SO_TRANSACTION_BUSINESS"
					},
					{
						"id": 4183,
						"code": "hzero.ciec_report.wl.SALE_TRANSACTION_COLLECT",
						"name": "销售往来汇总表",
						"quickIndex": "xiaoshouwanglaihuizongbiao",
						"level": "organization",
						"parentId": 3747,
						"type": "menu",
						"sort": 10,
						"route": "/xrpt/show/SALE_TRANSACTION_COLLECT",
						"parentName": "往来报表",
						"viewCode": "wl.SALE_TRANSACTION_COLLECT"
					}
				],
				"viewCode": "wl"
			},
			{
				"id": 3749,
				"code": "hzero.ciec_report.zj",
				"name": "资金报表",
				"level": "organization",
				"parentId": 3733,
				"type": "dir",
				"sort": 6,
				"route": "",
				"parentName": "CIEC报表",
				"subMenus": [
					{
						"id": 4059,
						"code": "hzero.ciec_report.zj.HPFM.YEAR_DEPOSIT",
						"name": "年度保证金报表",
						"quickIndex": "niandubaozhengjinbaobiao",
						"level": "organization",
						"parentId": 3749,
						"type": "menu",
						"sort": 1,
						"route": "/xrpt/show/HPFM.YEAR_DEPOSIT",
						"parentName": "资金报表",
						"viewCode": "zj.HPFM.YEAR_DEPOSIT"
					},
					{
						"id": 3845,
						"code": "hzero.ciec_report.zj.HCMS.SO_DEPOIST",
						"name": "销售保证金分析表",
						"quickIndex": "xiaoshoubaozhengjinfenxibiao",
						"level": "organization",
						"parentId": 3749,
						"type": "menu",
						"sort": 4,
						"route": "/xrpt/show/HCMS.SO_DEPOIST",
						"parentName": "资金报表",
						"viewCode": "zj.HCMS.SO_DEPOIST"
					},
					{
						"id": 4043,
						"code": "hzero.ciec_report.zj.HFIN.RECEIPT_COLLECT",
						"name": "收款单汇总表",
						"quickIndex": "shoukuandanhuizongbiao",
						"level": "organization",
						"parentId": 3749,
						"type": "menu",
						"sort": 10,
						"route": "/xrpt/show/HFIN.RECEIPT_COLLECT_URL",
						"parentName": "资金报表",
						"viewCode": "zj.HFIN.RECEIPT_COLLECT"
					},
					{
						"id": 4047,
						"code": "hzero.ciec_report.zj.HFIN.PAYMENT_SUM",
						"name": "付款单汇总表",
						"quickIndex": "fukuandanhuizongbiao",
						"level": "organization",
						"parentId": 3749,
						"type": "menu",
						"sort": 10,
						"route": "/xrpt/show/HFIN.PAYMENT_SUM",
						"parentName": "资金报表",
						"viewCode": "zj.HFIN.PAYMENT_SUM"
					},
					{
						"id": 4099,
						"code": "hzero.ciec_report.zj.HWMS.REC_VERIFY_DETAIL",
						"name": "应收款核销明细表",
						"quickIndex": "yingshoukuanhexiaomingxibiao",
						"level": "organization",
						"parentId": 3749,
						"type": "menu",
						"sort": 10,
						"route": "/xrpt/show/HWMS.REC_VERIFY_DETAIL",
						"parentName": "资金报表",
						"viewCode": "zj.HWMS.REC_VERIFY_DETAIL"
					},
					{
						"id": 4117,
						"code": "hzero.ciec_report.zj.HFIN.REAL_REC_DETAIL",
						"name": "实收款核销明细表",
						"quickIndex": "shishoukuanhexiaomingxibiao",
						"level": "organization",
						"parentId": 3749,
						"type": "menu",
						"sort": 10,
						"route": "/xrpt/show/HFIN.REAL_REC_DETAIL",
						"parentName": "资金报表",
						"viewCode": "zj.HFIN.REAL_REC_DETAIL"
					}
				],
				"viewCode": "zj"
			},
			{
				"id": 3751,
				"code": "hzero.ciec_report.fp",
				"name": "发票报表",
				"level": "organization",
				"parentId": 3733,
				"type": "dir",
				"sort": 7,
				"route": "",
				"parentName": "CIEC报表",
				"subMenus": [
					{
						"id": 3805,
						"code": "hzero.ciec_report.fp.HFIN.IN_INVOICE_WRITE_OFF",
						"name": "进项发票已核销汇总表",
						"quickIndex": "jinxiangfapiaoyihexiaohuizong",
						"level": "organization",
						"parentId": 3751,
						"type": "menu",
						"sort": 4,
						"route": "/xrpt/show/HFIN.IN_INVOICE_WRITE_OFF_URL",
						"parentName": "发票报表",
						"viewCode": "fp.HFIN.IN_INVOICE_WRITE_OFF"
					},
					{
						"id": 3921,
						"code": "hzero.ciec_report.fp.HFIN.INVOICE_APPLY",
						"name": "预开票核销情况明细表",
						"quickIndex": "yukaipiaohexiaoqingkuangmingxi",
						"level": "organization",
						"parentId": 3751,
						"type": "menu",
						"sort": 5,
						"route": "/xrpt/show/HFIN.PRE_INVOICE_WRITE_OFF_DETAIL_URL",
						"parentName": "发票报表",
						"viewCode": "fp.HFIN.INVOICE_APPLY"
					},
					{
						"id": 4125,
						"code": "hzero.ciec_report.fp.FIN.INVOICED_INFO",
						"name": "已开票部分内关联信息报表",
						"quickIndex": "yikaipiaobufenneiguanlian",
						"level": "organization",
						"parentId": 3751,
						"type": "menu",
						"sort": 6,
						"route": "/xrpt/show/FIN.INVOICED_INFO",
						"parentName": "发票报表",
						"viewCode": "fp.FIN.INVOICED_INFO"
					}
				],
				"viewCode": "fp"
			},
			{
				"id": 3753,
				"code": "hzero.ciec_report.db",
				"name": "调拨报表",
				"level": "organization",
				"parentId": 3733,
				"type": "dir",
				"sort": 8,
				"route": "",
				"parentName": "CIEC报表",
				"subMenus": [
					{
						"id": 3929,
						"code": "hzero.ciec_report.db.HWMS.TRANSFER_NOTICE.COLLECT",
						"name": "库存调出汇总表",
						"quickIndex": "kucundiaochuhuizongbiao",
						"level": "organization",
						"parentId": 3753,
						"type": "menu",
						"sort": 2,
						"route": "/xrpt/show/HWMS.TRANSFER_NOTICE.COLLECT_URL",
						"parentName": "调拨报表",
						"viewCode": "db.HWMS.TRANSFER_NOTICE.COLLECT"
					},
					{
						"id": 3933,
						"code": "hzero.ciec_report.db.HWMS.TRANSFER_OUT.DETAIL",
						"name": "库存调出实提明细表",
						"quickIndex": "kucundiaochushitimingxibiao",
						"level": "organization",
						"parentId": 3753,
						"type": "menu",
						"sort": 3,
						"route": "/xrpt/show/HWMS.TRANSFER_OUT.DETAIL_URL",
						"parentName": "调拨报表",
						"viewCode": "db.HWMS.TRANSFER_OUT.DETAIL"
					},
					{
						"id": 3937,
						"code": "hzero.ciec_report.db.HWMS.TRANSFER_OUT.COLLECT",
						"name": "库存调出实提汇总表",
						"quickIndex": "kucundiaochushitihuizongbiao",
						"level": "organization",
						"parentId": 3753,
						"type": "menu",
						"sort": 4,
						"route": "/xrpt/show/HWMS.TRANSFER_OUT.COLLECT_URL",
						"parentName": "调拨报表",
						"viewCode": "db.HWMS.TRANSFER_OUT.COLLECT"
					},
					{
						"id": 3941,
						"code": "hzero.ciec_report.db.HWMS.TRANSFER_IN.DETAIL",
						"name": "库存调入明细表",
						"quickIndex": "kucundiaorumingxibiao",
						"level": "organization",
						"parentId": 3753,
						"type": "menu",
						"sort": 5,
						"route": "/xrpt/show/HWMS.TRANSFER_IN.DETAIL_URL",
						"parentName": "调拨报表",
						"viewCode": "db.HWMS.TRANSFER_IN.DETAIL"
					},
					{
						"id": 3945,
						"code": "hzero.ciec_report.db.HWMS.TRANSFER_IN.COLLECT",
						"name": "库存调入汇总表",
						"quickIndex": "kucundiaoruhuizongbiao",
						"level": "organization",
						"parentId": 3753,
						"type": "menu",
						"sort": 6,
						"route": "/xrpt/show/HWMS.TRANSFER_IN.COLLECT_URL",
						"parentName": "调拨报表",
						"viewCode": "db.HWMS.TRANSFER_IN.COLLECT"
					},
					{
						"id": 3949,
						"code": "hzero.ciec_report.db.HWMS.TRANSFER_COND.COLLECT",
						"name": "库存调拨情况汇总表",
						"quickIndex": "kucundiaoboqingkuanghuizong",
						"level": "organization",
						"parentId": 3753,
						"type": "menu",
						"sort": 7,
						"route": "/xrpt/show/HWMS.TRANSFER_COND.COLLECT_URL",
						"parentName": "调拨报表",
						"viewCode": "db.HWMS.TRANSFER_COND.COLLECT"
					}
				],
				"viewCode": "db"
			},
			{
				"id": 3755,
				"code": "hzero.ciec_report.jg",
				"name": "加工报表",
				"level": "organization",
				"parentId": 3733,
				"type": "dir",
				"sort": 9,
				"route": "",
				"parentName": "CIEC报表",
				"subMenus": [
					{
						"id": 3817,
						"code": "hzero.ciec_report.jg.HWMS.PROCESS_CHECK_DETAIL",
						"name": "加工验收明细表",
						"quickIndex": "jiagongyanshoumingxibiao",
						"level": "organization",
						"parentId": 3755,
						"type": "menu",
						"sort": 10,
						"route": "/xrpt/show/HWMS.PROCESS_CHECK_DETAIL_URL",
						"parentName": "加工报表",
						"viewCode": "jg.HWMS.PROCESS_CHECK_DETAIL"
					},
					{
						"id": 3829,
						"code": "hzero.ciec_report.jg.HWMS.PROCESS_TASK_DETAIL",
						"name": "加工任务情况明细表",
						"quickIndex": "jiagongrenwuqingkuangmingxi",
						"level": "organization",
						"parentId": 3755,
						"type": "menu",
						"sort": 10,
						"route": "/xrpt/show/HWMS.PROCESS_TASK_DETAIL_URL",
						"parentName": "加工报表",
						"viewCode": "jg.HWMS.PROCESS_TASK_DETAIL"
					}
				],
				"viewCode": "jg"
			},
			{
				"id": 3757,
				"code": "hzero.ciec_report.ed",
				"name": "额度报表",
				"level": "organization",
				"parentId": 3733,
				"type": "dir",
				"sort": 10,
				"route": "",
				"parentName": "CIEC报表",
				"subMenus": [
					{
						"id": 3957,
						"code": "hzero.ciec_report.ed.HWMS_WM_CAPACITY",
						"name": "仓库额度监控表",
						"quickIndex": "cangkuedujiankongbiao",
						"level": "organization",
						"parentId": 3757,
						"type": "menu",
						"sort": 2,
						"route": "/xrpt/show/HWMS_WM_CAPACITY",
						"parentName": "额度报表",
						"viewCode": "ed.HWMS_WM_CAPACITY"
					}
				],
				"viewCode": "ed"
			},
			{
				"id": 3861,
				"code": "hzero.ciec_report.print",
				"name": "打印模板",
				"level": "organization",
				"parentId": 3733,
				"type": "dir",
				"sort": 13,
				"route": "",
				"parentName": "CIEC报表",
				"subMenus": [
					{
						"id": 3863,
						"code": "hzero.ciec_report.print.FAX_DBTD",
						"name": "FAX:调拨提单",
						"quickIndex": "diaobotidan",
						"level": "organization",
						"parentId": 3861,
						"type": "menu",
						"sort": 10,
						"route": "/xrpt/show/FAX_DBTD",
						"parentName": "打印模板",
						"viewCode": "print.FAX_DBTD"
					},
					{
						"id": 4023,
						"code": "hzero.ciec_report.print.XSHT_MSXSD",
						"name": "门市销售单(销售合同)",
						"quickIndex": "menshixiaoshoudan",
						"level": "organization",
						"parentId": 3861,
						"type": "menu",
						"sort": 10,
						"route": "/xrpt/show/XSHT_MSXSD",
						"parentName": "打印模板",
						"viewCode": "print.XSHT_MSXSD"
					},
					{
						"id": 4027,
						"code": "hzero.ciec_report.print.JGRW_JGD",
						"name": "加工单",
						"quickIndex": "jiagongdan",
						"level": "organization",
						"parentId": 3861,
						"type": "menu",
						"sort": 10,
						"route": "/xrpt/show/JGRW_JGD",
						"parentName": "打印模板",
						"viewCode": "print.JGRW_JGD"
					},
					{
						"id": 4031,
						"code": "hzero.ciec_report.print.DHTZD",
						"name": "到货通知单(发货)",
						"quickIndex": "daohuotongzhidan",
						"level": "organization",
						"parentId": 3861,
						"type": "menu",
						"sort": 10,
						"route": "/xrpt/show/DHTZD",
						"parentName": "打印模板",
						"viewCode": "print.DHTZD"
					},
					{
						"id": 4035,
						"code": "hzero.ciec_report.print.DBTZ_THWTS",
						"name": "提货委托书(调拨)",
						"quickIndex": "tidanweituoshu",
						"level": "organization",
						"parentId": 3861,
						"type": "menu",
						"sort": 10,
						"route": "/xrpt/show/DBTZ_THWTS",
						"parentName": "打印模板",
						"viewCode": "print.DBTZ_THWTS"
					},
					{
						"id": 4039,
						"code": "hzero.ciec_report.print.XSTD_MSXSD",
						"name": "门市销售单",
						"quickIndex": "menshixiaoshoudan",
						"level": "organization",
						"parentId": 3861,
						"type": "menu",
						"sort": 10,
						"route": "/xrpt/show/XSTD_MSXSD",
						"parentName": "打印模板",
						"viewCode": "print.XSTD_MSXSD"
					},
					{
						"id": 4095,
						"code": "hzero.ciec_report.print.FAX_XSTD",
						"name": "FAX:销售提单",
						"quickIndex": "xiaoshoutidan",
						"level": "organization",
						"parentId": 3861,
						"type": "menu",
						"sort": 10,
						"route": "/xrpt/show/FAX_XSTD",
						"parentName": "打印模板",
						"viewCode": "print.FAX_XSTD"
					}
				],
				"viewCode": "print"
			}
		],
		"viewCode": ""
	},
	{
		"id": 1533,
		"code": "hzero.schedule",
		"name": "调度平台",
		"quickIndex": "DDPT",
		"level": "organization",
		"parentId": 0,
		"type": "root",
		"sort": 80,
		"icon": "dispatch-platform",
		"route": "",
		"subMenus": [
			{
				"id": 1534,
				"code": "hzero.schedule.conc-request",
				"name": "并发请求",
				"quickIndex": "BFQQ",
				"level": "organization",
				"parentId": 1533,
				"type": "menu",
				"sort": 10,
				"icon": "quality-business",
				"route": "/hsdr/conc-request",
				"parentName": "调度平台",
				"viewCode": "conc-request"
			}
		],
		"viewCode": ""
	},
	{
		"id": 1923,
		"code": "hzero.report",
		"name": "报表平台",
		"quickIndex": "BBPT",
		"level": "organization",
		"parentId": 0,
		"type": "root",
		"sort": 90,
		"icon": "reporting-platform",
		"route": "",
		"subMenus": [
			{
				"id": 1956,
				"code": "hzero.report.report-query",
				"name": "报表查询",
				"quickIndex": "BBCX",
				"level": "organization",
				"parentId": 1923,
				"type": "menu",
				"sort": 40,
				"icon": "workflow",
				"route": "/hrpt/report-query",
				"parentName": "报表平台",
				"viewCode": "report-query"
			},
			{
				"id": 1961,
				"code": "hzero.report.report-request",
				"name": "报表请求",
				"quickIndex": "BBQQ",
				"level": "organization",
				"parentId": 1923,
				"type": "menu",
				"sort": 50,
				"icon": "import",
				"route": "/hrpt/report-request",
				"parentName": "报表平台",
				"viewCode": "report-request"
			}
		],
		"viewCode": ""
	},
	{
		"id": 3583,
		"code": "hdsp.report",
		"name": "数据可视化平台",
		"quickIndex": "SJKSHPT",
		"level": "organization",
		"parentId": 0,
		"type": "root",
		"sort": 1200,
		"icon": "workflow1",
		"route": "",
		"subMenus": [
			{
				"id": 3603,
				"code": "hdsp.report.visual.management.platform",
				"name": "可视化管理平台",
				"quickIndex": "KSHGLPT",
				"level": "organization",
				"parentId": 3583,
				"type": "dir",
				"sort": 150,
				"route": "",
				"parentName": "数据可视化平台",
				"subMenus": [
					{
						"id": 3641,
						"code": "hdsp.report.visual.management.platform.hdsp.report.visaul.display.report.center",
						"name": "报表管理中心",
						"quickIndex": "BBGLZX",
						"level": "organization",
						"parentId": 3603,
						"type": "menu",
						"sort": 10,
						"route": "/xrpt/report-center",
						"parentName": "可视化管理平台",
						"viewCode": "visual.management.platform.hdsp.report.visaul.display.report.center"
					}
				],
				"viewCode": "visual.management.platform"
			}
		],
		"viewCode": ""
	}
]

你可能感兴趣的:(前端,javascript)