|
|
@ -1,5 +1,6 @@ |
|
|
|
import createRoute, { createPage, createButton } from "./utils.js"; |
|
|
|
|
|
|
|
// #region 数据输入
|
|
|
|
function createInputJieSuanShuju(path, business, client, title = "结算数据") { |
|
|
|
return { |
|
|
|
...createPage(path, `title=${title}&businessType=${business}&client=${client}`), |
|
|
@ -35,7 +36,9 @@ function createInputEdiShuJu(path, business, client, title = "EDI数据") { |
|
|
|
], |
|
|
|
}; |
|
|
|
} |
|
|
|
// #endregion
|
|
|
|
|
|
|
|
// #region 数据比对
|
|
|
|
function createCompareFaYun(path, business, client, title = "EDI与发运对比") { |
|
|
|
return { |
|
|
|
...createPage(path, `title=${title}&businessType=${business}&client=${client}`), |
|
|
@ -62,10 +65,80 @@ function createCompareJieSuan(path, business, client, title = "EDI、发运与 |
|
|
|
], |
|
|
|
}; |
|
|
|
} |
|
|
|
// #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"), |
|
|
|
], |
|
|
|
}; |
|
|
|
} |
|
|
|
|
|
|
|
export default [ |
|
|
|
{ |
|
|
|
...createPage("input/jie-suan/detail", "title=结算数据明细&isHidden=true"), |
|
|
|
...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")], |
|
|
|
}, |
|
|
|
{ |
|
|
@ -74,124 +147,23 @@ export default [ |
|
|
|
{ |
|
|
|
...createRoute("input", "title=数据输入"), |
|
|
|
children: [ |
|
|
|
createInputJieSuanShuju("bbac_sa_service", "JisBBAC", "bbac"), |
|
|
|
createInputFaYunShuJu("bbac_se_detail_service", "JisBBAC", "bbac"), |
|
|
|
createInputEdiShuJu("bbac_se_edi_service", "JisBBAC", "bbac"), |
|
|
|
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: [ |
|
|
|
createCompareFaYun("bbac_sa_detail_jobservice", "JisBBAC", "bbac"), |
|
|
|
createCompareFaYun("bbac_sa_detail_jobservice", "JisBBAC", "bbac", "JIS-BBAC EDI与发运对比"), |
|
|
|
createCompareJieSuan("first_bbac_sa_detail_jobservice", "JisBBAC", "bbac"), |
|
|
|
], |
|
|
|
}, |
|
|
|
{ |
|
|
|
path: "settlement", |
|
|
|
meta: { |
|
|
|
type: "group", |
|
|
|
title: "结算开票", |
|
|
|
icon: "folder", |
|
|
|
}, |
|
|
|
...createRoute("settlement", "title=结算开票"), |
|
|
|
children: [ |
|
|
|
{ |
|
|
|
path: "bbac_can_sa_service", |
|
|
|
meta: { |
|
|
|
type: "page", |
|
|
|
title: "可结算单", |
|
|
|
icon: "file", |
|
|
|
}, |
|
|
|
children: [ |
|
|
|
{ |
|
|
|
path: "query", |
|
|
|
meta: { |
|
|
|
type: "button", |
|
|
|
title: "查询", |
|
|
|
icon: "file", |
|
|
|
isTop: true, |
|
|
|
}, |
|
|
|
}, |
|
|
|
{ |
|
|
|
path: "export", |
|
|
|
meta: { |
|
|
|
type: "button", |
|
|
|
title: "导出", |
|
|
|
icon: "file", |
|
|
|
isTop: true, |
|
|
|
pattern: "paged", |
|
|
|
}, |
|
|
|
}, |
|
|
|
{ |
|
|
|
path: "invoice", |
|
|
|
meta: { |
|
|
|
type: "button", |
|
|
|
title: "生成发票数据", |
|
|
|
icon: "file", |
|
|
|
isTop: true, |
|
|
|
pattern: "paged", |
|
|
|
}, |
|
|
|
}, |
|
|
|
], |
|
|
|
}, |
|
|
|
{ |
|
|
|
path: "bbac_can_sa_detail_service", |
|
|
|
meta: { |
|
|
|
type: "page", |
|
|
|
title: "BBAC发票分组号明细", |
|
|
|
icon: "file", |
|
|
|
isHidden: true, |
|
|
|
}, |
|
|
|
children: [ |
|
|
|
{ |
|
|
|
path: "query", |
|
|
|
meta: { |
|
|
|
type: "button", |
|
|
|
title: "查询", |
|
|
|
icon: "file", |
|
|
|
isTop: true, |
|
|
|
}, |
|
|
|
}, |
|
|
|
], |
|
|
|
}, |
|
|
|
{ |
|
|
|
path: "bbac_not_sa_service", |
|
|
|
meta: { |
|
|
|
type: "page", |
|
|
|
title: "不可结算单", |
|
|
|
icon: "file", |
|
|
|
}, |
|
|
|
children: [ |
|
|
|
{ |
|
|
|
path: "query", |
|
|
|
meta: { |
|
|
|
type: "button", |
|
|
|
title: "查询", |
|
|
|
icon: "file", |
|
|
|
isTop: true, |
|
|
|
}, |
|
|
|
}, |
|
|
|
{ |
|
|
|
path: "export", |
|
|
|
meta: { |
|
|
|
type: "button", |
|
|
|
title: "导出", |
|
|
|
icon: "file", |
|
|
|
isTop: true, |
|
|
|
pattern: "paged", |
|
|
|
}, |
|
|
|
}, |
|
|
|
{ |
|
|
|
path: "settlement", |
|
|
|
meta: { |
|
|
|
type: "button", |
|
|
|
title: "生成可结算单", |
|
|
|
icon: "file", |
|
|
|
isTop: true, |
|
|
|
pattern: "paged", |
|
|
|
}, |
|
|
|
}, |
|
|
|
], |
|
|
|
}, |
|
|
|
createUsableSettleList("bbac_can_sa_service", "JisBBAC", "bbac"), |
|
|
|
createUnableSettleList("bbac_not_sa_service", "JisBBAC", "bbac"), |
|
|
|
{ |
|
|
|
path: "bbac_ba_service", |
|
|
|
meta: { |
|
|
@ -364,124 +336,23 @@ export default [ |
|
|
|
icon: "folder", |
|
|
|
}, |
|
|
|
children: [ |
|
|
|
createInputJieSuanShuju("hbpo_sa_service", "JisHBPO", "hbpo"), |
|
|
|
createInputFaYunShuJu("hbpo_se_detail_service", "JisHBPO", "hbpo"), |
|
|
|
createInputEdiShuJu("hbpo_se_edi_service", "JisHBPO", "hbpo"), |
|
|
|
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: [ |
|
|
|
createCompareFaYun("hbpo_sa_detail_jobservice", "JisHBPO", "hbpo"), |
|
|
|
createCompareFaYun("hbpo_sa_detail_jobservice", "JisHBPO", "hbpo", "JIS-HBPO EDI与发运对比"), |
|
|
|
createCompareJieSuan("first_hbpo_sa_detail_jobservice", "JisHBPO", "hbpo"), |
|
|
|
], |
|
|
|
}, |
|
|
|
{ |
|
|
|
path: "settlement", |
|
|
|
meta: { |
|
|
|
type: "group", |
|
|
|
title: "结算开票", |
|
|
|
icon: "folder", |
|
|
|
}, |
|
|
|
...createRoute("settlement", "title=结算开票"), |
|
|
|
children: [ |
|
|
|
{ |
|
|
|
path: "hbpo_can_sa_service", |
|
|
|
meta: { |
|
|
|
type: "page", |
|
|
|
title: "可结算单", |
|
|
|
icon: "file", |
|
|
|
}, |
|
|
|
children: [ |
|
|
|
{ |
|
|
|
path: "query", |
|
|
|
meta: { |
|
|
|
type: "button", |
|
|
|
title: "查询", |
|
|
|
icon: "file", |
|
|
|
isTop: true, |
|
|
|
}, |
|
|
|
}, |
|
|
|
{ |
|
|
|
path: "export", |
|
|
|
meta: { |
|
|
|
type: "button", |
|
|
|
title: "导出", |
|
|
|
icon: "file", |
|
|
|
isTop: true, |
|
|
|
pattern: "paged", |
|
|
|
}, |
|
|
|
}, |
|
|
|
{ |
|
|
|
path: "generateInvoice", |
|
|
|
meta: { |
|
|
|
type: "button", |
|
|
|
title: "生成发票数据", |
|
|
|
icon: "file", |
|
|
|
isTop: true, |
|
|
|
pattern: "paged", |
|
|
|
}, |
|
|
|
}, |
|
|
|
], |
|
|
|
}, |
|
|
|
{ |
|
|
|
path: "hbpo_can_sa_detail_service", |
|
|
|
meta: { |
|
|
|
type: "page", |
|
|
|
title: "HBPO可结算单明细", |
|
|
|
icon: "file", |
|
|
|
isHidden: true, |
|
|
|
}, |
|
|
|
children: [ |
|
|
|
{ |
|
|
|
path: "query", |
|
|
|
meta: { |
|
|
|
type: "button", |
|
|
|
title: "查询", |
|
|
|
icon: "file", |
|
|
|
isTop: true, |
|
|
|
}, |
|
|
|
}, |
|
|
|
], |
|
|
|
}, |
|
|
|
{ |
|
|
|
path: "hbpo_not_sa_service", |
|
|
|
meta: { |
|
|
|
type: "page", |
|
|
|
title: "不可结算单", |
|
|
|
icon: "file", |
|
|
|
}, |
|
|
|
children: [ |
|
|
|
{ |
|
|
|
path: "query", |
|
|
|
meta: { |
|
|
|
type: "button", |
|
|
|
title: "查询", |
|
|
|
icon: "file", |
|
|
|
isTop: true, |
|
|
|
}, |
|
|
|
}, |
|
|
|
{ |
|
|
|
path: "export", |
|
|
|
meta: { |
|
|
|
type: "button", |
|
|
|
title: "导出", |
|
|
|
icon: "file", |
|
|
|
isTop: true, |
|
|
|
pattern: "paged", |
|
|
|
}, |
|
|
|
}, |
|
|
|
{ |
|
|
|
path: "settlement", |
|
|
|
meta: { |
|
|
|
type: "button", |
|
|
|
title: "生成可结算单", |
|
|
|
icon: "file", |
|
|
|
isTop: true, |
|
|
|
pattern: "paged", |
|
|
|
}, |
|
|
|
}, |
|
|
|
], |
|
|
|
}, |
|
|
|
createUsableSettleList("hbpo_can_sa_service", "JisHBPO", "hbpo"), |
|
|
|
createUnableSettleList("hbpo_not_sa_service", "JisHBPO", "hbpo"), |
|
|
|
{ |
|
|
|
path: "hbpo_ba_service", |
|
|
|
meta: { |
|
|
@ -662,8 +533,13 @@ export default [ |
|
|
|
icon: "folder", |
|
|
|
}, |
|
|
|
children: [ |
|
|
|
createInputJieSuanShuju("bbac_jit_pub_sa_service", "ZhiGongJianBBAC", "bbac"), |
|
|
|
createInputFaYunShuJu("bbac_jit_pub_se_detail_service", "ZhiGongJianBBAC", "bbac"), |
|
|
|
createInputJieSuanShuju("bbac_jit_pub_sa_service", "ZhiGongJianBBAC", "bbac", "直供件-BBAC 结算数据"), |
|
|
|
createInputFaYunShuJu( |
|
|
|
"bbac_jit_pub_se_detail_service", |
|
|
|
"ZhiGongJianBBAC", |
|
|
|
"bbac", |
|
|
|
"直供件-BBAC 发运数据" |
|
|
|
), |
|
|
|
], |
|
|
|
}, |
|
|
|
{ |
|
|
@ -671,121 +547,10 @@ export default [ |
|
|
|
children: [createCompareJieSuan("bbac_jit_pub_sa_detail_jobservice", "ZhiGongJianBBAC", "bbac")], |
|
|
|
}, |
|
|
|
{ |
|
|
|
path: "settlement", |
|
|
|
meta: { |
|
|
|
type: "group", |
|
|
|
title: "结算开票", |
|
|
|
icon: "folder", |
|
|
|
}, |
|
|
|
...createRoute("settlement", "title=结算开票"), |
|
|
|
children: [ |
|
|
|
{ |
|
|
|
path: "bbac_jit_pub_can_sa_service", |
|
|
|
meta: { |
|
|
|
type: "page", |
|
|
|
title: "可结算单", |
|
|
|
icon: "file", |
|
|
|
}, |
|
|
|
children: [ |
|
|
|
{ |
|
|
|
path: "query", |
|
|
|
meta: { |
|
|
|
type: "button", |
|
|
|
title: "查询", |
|
|
|
icon: "file", |
|
|
|
isTop: true, |
|
|
|
}, |
|
|
|
}, |
|
|
|
{ |
|
|
|
path: "export", |
|
|
|
meta: { |
|
|
|
type: "button", |
|
|
|
title: "导出", |
|
|
|
icon: "file", |
|
|
|
isTop: true, |
|
|
|
pattern: "paged", |
|
|
|
}, |
|
|
|
}, |
|
|
|
{ |
|
|
|
path: "generateInvoice", |
|
|
|
meta: { |
|
|
|
type: "button", |
|
|
|
title: "生成发票数据", |
|
|
|
icon: "file", |
|
|
|
isTop: true, |
|
|
|
pattern: "paged", |
|
|
|
}, |
|
|
|
}, |
|
|
|
], |
|
|
|
}, |
|
|
|
{ |
|
|
|
path: "bbac_jit_pub_can_sa_detail_service", |
|
|
|
meta: { |
|
|
|
type: "page", |
|
|
|
title: "可结算单明细", |
|
|
|
icon: "file", |
|
|
|
isHidden: true, |
|
|
|
}, |
|
|
|
children: [ |
|
|
|
{ |
|
|
|
path: "query", |
|
|
|
meta: { |
|
|
|
type: "button", |
|
|
|
title: "查询", |
|
|
|
icon: "file", |
|
|
|
isTop: true, |
|
|
|
}, |
|
|
|
}, |
|
|
|
{ |
|
|
|
path: "export", |
|
|
|
meta: { |
|
|
|
type: "button", |
|
|
|
title: "导出", |
|
|
|
icon: "file", |
|
|
|
isTop: true, |
|
|
|
pattern: "paged", |
|
|
|
}, |
|
|
|
}, |
|
|
|
], |
|
|
|
}, |
|
|
|
{ |
|
|
|
path: "bbac_jit_pub_not_sa_service", |
|
|
|
meta: { |
|
|
|
type: "page", |
|
|
|
title: "不可结算单", |
|
|
|
icon: "file", |
|
|
|
}, |
|
|
|
children: [ |
|
|
|
{ |
|
|
|
path: "query", |
|
|
|
meta: { |
|
|
|
type: "button", |
|
|
|
title: "查询", |
|
|
|
icon: "file", |
|
|
|
isTop: true, |
|
|
|
}, |
|
|
|
}, |
|
|
|
{ |
|
|
|
path: "export", |
|
|
|
meta: { |
|
|
|
type: "button", |
|
|
|
title: "导出", |
|
|
|
icon: "file", |
|
|
|
isTop: true, |
|
|
|
pattern: "paged", |
|
|
|
}, |
|
|
|
}, |
|
|
|
{ |
|
|
|
path: "generateSettlementOrder", |
|
|
|
meta: { |
|
|
|
type: "button", |
|
|
|
title: "生成可结算单", |
|
|
|
icon: "file", |
|
|
|
isTop: true, |
|
|
|
pattern: "paged", |
|
|
|
}, |
|
|
|
}, |
|
|
|
], |
|
|
|
}, |
|
|
|
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: { |
|
|
@ -958,130 +723,24 @@ export default [ |
|
|
|
icon: "folder", |
|
|
|
}, |
|
|
|
children: [ |
|
|
|
createInputJieSuanShuju("hbpo_jit_pub_sa_service", "ZhiGongJianHBPO", "hbpo"), |
|
|
|
createInputFaYunShuJu("hbpo_jit_pub_se_detail_service", "ZhiGongJianHBPO", "hbpo"), |
|
|
|
createInputJieSuanShuju("hbpo_jit_pub_sa_service", "ZhiGongJianHBPO", "hbpo", "直供件-HBPO 结算数据"), |
|
|
|
createInputFaYunShuJu( |
|
|
|
"hbpo_jit_pub_se_detail_service", |
|
|
|
"ZhiGongJianHBPO", |
|
|
|
"hbpo", |
|
|
|
"直供件-HBPO 发运数据" |
|
|
|
), |
|
|
|
], |
|
|
|
}, |
|
|
|
{ |
|
|
|
...createRoute("contrast", "title=数据比对"), |
|
|
|
children: [createCompareJieSuan("bbac_jit_pub_sa_detail_jobservice", "ZhiGongJianHBPO", "hbpo")], |
|
|
|
}, |
|
|
|
{ |
|
|
|
path: "settlement", |
|
|
|
meta: { |
|
|
|
type: "group", |
|
|
|
title: "结算开票", |
|
|
|
icon: "folder", |
|
|
|
}, |
|
|
|
children: [ |
|
|
|
{ |
|
|
|
path: "hbpo_jit_pub_can_sa_service", |
|
|
|
meta: { |
|
|
|
type: "page", |
|
|
|
title: "可结算单", |
|
|
|
icon: "file", |
|
|
|
}, |
|
|
|
children: [ |
|
|
|
{ |
|
|
|
path: "query", |
|
|
|
meta: { |
|
|
|
type: "button", |
|
|
|
title: "查询", |
|
|
|
icon: "file", |
|
|
|
isTop: true, |
|
|
|
}, |
|
|
|
}, |
|
|
|
{ |
|
|
|
path: "export", |
|
|
|
meta: { |
|
|
|
type: "button", |
|
|
|
title: "导出", |
|
|
|
icon: "file", |
|
|
|
isTop: true, |
|
|
|
pattern: "paged", |
|
|
|
}, |
|
|
|
}, |
|
|
|
{ |
|
|
|
path: "generateInvoice", |
|
|
|
meta: { |
|
|
|
type: "button", |
|
|
|
title: "生成发票数据", |
|
|
|
icon: "file", |
|
|
|
isTop: true, |
|
|
|
pattern: "paged", |
|
|
|
}, |
|
|
|
}, |
|
|
|
], |
|
|
|
}, |
|
|
|
{ |
|
|
|
path: "hbpo_jit_pub_can_sa_detail_service", |
|
|
|
meta: { |
|
|
|
type: "page", |
|
|
|
title: "可结算单明细", |
|
|
|
icon: "file", |
|
|
|
isHidden: true, |
|
|
|
}, |
|
|
|
children: [ |
|
|
|
{ |
|
|
|
path: "query", |
|
|
|
meta: { |
|
|
|
type: "button", |
|
|
|
title: "查询", |
|
|
|
icon: "file", |
|
|
|
isTop: true, |
|
|
|
}, |
|
|
|
}, |
|
|
|
{ |
|
|
|
path: "export", |
|
|
|
meta: { |
|
|
|
type: "button", |
|
|
|
title: "导出", |
|
|
|
icon: "file", |
|
|
|
isTop: true, |
|
|
|
pattern: "paged", |
|
|
|
}, |
|
|
|
}, |
|
|
|
], |
|
|
|
}, |
|
|
|
{ |
|
|
|
path: "hbpo_jit_pub_not_sa_service", |
|
|
|
meta: { |
|
|
|
type: "page", |
|
|
|
title: "不可结算单", |
|
|
|
icon: "file", |
|
|
|
}, |
|
|
|
children: [ |
|
|
|
{ |
|
|
|
path: "query", |
|
|
|
meta: { |
|
|
|
type: "button", |
|
|
|
title: "查询", |
|
|
|
icon: "file", |
|
|
|
isTop: true, |
|
|
|
}, |
|
|
|
}, |
|
|
|
{ |
|
|
|
path: "export", |
|
|
|
meta: { |
|
|
|
type: "button", |
|
|
|
title: "导出", |
|
|
|
icon: "file", |
|
|
|
isTop: true, |
|
|
|
pattern: "paged", |
|
|
|
}, |
|
|
|
}, |
|
|
|
{ |
|
|
|
path: "generateSettlementOrder", |
|
|
|
meta: { |
|
|
|
type: "button", |
|
|
|
title: "生成可结算单", |
|
|
|
icon: "file", |
|
|
|
isTop: true, |
|
|
|
pattern: "paged", |
|
|
|
}, |
|
|
|
}, |
|
|
|
], |
|
|
|
}, |
|
|
|
{ |
|
|
|
...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"), |
|
|
|
{ |
|
|
|
path: "hbpo_jit_pub_ba_service", |
|
|
|
meta: { |
|
|
@ -1264,8 +923,8 @@ export default [ |
|
|
|
icon: "file", |
|
|
|
}, |
|
|
|
children: [ |
|
|
|
createInputJieSuanShuju("bbac_md_pub_sa_service", "MaiDanJianBBAC", "bbac"), |
|
|
|
createInputFaYunShuJu("bbac_md_pub_se_detail_service", "MaiDanJianBBAC", "bbac"), |
|
|
|
createInputJieSuanShuju("bbac_md_pub_sa_service", "MaiDanJianBBAC", "bbac", "买单件-BBAC 结算数据"), |
|
|
|
createInputFaYunShuJu("bbac_md_pub_se_detail_service", "MaiDanJianBBAC", "bbac", "买单件-BBAC 发运数据"), |
|
|
|
], |
|
|
|
}, |
|
|
|
{ |
|
|
@ -1290,8 +949,8 @@ export default [ |
|
|
|
icon: "file", |
|
|
|
}, |
|
|
|
children: [ |
|
|
|
createInputJieSuanShuju("hbpo_md_pub_sa_service", "MaiDanJianHBPO", "hbpo"), |
|
|
|
createInputFaYunShuJu("hbpo_md_pub_se_detail_service", "MaiDanJianHBPO", "hbpo"), |
|
|
|
createInputJieSuanShuju("hbpo_md_pub_sa_service", "MaiDanJianHBPO", "hbpo", "买单件-HBPO 结算数据"), |
|
|
|
createInputFaYunShuJu("hbpo_md_pub_se_detail_service", "MaiDanJianHBPO", "hbpo", "买单件-HBPO 发运数据"), |
|
|
|
], |
|
|
|
}, |
|
|
|
{ |
|
|
@ -1299,121 +958,10 @@ export default [ |
|
|
|
children: [createCompareJieSuan("hbpo_md_pub_sa_detail_jobservice", "MaiDanJianHBPO", "hbpo")], |
|
|
|
}, |
|
|
|
{ |
|
|
|
path: "settlement", |
|
|
|
meta: { |
|
|
|
type: "group", |
|
|
|
title: "结算开票", |
|
|
|
icon: "folder", |
|
|
|
}, |
|
|
|
...createRoute("settlement", "title=结算开票"), |
|
|
|
children: [ |
|
|
|
{ |
|
|
|
path: "hbpo_md_pub_can_sa_service", |
|
|
|
meta: { |
|
|
|
type: "page", |
|
|
|
title: "可结算单", |
|
|
|
icon: "file", |
|
|
|
}, |
|
|
|
children: [ |
|
|
|
{ |
|
|
|
path: "query", |
|
|
|
meta: { |
|
|
|
type: "button", |
|
|
|
title: "查询", |
|
|
|
icon: "file", |
|
|
|
isTop: true, |
|
|
|
}, |
|
|
|
}, |
|
|
|
{ |
|
|
|
path: "export", |
|
|
|
meta: { |
|
|
|
type: "button", |
|
|
|
title: "导出", |
|
|
|
icon: "file", |
|
|
|
isTop: true, |
|
|
|
pattern: "paged", |
|
|
|
}, |
|
|
|
}, |
|
|
|
{ |
|
|
|
path: "generateInvoice", |
|
|
|
meta: { |
|
|
|
type: "button", |
|
|
|
title: "生成发票数据", |
|
|
|
icon: "file", |
|
|
|
isTop: true, |
|
|
|
pattern: "paged", |
|
|
|
}, |
|
|
|
}, |
|
|
|
], |
|
|
|
}, |
|
|
|
{ |
|
|
|
path: "hbpo_md_pub_can_sa_detail_service", |
|
|
|
meta: { |
|
|
|
type: "page", |
|
|
|
title: "可结算单明细", |
|
|
|
icon: "file", |
|
|
|
isHidden: true, |
|
|
|
}, |
|
|
|
children: [ |
|
|
|
{ |
|
|
|
path: "query", |
|
|
|
meta: { |
|
|
|
type: "button", |
|
|
|
title: "查询", |
|
|
|
icon: "file", |
|
|
|
isTop: true, |
|
|
|
}, |
|
|
|
}, |
|
|
|
{ |
|
|
|
path: "export", |
|
|
|
meta: { |
|
|
|
type: "button", |
|
|
|
title: "导出", |
|
|
|
icon: "file", |
|
|
|
isTop: true, |
|
|
|
pattern: "paged", |
|
|
|
}, |
|
|
|
}, |
|
|
|
], |
|
|
|
}, |
|
|
|
{ |
|
|
|
path: "hbpo_md_pub_not_sa_service", |
|
|
|
meta: { |
|
|
|
type: "page", |
|
|
|
title: "不可结算单", |
|
|
|
icon: "file", |
|
|
|
}, |
|
|
|
children: [ |
|
|
|
{ |
|
|
|
path: "query", |
|
|
|
meta: { |
|
|
|
type: "button", |
|
|
|
title: "查询", |
|
|
|
icon: "file", |
|
|
|
isTop: true, |
|
|
|
}, |
|
|
|
}, |
|
|
|
{ |
|
|
|
path: "export", |
|
|
|
meta: { |
|
|
|
type: "button", |
|
|
|
title: "导出", |
|
|
|
icon: "file", |
|
|
|
isTop: true, |
|
|
|
pattern: "paged", |
|
|
|
}, |
|
|
|
}, |
|
|
|
{ |
|
|
|
path: "generateSettlementOrder", |
|
|
|
meta: { |
|
|
|
type: "button", |
|
|
|
title: "生成可结算单", |
|
|
|
icon: "file", |
|
|
|
isTop: true, |
|
|
|
pattern: "paged", |
|
|
|
}, |
|
|
|
}, |
|
|
|
], |
|
|
|
}, |
|
|
|
createUsableSettleList("hbpo_md_pub_can_sa_service", "MaiDanJianHBPO", "hbpo"), |
|
|
|
createUnableSettleList("hbpo_md_pub_not_sa_service", "MaiDanJianHBPO", "hbpo"), |
|
|
|
{ |
|
|
|
path: "hbpo_md_pub_ba_service", |
|
|
|
meta: { |
|
|
@ -1588,8 +1136,8 @@ export default [ |
|
|
|
icon: "folder", |
|
|
|
}, |
|
|
|
children: [ |
|
|
|
createInputJieSuanShuju("bj_pub_sa_service", "BeiJian", "bbac"), |
|
|
|
createInputFaYunShuJu("bj_pub_se_detail_service", "BeiJian", "bbac"), |
|
|
|
createInputJieSuanShuju("bj_pub_sa_service", "BeiJian", "bbac", "备件-BBAC 结算数据"), |
|
|
|
createInputFaYunShuJu("bj_pub_se_detail_service", "BeiJian", "bbac", "备件-BBAC 发运数据"), |
|
|
|
], |
|
|
|
}, |
|
|
|
{ |
|
|
@ -1597,91 +1145,10 @@ export default [ |
|
|
|
children: [createCompareJieSuan("bj_pub_sa_detail_jobservice", "BeiJian", "bbac")], |
|
|
|
}, |
|
|
|
{ |
|
|
|
path: "settlement", |
|
|
|
meta: { |
|
|
|
type: "group", |
|
|
|
title: "结算开票", |
|
|
|
icon: "folder", |
|
|
|
}, |
|
|
|
...createRoute("settlement", "title=结算开票"), |
|
|
|
children: [ |
|
|
|
{ |
|
|
|
path: "bj_pub_can_sa_service", |
|
|
|
meta: { |
|
|
|
type: "page", |
|
|
|
title: "可结算单", |
|
|
|
icon: "file", |
|
|
|
}, |
|
|
|
children: [ |
|
|
|
{ |
|
|
|
path: "query", |
|
|
|
meta: { |
|
|
|
type: "button", |
|
|
|
title: "查询", |
|
|
|
icon: "file", |
|
|
|
isTop: true, |
|
|
|
}, |
|
|
|
}, |
|
|
|
{ |
|
|
|
path: "export", |
|
|
|
meta: { |
|
|
|
type: "button", |
|
|
|
title: "导出", |
|
|
|
icon: "file", |
|
|
|
isTop: true, |
|
|
|
pattern: "paged", |
|
|
|
}, |
|
|
|
}, |
|
|
|
{ |
|
|
|
path: "generateInvoice", |
|
|
|
meta: { |
|
|
|
type: "button", |
|
|
|
title: "生成发票数据", |
|
|
|
icon: "file", |
|
|
|
isTop: true, |
|
|
|
pattern: "paged", |
|
|
|
}, |
|
|
|
}, |
|
|
|
], |
|
|
|
}, |
|
|
|
{ |
|
|
|
path: "bj_pub_not_sa_service", |
|
|
|
meta: { |
|
|
|
type: "page", |
|
|
|
title: "不可结算单", |
|
|
|
icon: "file", |
|
|
|
}, |
|
|
|
children: [ |
|
|
|
{ |
|
|
|
path: "query", |
|
|
|
meta: { |
|
|
|
type: "button", |
|
|
|
title: "查询", |
|
|
|
icon: "file", |
|
|
|
isTop: true, |
|
|
|
}, |
|
|
|
}, |
|
|
|
{ |
|
|
|
path: "export", |
|
|
|
meta: { |
|
|
|
type: "button", |
|
|
|
title: "导出", |
|
|
|
icon: "file", |
|
|
|
isTop: true, |
|
|
|
pattern: "paged", |
|
|
|
}, |
|
|
|
}, |
|
|
|
{ |
|
|
|
path: "bj_generateSettlementOrder", |
|
|
|
meta: { |
|
|
|
type: "button", |
|
|
|
title: "生成可结算单", |
|
|
|
icon: "file", |
|
|
|
isTop: true, |
|
|
|
pattern: "paged", |
|
|
|
}, |
|
|
|
}, |
|
|
|
], |
|
|
|
}, |
|
|
|
createUsableSettleList("bj_pub_can_sa_service", "BeiJian", "bbac"), |
|
|
|
createUnableSettleList("bj_pub_not_sa_service", "BeiJian", "bbac"), |
|
|
|
{ |
|
|
|
path: "bj_pub_ba_service", |
|
|
|
meta: { |
|
|
@ -1854,8 +1321,8 @@ export default [ |
|
|
|
icon: "folder", |
|
|
|
}, |
|
|
|
children: [ |
|
|
|
createInputJieSuanShuju("in_pub_sa_service", "YinDuJian", "bbac"), |
|
|
|
createInputFaYunShuJu("in_pub_se_detail_service", "YinDuJian", "bbac"), |
|
|
|
createInputJieSuanShuju("in_pub_sa_service", "YinDuJian", "bbac", "印度件-BBAC 结算数据"), |
|
|
|
createInputFaYunShuJu("in_pub_se_detail_service", "YinDuJian", "bbac", "印度件-BBAC 发运数据"), |
|
|
|
], |
|
|
|
}, |
|
|
|
{ |
|
|
@ -1863,91 +1330,10 @@ export default [ |
|
|
|
children: [createCompareJieSuan("in_pub_sa_detail_jobservice", "YinDuJian", "bbac")], |
|
|
|
}, |
|
|
|
{ |
|
|
|
path: "settlement", |
|
|
|
meta: { |
|
|
|
type: "group", |
|
|
|
title: "结算开票", |
|
|
|
icon: "folder", |
|
|
|
}, |
|
|
|
...createRoute("settlement", "title=结算开票"), |
|
|
|
children: [ |
|
|
|
{ |
|
|
|
path: "in_pub_can_sa_service", |
|
|
|
meta: { |
|
|
|
type: "page", |
|
|
|
title: "可结算单", |
|
|
|
icon: "file", |
|
|
|
}, |
|
|
|
children: [ |
|
|
|
{ |
|
|
|
path: "query", |
|
|
|
meta: { |
|
|
|
type: "button", |
|
|
|
title: "查询", |
|
|
|
icon: "file", |
|
|
|
isTop: true, |
|
|
|
}, |
|
|
|
}, |
|
|
|
{ |
|
|
|
path: "export", |
|
|
|
meta: { |
|
|
|
type: "button", |
|
|
|
title: "导出", |
|
|
|
icon: "file", |
|
|
|
isTop: true, |
|
|
|
pattern: "paged", |
|
|
|
}, |
|
|
|
}, |
|
|
|
{ |
|
|
|
path: "generateInvoice", |
|
|
|
meta: { |
|
|
|
type: "button", |
|
|
|
title: "生成发票数据", |
|
|
|
icon: "file", |
|
|
|
isTop: true, |
|
|
|
pattern: "paged", |
|
|
|
}, |
|
|
|
}, |
|
|
|
], |
|
|
|
}, |
|
|
|
{ |
|
|
|
path: "in_pub_not_sa_service", |
|
|
|
meta: { |
|
|
|
type: "page", |
|
|
|
title: "不可结算单", |
|
|
|
icon: "file", |
|
|
|
}, |
|
|
|
children: [ |
|
|
|
{ |
|
|
|
path: "query", |
|
|
|
meta: { |
|
|
|
type: "button", |
|
|
|
title: "查询", |
|
|
|
icon: "file", |
|
|
|
isTop: true, |
|
|
|
}, |
|
|
|
}, |
|
|
|
{ |
|
|
|
path: "export", |
|
|
|
meta: { |
|
|
|
type: "button", |
|
|
|
title: "导出", |
|
|
|
icon: "file", |
|
|
|
isTop: true, |
|
|
|
pattern: "paged", |
|
|
|
}, |
|
|
|
}, |
|
|
|
{ |
|
|
|
path: "generateSettlementOrder", |
|
|
|
meta: { |
|
|
|
type: "button", |
|
|
|
title: "生成可结算单", |
|
|
|
icon: "file", |
|
|
|
isTop: true, |
|
|
|
pattern: "paged", |
|
|
|
}, |
|
|
|
}, |
|
|
|
], |
|
|
|
}, |
|
|
|
createUsableSettleList("in_pub_can_sa_service", "YinDuJian", "bbac"), |
|
|
|
createUnableSettleList("in_pub_not_sa_service", "YinDuJian", "bbac"), |
|
|
|
{ |
|
|
|
path: "in_pub_ba_service", |
|
|
|
meta: { |
|
|
|