You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1825 lines
50 KiB

import createRoute, { createPage, createButton } from "./utils.js";
2 years ago
// #region 数据输入
function createInputJieSuanShuju(path, business, client, title = "结算数据") {
return {
...createPage(path, `title=${title}&businessType=${business}&client=${client}`),
component: "/input/jie-suan",
children: [
createButton("query", "title=查询&isTop=true"),
createButton("import", "title=导入&isTop=true"),
createButton("export", "title=导出&pattern=row&key=billNum"),
createButton("delete", "title=删除&isTop=true"),
],
};
}
function createInputFaYunShuJu(path, business, client, title = "发运数据") {
return {
...createPage(path, `title=${title}&businessType=${business}&client=${client}`),
component: "/input/fa-yun",
children: [
createButton("query", "title=查询&isTop=true"),
createButton("sync", "title=手动同步&isTop=true"),
createButton("export", "title=导出&isTop=true&pattern=paged"),
],
};
}
function createInputEdiShuJu(path, business, client, title = "EDI数据") {
return {
...createPage(path, `title=${title}&businessType=${business}&client=${client}`),
component: "/input/edi",
children: [
createButton("query", "title=查询&isTop=true"),
createButton("export", "title=导出&isTop=true&pattern=paged"),
],
};
}
2 years ago
// #endregion
2 years ago
// #region 数据比对
function createCompareFaYun(path, business, client, title = "EDI与发运对比") {
return {
...createPage(path, `title=${title}&businessType=${business}&client=${client}`),
component: "/compare/fa-yun",
children: [
createButton("query", "title=查询&isTop=true"),
createButton("compare", "title=生成比对&isTop=true"),
createButton("delete", "title=删除&isTop=true"),
createButton("export", "title=下载&pattern=file&disabled=o=>o.stateName!='Succeeded'"),
],
};
}
function createCompareJieSuan(path, business, client, title = "EDI、发运与结算比对") {
return {
...createPage(path, `title=${title}&businessType=${business}&client=${client}`),
component: "/compare/jie-suan",
children: [
createButton("query", "title=查询&isTop=true"),
createButton("compare", "title=生成比对&isTop=true"),
createButton("delete", "title=删除&isTop=true"),
createButton("export", "title=下载&pattern=file&disabled=o=>o.stateName!='Succeeded'"),
//createButton("export", "title=更新结算数据状态&isTop=true"),
],
};
}
2 years ago
// #endregion
// #region 结算开票
function createUsableSettleList(path, business, client, title = "可结算单") {
return {
...createPage(path, `title=${title}&businessType=${business}&client=${client}`),
component: "/settle/usable",
children: [
createButton("query", "title=查询&isTop=true"),
createButton("add", "title=创建发票"), //行级按钮
createButton("export", "title=导出&isTop=true&pattern=paged"),
],
};
}
function createUnableSettleList(path, business, client, title = "不可结算明细") {
return {
...createPage(path, `title=${title}&businessType=${business}&client=${client}`),
component: "/settle/unable",
children: [
createButton("query", "title=查询&isTop=true"),
createButton("compare", "title=生成可结算单&isTop=true"),
createButton("export", "title=导出&isTop=true&pattern=paged"),
],
};
}
function createCommerceCheck(path, business, client, title = "商务审批") {
return {
...createPage(path, `title=${title}&businessType=${business}&client=${client}`),
component: "/settle/commerce ",
children: [
createButton("query", "title=查询&isTop=true"),
createButton("compare", "title=商务审核通过&isTop=true"),
createButton("reject", "title=退回&isTop=true"),
createButton("export", "title=导出&isTop=true&pattern=paged"),
createButton("????", "title=客户已收票&isTop=true"),
],
};
}
function createVmiCheck(path, business, client, title = "寄售库库存扣减审批") {
return {
...createPage(path, `title=${title}&businessType=${business}&client=${client}`),
component: "/settle/finance",
children: [
createButton("query", "title=查询&isTop=true"),
createButton("compare", "title=扣减审核通过&isTop=true"),
createButton("export", "title=导出&pattern=paged"),
],
};
}
// #endregion
function createFinanceCheck(path, business, client, title = "财务审核") {
return {
...createPage(path, `title=${title}&businessType=${business}&client=${client}`),
component: "/settle/finance",
children: [
createButton("query", "title=查询&isTop=true"),
createButton("import", "title=导入开票文件&isTop=true"),
createButton("compare", "title=财务审核通过&isTop=true"),
createButton("export", "title=导出&pattern=paged"),
createButton("reject", "title=退回&isTop=true"),
createButton("reject", "title=同步到QAD&isTop=true"),
],
};
}
2 years ago
export default [
{
2 years ago
...createPage("input/jie-suan/detail", "title=数据输入结算数据明细&isHidden=true"),
children: [createButton("query", "title=查询&isTop=true")],
},
{
...createPage("settle/detail", "title=结算单结算数据明细&isHidden=true"),
children: [createButton("query", "title=查询&isTop=true")],
},
{
...createRoute("jis-bbac", "title=JIS-BBAC"),
2 years ago
children: [
{
...createRoute("input", "title=数据输入"),
2 years ago
children: [
2 years ago
createInputJieSuanShuju("bbac_sa_service", "JisBBAC", "bbac", "JIS-BBAC 结算数据"),
createInputFaYunShuJu("bbac_se_detail_service", "JisBBAC", "bbac", "JIS-BBAC 发运数据"),
createInputEdiShuJu("bbac_se_edi_service", "JisBBAC", "bbac", "JIS-BBAC EDI数据"),
],
},
{
...createRoute("contrast", "title=数据比对"),
children: [
2 years ago
createCompareFaYun("bbac_sa_detail_jobservice", "JisBBAC", "bbac", "JIS-BBAC EDI与发运对比"),
createCompareJieSuan("first_bbac_sa_detail_jobservice", "JisBBAC", "bbac"),
],
},
{
2 years ago
...createRoute("settlement", "title=结算开票"),
children: [
2 years ago
createUsableSettleList("bbac_can_sa_service", "JisBBAC", "bbac"),
createUnableSettleList("bbac_not_sa_service", "JisBBAC", "bbac"),
{
path: "bbac_ba_service",
meta: {
type: "page",
title: "商务审批",
icon: "file",
},
2 years ago
children: [
{
path: "query",
meta: {
type: "button",
title: "查询",
icon: "file",
isTop: true,
},
},
{
path: "reject",
meta: {
type: "button",
title: "退回",
icon: "file",
isTop: true,
disabled: "(rows,query)=>true",
},
},
{
path: "export",
2 years ago
meta: {
type: "button",
title: "导出",
2 years ago
icon: "file",
isTop: true,
pattern: "paged",
2 years ago
},
},
{
path: "received ",
2 years ago
meta: {
type: "button",
title: "客户已收票",
2 years ago
icon: "file",
isTop: true,
pattern: "paged",
2 years ago
},
},
{
path: "check",
meta: {
type: "button",
title: "审核通过",
icon: "file",
},
},
{
path: "reopen",
meta: {
type: "button",
title: "重开",
icon: "file",
},
},
],
},
{
path: "bbac_ba_detail_service",
meta: {
type: "page",
title: "商务审核明细",
icon: "file",
isHidden: true,
},
children: [
{
path: "query",
2 years ago
meta: {
type: "button",
title: "查询",
2 years ago
icon: "file",
isTop: true,
2 years ago
},
},
],
},
{
path: "bbac_pd_service",
meta: {
type: "page",
title: "寄售库库存扣减审批",
icon: "file",
},
2 years ago
children: [
{
path: "query",
meta: {
type: "button",
title: "查询",
icon: "file",
isTop: true,
},
},
{
path: "reject",
2 years ago
meta: {
type: "button",
title: "退回",
2 years ago
icon: "file",
isTop: true,
},
},
{
path: "export",
2 years ago
meta: {
type: "button",
title: "导出",
2 years ago
icon: "file",
isTop: true,
pattern: "paged",
2 years ago
},
},
2 years ago
{
path: "check",
2 years ago
meta: {
type: "button",
title: "审核通过",
2 years ago
icon: "file",
isTop: true,
},
},
],
},
{
path: "bbac_pd_detail_service",
meta: {
type: "page",
title: "寄售库库存扣减审批明细",
icon: "file",
isHidden: true,
},
children: [
2 years ago
{
path: "query",
2 years ago
meta: {
type: "button",
title: "查询",
2 years ago
icon: "file",
isTop: true,
2 years ago
},
},
],
},
],
},
],
},
{
path: "jis-hbpo",
meta: {
type: "group",
title: "JIS-HBPO",
icon: "folder",
},
children: [
{
path: "input",
meta: {
type: "group",
title: "数据输入",
icon: "folder",
},
children: [
2 years ago
createInputJieSuanShuju("hbpo_sa_service", "JisHBPO", "hbpo", "JIS-HBPO 结算数据"),
createInputFaYunShuJu("hbpo_se_detail_service", "JisHBPO", "hbpo", "JIS-HBPO 发运数据"),
createInputEdiShuJu("hbpo_se_edi_service", "JisHBPO", "hbpo", "JIS-HBPO EDI数据"),
],
},
{
...createRoute("contrast", "title=数据比对"),
children: [
2 years ago
createCompareFaYun("hbpo_sa_detail_jobservice", "JisHBPO", "hbpo", "JIS-HBPO EDI与发运对比"),
createCompareJieSuan("first_hbpo_sa_detail_jobservice", "JisHBPO", "hbpo"),
],
},
{
2 years ago
...createRoute("settlement", "title=结算开票"),
children: [
2 years ago
createUsableSettleList("hbpo_can_sa_service", "JisHBPO", "hbpo"),
createUnableSettleList("hbpo_not_sa_service", "JisHBPO", "hbpo"),
2 years ago
{
path: "hbpo_ba_service",
2 years ago
meta: {
type: "page",
title: "商务审批",
icon: "file",
},
2 years ago
children: [
{
path: "query",
meta: {
type: "button",
title: "查询",
icon: "file",
isTop: true,
},
},
{
path: "reject",
meta: {
type: "button",
title: "退回",
icon: "file",
isTop: true,
},
},
{
path: "export",
meta: {
type: "button",
title: "导出",
icon: "file",
isTop: true,
pattern: "paged",
},
},
{
2 years ago
path: "received ",
2 years ago
meta: {
type: "button",
2 years ago
title: "客户已收票",
2 years ago
icon: "file",
isTop: true,
pattern: "paged",
},
},
{
2 years ago
path: "check",
meta: {
type: "button",
title: "审核通过",
icon: "file",
isTop: true,
},
},
{
path: "reopen",
meta: {
type: "button",
title: "重开",
icon: "file",
},
},
2 years ago
],
},
2 years ago
{
path: "hbpo_ba_detail_service",
2 years ago
meta: {
type: "page",
title: "商务审批明细",
2 years ago
icon: "file",
isHidden: true,
},
children: [
{
path: "query",
meta: {
type: "button",
title: "查询",
icon: "file",
isTop: true,
},
},
],
},
{
path: "hbpo_pd_service",
meta: {
type: "page",
title: "寄售库库存扣减审批",
icon: "file",
},
2 years ago
children: [
{
path: "query",
meta: {
type: "button",
title: "查询",
icon: "file",
isTop: true,
},
},
{
path: "reject",
meta: {
type: "button",
title: "退回",
icon: "file",
isTop: true,
},
},
{
path: "export",
meta: {
type: "button",
title: "导出",
icon: "file",
isTop: true,
pattern: "paged",
},
},
{
path: "check ",
2 years ago
meta: {
type: "button",
title: "审核通过",
icon: "file",
isTop: true,
},
},
],
},
2 years ago
{
path: "hbpo_pd_detail_service",
2 years ago
meta: {
type: "page",
title: "寄售库库存扣减审批明细",
icon: "file",
isHidden: true,
},
children: [
{
path: "query",
meta: {
type: "button",
title: "查询",
icon: "file",
isTop: true,
},
},
],
},
],
},
2 years ago
],
},
{
path: "jit",
2 years ago
meta: {
type: "group",
title: "直供件",
2 years ago
icon: "folder",
},
children: [
{
path: "jit-bbac",
meta: {
type: "group",
title: "BBAC",
icon: "folder",
},
children: [
{
path: "input",
meta: {
type: "group",
title: "数据输入",
icon: "folder",
},
2 years ago
children: [
2 years ago
createInputJieSuanShuju("bbac_jit_pub_sa_service", "ZhiGongJianBBAC", "bbac", "直供件-BBAC 结算数据"),
createInputFaYunShuJu(
"bbac_jit_pub_se_detail_service",
"ZhiGongJianBBAC",
"bbac",
"直供件-BBAC 发运数据"
),
2 years ago
],
},
{
...createRoute("contrast", "title=数据比对"),
children: [createCompareJieSuan("bbac_jit_pub_sa_detail_jobservice", "ZhiGongJianBBAC", "bbac")],
},
{
2 years ago
...createRoute("settlement", "title=结算开票"),
children: [
2 years ago
createUsableSettleList("bbac_jit_pub_can_sa_service", "ZhiGongJianBBAC", "bbac"),
createUnableSettleList("bbac_jit_pub_not_sa_service", "ZhiGongJianBBAC", "bbac"),
{
path: "bbac_jit_pub_ba_service",
meta: {
type: "page",
title: "商务审批",
icon: "file",
},
children: [
{
path: "query",
meta: {
type: "button",
title: "查询",
icon: "file",
isTop: true,
},
},
{
path: "reject",
meta: {
type: "button",
title: "退回",
icon: "file",
isTop: true,
},
},
{
path: "export",
meta: {
type: "button",
title: "导出",
icon: "file",
isTop: true,
pattern: "paged",
},
},
{
path: "received ",
meta: {
type: "button",
title: "客户已收票",
icon: "file",
isTop: true,
pattern: "paged",
},
},
{
2 years ago
path: "check",
meta: {
type: "button",
title: "审核通过",
icon: "file",
isTop: true,
},
},
{
path: "reopen",
meta: {
type: "button",
title: "重开",
icon: "file",
},
},
],
},
{
path: "bbac_jit_pub_ba_detail_service",
meta: {
type: "page",
title: "商务审批明细",
icon: "file",
isHidden: true,
},
children: [
{
path: "query",
meta: {
type: "button",
title: "查询",
icon: "file",
isTop: true,
},
},
],
},
{
path: "bbac_jit_pub_pd_service",
meta: {
type: "page",
title: "寄售库库存扣减审批",
icon: "file",
},
children: [
{
path: "query",
meta: {
type: "button",
title: "查询",
icon: "file",
isTop: true,
},
},
{
path: "reject",
meta: {
type: "button",
title: "退回",
icon: "file",
isTop: true,
},
},
{
path: "export",
meta: {
type: "button",
title: "导出",
icon: "file",
isTop: true,
pattern: "paged",
},
},
{
2 years ago
path: "check ",
meta: {
type: "button",
title: "审核通过",
icon: "file",
isTop: true,
},
},
],
},
{
path: "bbac_jit_pub_pd_detail_service",
meta: {
type: "page",
title: "寄售库库存扣减审批明细",
icon: "file",
isHidden: true,
},
children: [
{
path: "query",
meta: {
type: "button",
title: "查询",
icon: "file",
isTop: true,
},
},
],
2 years ago
},
],
},
],
},
{
path: "jit-hbpo",
meta: {
type: "group",
title: "HBPO",
icon: "folder",
},
children: [
2 years ago
{
path: "input",
2 years ago
meta: {
type: "group",
title: "数据输入",
icon: "folder",
},
children: [
2 years ago
createInputJieSuanShuju("hbpo_jit_pub_sa_service", "ZhiGongJianHBPO", "hbpo", "直供件-HBPO 结算数据"),
createInputFaYunShuJu(
"hbpo_jit_pub_se_detail_service",
"ZhiGongJianHBPO",
"hbpo",
"直供件-HBPO 发运数据"
),
],
},
2 years ago
{
...createRoute("contrast", "title=数据比对"),
children: [createCompareJieSuan("bbac_jit_pub_sa_detail_jobservice", "ZhiGongJianHBPO", "hbpo")],
},
{
...createRoute("settlement", "title=结算开票"),
children: [
createUsableSettleList("hbpo_jit_pub_can_sa_service", "ZhiGongJianBBAC", "hbpo"),
createUnableSettleList("hbpo_jit_pub_not_sa_service", "ZhiGongJianBBAC", "hbpo"),
2 years ago
{
path: "hbpo_jit_pub_ba_service",
2 years ago
meta: {
type: "page",
title: "商务审批",
2 years ago
icon: "file",
},
children: [
{
path: "query",
meta: {
type: "button",
title: "查询",
icon: "file",
isTop: true,
},
},
{
path: "reject",
meta: {
type: "button",
title: "退回",
icon: "file",
isTop: true,
},
},
{
path: "export",
meta: {
type: "button",
title: "导出",
icon: "file",
isTop: true,
pattern: "paged",
},
},
{
path: "received ",
meta: {
type: "button",
title: "客户已收票",
icon: "file",
isTop: true,
pattern: "paged",
},
},
{
path: "check",
meta: {
type: "button",
title: "审核通过",
icon: "file",
isTop: true,
},
},
{
path: "reopen",
meta: {
type: "button",
title: "重开",
icon: "file",
},
},
],
},
{
path: "hbpo_jit_pub_ba_detail_service",
meta: {
type: "page",
title: "商务审批明细",
icon: "file",
isHidden: true,
},
children: [
{
path: "query",
meta: {
type: "button",
title: "查询",
icon: "file",
isTop: true,
},
},
],
2 years ago
},
{
path: "hbpo_jit_pub_pd_service",
2 years ago
meta: {
type: "page",
title: "寄售库库存扣减审批",
2 years ago
icon: "file",
},
children: [
{
path: "query",
meta: {
type: "button",
title: "查询",
icon: "file",
isTop: true,
},
},
{
path: "reject",
meta: {
type: "button",
title: "退回",
icon: "file",
isTop: true,
},
},
{
path: "export",
meta: {
type: "button",
title: "导出",
icon: "file",
isTop: true,
pattern: "paged",
},
},
{
path: "check ",
meta: {
type: "button",
title: "审核通过",
icon: "file",
isTop: true,
},
},
],
},
{
path: "hbpo_jit_pub_pd_detail_service",
meta: {
type: "page",
title: "寄售库库存扣减审批明细",
icon: "file",
isHidden: true,
},
children: [
{
path: "query",
meta: {
type: "button",
title: "查询",
icon: "file",
isTop: true,
},
},
],
2 years ago
},
],
},
],
},
],
},
{
path: "md",
meta: {
type: "group",
title: "买单件",
icon: "folder",
},
children: [
{
path: "md-bbac",
meta: {
type: "group",
title: "BBAC",
icon: "folder",
},
children: [
{
path: "input",
meta: {
type: "group",
title: "数据输入",
icon: "file",
},
children: [
2 years ago
createInputJieSuanShuju("bbac_md_pub_sa_service", "MaiDanJianBBAC", "bbac", "买单件-BBAC 结算数据"),
createInputFaYunShuJu("bbac_md_pub_se_detail_service", "MaiDanJianBBAC", "bbac", "买单件-BBAC 发运数据"),
],
},
{
...createRoute("contrast", "title=数据比对"),
children: [createCompareJieSuan("bbac_md_pub_sa_detail_jobservice", "MaiDanJianBBAC", "bbac")],
},
],
},
{
path: "md-hbpo",
meta: {
type: "group",
title: "HBPO",
icon: "folder",
},
children: [
{
path: "input",
meta: {
type: "group",
title: "数据输入",
icon: "file",
},
children: [
2 years ago
createInputJieSuanShuju("hbpo_md_pub_sa_service", "MaiDanJianHBPO", "hbpo", "买单件-HBPO 结算数据"),
createInputFaYunShuJu("hbpo_md_pub_se_detail_service", "MaiDanJianHBPO", "hbpo", "买单件-HBPO 发运数据"),
],
},
{
...createRoute("contrast", "title=数据比对"),
children: [createCompareJieSuan("hbpo_md_pub_sa_detail_jobservice", "MaiDanJianHBPO", "hbpo")],
},
2 years ago
{
2 years ago
...createRoute("settlement", "title=结算开票"),
2 years ago
children: [
2 years ago
createUsableSettleList("hbpo_md_pub_can_sa_service", "MaiDanJianHBPO", "hbpo"),
createUnableSettleList("hbpo_md_pub_not_sa_service", "MaiDanJianHBPO", "hbpo"),
2 years ago
{
path: "hbpo_md_pub_ba_service",
2 years ago
meta: {
type: "page",
title: "商务审批",
2 years ago
icon: "file",
},
children: [
{
path: "query",
meta: {
type: "button",
title: "查询",
icon: "file",
isTop: true,
},
},
{
path: "reject",
meta: {
type: "button",
title: "退回",
icon: "file",
isTop: true,
},
},
{
path: "export",
meta: {
type: "button",
title: "导出",
icon: "file",
isTop: true,
pattern: "paged",
},
},
{
path: "received ",
meta: {
type: "button",
title: "客户已收票",
icon: "file",
isTop: true,
pattern: "paged",
},
},
{
2 years ago
path: "check",
meta: {
type: "button",
title: "审核通过",
icon: "file",
isTop: true,
},
},
{
path: "reopen",
meta: {
type: "button",
title: "重开",
icon: "file",
},
},
],
2 years ago
},
{
path: "hbpo_md_pub_ba_detail_service",
2 years ago
meta: {
type: "page",
title: "商务审批明细",
2 years ago
icon: "file",
isHidden: true,
2 years ago
},
children: [
{
path: "query",
meta: {
type: "button",
title: "查询",
icon: "file",
isTop: true,
},
},
],
2 years ago
},
{
path: "hbpo_md_pub_pd_service",
2 years ago
meta: {
type: "page",
title: "寄售库库存扣减审批",
2 years ago
icon: "file",
},
children: [
{
path: "query",
meta: {
type: "button",
title: "查询",
icon: "file",
isTop: true,
},
},
{
path: "reject",
meta: {
type: "button",
title: "退回",
icon: "file",
isTop: true,
},
},
{
path: "export",
meta: {
type: "button",
title: "导出",
icon: "file",
isTop: true,
pattern: "paged",
},
},
{
2 years ago
path: "check ",
meta: {
type: "button",
title: "审核通过",
icon: "file",
isTop: true,
},
},
],
2 years ago
},
2 years ago
{
path: "hbpo_md_pub_pd_detail_service",
2 years ago
meta: {
type: "page",
title: "寄售库库存扣减审批明细",
2 years ago
icon: "file",
isHidden: true,
2 years ago
},
children: [
{
path: "query",
meta: {
type: "button",
title: "查询",
icon: "file",
isTop: true,
},
},
],
2 years ago
},
],
},
2 years ago
],
},
],
},
{
path: "bj",
2 years ago
meta: {
type: "group",
title: "备件",
2 years ago
icon: "folder",
},
children: [
{
path: "input",
meta: {
type: "group",
title: "数据输入",
icon: "folder",
},
children: [
2 years ago
createInputJieSuanShuju("bj_pub_sa_service", "BeiJian", "bbac", "备件-BBAC 结算数据"),
createInputFaYunShuJu("bj_pub_se_detail_service", "BeiJian", "bbac", "备件-BBAC 发运数据"),
2 years ago
],
},
{
...createRoute("contrast", "title=数据比对"),
children: [createCompareJieSuan("bj_pub_sa_detail_jobservice", "BeiJian", "bbac")],
2 years ago
},
{
2 years ago
...createRoute("settlement", "title=结算开票"),
2 years ago
children: [
2 years ago
createUsableSettleList("bj_pub_can_sa_service", "BeiJian", "bbac"),
createUnableSettleList("bj_pub_not_sa_service", "BeiJian", "bbac"),
2 years ago
{
path: "bj_pub_ba_service",
2 years ago
meta: {
type: "page",
title: "商务审批",
icon: "file",
},
children: [
{
path: "query",
meta: {
type: "button",
title: "查询",
icon: "file",
isTop: true,
},
},
{
path: "reject",
meta: {
type: "button",
title: "退回",
icon: "file",
isTop: true,
},
},
{
path: "export",
meta: {
type: "button",
title: "导出",
icon: "file",
isTop: true,
pattern: "paged",
},
},
{
2 years ago
path: "received ",
2 years ago
meta: {
type: "button",
2 years ago
title: "客户已收票",
2 years ago
icon: "file",
isTop: true,
pattern: "paged",
},
},
{
2 years ago
path: "check",
meta: {
type: "button",
title: "审核通过",
icon: "file",
isTop: true,
},
},
{
path: "reopen",
meta: {
type: "button",
title: "重开",
icon: "file",
},
},
2 years ago
],
},
2 years ago
{
path: "bj_pub_ba_detail_service",
2 years ago
meta: {
type: "page",
title: "商务审批明细",
icon: "file",
isHidden: true,
},
children: [
{
path: "query",
meta: {
type: "button",
title: "查询",
icon: "file",
isTop: true,
},
},
],
},
{
path: "bj_pub_pd_service",
meta: {
type: "page",
title: "寄售库库存扣减审批",
icon: "file",
},
children: [
{
path: "query",
meta: {
type: "button",
title: "查询",
icon: "file",
isTop: true,
},
},
{
path: "reject",
meta: {
type: "button",
title: "退回",
icon: "file",
isTop: true,
},
},
{
path: "export",
meta: {
type: "button",
title: "导出",
icon: "file",
isTop: true,
pattern: "paged",
},
},
{
2 years ago
path: "check ",
meta: {
type: "button",
title: "审核通过",
icon: "file",
isTop: true,
},
},
],
},
{
path: "bj_pub_pd_detail_service",
meta: {
type: "page",
title: "寄售库库存扣减审批明细",
icon: "file",
isHidden: true,
},
children: [
{
path: "query",
meta: {
type: "button",
title: "查询",
icon: "file",
isTop: true,
},
},
],
},
],
},
],
},
{
path: "in",
meta: {
type: "group",
title: "印度件",
icon: "folder",
},
children: [
{
path: "input",
meta: {
type: "group",
title: "数据输入",
icon: "folder",
},
children: [
2 years ago
createInputJieSuanShuju("in_pub_sa_service", "YinDuJian", "bbac", "印度件-BBAC 结算数据"),
createInputFaYunShuJu("in_pub_se_detail_service", "YinDuJian", "bbac", "印度件-BBAC 发运数据"),
],
},
{
...createRoute("contrast", "title=数据比对"),
children: [createCompareJieSuan("in_pub_sa_detail_jobservice", "YinDuJian", "bbac")],
},
{
2 years ago
...createRoute("settlement", "title=结算开票"),
children: [
2 years ago
createUsableSettleList("in_pub_can_sa_service", "YinDuJian", "bbac"),
createUnableSettleList("in_pub_not_sa_service", "YinDuJian", "bbac"),
{
path: "in_pub_ba_service",
meta: {
type: "page",
title: "商务审批",
icon: "file",
},
children: [
{
path: "query",
meta: {
type: "button",
title: "查询",
icon: "file",
isTop: true,
},
},
{
path: "reject",
meta: {
type: "button",
title: "退回",
icon: "file",
isTop: true,
},
},
{
path: "export",
meta: {
type: "button",
title: "导出",
icon: "file",
isTop: true,
pattern: "paged",
},
},
{
path: "received ",
meta: {
type: "button",
title: "客户已收票",
icon: "file",
isTop: true,
pattern: "paged",
},
},
{
2 years ago
path: "check",
meta: {
type: "button",
title: "审核通过",
icon: "file",
isTop: true,
},
},
{
path: "reopen",
meta: {
type: "button",
title: "重开",
icon: "file",
},
},
],
},
{
path: "in_pub_ba_detail_service",
meta: {
type: "page",
title: "商务审批明细",
icon: "file",
isHidden: true,
},
children: [
{
path: "query",
meta: {
type: "button",
title: "查询",
icon: "file",
isTop: true,
},
},
],
},
{
path: "in_pub_pd_service",
meta: {
type: "page",
title: "寄售库库存扣减审批",
icon: "file",
},
children: [
{
path: "query",
meta: {
type: "button",
title: "查询",
icon: "file",
isTop: true,
},
},
{
path: "reject",
meta: {
type: "button",
title: "退回",
icon: "file",
isTop: true,
},
},
{
path: "export",
meta: {
type: "button",
title: "导出",
icon: "file",
isTop: true,
pattern: "paged",
},
},
{
2 years ago
path: "check ",
meta: {
type: "button",
title: "审核通过",
icon: "file",
isTop: true,
},
},
],
},
{
path: "in_pub_pd_detail_service",
meta: {
type: "page",
title: "寄售库库存扣减审批明细",
icon: "file",
isHidden: true,
},
children: [
{
path: "query",
meta: {
type: "button",
title: "查询",
icon: "file",
isTop: true,
},
},
],
},
],
},
],
},
{
path: "invoice",
meta: {
type: "group",
title: "财务审核",
icon: "folder",
},
children: [
{
path: "invoice_map_group",
meta: {
type: "page",
title: "财务审核",
icon: "file",
},
children: [
{
path: "query",
meta: {
type: "button",
title: "查询",
icon: "file",
isTop: true,
},
},
{
path: "reject",
meta: {
type: "button",
title: "退回",
icon: "file",
isTop: true,
},
},
{
path: "importInvocie",
meta: {
type: "button",
title: "导入发票号",
icon: "file",
isTop: true,
pattern: "paged",
},
},
{
2 years ago
path: "check ",
meta: {
type: "button",
title: "审核通过",
icon: "file",
isTop: true,
},
},
{
path: "sync_qad ",
meta: {
type: "button",
title: "同步寄售库至QAD",
icon: "file",
isTop: true,
pattern: "paged",
},
},
],
},
{
path: "invoice_wait_detail",
meta: {
type: "page",
title: "待开票明细",
icon: "file",
isHidden: true,
},
children: [
{
path: "query",
meta: {
type: "button",
title: "查询",
icon: "file",
isTop: true,
},
},
],
},
{
path: "invoice_grp",
meta: {
type: "page",
title: "发票分组",
icon: "file",
isHidden: true,
},
children: [
{
path: "query",
meta: {
type: "button",
title: "查询",
icon: "file",
isTop: true,
},
},
],
},
{
path: "invoice_not_settle",
2 years ago
meta: {
type: "page",
title: "不可开票明细清单",
icon: "file",
isHidden: true,
},
children: [
{
path: "query",
meta: {
type: "button",
title: "查询",
icon: "file",
isTop: true,
},
},
],
},
2 years ago
],
},
{
path: "cost",
meta: {
type: "group",
title: "实际采购成本",
icon: "folder",
2 years ago
isHidden: true,
2 years ago
},
children: [
{
2 years ago
path: "cost",
meta: {
2 years ago
type: "page",
title: "实际采购成本",
icon: "file",
2 years ago
isHidden: true,
},
children: [
{
2 years ago
path: "query",
meta: {
2 years ago
type: "button",
title: "查询",
icon: "file",
2 years ago
isTop: true,
},
},
{
2 years ago
path: "export",
meta: {
2 years ago
type: "button",
title: "导出",
icon: "file",
2 years ago
isTop: true,
pattern: "paged",
},
},
{
2 years ago
path: "generate",
meta: {
2 years ago
type: "button",
title: "生成",
icon: "file",
2 years ago
isTop: true,
pattern: "paged",
},
},
],
},
],
},
{
2 years ago
path: "inventory",
2 years ago
meta: {
type: "group",
2 years ago
title: "寄售库",
2 years ago
icon: "folder",
},
children: [
{
2 years ago
path: "balance",
meta: {
2 years ago
type: "page",
title: "库存余额查询",
icon: "file",
},
children: [
{
2 years ago
path: "query",
meta: {
2 years ago
type: "button",
title: "查询",
icon: "file",
2 years ago
isTop: true,
},
},
{
2 years ago
path: "export",
meta: {
2 years ago
type: "button",
title: "导出",
icon: "file",
2 years ago
isTop: true,
pattern: "paged",
},
},
],
},
{
2 years ago
path: "log",
meta: {
2 years ago
type: "page",
title: "库存事务查询",
2 years ago
icon: "file",
},
children: [
{
2 years ago
path: "query",
meta: {
2 years ago
type: "button",
title: "查询",
icon: "file",
2 years ago
isTop: true,
},
},
{
2 years ago
path: "export",
meta: {
2 years ago
type: "button",
title: "导出",
icon: "file",
2 years ago
isTop: true,
pattern: "paged",
},
},
2 years ago
{
path: "dataExport",
2 years ago
meta: {
type: "button",
title: "补货数据导出",
icon: "file",
isTop: true,
pattern: "paged",
},
},
],
},
{
2 years ago
path: "backup",
meta: {
2 years ago
type: "page",
title: "时点库存余额查询",
icon: "file",
},
children: [
{
2 years ago
path: "query",
meta: {
2 years ago
type: "button",
title: "查询",
icon: "file",
2 years ago
isTop: true,
},
},
{
2 years ago
path: "export",
meta: {
2 years ago
type: "button",
title: "导出",
icon: "file",
2 years ago
isTop: true,
pattern: "paged",
},
},
{
path: "invoke",
meta: {
type: "button",
title: "手动备份",
icon: "file",
isTop: true,
},
},
],
},
{
path: "adjust",
meta: {
type: "page",
title: "寄售库存调整",
icon: "file",
},
children: [
{
path: "query",
meta: {
type: "button",
title: "查询",
icon: "file",
isTop: true,
},
},
{
path: "create",
meta: {
type: "button",
title: "新建",
icon: "file",
isTop: true,
},
},
{
path: "import",
meta: {
type: "button",
title: "导入",
icon: "file",
isTop: true,
},
},
],
},
],
},
2 years ago
];