|
|
|
import createRoute, { createPage, createButton } from "./utils.js";
|
|
|
|
|
|
|
|
// #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"),
|
|
|
|
],
|
|
|
|
};
|
|
|
|
}
|
|
|
|
// #endregion
|
|
|
|
|
|
|
|
// #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"),
|
|
|
|
],
|
|
|
|
};
|
|
|
|
}
|
|
|
|
// #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"),
|
|
|
|
children: [createButton("query", "title=查询&isTop=true")],
|
|
|
|
},
|
|
|
|
{
|
|
|
|
...createPage("settle/detail", "title=结算单结算数据明细&isHidden=true"),
|
|
|
|
children: [createButton("query", "title=查询&isTop=true")],
|
|
|
|
},
|
|
|
|
{
|
|
|
|
...createRoute("jis-bbac", "title=JIS-BBAC"),
|
|
|
|
children: [
|
|
|
|
{
|
|
|
|
...createRoute("input", "title=数据输入"),
|
|
|
|
children: [
|
|
|
|
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", "JIS-BBAC EDI与发运对比"),
|
|
|
|
createCompareJieSuan("first_bbac_sa_detail_jobservice", "JisBBAC", "bbac"),
|
|
|
|
],
|
|
|
|
},
|
|
|
|
{
|
|
|
|
...createRoute("settlement", "title=结算开票"),
|
|
|
|
children: [
|
|
|
|
createUsableSettleList("bbac_can_sa_service", "JisBBAC", "bbac"),
|
|
|
|
createUnableSettleList("bbac_not_sa_service", "JisBBAC", "bbac"),
|
|
|
|
{
|
|
|
|
path: "bbac_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,
|
|
|
|
disabled: "(rows,query)=>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",
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
path: "reopen",
|
|
|
|
meta: {
|
|
|
|
type: "button",
|
|
|
|
title: "重开",
|
|
|
|
icon: "file",
|
|
|
|
},
|
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
|
|
|
{
|
|
|
|
path: "bbac_ba_detail_service",
|
|
|
|
meta: {
|
|
|
|
type: "page",
|
|
|
|
title: "商务审核明细",
|
|
|
|
icon: "file",
|
|
|
|
isHidden: true,
|
|
|
|
},
|
|
|
|
children: [
|
|
|
|
{
|
|
|
|
path: "query",
|
|
|
|
meta: {
|
|
|
|
type: "button",
|
|
|
|
title: "查询",
|
|
|
|
icon: "file",
|
|
|
|
isTop: true,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
|
|
|
{
|
|
|
|
path: "bbac_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",
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
path: "check",
|
|
|
|
meta: {
|
|
|
|
type: "button",
|
|
|
|
title: "审核通过",
|
|
|
|
icon: "file",
|
|
|
|
isTop: true,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
|
|
|
{
|
|
|
|
path: "bbac_pd_detail_service",
|
|
|
|
meta: {
|
|
|
|
type: "page",
|
|
|
|
title: "寄售库库存扣减审批明细",
|
|
|
|
icon: "file",
|
|
|
|
isHidden: true,
|
|
|
|
},
|
|
|
|
children: [
|
|
|
|
{
|
|
|
|
path: "query",
|
|
|
|
meta: {
|
|
|
|
type: "button",
|
|
|
|
title: "查询",
|
|
|
|
icon: "file",
|
|
|
|
isTop: true,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
|
|
|
{
|
|
|
|
path: "jis-hbpo",
|
|
|
|
meta: {
|
|
|
|
type: "group",
|
|
|
|
title: "JIS-HBPO",
|
|
|
|
icon: "folder",
|
|
|
|
},
|
|
|
|
children: [
|
|
|
|
{
|
|
|
|
path: "input",
|
|
|
|
meta: {
|
|
|
|
type: "group",
|
|
|
|
title: "数据输入",
|
|
|
|
icon: "folder",
|
|
|
|
},
|
|
|
|
children: [
|
|
|
|
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", "JIS-HBPO EDI与发运对比"),
|
|
|
|
createCompareJieSuan("first_hbpo_sa_detail_jobservice", "JisHBPO", "hbpo"),
|
|
|
|
],
|
|
|
|
},
|
|
|
|
{
|
|
|
|
...createRoute("settlement", "title=结算开票"),
|
|
|
|
children: [
|
|
|
|
createUsableSettleList("hbpo_can_sa_service", "JisHBPO", "hbpo"),
|
|
|
|
createUnableSettleList("hbpo_not_sa_service", "JisHBPO", "hbpo"),
|
|
|
|
{
|
|
|
|
path: "hbpo_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",
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
path: "check",
|
|
|
|
meta: {
|
|
|
|
type: "button",
|
|
|
|
title: "审核通过",
|
|
|
|
icon: "file",
|
|
|
|
isTop: true,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
path: "reopen",
|
|
|
|
meta: {
|
|
|
|
type: "button",
|
|
|
|
title: "重开",
|
|
|
|
icon: "file",
|
|
|
|
},
|
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
|
|
|
{
|
|
|
|
path: "hbpo_ba_detail_service",
|
|
|
|
meta: {
|
|
|
|
type: "page",
|
|
|
|
title: "商务审批明细",
|
|
|
|
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",
|
|
|
|
},
|
|
|
|
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_pd_detail_service",
|
|
|
|
meta: {
|
|
|
|
type: "page",
|
|
|
|
title: "寄售库库存扣减审批明细",
|
|
|
|
icon: "file",
|
|
|
|
isHidden: true,
|
|
|
|
},
|
|
|
|
children: [
|
|
|
|
{
|
|
|
|
path: "query",
|
|
|
|
meta: {
|
|
|
|
type: "button",
|
|
|
|
title: "查询",
|
|
|
|
icon: "file",
|
|
|
|
isTop: true,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
|
|
|
{
|
|
|
|
path: "jit",
|
|
|
|
meta: {
|
|
|
|
type: "group",
|
|
|
|
title: "直供件",
|
|
|
|
icon: "folder",
|
|
|
|
},
|
|
|
|
children: [
|
|
|
|
{
|
|
|
|
path: "jit-bbac",
|
|
|
|
meta: {
|
|
|
|
type: "group",
|
|
|
|
title: "BBAC",
|
|
|
|
icon: "folder",
|
|
|
|
},
|
|
|
|
children: [
|
|
|
|
{
|
|
|
|
path: "input",
|
|
|
|
meta: {
|
|
|
|
type: "group",
|
|
|
|
title: "数据输入",
|
|
|
|
icon: "folder",
|
|
|
|
},
|
|
|
|
children: [
|
|
|
|
createInputJieSuanShuju("bbac_jit_pub_sa_service", "ZhiGongJianBBAC", "bbac", "直供件-BBAC 结算数据"),
|
|
|
|
createInputFaYunShuJu(
|
|
|
|
"bbac_jit_pub_se_detail_service",
|
|
|
|
"ZhiGongJianBBAC",
|
|
|
|
"bbac",
|
|
|
|
"直供件-BBAC 发运数据"
|
|
|
|
),
|
|
|
|
],
|
|
|
|
},
|
|
|
|
{
|
|
|
|
...createRoute("contrast", "title=数据比对"),
|
|
|
|
children: [createCompareJieSuan("bbac_jit_pub_sa_detail_jobservice", "ZhiGongJianBBAC", "bbac")],
|
|
|
|
},
|
|
|
|
{
|
|
|
|
...createRoute("settlement", "title=结算开票"),
|
|
|
|
children: [
|
|
|
|
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",
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
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",
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
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,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
|
|
|
{
|
|
|
|
path: "jit-hbpo",
|
|
|
|
meta: {
|
|
|
|
type: "group",
|
|
|
|
title: "HBPO",
|
|
|
|
icon: "folder",
|
|
|
|
},
|
|
|
|
children: [
|
|
|
|
{
|
|
|
|
path: "input",
|
|
|
|
meta: {
|
|
|
|
type: "group",
|
|
|
|
title: "数据输入",
|
|
|
|
icon: "folder",
|
|
|
|
},
|
|
|
|
children: [
|
|
|
|
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")],
|
|
|
|
},
|
|
|
|
{
|
|
|
|
...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: {
|
|
|
|
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",
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
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,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
|
|
|
{
|
|
|
|
path: "hbpo_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",
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
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,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
|
|
|
{
|
|
|
|
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: [
|
|
|
|
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: [
|
|
|
|
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")],
|
|
|
|
},
|
|
|
|
{
|
|
|
|
...createRoute("settlement", "title=结算开票"),
|
|
|
|
children: [
|
|
|
|
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: {
|
|
|
|
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",
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
path: "check",
|
|
|
|
meta: {
|
|
|
|
type: "button",
|
|
|
|
title: "审核通过",
|
|
|
|
icon: "file",
|
|
|
|
isTop: true,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
path: "reopen",
|
|
|
|
meta: {
|
|
|
|
type: "button",
|
|
|
|
title: "重开",
|
|
|
|
icon: "file",
|
|
|
|
},
|
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
|
|
|
{
|
|
|
|
path: "hbpo_md_pub_ba_detail_service",
|
|
|
|
meta: {
|
|
|
|
type: "page",
|
|
|
|
title: "商务审批明细",
|
|
|
|
icon: "file",
|
|
|
|
isHidden: true,
|
|
|
|
},
|
|
|
|
children: [
|
|
|
|
{
|
|
|
|
path: "query",
|
|
|
|
meta: {
|
|
|
|
type: "button",
|
|
|
|
title: "查询",
|
|
|
|
icon: "file",
|
|
|
|
isTop: true,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
|
|
|
{
|
|
|
|
path: "hbpo_md_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",
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
path: "check ",
|
|
|
|
meta: {
|
|
|
|
type: "button",
|
|
|
|
title: "审核通过",
|
|
|
|
icon: "file",
|
|
|
|
isTop: true,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
|
|
|
{
|
|
|
|
path: "hbpo_md_pub_pd_detail_service",
|
|
|
|
meta: {
|
|
|
|
type: "page",
|
|
|
|
title: "寄售库库存扣减审批明细",
|
|
|
|
icon: "file",
|
|
|
|
isHidden: true,
|
|
|
|
},
|
|
|
|
children: [
|
|
|
|
{
|
|
|
|
path: "query",
|
|
|
|
meta: {
|
|
|
|
type: "button",
|
|
|
|
title: "查询",
|
|
|
|
icon: "file",
|
|
|
|
isTop: true,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
|
|
|
{
|
|
|
|
path: "bj",
|
|
|
|
meta: {
|
|
|
|
type: "group",
|
|
|
|
title: "备件",
|
|
|
|
icon: "folder",
|
|
|
|
},
|
|
|
|
children: [
|
|
|
|
{
|
|
|
|
path: "input",
|
|
|
|
meta: {
|
|
|
|
type: "group",
|
|
|
|
title: "数据输入",
|
|
|
|
icon: "folder",
|
|
|
|
},
|
|
|
|
children: [
|
|
|
|
createInputJieSuanShuju("bj_pub_sa_service", "BeiJian", "bbac", "备件-BBAC 结算数据"),
|
|
|
|
createInputFaYunShuJu("bj_pub_se_detail_service", "BeiJian", "bbac", "备件-BBAC 发运数据"),
|
|
|
|
],
|
|
|
|
},
|
|
|
|
{
|
|
|
|
...createRoute("contrast", "title=数据比对"),
|
|
|
|
children: [createCompareJieSuan("bj_pub_sa_detail_jobservice", "BeiJian", "bbac")],
|
|
|
|
},
|
|
|
|
{
|
|
|
|
...createRoute("settlement", "title=结算开票"),
|
|
|
|
children: [
|
|
|
|
createUsableSettleList("bj_pub_can_sa_service", "BeiJian", "bbac"),
|
|
|
|
createUnableSettleList("bj_pub_not_sa_service", "BeiJian", "bbac"),
|
|
|
|
{
|
|
|
|
path: "bj_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",
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
path: "check",
|
|
|
|
meta: {
|
|
|
|
type: "button",
|
|
|
|
title: "审核通过",
|
|
|
|
icon: "file",
|
|
|
|
isTop: true,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
path: "reopen",
|
|
|
|
meta: {
|
|
|
|
type: "button",
|
|
|
|
title: "重开",
|
|
|
|
icon: "file",
|
|
|
|
},
|
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
|
|
|
{
|
|
|
|
path: "bj_pub_ba_detail_service",
|
|
|
|
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",
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
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: [
|
|
|
|
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")],
|
|
|
|
},
|
|
|
|
{
|
|
|
|
...createRoute("settlement", "title=结算开票"),
|
|
|
|
children: [
|
|
|
|
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",
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
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",
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
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",
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
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",
|
|
|
|
meta: {
|
|
|
|
type: "page",
|
|
|
|
title: "不可开票明细清单",
|
|
|
|
icon: "file",
|
|
|
|
isHidden: true,
|
|
|
|
},
|
|
|
|
children: [
|
|
|
|
{
|
|
|
|
path: "query",
|
|
|
|
meta: {
|
|
|
|
type: "button",
|
|
|
|
title: "查询",
|
|
|
|
icon: "file",
|
|
|
|
isTop: true,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
|
|
|
{
|
|
|
|
path: "cost",
|
|
|
|
meta: {
|
|
|
|
type: "group",
|
|
|
|
title: "实际采购成本",
|
|
|
|
icon: "folder",
|
|
|
|
isHidden: true,
|
|
|
|
},
|
|
|
|
children: [
|
|
|
|
{
|
|
|
|
path: "cost",
|
|
|
|
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: "generate",
|
|
|
|
meta: {
|
|
|
|
type: "button",
|
|
|
|
title: "生成",
|
|
|
|
icon: "file",
|
|
|
|
isTop: true,
|
|
|
|
pattern: "paged",
|
|
|
|
},
|
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
|
|
|
{
|
|
|
|
path: "inventory",
|
|
|
|
meta: {
|
|
|
|
type: "group",
|
|
|
|
title: "寄售库",
|
|
|
|
icon: "folder",
|
|
|
|
},
|
|
|
|
children: [
|
|
|
|
{
|
|
|
|
path: "balance",
|
|
|
|
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: "log",
|
|
|
|
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: "dataExport",
|
|
|
|
meta: {
|
|
|
|
type: "button",
|
|
|
|
title: "补货数据导出",
|
|
|
|
icon: "file",
|
|
|
|
isTop: true,
|
|
|
|
pattern: "paged",
|
|
|
|
},
|
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
|
|
|
{
|
|
|
|
path: "backup",
|
|
|
|
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: "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,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
|
|
|
];
|