Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
test
autotest-playwright-web-spd
Commits
6c31a476
Commit
6c31a476
authored
Oct 28, 2026
by
liguangyu06
Browse files
同步基础管理与统计报表用例文档,并更新 Playwright 脚本与 PO。
对齐 CSV/MD/测试点与现网列名及组合查询;补充厂商资质子 Tab 与基础模块复跑脚本。
parent
aa8987ce
Changes
350
Hide whitespace changes
Inline
Side-by-side
data/cost-entry-exec.data.ts
View file @
6c31a476
...
@@ -11,7 +11,7 @@ export const costEntryExecColumns = {
...
@@ -11,7 +11,7 @@ export const costEntryExecColumns = {
consumableType
:
'
耗材类型
'
,
consumableType
:
'
耗材类型
'
,
registrationNo
:
'
注册证号
'
,
registrationNo
:
'
注册证号
'
,
insuranceCode27
:
'
27位医保编码
'
,
insuranceCode27
:
'
27位医保编码
'
,
supplierName
:
'
进院供应商
'
,
supplierName
:
'
销售商(自定义)
'
,
settlementPrice
:
'
结算单价
'
,
settlementPrice
:
'
结算单价
'
,
consumableCategory
:
'
耗材分类
'
,
consumableCategory
:
'
耗材分类
'
,
financeClassify
:
'
财务分类
'
,
financeClassify
:
'
财务分类
'
,
...
@@ -68,7 +68,7 @@ export const costEntryExecData: CenterReportPageData = {
...
@@ -68,7 +68,7 @@ export const costEntryExecData: CenterReportPageData = {
columns
:
costEntryExecColumns
,
columns
:
costEntryExecColumns
,
columnAliases
:
{
columnAliases
:
{
manufacturer
:
[
'
器械注册人-术语配置
'
,
'
生产厂家
'
,
'
器械注册人
'
],
manufacturer
:
[
'
器械注册人-术语配置
'
,
'
生产厂家
'
,
'
器械注册人
'
],
supplierName
:
[
'
进院供应商
'
,
'
进院供应商
名称
'
],
supplierName
:
[
'
销售商(自定义)
'
,
'
销售商(自定义)
名称
'
],
},
},
coreTableHeaders
:
[
'
物料名称
'
,
'
入账日期
'
,
'
耗材类型
'
,
'
执行科室名称
'
,
'
入账数量
'
,
'
入账金额
'
],
coreTableHeaders
:
[
'
物料名称
'
,
'
入账日期
'
,
'
耗材类型
'
,
'
执行科室名称
'
,
'
入账数量
'
,
'
入账金额
'
],
summaryKeywords
:
[
'
入账数量
'
,
'
入账金额
'
],
summaryKeywords
:
[
'
入账数量
'
,
'
入账金额
'
],
...
...
data/cost-entry-summary.data.ts
View file @
6c31a476
...
@@ -12,7 +12,7 @@ export const costEntrySummaryColumns = {
...
@@ -12,7 +12,7 @@ export const costEntrySummaryColumns = {
consumableType
:
'
耗材类型
'
,
consumableType
:
'
耗材类型
'
,
registrationNo
:
'
注册证号
'
,
registrationNo
:
'
注册证号
'
,
insuranceCode27
:
'
27位医保编码
'
,
insuranceCode27
:
'
27位医保编码
'
,
supplierName
:
'
进院供应商
'
,
supplierName
:
'
销售商(自定义)
'
,
settlementPrice
:
'
结算单价
'
,
settlementPrice
:
'
结算单价
'
,
consumableCategory
:
'
耗材分类
'
,
consumableCategory
:
'
耗材分类
'
,
financeClassify
:
'
财务分类
'
,
financeClassify
:
'
财务分类
'
,
...
@@ -29,7 +29,7 @@ export const costEntrySummarySummaryMetrics = [
...
@@ -29,7 +29,7 @@ export const costEntrySummarySummaryMetrics = [
{
key
:
'
costAmount
'
,
label
:
'
成本金额
'
,
summaryLabels
:
[
'
成本金额
'
]
},
{
key
:
'
costAmount
'
,
label
:
'
成本金额
'
,
summaryLabels
:
[
'
成本金额
'
]
},
]
as
const
;
]
as
const
;
/** 快捷区可见字段(展开后含
产品
名称等;样本有值才填)。 */
/** 快捷区可见字段(展开后含
物料
名称等;样本有值才填)。 */
export
const
costEntrySummaryComboQuickFields
:
readonly
DeptQuickFieldDef
[]
=
[
export
const
costEntrySummaryComboQuickFields
:
readonly
DeptQuickFieldDef
[]
=
[
{
key
:
'
entryDate
'
,
label
:
'
入账日期
'
,
type
:
'
date
'
},
{
key
:
'
entryDate
'
,
label
:
'
入账日期
'
,
type
:
'
date
'
},
{
key
:
'
campus
'
,
label
:
'
院区名称
'
,
type
:
'
select
'
},
{
key
:
'
campus
'
,
label
:
'
院区名称
'
,
type
:
'
select
'
},
...
@@ -37,7 +37,7 @@ export const costEntrySummaryComboQuickFields: readonly DeptQuickFieldDef[] = [
...
@@ -37,7 +37,7 @@ export const costEntrySummaryComboQuickFields: readonly DeptQuickFieldDef[] = [
{
key
:
'
spec
'
,
label
:
'
规格型号
'
,
type
:
'
text
'
},
{
key
:
'
spec
'
,
label
:
'
规格型号
'
,
type
:
'
text
'
},
{
key
:
'
manufacturer
'
,
label
:
'
器械注册人-术语配置
'
,
type
:
'
text
'
},
{
key
:
'
manufacturer
'
,
label
:
'
器械注册人-术语配置
'
,
type
:
'
text
'
},
{
key
:
'
consumableType
'
,
label
:
'
耗材类型
'
,
type
:
'
select
'
},
{
key
:
'
consumableType
'
,
label
:
'
耗材类型
'
,
type
:
'
select
'
},
{
key
:
'
supplierName
'
,
label
:
'
进院供应商
'
,
type
:
'
text
'
},
{
key
:
'
supplierName
'
,
label
:
'
销售商(自定义)
'
,
type
:
'
text
'
},
{
key
:
'
financeClassify
'
,
label
:
'
财务分类
'
,
type
:
'
select
'
},
{
key
:
'
financeClassify
'
,
label
:
'
财务分类
'
,
type
:
'
select
'
},
];
];
...
@@ -62,7 +62,7 @@ export const costEntrySummarySortColumns = [
...
@@ -62,7 +62,7 @@ export const costEntrySummarySortColumns = [
'
耗材类型
'
,
'
耗材类型
'
,
'
注册证号
'
,
'
注册证号
'
,
'
27位医保编码
'
,
'
27位医保编码
'
,
'
进院供应商
'
,
'
销售商(自定义)
'
,
'
结算单价
'
,
'
结算单价
'
,
'
耗材分类
'
,
'
耗材分类
'
,
'
财务分类
'
,
'
财务分类
'
,
...
@@ -84,7 +84,7 @@ export const costEntrySummaryData: CenterReportPageData = {
...
@@ -84,7 +84,7 @@ export const costEntrySummaryData: CenterReportPageData = {
columns
:
costEntrySummaryColumns
,
columns
:
costEntrySummaryColumns
,
columnAliases
:
{
columnAliases
:
{
manufacturer
:
[
'
器械注册人-术语配置
'
,
'
生产厂家
'
,
'
器械注册人
'
],
manufacturer
:
[
'
器械注册人-术语配置
'
,
'
生产厂家
'
,
'
器械注册人
'
],
supplierName
:
[
'
进院供应商
'
,
'
进院供应商
名称
'
],
supplierName
:
[
'
销售商(自定义)
'
,
'
销售商(自定义)
名称
'
],
},
},
coreTableHeaders
:
[
'
物料编号
'
,
'
物料名称
'
,
'
规格型号
'
,
'
成本数量
'
,
'
成本金额
'
],
coreTableHeaders
:
[
'
物料编号
'
,
'
物料名称
'
,
'
规格型号
'
,
'
成本数量
'
,
'
成本金额
'
],
summaryKeywords
:
[
'
成本数量
'
,
'
成本金额
'
],
summaryKeywords
:
[
'
成本数量
'
,
'
成本金额
'
],
...
...
data/cost-fin-in.data.ts
View file @
6c31a476
...
@@ -4,16 +4,16 @@ import type { DeptQuickFieldDef } from './dept-report-field-defs';
...
@@ -4,16 +4,16 @@ import type { DeptQuickFieldDef } from './dept-report-field-defs';
export
const
costFinInColumns
=
{
export
const
costFinInColumns
=
{
financeMonth
:
'
财务月份
'
,
financeMonth
:
'
财务月份
'
,
supplierName
:
'
进院供应商
名称
'
,
supplierName
:
'
销售商(自定义)
名称
'
,
inboundOrderNo
:
'
入库单号
'
,
inboundOrderNo
:
'
入库单号
'
,
}
as
const
;
}
as
const
;
/** 主表可见业务列(不含序号/操作);无排序控件时脚本 skip。 */
/** 主表可见业务列(不含序号/操作);无排序控件时脚本 skip。 */
export
const
costFinInSortColumns
=
[
'
进院供应商
名称
'
,
'
入库单号
'
]
as
const
;
export
const
costFinInSortColumns
=
[
'
销售商(自定义)
名称
'
,
'
入库单号
'
]
as
const
;
export
const
costFinInComboQuickFields
:
readonly
DeptQuickFieldDef
[]
=
[
export
const
costFinInComboQuickFields
:
readonly
DeptQuickFieldDef
[]
=
[
{
key
:
'
financeMonth
'
,
label
:
'
财务月份
'
,
type
:
'
date
'
},
{
key
:
'
financeMonth
'
,
label
:
'
财务月份
'
,
type
:
'
date
'
},
{
key
:
'
supplierName
'
,
label
:
'
进院供应商
名称
'
,
type
:
'
select
'
},
{
key
:
'
supplierName
'
,
label
:
'
销售商(自定义)
名称
'
,
type
:
'
select
'
},
{
key
:
'
inboundOrderNo
'
,
label
:
'
入库单号
'
,
type
:
'
text
'
},
{
key
:
'
inboundOrderNo
'
,
label
:
'
入库单号
'
,
type
:
'
text
'
},
];
];
...
@@ -24,12 +24,20 @@ export const costFinInComboDrawerFields: readonly CenterReportDrawerField[] = [
...
@@ -24,12 +24,20 @@ export const costFinInComboDrawerFields: readonly CenterReportDrawerField[] = [
export
const
costFinInComboAssertKeys
=
[
'
financeMonth
'
,
'
supplierName
'
,
'
inboundOrderNo
'
]
as
const
;
export
const
costFinInComboAssertKeys
=
[
'
financeMonth
'
,
'
supplierName
'
,
'
inboundOrderNo
'
]
as
const
;
/** 与 CSV 前置一致:快捷区「财务月份」默认区间,保证主表有数据(含分页/排序等用例)。 */
export
const
costFinInPaginationFinanceMonth
=
{
label
:
'
财务月份
'
,
start
:
'
2026-01
'
,
end
:
'
2026-10
'
,
}
as
const
;
export
const
costFinInData
:
CenterReportPageData
=
{
export
const
costFinInData
:
CenterReportPageData
=
{
reportPath
:
'
/spd/form/settleCost/report/settle/inStock
'
,
reportPath
:
'
/spd/form/settleCost/report/settle/inStock
'
,
iframeSrc
:
'
settle/inStock
'
,
iframeSrc
:
'
settle/inStock
'
,
defaultQuickDateRange
:
costFinInPaginationFinanceMonth
,
productNameSelector
:
'
#form_item_goodsName
'
,
productNameSelector
:
'
#form_item_goodsName
'
,
columns
:
costFinInColumns
,
columns
:
costFinInColumns
,
coreTableHeaders
:
[
'
进院供应商
名称
'
,
'
财务月份
'
,
'
入库单号
'
],
coreTableHeaders
:
[
'
销售商(自定义)
名称
'
,
'
财务月份
'
,
'
入库单号
'
],
sortColumns
:
costFinInSortColumns
,
sortColumns
:
costFinInSortColumns
,
sortCasePrefix
:
'
STAT-CFI
'
,
sortCasePrefix
:
'
STAT-CFI
'
,
sortCaseStartIndex
:
10
,
sortCaseStartIndex
:
10
,
...
@@ -51,7 +59,7 @@ export const costFinInData: CenterReportPageData = {
...
@@ -51,7 +59,7 @@ export const costFinInData: CenterReportPageData = {
exportSelectFirstRow
:
false
,
exportSelectFirstRow
:
false
,
exportQueryFromSample
:
true
,
exportQueryFromSample
:
true
,
horizontalScrollAnchorColumn
:
'
进院供应商
名称
'
,
horizontalScrollAnchorColumn
:
'
销售商(自定义)
名称
'
,
horizontalScrollTargetColumn
:
'
入库单号
'
,
horizontalScrollTargetColumn
:
'
入库单号
'
,
horizontalScrollDragDelta
:
320
,
horizontalScrollDragDelta
:
320
,
comboSamplePickKeys
:
[
'
financeMonth
'
,
'
supplierName
'
,
'
inboundOrderNo
'
],
comboSamplePickKeys
:
[
'
financeMonth
'
,
'
supplierName
'
,
'
inboundOrderNo
'
],
...
...
data/cost-fin-out.data.ts
View file @
6c31a476
...
@@ -16,9 +16,8 @@ export const costFinOutColumns = {
...
@@ -16,9 +16,8 @@ export const costFinOutColumns = {
campus
:
'
院区名称
'
,
campus
:
'
院区名称
'
,
}
as
const
;
}
as
const
;
/** 主表列 → 底部合计标签。 */
/** 主表列 → 底部合计标签
(本页脚仅展示合计金额,不对数量做勾稽)
。 */
export
const
costFinOutSummaryMetrics
=
[
export
const
costFinOutSummaryMetrics
=
[
{
key
:
'
qty
'
,
label
:
'
数量
'
,
summaryLabels
:
[
'
数量
'
,
'
合计数量
'
,
'
出库数量
'
]
},
{
key
:
'
amount
'
,
label
:
'
金额
'
,
summaryLabels
:
[
'
金额
'
,
'
合计金额
'
,
'
出库金额
'
]
},
{
key
:
'
amount
'
,
label
:
'
金额
'
,
summaryLabels
:
[
'
金额
'
,
'
合计金额
'
,
'
出库金额
'
]
},
]
as
const
;
]
as
const
;
...
@@ -76,7 +75,7 @@ export const costFinOutData: CenterReportPageData = {
...
@@ -76,7 +75,7 @@ export const costFinOutData: CenterReportPageData = {
productNameSelector
:
'
#form_item_goodsName
'
,
productNameSelector
:
'
#form_item_goodsName
'
,
columns
:
costFinOutColumns
,
columns
:
costFinOutColumns
,
coreTableHeaders
:
[
'
出库单号
'
,
'
科室名称
'
,
'
财务月份
'
,
'
数量
'
,
'
金额
'
,
'
耗材类型
'
],
coreTableHeaders
:
[
'
出库单号
'
,
'
科室名称
'
,
'
财务月份
'
,
'
数量
'
,
'
金额
'
,
'
耗材类型
'
],
summaryKeywords
:
[
'
数量
'
,
'
金额
'
],
summaryKeywords
:
[
'
金额
'
,
'
合计
金额
'
],
columnAliases
:
{
columnAliases
:
{
qty
:
[
'
数量
'
,
'
出库数量
'
],
qty
:
[
'
数量
'
,
'
出库数量
'
],
amount
:
[
'
金额
'
,
'
出库金额
'
],
amount
:
[
'
金额
'
,
'
出库金额
'
],
...
@@ -123,7 +122,7 @@ export const costFinOutData: CenterReportPageData = {
...
@@ -123,7 +122,7 @@ export const costFinOutData: CenterReportPageData = {
metrics
:
costFinOutSummaryMetrics
,
metrics
:
costFinOutSummaryMetrics
,
requiredKey
:
'
outboundOrderNo
'
,
requiredKey
:
'
outboundOrderNo
'
,
fields
:
costFinOutComboQuickFields
,
fields
:
costFinOutComboQuickFields
,
footerKeywords
:
[
'
数量
'
,
'
金额
'
,
'
合计
'
],
footerKeywords
:
[
'
金额
'
,
'
合计
金额
'
,
'
合计
'
],
},
},
};
};
...
...
data/cost-finance-psi.data.ts
View file @
6c31a476
...
@@ -36,7 +36,7 @@ export const costFinancePsiSummaryMetrics = [
...
@@ -36,7 +36,7 @@ export const costFinancePsiSummaryMetrics = [
{
key
:
'
endAmount
'
,
label
:
'
期末金额
'
,
summaryLabels
:
[
'
期末总金额
'
]
},
{
key
:
'
endAmount
'
,
label
:
'
期末金额
'
,
summaryLabels
:
[
'
期末总金额
'
]
},
]
as
const
;
]
as
const
;
/** 快捷区实际字段(扫描):入账月份、耗材类型、院区名称。
产品
名称在抽屉。 */
/** 快捷区实际字段(扫描):入账月份、耗材类型、院区名称。
物料
名称在抽屉。 */
export
const
costFinancePsiComboQuickFields
:
readonly
DeptQuickFieldDef
[]
=
[
export
const
costFinancePsiComboQuickFields
:
readonly
DeptQuickFieldDef
[]
=
[
{
key
:
'
entryMonth
'
,
label
:
'
入账月份
'
,
type
:
'
date
'
},
{
key
:
'
entryMonth
'
,
label
:
'
入账月份
'
,
type
:
'
date
'
},
{
key
:
'
consumableType
'
,
label
:
'
耗材类型
'
,
type
:
'
select
'
},
{
key
:
'
consumableType
'
,
label
:
'
耗材类型
'
,
type
:
'
select
'
},
...
@@ -44,7 +44,7 @@ export const costFinancePsiComboQuickFields: readonly DeptQuickFieldDef[] = [
...
@@ -44,7 +44,7 @@ export const costFinancePsiComboQuickFields: readonly DeptQuickFieldDef[] = [
];
];
/**
/**
* 高级筛选抽屉:只填主表能取到样本的字段(
产品
名称/规格型号/生产厂家)。
* 高级筛选抽屉:只填主表能取到样本的字段(
物料
名称/规格型号/生产厂家)。
* 财务分类、耗材分类、是否期初、结算方式无列表列,禁止盲选首项。
* 财务分类、耗材分类、是否期初、结算方式无列表列,禁止盲选首项。
*/
*/
export
const
costFinancePsiComboDrawerFields
:
readonly
CenterReportDrawerField
[]
=
[
export
const
costFinancePsiComboDrawerFields
:
readonly
CenterReportDrawerField
[]
=
[
...
@@ -85,7 +85,7 @@ export const costFinancePsiData: CenterReportPageData = {
...
@@ -85,7 +85,7 @@ export const costFinancePsiData: CenterReportPageData = {
productNameSelector
:
'
#form_item_goodsName
'
,
productNameSelector
:
'
#form_item_goodsName
'
,
columns
:
costFinancePsiColumns
,
columns
:
costFinancePsiColumns
,
columnAliases
:
{
columnAliases
:
{
productName
:
[
'
物料名称
'
,
'
产品
名称
'
],
productName
:
[
'
物料名称
'
,
'
物料
名称
'
],
productCode
:
[
'
物料编号
'
],
productCode
:
[
'
物料编号
'
],
manufacturer
:
[
'
生产厂家
'
,
'
器械注册人
'
,
'
器械注册人-术语配置
'
],
manufacturer
:
[
'
生产厂家
'
,
'
器械注册人
'
,
'
器械注册人-术语配置
'
],
},
},
...
...
data/cost-product-rank.data.ts
View file @
6c31a476
...
@@ -14,7 +14,7 @@ export const costProductRankColumns = {
...
@@ -14,7 +14,7 @@ export const costProductRankColumns = {
costAmount
:
'
成本金额
'
,
costAmount
:
'
成本金额
'
,
ratio
:
'
占比
'
,
ratio
:
'
占比
'
,
dictPrice
:
'
字典价
'
,
dictPrice
:
'
字典价
'
,
productName
:
'
产品
名称
'
,
productName
:
'
物料
名称
'
,
registrant
:
'
器械注册人-术语配置
'
,
registrant
:
'
器械注册人-术语配置
'
,
productSpec
:
'
产品规格
'
,
productSpec
:
'
产品规格
'
,
deptName
:
'
科室名称
'
,
deptName
:
'
科室名称
'
,
...
@@ -26,7 +26,7 @@ export const costProductRankLeftHeaders = [
...
@@ -26,7 +26,7 @@ export const costProductRankLeftHeaders = [
'
成本金额
'
,
'
成本金额
'
,
'
占比
'
,
'
占比
'
,
'
字典价
'
,
'
字典价
'
,
'
产品
名称
'
,
'
物料
名称
'
,
'
器械注册人-术语配置
'
,
'
器械注册人-术语配置
'
,
'
产品规格
'
,
'
产品规格
'
,
]
as
const
;
]
as
const
;
...
@@ -52,7 +52,7 @@ export const costProductRankLeftSortColumns = [
...
@@ -52,7 +52,7 @@ export const costProductRankLeftSortColumns = [
'
成本数量
'
,
'
成本数量
'
,
'
成本金额
'
,
'
成本金额
'
,
'
占比
'
,
'
占比
'
,
'
产品
名称
'
,
'
物料
名称
'
,
'
产品规格
'
,
'
产品规格
'
,
'
器械注册人-术语配置
'
,
'
器械注册人-术语配置
'
,
]
as
const
;
]
as
const
;
...
@@ -101,12 +101,12 @@ export const costProductRankData: CenterReportPageData = {
...
@@ -101,12 +101,12 @@ export const costProductRankData: CenterReportPageData = {
exportSelectFirstRow
:
false
,
exportSelectFirstRow
:
false
,
exportQueryFromSample
:
true
,
exportQueryFromSample
:
true
,
horizontalScrollAnchorColumn
:
'
产品
名称
'
,
horizontalScrollAnchorColumn
:
'
物料
名称
'
,
horizontalScrollTargetColumn
:
'
产品规格
'
,
horizontalScrollTargetColumn
:
'
产品规格
'
,
horizontalScrollDragDelta
:
320
,
horizontalScrollDragDelta
:
320
,
comboSamplePickKeys
:
[
'
statMonth
'
,
'
campus
'
,
'
consumableType
'
,
'
productName
'
,
'
costAmount
'
],
comboSamplePickKeys
:
[
'
statMonth
'
,
'
campus
'
,
'
consumableType
'
,
'
productName
'
,
'
costAmount
'
],
drawerFields
:
costProductRankComboDrawerFields
,
drawerFields
:
costProductRankComboDrawerFields
,
leftColumnSettingsToggleCandidates
:
[
'
产品
名称
'
,
'
器械注册人-术语配置
'
,
'
产品规格
'
,
'
字典价
'
],
leftColumnSettingsToggleCandidates
:
[
'
物料
名称
'
,
'
器械注册人-术语配置
'
,
'
产品规格
'
,
'
字典价
'
],
detailColumnSettingsToggleCandidates
:
[
'
科室名称
'
],
detailColumnSettingsToggleCandidates
:
[
'
科室名称
'
],
columnSettingsToggleCandidates
:
[
'
产品
名称
'
,
'
科室名称
'
],
columnSettingsToggleCandidates
:
[
'
物料
名称
'
,
'
科室名称
'
],
};
};
data/cost-settle-entry.data.ts
View file @
6c31a476
import
type
{
CenterReportPageData
}
from
'
./center-report-shared.types
'
;
import
type
{
CenterReportPageData
}
from
'
./center-report-shared.types
'
;
import
{
reportEntryDateQuickRange
}
from
'
./report-default-date-range
'
;
import
type
{
CenterReportDrawerField
}
from
'
./center-report-shared.types
'
;
import
type
{
CenterReportDrawerField
}
from
'
./center-report-shared.types
'
;
import
type
{
DeptQuickFieldDef
}
from
'
./dept-report-field-defs
'
;
import
type
{
DeptQuickFieldDef
}
from
'
./dept-report-field-defs
'
;
...
@@ -6,8 +7,8 @@ export const costSettleEntryColumns = {
...
@@ -6,8 +7,8 @@ export const costSettleEntryColumns = {
productName
:
'
物料名称
'
,
productName
:
'
物料名称
'
,
entryDate
:
'
入账日期
'
,
entryDate
:
'
入账日期
'
,
consumableType
:
'
耗材类型
'
,
consumableType
:
'
耗材类型
'
,
supplierName
:
'
进院供应商
名称
'
,
supplierName
:
'
销售商(自定义)
名称
'
,
subSupplierName
:
'
二级
供应商名称
'
,
subSupplierName
:
'
供应商名称
'
,
settleType
:
'
结算类型
'
,
settleType
:
'
结算类型
'
,
sourceOrderNo
:
'
源单号
'
,
sourceOrderNo
:
'
源单号
'
,
campus
:
'
院区名称
'
,
campus
:
'
院区名称
'
,
...
@@ -31,7 +32,7 @@ export const costSettleEntrySummaryMetrics = [
...
@@ -31,7 +32,7 @@ export const costSettleEntrySummaryMetrics = [
{
key
:
'
entryAmount
'
,
label
:
'
入账金额
'
,
summaryLabels
:
[
'
入账金额
'
]
},
{
key
:
'
entryAmount
'
,
label
:
'
入账金额
'
,
summaryLabels
:
[
'
入账金额
'
]
},
]
as
const
;
]
as
const
;
/** STAT-CSE-004:快捷区仅
产品
名称 / 入账日期 / 耗材类型(与 CSV 一致)。 */
/** STAT-CSE-004:快捷区仅
物料
名称 / 入账日期 / 耗材类型(与 CSV 一致)。 */
export
const
costSettleEntryComboQuickFields
:
readonly
DeptQuickFieldDef
[]
=
[
export
const
costSettleEntryComboQuickFields
:
readonly
DeptQuickFieldDef
[]
=
[
{
key
:
'
productName
'
,
label
:
'
物料名称
'
,
type
:
'
text
'
},
{
key
:
'
productName
'
,
label
:
'
物料名称
'
,
type
:
'
text
'
},
{
key
:
'
entryDate
'
,
label
:
'
入账日期
'
,
type
:
'
date
'
},
{
key
:
'
entryDate
'
,
label
:
'
入账日期
'
,
type
:
'
date
'
},
...
@@ -40,8 +41,8 @@ export const costSettleEntryComboQuickFields: readonly DeptQuickFieldDef[] = [
...
@@ -40,8 +41,8 @@ export const costSettleEntryComboQuickFields: readonly DeptQuickFieldDef[] = [
/** STAT-CSE-004 抽屉:有列表样本才填,不写带量/医保等 CSV 未要求字段。 */
/** STAT-CSE-004 抽屉:有列表样本才填,不写带量/医保等 CSV 未要求字段。 */
export
const
costSettleEntryComboDrawerFields
:
readonly
CenterReportDrawerField
[]
=
[
export
const
costSettleEntryComboDrawerFields
:
readonly
CenterReportDrawerField
[]
=
[
{
key
:
'
supplierName
'
,
type
:
'
text
'
,
label
:
'
进院供应商
名称
'
},
{
key
:
'
supplierName
'
,
type
:
'
text
'
,
label
:
'
销售商(自定义)
名称
'
},
{
key
:
'
subSupplierName
'
,
type
:
'
text
'
,
label
:
'
二级
供应商名称
'
},
{
key
:
'
subSupplierName
'
,
type
:
'
text
'
,
label
:
'
供应商名称
'
},
{
key
:
'
settleType
'
,
type
:
'
select
'
,
label
:
'
结算类型
'
},
{
key
:
'
settleType
'
,
type
:
'
select
'
,
label
:
'
结算类型
'
},
{
key
:
'
sourceOrderNo
'
,
type
:
'
text
'
,
label
:
'
源单号
'
},
{
key
:
'
sourceOrderNo
'
,
type
:
'
text
'
,
label
:
'
源单号
'
},
{
key
:
'
campus
'
,
type
:
'
select
'
,
label
:
'
院区名称
'
},
{
key
:
'
campus
'
,
type
:
'
select
'
,
label
:
'
院区名称
'
},
...
@@ -56,9 +57,10 @@ export const costSettleEntryComboAssertKeys = ['productName', 'entryDate', 'cons
...
@@ -56,9 +57,10 @@ export const costSettleEntryComboAssertKeys = ['productName', 'entryDate', 'cons
export
const
costSettleEntryData
:
CenterReportPageData
=
{
export
const
costSettleEntryData
:
CenterReportPageData
=
{
reportPath
:
'
/spd/form/settleCost/report/settel/entrySettle
'
,
reportPath
:
'
/spd/form/settleCost/report/settel/entrySettle
'
,
iframeSrc
:
'
settel/entrySettle
'
,
iframeSrc
:
'
settel/entrySettle
'
,
defaultQuickDateRange
:
reportEntryDateQuickRange
,
productNameSelector
:
'
#form_item_goodsName
'
,
productNameSelector
:
'
#form_item_goodsName
'
,
columns
:
costSettleEntryColumns
,
columns
:
costSettleEntryColumns
,
coreTableHeaders
:
[
'
物料名称
'
,
'
科室名称
'
,
'
院区名称
'
,
'
进院供应商
名称
'
,
'
入账日期
'
,
'
耗材类型
'
],
coreTableHeaders
:
[
'
物料名称
'
,
'
科室名称
'
,
'
院区名称
'
,
'
销售商(自定义)
名称
'
,
'
入账日期
'
,
'
耗材类型
'
],
summaryKeywords
:
[
'
入账数量
'
,
'
入账金额
'
],
summaryKeywords
:
[
'
入账数量
'
,
'
入账金额
'
],
mockNotExistProduct
:
'
__NOT_EXIST_PRODUCT__99999
'
,
mockNotExistProduct
:
'
__NOT_EXIST_PRODUCT__99999
'
,
mockFieldLabel
:
'
物料名称
'
,
mockFieldLabel
:
'
物料名称
'
,
...
@@ -98,8 +100,8 @@ export const costSettleEntryData: CenterReportPageData = {
...
@@ -98,8 +100,8 @@ export const costSettleEntryData: CenterReportPageData = {
firstRowSummaryMatch
:
{
firstRowSummaryMatch
:
{
metrics
:
costSettleEntrySummaryMetrics
,
metrics
:
costSettleEntrySummaryMetrics
,
requiredKey
:
'
productName
'
,
requiredKey
:
'
productName
'
,
narrowKeys
:
[
'
productName
'
],
fields
:
costSettleEntryComboQuickFields
,
fields
:
costSettleEntryComboQuickFields
,
footerKeywords
:
[
'
入账数量
'
,
'
入账金额
'
,
'
合计
'
],
footerKeywords
:
[
'
入账数量
'
,
'
入账金额
'
,
'
合计
'
],
absAll
:
true
,
},
},
};
};
data/cost-supply-classify.data.ts
View file @
6c31a476
...
@@ -6,8 +6,8 @@ export const costSupplyClassifyColumns = {
...
@@ -6,8 +6,8 @@ export const costSupplyClassifyColumns = {
entryMonth
:
'
入账月份
'
,
entryMonth
:
'
入账月份
'
,
consumableType
:
'
耗材类型
'
,
consumableType
:
'
耗材类型
'
,
classifyMode
:
'
分类方式
'
,
classifyMode
:
'
分类方式
'
,
supplierName
:
'
进院供应商
名称
'
,
supplierName
:
'
销售商(自定义)
名称
'
,
subSupplierName
:
'
二级
供应商名称
'
,
subSupplierName
:
'
供应商名称
'
,
campus
:
'
院区名称
'
,
campus
:
'
院区名称
'
,
queryDimension
:
'
查询维度
'
,
queryDimension
:
'
查询维度
'
,
subGroupDimension
:
'
二级分组维度
'
,
subGroupDimension
:
'
二级分组维度
'
,
...
@@ -19,7 +19,7 @@ export const costSupplyClassifyComboQuickFields: readonly DeptQuickFieldDef[] =
...
@@ -19,7 +19,7 @@ export const costSupplyClassifyComboQuickFields: readonly DeptQuickFieldDef[] =
{
key
:
'
entryMonth
'
,
label
:
'
入账月份
'
,
type
:
'
date
'
},
{
key
:
'
entryMonth
'
,
label
:
'
入账月份
'
,
type
:
'
date
'
},
{
key
:
'
consumableType
'
,
label
:
'
耗材类型
'
,
type
:
'
select
'
},
{
key
:
'
consumableType
'
,
label
:
'
耗材类型
'
,
type
:
'
select
'
},
{
key
:
'
classifyMode
'
,
label
:
'
分类方式
'
,
type
:
'
select
'
},
{
key
:
'
classifyMode
'
,
label
:
'
分类方式
'
,
type
:
'
select
'
},
{
key
:
'
supplierName
'
,
label
:
'
进院供应商
名称
'
,
type
:
'
text
'
},
{
key
:
'
supplierName
'
,
label
:
'
销售商(自定义)
名称
'
,
type
:
'
text
'
},
];
];
export
const
costSupplyClassifyComboDrawerFields
:
readonly
CenterReportDrawerField
[]
=
[
export
const
costSupplyClassifyComboDrawerFields
:
readonly
CenterReportDrawerField
[]
=
[
...
@@ -37,7 +37,7 @@ export const costSupplyClassifyData: CenterReportPageData = {
...
@@ -37,7 +37,7 @@ export const costSupplyClassifyData: CenterReportPageData = {
coreTableHeaders
:
[
'
计费
'
,
'
非计费
'
,
'
小计
'
],
coreTableHeaders
:
[
'
计费
'
,
'
非计费
'
,
'
小计
'
],
dimensions
:
[
'
区分二级商
'
],
dimensions
:
[
'
区分二级商
'
],
mockNotExistProduct
:
'
__NOT_EXIST_SUPPLIER__99999
'
,
mockNotExistProduct
:
'
__NOT_EXIST_SUPPLIER__99999
'
,
mockFieldLabel
:
'
进院供应商
名称
'
,
mockFieldLabel
:
'
销售商(自定义)
名称
'
,
mockFieldInDrawer
:
true
,
mockFieldInDrawer
:
true
,
mockNotExistSupplier
:
'
__NOT_EXIST_SUPPLIER__99999
'
,
mockNotExistSupplier
:
'
__NOT_EXIST_SUPPLIER__99999
'
,
paginationPageSizeFrom
:
'
50 条/页
'
,
paginationPageSizeFrom
:
'
50 条/页
'
,
...
@@ -55,7 +55,7 @@ export const costSupplyClassifyData: CenterReportPageData = {
...
@@ -55,7 +55,7 @@ export const costSupplyClassifyData: CenterReportPageData = {
exportQueryFromSample
:
true
,
exportQueryFromSample
:
true
,
horizontalScrollAnchorColumn
:
'
院区名称
'
,
horizontalScrollAnchorColumn
:
'
院区名称
'
,
horizontalScrollTargetColumn
:
'
二级
供应商名称
'
,
horizontalScrollTargetColumn
:
'
供应商名称
'
,
horizontalScrollDragDelta
:
320
,
horizontalScrollDragDelta
:
320
,
comboSamplePickKeys
:
[
'
entryMonth
'
,
'
consumableType
'
,
'
classifyMode
'
,
'
supplierName
'
,
'
isOpeningGenerated
'
,
'
settlement
'
],
comboSamplePickKeys
:
[
'
entryMonth
'
,
'
consumableType
'
,
'
classifyMode
'
,
'
supplierName
'
,
'
isOpeningGenerated
'
,
'
settlement
'
],
drawerFields
:
costSupplyClassifyComboDrawerFields
,
drawerFields
:
costSupplyClassifyComboDrawerFields
,
...
...
data/dept-report-entry.data.ts
View file @
6c31a476
import
type
{
CenterReportPageData
}
from
'
./center-report-shared.types
'
;
import
type
{
CenterReportPageData
}
from
'
./center-report-shared.types
'
;
import
{
reportAccountDateQuickRange
}
from
'
./report-default-date-range
'
;
import
{
import
{
deptReportEntryComboDrawerFields
,
deptReportEntryComboDrawerFields
,
deptReportEntryComboQuickFields
,
deptReportEntryComboQuickFields
,
...
@@ -16,18 +17,19 @@ export const deptReportEntryColumns = {
...
@@ -16,18 +17,19 @@ export const deptReportEntryColumns = {
deptName
:
'
科室名称
'
,
deptName
:
'
科室名称
'
,
orderNo
:
'
单号
'
,
orderNo
:
'
单号
'
,
accountDate
:
'
记账日期
'
,
accountDate
:
'
记账日期
'
,
supplierName
:
'
进院供应商
名称
'
,
supplierName
:
'
销售商(自定义)
名称
'
,
}
as
const
;
}
as
const
;
export
const
deptReportEntryData
:
CenterReportPageData
=
{
export
const
deptReportEntryData
:
CenterReportPageData
=
{
reportPath
:
'
/spd/form/deptReport/report/dept/entry
'
,
reportPath
:
'
/spd/form/deptReport/report/dept/entry
'
,
iframeSrc
:
'
dept/entry
'
,
iframeSrc
:
'
dept/entry
'
,
defaultQuickDateRange
:
reportAccountDateQuickRange
,
productNameSelector
:
'
#form_item_goodsName
'
,
productNameSelector
:
'
#form_item_goodsName
'
,
columns
:
deptReportEntryColumns
,
columns
:
deptReportEntryColumns
,
coreTableHeaders
:
[
'
物料编号
'
,
'
物料名称
'
,
'
入库数量
'
,
'
入库金额
'
,
'
耗材类型
'
],
coreTableHeaders
:
[
'
物料编号
'
,
'
物料名称
'
,
'
入库数量
'
,
'
入库金额
'
,
'
耗材类型
'
],
summaryKeywords
:
[
'
入库品种
'
,
'
入库单元数
'
,
'
入库数量
'
,
'
入库金额
'
],
summaryKeywords
:
[
'
入库品种
'
,
'
入库单元数
'
,
'
入库数量
'
,
'
入库金额
'
],
forbiddenSummaryKeywords
:
[
'
出库品种
'
,
'
合计出库金额
'
],
forbiddenSummaryKeywords
:
[
'
出库品种
'
,
'
合计出库金额
'
],
dimensions
:
[
'
区分包装
'
,
'
区分批号
'
,
'
区分
进院供应商
'
],
dimensions
:
[
'
区分包装
'
,
'
区分批号
'
,
'
区分
销售商(自定义)
'
],
drawerFields
:
deptReportEntryComboDrawerFields
,
drawerFields
:
deptReportEntryComboDrawerFields
,
subTableHeaders
:
[
'
入库单号
'
,
'
记账日期
'
,
'
单据类型
'
,
'
查看
'
],
subTableHeaders
:
[
'
入库单号
'
,
'
记账日期
'
,
'
单据类型
'
,
'
查看
'
],
subTableOrderNoKeywords
:
[
'
入库单号
'
,
'
单号
'
],
subTableOrderNoKeywords
:
[
'
入库单号
'
,
'
单号
'
],
...
@@ -52,7 +54,7 @@ export const deptReportEntryData: CenterReportPageData = {
...
@@ -52,7 +54,7 @@ export const deptReportEntryData: CenterReportPageData = {
exportSelectFirstRow
:
false
,
exportSelectFirstRow
:
false
,
exportQueryFromSample
:
true
,
exportQueryFromSample
:
true
,
comboSkipDrawerKeys
:
[
'
orderNo
'
,
'
storageArea
'
,
'
sourceWarehouse
'
,
'
chargeable
'
],
comboSkipDrawerKeys
:
[
'
orderNo
'
,
'
storageArea
'
,
'
sourceWarehouse
'
,
'
chargeable
'
],
comboSampleScrollColumns
:
[
'
结算方式
'
,
'
批号
'
,
'
科室名称
'
,
'
单号
'
,
'
进院供应商
名称
'
],
comboSampleScrollColumns
:
[
'
结算方式
'
,
'
批号
'
,
'
科室名称
'
,
'
单号
'
,
'
销售商(自定义)
名称
'
],
comboSamplePickKeys
:
[
'
productName
'
,
'
accountDate
'
,
'
billType
'
,
'
deptName
'
,
'
dept
'
,
'
orderNo
'
,
'
settlement
'
],
comboSamplePickKeys
:
[
'
productName
'
,
'
accountDate
'
,
'
billType
'
,
'
deptName
'
,
'
dept
'
,
'
orderNo
'
,
'
settlement
'
],
comboSampleFieldAliases
:
{
dept
:
'
deptName
'
},
comboSampleFieldAliases
:
{
dept
:
'
deptName
'
},
comboSampleMaxRowScan
:
5
,
comboSampleMaxRowScan
:
5
,
...
...
data/dept-report-field-defs.ts
View file @
6c31a476
...
@@ -28,11 +28,11 @@ export const centerLmmMaterialSyncFields: readonly QuickDrawerSyncField[] = [
...
@@ -28,11 +28,11 @@ export const centerLmmMaterialSyncFields: readonly QuickDrawerSyncField[] = [
{
quickLabel
:
'
物资分类
'
,
drawerLabel
:
'
物资分类
'
,
type
:
'
cascader
'
,
sampleKey
:
'
consumableCategory
'
},
{
quickLabel
:
'
物资分类
'
,
drawerLabel
:
'
物资分类
'
,
type
:
'
cascader
'
,
sampleKey
:
'
consumableCategory
'
},
];
];
/** 后勤物资:科室页物资分类为
select
。 */
/** 后勤物资:科室页物资分类为
ant-cascader(多选,与元素扫描一致)
。 */
export
const
deptLmmMaterialSyncFields
:
readonly
QuickDrawerSyncField
[]
=
[
export
const
deptLmmMaterialSyncFields
:
readonly
QuickDrawerSyncField
[]
=
[
{
quickLabel
:
'
物资名称
'
,
drawerLabel
:
'
物资名称
'
,
type
:
'
text
'
,
sampleKey
:
'
materialName
'
},
{
quickLabel
:
'
物资名称
'
,
drawerLabel
:
'
物资名称
'
,
type
:
'
text
'
,
sampleKey
:
'
materialName
'
},
{
quickLabel
:
'
记账日期
'
,
drawerLabel
:
'
记账日期
'
,
type
:
'
date
'
,
sampleKey
:
'
accountDate
'
},
{
quickLabel
:
'
记账日期
'
,
drawerLabel
:
'
记账日期
'
,
type
:
'
date
'
,
sampleKey
:
'
accountDate
'
},
{
quickLabel
:
'
物资分类
'
,
drawerLabel
:
'
物资分类
'
,
type
:
'
select
'
,
sampleKey
:
'
materialCategory
'
},
{
quickLabel
:
'
物资分类
'
,
drawerLabel
:
'
物资分类
'
,
type
:
'
cascader
'
,
sampleKey
:
'
materialCategory
'
},
];
];
/** 中心库产品进销存:入账日期 + 院区 + 耗材类型。 */
/** 中心库产品进销存:入账日期 + 院区 + 耗材类型。 */
...
@@ -64,7 +64,7 @@ export const deptReportSheetComboDrawerFields: readonly CenterReportDrawerField[
...
@@ -64,7 +64,7 @@ export const deptReportSheetComboDrawerFields: readonly CenterReportDrawerField[
{
key
:
'
batchNo
'
,
type
:
'
text
'
,
label
:
'
批号
'
},
{
key
:
'
batchNo
'
,
type
:
'
text
'
,
label
:
'
批号
'
},
{
key
:
'
barcode
'
,
type
:
'
text
'
,
label
:
'
条码号
'
},
{
key
:
'
barcode
'
,
type
:
'
text
'
,
label
:
'
条码号
'
},
{
key
:
'
orderNo
'
,
type
:
'
text
'
,
label
:
'
单号
'
},
{
key
:
'
orderNo
'
,
type
:
'
text
'
,
label
:
'
单号
'
},
{
key
:
'
supplier
'
,
type
:
'
text
'
,
label
:
'
进院供应商
'
},
{
key
:
'
supplier
'
,
type
:
'
text
'
,
label
:
'
销售商(自定义)
'
},
{
key
:
'
settlement
'
,
type
:
'
select
'
,
label
:
'
结算方式
'
},
{
key
:
'
settlement
'
,
type
:
'
select
'
,
label
:
'
结算方式
'
},
{
key
:
'
remark
'
,
type
:
'
text
'
,
label
:
'
备注
'
},
{
key
:
'
remark
'
,
type
:
'
text
'
,
label
:
'
备注
'
},
{
key
:
'
spec
'
,
type
:
'
text
'
,
label
:
'
规格型号
'
},
{
key
:
'
spec
'
,
type
:
'
text
'
,
label
:
'
规格型号
'
},
...
@@ -90,7 +90,7 @@ export const deptReportEntryComboDrawerFields: readonly CenterReportDrawerField[
...
@@ -90,7 +90,7 @@ export const deptReportEntryComboDrawerFields: readonly CenterReportDrawerField[
{
key
:
'
sourceWarehouse
'
,
type
:
'
select
'
,
label
:
'
来源库房
'
},
{
key
:
'
sourceWarehouse
'
,
type
:
'
select
'
,
label
:
'
来源库房
'
},
{
key
:
'
orderNo
'
,
type
:
'
text
'
,
label
:
'
单号
'
},
{
key
:
'
orderNo
'
,
type
:
'
text
'
,
label
:
'
单号
'
},
{
key
:
'
settlement
'
,
type
:
'
select
'
,
label
:
'
结算方式
'
},
{
key
:
'
settlement
'
,
type
:
'
select
'
,
label
:
'
结算方式
'
},
{
key
:
'
supplierName
'
,
type
:
'
text
'
,
label
:
'
进院供应商
名称
'
},
{
key
:
'
supplierName
'
,
type
:
'
text
'
,
label
:
'
销售商(自定义)
名称
'
},
{
key
:
'
chargeable
'
,
type
:
'
select
'
,
label
:
'
产品是否收费
'
},
{
key
:
'
chargeable
'
,
type
:
'
select
'
,
label
:
'
产品是否收费
'
},
];
];
...
@@ -109,7 +109,7 @@ export const deptReportOutComboDrawerFields: readonly CenterReportDrawerField[]
...
@@ -109,7 +109,7 @@ export const deptReportOutComboDrawerFields: readonly CenterReportDrawerField[]
{
key
:
'
orderNo
'
,
type
:
'
text
'
,
label
:
'
单号
'
},
{
key
:
'
orderNo
'
,
type
:
'
text
'
,
label
:
'
单号
'
},
{
key
:
'
outboundTarget
'
,
type
:
'
text
'
,
label
:
'
出库目标
'
},
{
key
:
'
outboundTarget
'
,
type
:
'
text
'
,
label
:
'
出库目标
'
},
{
key
:
'
settlement
'
,
type
:
'
select
'
,
label
:
'
结算方式
'
},
{
key
:
'
settlement
'
,
type
:
'
select
'
,
label
:
'
结算方式
'
},
{
key
:
'
supplierName
'
,
type
:
'
text
'
,
label
:
'
进院供应商
名称
'
},
{
key
:
'
supplierName
'
,
type
:
'
text
'
,
label
:
'
销售商(自定义)
名称
'
},
{
key
:
'
chargeable
'
,
type
:
'
select
'
,
label
:
'
产品是否收费
'
},
{
key
:
'
chargeable
'
,
type
:
'
select
'
,
label
:
'
产品是否收费
'
},
];
];
...
@@ -147,7 +147,7 @@ export const deptReportLmmSheetComboDrawerFields: readonly CenterReportDrawerFie
...
@@ -147,7 +147,7 @@ export const deptReportLmmSheetComboDrawerFields: readonly CenterReportDrawerFie
{
key
:
'
dept
'
,
type
:
'
select
'
,
label
:
'
科室名称
'
},
{
key
:
'
dept
'
,
type
:
'
select
'
,
label
:
'
科室名称
'
},
{
key
:
'
billType
'
,
type
:
'
select
'
,
label
:
'
单据类型
'
},
{
key
:
'
billType
'
,
type
:
'
select
'
,
label
:
'
单据类型
'
},
{
key
:
'
generationStyle
'
,
type
:
'
select
'
,
label
:
'
生成方式
'
},
{
key
:
'
generationStyle
'
,
type
:
'
select
'
,
label
:
'
生成方式
'
},
{
key
:
'
supplier
'
,
type
:
'
text
'
,
label
:
'
进院供应商
'
},
{
key
:
'
supplier
'
,
type
:
'
text
'
,
label
:
'
销售商(自定义)
'
},
{
key
:
'
purchaser
'
,
type
:
'
text
'
,
label
:
'
采购员
'
},
{
key
:
'
purchaser
'
,
type
:
'
text
'
,
label
:
'
采购员
'
},
];
];
...
...
data/dept-report-lmm-sheet.data.ts
View file @
6c31a476
import
type
{
CenterReportPageData
}
from
'
./center-report-shared.types
'
;
import
type
{
CenterReportPageData
}
from
'
./center-report-shared.types
'
;
import
{
lmmDeptSummaryMatch
}
from
'
./center-report-shared.types
'
;
import
{
lmmDeptSummaryMatch
}
from
'
./center-report-shared.types
'
;
/** 科室出入库明细(后勤):测试环境有数据区间(与 CSV 前置一致,勿用全局 reportAccountDateQuickRange)。 */
export
const
deptReportLmmSheetQuickDateRange
=
{
label
:
'
记账日期
'
,
start
:
'
2026-09-01
'
,
end
:
'
2026-10-31
'
,
}
as
const
;
import
{
import
{
deptReportLmmSheetComboDrawerFields
,
deptReportLmmSheetComboDrawerFields
,
deptReportLmmSheetComboQuickFields
,
deptReportLmmSheetComboQuickFields
,
...
@@ -19,17 +26,18 @@ export const deptReportLmmSheetColumns = {
...
@@ -19,17 +26,18 @@ export const deptReportLmmSheetColumns = {
campus
:
'
院区名称
'
,
campus
:
'
院区名称
'
,
deptName
:
'
科室名称
'
,
deptName
:
'
科室名称
'
,
generationStyle
:
'
生成方式
'
,
generationStyle
:
'
生成方式
'
,
supplier
:
'
进院供应商
'
,
supplier
:
'
销售商(自定义)
'
,
purchaser
:
'
采购员
'
,
purchaser
:
'
采购员
'
,
}
as
const
;
}
as
const
;
export
const
deptReportLmmSheetData
:
CenterReportPageData
=
{
export
const
deptReportLmmSheetData
:
CenterReportPageData
=
{
reportPath
:
'
/spd/form/deptReport/report/dept/lmmSheet
'
,
reportPath
:
'
/spd/form/deptReport/report/dept/lmmSheet
'
,
iframeSrc
:
'
dept/lmmSheet
'
,
iframeSrc
:
'
dept/lmmSheet
'
,
defaultQuickDateRange
:
deptReportLmmSheetQuickDateRange
,
productNameSelector
:
'
#form_item_goodsName
'
,
productNameSelector
:
'
#form_item_goodsName
'
,
columns
:
deptReportLmmSheetColumns
,
columns
:
deptReportLmmSheetColumns
,
columnAliases
:
{
columnAliases
:
{
materialName
:
[
'
物资名称
'
,
'
产品
名称
'
],
materialName
:
[
'
物资名称
'
,
'
物料
名称
'
],
materialCode
:
[
'
物资编号
'
,
'
物资编码
'
],
materialCode
:
[
'
物资编号
'
,
'
物资编码
'
],
materialCategory
:
[
'
物资分类
'
,
'
耗材分类
'
],
materialCategory
:
[
'
物资分类
'
,
'
耗材分类
'
],
deptName
:
[
'
科室名称
'
,
'
科室
'
],
deptName
:
[
'
科室名称
'
,
'
科室
'
],
...
@@ -52,7 +60,7 @@ export const deptReportLmmSheetData: CenterReportPageData = {
...
@@ -52,7 +60,7 @@ export const deptReportLmmSheetData: CenterReportPageData = {
exportDirectDownload
:
false
,
exportDirectDownload
:
false
,
exportSelectFirstRow
:
false
,
exportSelectFirstRow
:
false
,
exportQueryFromSample
:
true
,
exportQueryFromSample
:
true
,
comboSampleScrollColumns
:
[
'
单号
'
,
'
院区名称
'
,
'
科室名称
'
,
'
单据类型
'
,
'
生成方式
'
,
'
进院供应商
'
,
'
采购员
'
],
comboSampleScrollColumns
:
[
'
单号
'
,
'
院区名称
'
,
'
科室名称
'
,
'
单据类型
'
,
'
生成方式
'
,
'
销售商(自定义)
'
,
'
采购员
'
],
comboSamplePickKeys
:
[
'
materialName
'
,
'
accountDate
'
,
'
materialCategory
'
,
'
orderNo
'
,
'
campus
'
,
'
dept
'
,
'
deptName
'
,
'
billType
'
,
'
generationStyle
'
,
'
supplier
'
],
comboSamplePickKeys
:
[
'
materialName
'
,
'
accountDate
'
,
'
materialCategory
'
,
'
orderNo
'
,
'
campus
'
,
'
dept
'
,
'
deptName
'
,
'
billType
'
,
'
generationStyle
'
,
'
supplier
'
],
comboSampleFieldAliases
:
{
dept
:
'
deptName
'
},
comboSampleFieldAliases
:
{
dept
:
'
deptName
'
},
comboSampleMaxRowScan
:
5
,
comboSampleMaxRowScan
:
5
,
...
...
data/dept-report-out.data.ts
View file @
6c31a476
import
type
{
CenterReportPageData
}
from
'
./center-report-shared.types
'
;
import
type
{
CenterReportPageData
}
from
'
./center-report-shared.types
'
;
import
{
reportAccountDateQuickRange
}
from
'
./report-default-date-range
'
;
import
{
import
{
deptReportOutComboDrawerFields
,
deptReportOutComboDrawerFields
,
deptReportOutComboQuickFields
,
deptReportOutComboQuickFields
,
...
@@ -16,18 +17,19 @@ export const deptReportOutColumns = {
...
@@ -16,18 +17,19 @@ export const deptReportOutColumns = {
deptName
:
'
科室名称
'
,
deptName
:
'
科室名称
'
,
orderNo
:
'
单号
'
,
orderNo
:
'
单号
'
,
accountDate
:
'
记账日期
'
,
accountDate
:
'
记账日期
'
,
supplierName
:
'
进院供应商
名称
'
,
supplierName
:
'
销售商(自定义)
名称
'
,
}
as
const
;
}
as
const
;
export
const
deptReportOutData
:
CenterReportPageData
=
{
export
const
deptReportOutData
:
CenterReportPageData
=
{
reportPath
:
'
/spd/form/deptReport/report/dept/out
'
,
reportPath
:
'
/spd/form/deptReport/report/dept/out
'
,
iframeSrc
:
'
dept/out
'
,
iframeSrc
:
'
dept/out
'
,
defaultQuickDateRange
:
reportAccountDateQuickRange
,
productNameSelector
:
'
#form_item_goodsName
'
,
productNameSelector
:
'
#form_item_goodsName
'
,
columns
:
deptReportOutColumns
,
columns
:
deptReportOutColumns
,
coreTableHeaders
:
[
'
物料编号
'
,
'
物料名称
'
,
'
出库数量
'
,
'
出库金额
'
,
'
耗材类型
'
],
coreTableHeaders
:
[
'
物料编号
'
,
'
物料名称
'
,
'
出库数量
'
,
'
出库金额
'
,
'
耗材类型
'
],
summaryKeywords
:
[
'
出库数量
'
,
'
合计出库金额
'
],
summaryKeywords
:
[
'
出库数量
'
,
'
合计出库金额
'
],
forbiddenSummaryKeywords
:
[
'
入库品种
'
,
'
入库数量
'
],
forbiddenSummaryKeywords
:
[
'
入库品种
'
,
'
入库数量
'
],
dimensions
:
[
'
区分包装
'
,
'
区分批号
'
,
'
区分
进院供应商
'
],
dimensions
:
[
'
区分包装
'
,
'
区分批号
'
,
'
区分
销售商(自定义)
'
],
drawerFields
:
deptReportOutComboDrawerFields
,
drawerFields
:
deptReportOutComboDrawerFields
,
subTableHeaders
:
[
'
出库单号
'
,
'
记账日期
'
,
'
单据类型
'
,
'
查看
'
],
subTableHeaders
:
[
'
出库单号
'
,
'
记账日期
'
,
'
单据类型
'
,
'
查看
'
],
subTableOrderNoKeywords
:
[
'
出库单号
'
,
'
单号
'
],
subTableOrderNoKeywords
:
[
'
出库单号
'
,
'
单号
'
],
...
@@ -51,7 +53,7 @@ export const deptReportOutData: CenterReportPageData = {
...
@@ -51,7 +53,7 @@ export const deptReportOutData: CenterReportPageData = {
exportDirectDownload
:
false
,
exportDirectDownload
:
false
,
exportSelectFirstRow
:
false
,
exportSelectFirstRow
:
false
,
exportQueryFromSample
:
true
,
exportQueryFromSample
:
true
,
comboSampleScrollColumns
:
[
'
物料编号
'
,
'
物料名称
'
,
'
结算方式
'
,
'
单据形态
'
,
'
批号
'
,
'
科室名称
'
,
'
单号
'
,
'
进院供应商
名称
'
],
comboSampleScrollColumns
:
[
'
物料编号
'
,
'
物料名称
'
,
'
结算方式
'
,
'
单据形态
'
,
'
批号
'
,
'
科室名称
'
,
'
单号
'
,
'
销售商(自定义)
名称
'
],
comboSamplePickKeys
:
[
'
productName
'
,
'
accountDate
'
,
'
billType
'
,
'
deptName
'
,
'
dept
'
,
'
orderNo
'
,
'
settlement
'
,
'
billMode
'
,
'
batchNo
'
],
comboSamplePickKeys
:
[
'
productName
'
,
'
accountDate
'
,
'
billType
'
,
'
deptName
'
,
'
dept
'
,
'
orderNo
'
,
'
settlement
'
,
'
billMode
'
,
'
batchNo
'
],
comboSampleFieldAliases
:
{
dept
:
'
deptName
'
},
comboSampleFieldAliases
:
{
dept
:
'
deptName
'
},
comboSampleMaxRowScan
:
5
,
comboSampleMaxRowScan
:
5
,
...
...
data/dept-report-psi.data.ts
View file @
6c31a476
import
type
{
CenterReportPageData
}
from
'
./center-report-shared.types
'
;
import
type
{
CenterReportPageData
}
from
'
./center-report-shared.types
'
;
import
{
reportEntryDateQuickRange
}
from
'
./report-default-date-range
'
;
import
{
import
{
deptReportPsiComboDrawerFields
,
deptReportPsiComboDrawerFields
,
deptReportPsiComboQuickFields
,
deptReportPsiComboQuickFields
,
...
@@ -21,6 +22,7 @@ export const deptReportPsiColumns = {
...
@@ -21,6 +22,7 @@ export const deptReportPsiColumns = {
export
const
deptReportPsiData
:
CenterReportPageData
=
{
export
const
deptReportPsiData
:
CenterReportPageData
=
{
reportPath
:
'
/spd/form/deptReport/report/dept/psi
'
,
reportPath
:
'
/spd/form/deptReport/report/dept/psi
'
,
iframeSrc
:
'
dept/psi
'
,
iframeSrc
:
'
dept/psi
'
,
defaultQuickDateRange
:
reportEntryDateQuickRange
,
productNameSelector
:
'
#form_item_branchName
'
,
productNameSelector
:
'
#form_item_branchName
'
,
columns
:
deptReportPsiColumns
,
columns
:
deptReportPsiColumns
,
coreTableHeaders
:
[
'
物料编号
'
,
'
物料名称
'
,
'
规格型号
'
,
'
期初数量
'
,
'
净入数量
'
,
'
净出数量
'
,
'
期末数量
'
],
coreTableHeaders
:
[
'
物料编号
'
,
'
物料名称
'
,
'
规格型号
'
,
'
期初数量
'
,
'
净入数量
'
,
'
净出数量
'
,
'
期末数量
'
],
...
...
data/dept-report-sheet.data.ts
View file @
6c31a476
import
type
{
CenterReportPageData
}
from
'
./center-report-shared.types
'
;
import
type
{
CenterReportPageData
}
from
'
./center-report-shared.types
'
;
import
{
reportAccountDateQuickRange
}
from
'
./report-default-date-range
'
;
import
{
deptSheetSummaryMatch
}
from
'
./center-report-shared.types
'
;
import
{
deptSheetSummaryMatch
}
from
'
./center-report-shared.types
'
;
import
{
import
{
deptReportSheetComboDrawerFields
,
deptReportSheetComboDrawerFields
,
...
@@ -20,7 +21,7 @@ export const deptReportSheetColumns = {
...
@@ -20,7 +21,7 @@ export const deptReportSheetColumns = {
amount
:
'
金额
'
,
amount
:
'
金额
'
,
billMode
:
'
单据形态
'
,
billMode
:
'
单据形态
'
,
barcode
:
'
条码号
'
,
barcode
:
'
条码号
'
,
supplier
:
'
进院供应商
'
,
supplier
:
'
销售商(自定义)
'
,
remark
:
'
备注
'
,
remark
:
'
备注
'
,
operator
:
'
制单人
'
,
operator
:
'
制单人
'
,
statDimension
:
'
统计维度
'
,
statDimension
:
'
统计维度
'
,
...
@@ -34,6 +35,7 @@ export const deptReportSheetColumns = {
...
@@ -34,6 +35,7 @@ export const deptReportSheetColumns = {
export
const
deptReportSheetData
:
CenterReportPageData
=
{
export
const
deptReportSheetData
:
CenterReportPageData
=
{
reportPath
:
'
/spd/form/deptReport/report/dept/sheet
'
,
reportPath
:
'
/spd/form/deptReport/report/dept/sheet
'
,
iframeSrc
:
'
dept/sheet
'
,
iframeSrc
:
'
dept/sheet
'
,
defaultQuickDateRange
:
reportAccountDateQuickRange
,
productNameSelector
:
'
#form_item_goodsName
'
,
productNameSelector
:
'
#form_item_goodsName
'
,
columns
:
deptReportSheetColumns
,
columns
:
deptReportSheetColumns
,
columnAliases
:
{
orderNo
:
[
'
单号
'
,
'
单据号
'
],
deptName
:
[
'
科室名称
'
,
'
科室
'
]
},
columnAliases
:
{
orderNo
:
[
'
单号
'
,
'
单据号
'
],
deptName
:
[
'
科室名称
'
,
'
科室
'
]
},
...
@@ -58,7 +60,7 @@ export const deptReportSheetData: CenterReportPageData = {
...
@@ -58,7 +60,7 @@ export const deptReportSheetData: CenterReportPageData = {
exportDirectDownload
:
false
,
exportDirectDownload
:
false
,
exportSelectFirstRow
:
false
,
exportSelectFirstRow
:
false
,
exportQueryFromSample
:
true
,
exportQueryFromSample
:
true
,
comboSampleScrollColumns
:
[
'
科室名称
'
,
'
单据形态
'
,
'
条码号
'
,
'
进院供应商
'
,
'
结算方式
'
,
'
制单人
'
,
'
耗材分类
'
,
'
医保编码
'
],
comboSampleScrollColumns
:
[
'
科室名称
'
,
'
单据形态
'
,
'
条码号
'
,
'
销售商(自定义)
'
,
'
结算方式
'
,
'
制单人
'
,
'
耗材分类
'
,
'
医保编码
'
],
comboSamplePickKeys
:
[
comboSamplePickKeys
:
[
'
productName
'
,
'
accountDate
'
,
'
billType
'
,
'
deptName
'
,
'
dept
'
,
'
batchNo
'
,
'
orderNo
'
,
'
productName
'
,
'
accountDate
'
,
'
billType
'
,
'
deptName
'
,
'
dept
'
,
'
batchNo
'
,
'
orderNo
'
,
'
spec
'
,
'
settlement
'
,
'
operator
'
,
'
consumableCategory
'
,
'
barcode
'
,
'
supplier
'
,
'
spec
'
,
'
settlement
'
,
'
operator
'
,
'
consumableCategory
'
,
'
barcode
'
,
'
supplier
'
,
...
...
data/flow.data.ts
View file @
6c31a476
...
@@ -14,4 +14,7 @@ export const flowData = {
...
@@ -14,4 +14,7 @@ export const flowData = {
GC
:
'
产品信息变更
'
,
GC
:
'
产品信息变更
'
,
BUY
:
'
请领单
'
,
BUY
:
'
请领单
'
,
}
as
const
,
}
as
const
,
/** 列设置可 toggle 的非核心列(审批流实例列表) */
columnSettingsToggleCandidates
:
[
'
发起部门
'
,
'
发起人
'
]
as
const
,
paginationPageSizeTo
:
'
20 条/页
'
,
}
as
const
;
}
as
const
;
data/invoice-balance-status.data.ts
View file @
6c31a476
...
@@ -5,7 +5,7 @@ import type { DeptQuickFieldDef } from './dept-report-field-defs';
...
@@ -5,7 +5,7 @@ import type { DeptQuickFieldDef } from './dept-report-field-defs';
export
const
invoiceBalanceStatusColumns
=
{
export
const
invoiceBalanceStatusColumns
=
{
field
:
'
结算单号
'
,
field
:
'
结算单号
'
,
field2
:
'
结算月份
'
,
field2
:
'
结算月份
'
,
supplierName
:
'
进院供应商
'
,
supplierName
:
'
销售商(自定义)
'
,
field3
:
'
结算数量
'
,
field3
:
'
结算数量
'
,
field4
:
'
结算金额
'
,
field4
:
'
结算金额
'
,
field5
:
'
结算单状态
'
,
field5
:
'
结算单状态
'
,
...
@@ -24,7 +24,7 @@ export const invoiceBalanceStatusColumns = {
...
@@ -24,7 +24,7 @@ export const invoiceBalanceStatusColumns = {
export
const
invoiceBalanceStatusComboQuickFields
:
readonly
DeptQuickFieldDef
[]
=
[
export
const
invoiceBalanceStatusComboQuickFields
:
readonly
DeptQuickFieldDef
[]
=
[
{
key
:
'
field
'
,
label
:
'
结算单号
'
,
type
:
'
text
'
},
{
key
:
'
field
'
,
label
:
'
结算单号
'
,
type
:
'
text
'
},
{
key
:
'
field2
'
,
label
:
'
结算月份
'
,
type
:
'
date
'
},
{
key
:
'
field2
'
,
label
:
'
结算月份
'
,
type
:
'
date
'
},
{
key
:
'
supplierName
'
,
label
:
'
进院供应商
'
,
type
:
'
select
'
},
{
key
:
'
supplierName
'
,
label
:
'
销售商(自定义)
'
,
type
:
'
select
'
},
];
];
export
const
invoiceBalanceStatusComboDrawerFields
:
readonly
CenterReportDrawerField
[]
=
[
export
const
invoiceBalanceStatusComboDrawerFields
:
readonly
CenterReportDrawerField
[]
=
[
...
@@ -49,17 +49,17 @@ export const invoiceBalanceStatusData: CenterReportPageData & {
...
@@ -49,17 +49,17 @@ export const invoiceBalanceStatusData: CenterReportPageData & {
iframeSrc
:
'
settleInvoice/balanceInvoice
'
,
iframeSrc
:
'
settleInvoice/balanceInvoice
'
,
productNameSelector
:
'
#form_item_provId
'
,
productNameSelector
:
'
#form_item_provId
'
,
columns
:
invoiceBalanceStatusColumns
,
columns
:
invoiceBalanceStatusColumns
,
coreTableHeaders
:
[
'
结算单号
'
,
'
进院供应商
'
,
'
结算月份
'
,
'
结算数量
'
,
'
结算金额
'
,
'
结算单状态
'
,
'
制单时间
'
,
'
是否交发票
'
],
coreTableHeaders
:
[
'
结算单号
'
,
'
销售商(自定义)
'
,
'
结算月份
'
,
'
结算数量
'
,
'
结算金额
'
,
'
结算单状态
'
,
'
制单时间
'
,
'
是否交发票
'
],
columnAliases
:
{
columnAliases
:
{
supplierName
:
[
'
进院供应商
名称
'
],
supplierName
:
[
'
销售商(自定义)
名称
'
],
field5
:
[
'
采购计划号
'
],
field5
:
[
'
采购计划号
'
],
},
},
sortColumns
:
[
'
结算单号
'
,
'
进院供应商
'
,
'
结算月份
'
,
'
结算数量
'
,
'
结算金额
'
,
'
制单时间
'
,
'
发票号
'
,
'
已开票金额
'
,
'
待开票金额
'
,
'
已核对金额
'
,
'
待核对金额
'
,
'
结算单标签
'
],
sortColumns
:
[
'
结算单号
'
,
'
销售商(自定义)
'
,
'
结算月份
'
,
'
结算数量
'
,
'
结算金额
'
,
'
制单时间
'
,
'
发票号
'
,
'
已开票金额
'
,
'
待开票金额
'
,
'
已核对金额
'
,
'
待核对金额
'
,
'
结算单标签
'
],
sortCasePrefix
:
'
STAT-IBL
'
,
sortCasePrefix
:
'
STAT-IBL
'
,
sortCaseStartIndex
:
20
,
sortCaseStartIndex
:
20
,
horizontalScrollAnchorColumn
:
'
结算单号
'
,
horizontalScrollAnchorColumn
:
'
结算单号
'
,
horizontalScrollTargetColumn
:
'
进院供应商
'
,
horizontalScrollTargetColumn
:
'
销售商(自定义)
'
,
horizontalScrollDragDelta
:
320
,
horizontalScrollDragDelta
:
320
,
mockNotExistProduct
:
'
__NOT_EXIST_SETTLE_NO__99999
'
,
mockNotExistProduct
:
'
__NOT_EXIST_SETTLE_NO__99999
'
,
mockFieldLabel
:
'
结算单号
'
,
mockFieldLabel
:
'
结算单号
'
,
...
@@ -80,12 +80,12 @@ export const invoiceBalanceStatusData: CenterReportPageData & {
...
@@ -80,12 +80,12 @@ export const invoiceBalanceStatusData: CenterReportPageData & {
exportQueryFromSample
:
true
,
exportQueryFromSample
:
true
,
columnSettingsToggleCandidates
:
[
'
备注
'
],
columnSettingsToggleCandidates
:
[
'
备注
'
],
comboSampleScrollColumns
:
[
'
进院供应商
'
],
comboSampleScrollColumns
:
[
'
销售商(自定义)
'
],
comboSamplePickKeys
:
[
'
field
'
,
'
field4
'
],
comboSamplePickKeys
:
[
'
field
'
,
'
field4
'
],
drawerFields
:
invoiceBalanceStatusComboDrawerFields
,
drawerFields
:
invoiceBalanceStatusComboDrawerFields
,
};
};
export
const
invoiceBalanceStatusSortColumns
=
[
'
结算单号
'
,
'
进院供应商
'
,
'
结算月份
'
,
'
结算数量
'
,
'
结算金额
'
,
'
制单时间
'
,
'
发票号
'
,
'
已开票金额
'
,
'
待开票金额
'
,
'
已核对金额
'
,
'
待核对金额
'
,
'
结算单标签
'
]
as
const
;
export
const
invoiceBalanceStatusSortColumns
=
[
'
结算单号
'
,
'
销售商(自定义)
'
,
'
结算月份
'
,
'
结算数量
'
,
'
结算金额
'
,
'
制单时间
'
,
'
发票号
'
,
'
已开票金额
'
,
'
待开票金额
'
,
'
已核对金额
'
,
'
待核对金额
'
,
'
结算单标签
'
]
as
const
;
export
const
invoiceBalanceStatusSortCases
=
buildSortColumnCases
(
export
const
invoiceBalanceStatusSortCases
=
buildSortColumnCases
(
'
STAT-IBL
'
,
'
STAT-IBL
'
,
...
...
data/invoice-prov-classify.data.ts
View file @
6c31a476
...
@@ -5,14 +5,14 @@ import type { DeptQuickFieldDef } from './dept-report-field-defs';
...
@@ -5,14 +5,14 @@ import type { DeptQuickFieldDef } from './dept-report-field-defs';
export
const
invoiceProvClassifyColumns
=
{
export
const
invoiceProvClassifyColumns
=
{
field
:
'
归档日期
'
,
field
:
'
归档日期
'
,
classifyMode
:
'
分类方式
'
,
classifyMode
:
'
分类方式
'
,
supplierName
:
'
进院供应商
名称
'
,
supplierName
:
'
销售商(自定义)
名称
'
,
consumableType
:
'
耗材类型
'
,
consumableType
:
'
耗材类型
'
,
}
as
const
;
}
as
const
;
export
const
invoiceProvClassifyComboQuickFields
:
readonly
DeptQuickFieldDef
[]
=
[
export
const
invoiceProvClassifyComboQuickFields
:
readonly
DeptQuickFieldDef
[]
=
[
{
key
:
'
field
'
,
label
:
'
归档日期
'
,
type
:
'
date
'
},
{
key
:
'
field
'
,
label
:
'
归档日期
'
,
type
:
'
date
'
},
{
key
:
'
classifyMode
'
,
label
:
'
分类方式
'
,
type
:
'
select
'
},
{
key
:
'
classifyMode
'
,
label
:
'
分类方式
'
,
type
:
'
select
'
},
{
key
:
'
supplierName
'
,
label
:
'
进院供应商
名称
'
,
type
:
'
text
'
},
{
key
:
'
supplierName
'
,
label
:
'
销售商(自定义)
名称
'
,
type
:
'
text
'
},
];
];
export
const
invoiceProvClassifyComboDrawerFields
:
readonly
CenterReportDrawerField
[]
=
[
export
const
invoiceProvClassifyComboDrawerFields
:
readonly
CenterReportDrawerField
[]
=
[
...
@@ -35,18 +35,19 @@ export const invoiceProvClassifyData: CenterReportPageData & {
...
@@ -35,18 +35,19 @@ export const invoiceProvClassifyData: CenterReportPageData & {
}
=
{
}
=
{
reportPath
:
'
/spd/form/settleInvoice/report/settleInvoice/provInvoice
'
,
reportPath
:
'
/spd/form/settleInvoice/report/settleInvoice/provInvoice
'
,
iframeSrc
:
'
settleInvoice/provInvoice
'
,
iframeSrc
:
'
settleInvoice/provInvoice
'
,
listRequiresExplicitSearch
:
true
,
productNameSelector
:
'
#form_item_provId
'
,
productNameSelector
:
'
#form_item_provId
'
,
columns
:
invoiceProvClassifyColumns
,
columns
:
invoiceProvClassifyColumns
,
coreTableHeaders
:
[
'
进院供应商
名称
'
,
'
归档日期
'
,
'
分类方式
'
,
'
耗材类型
'
],
coreTableHeaders
:
[
'
销售商(自定义)
名称
'
,
'
归档日期
'
,
'
分类方式
'
,
'
耗材类型
'
],
columnAliases
:
{
columnAliases
:
{
supplierName
:
[
'
进院供应商
'
],
supplierName
:
[
'
销售商(自定义)
'
],
},
},
horizontalScrollAnchorColumn
:
'
归档日期
'
,
horizontalScrollAnchorColumn
:
'
归档日期
'
,
horizontalScrollTargetColumn
:
'
耗材类型
'
,
horizontalScrollTargetColumn
:
'
耗材类型
'
,
horizontalScrollDragDelta
:
320
,
horizontalScrollDragDelta
:
320
,
mockNotExistProduct
:
'
__NOT_EXIST_SUPPLIER__99999
'
,
mockNotExistProduct
:
'
__NOT_EXIST_SUPPLIER__99999
'
,
mockFieldLabel
:
'
进院供应商
名称
'
,
mockFieldLabel
:
'
销售商(自定义)
名称
'
,
drawerResetFieldLabel
:
'
耗材类型
'
,
drawerResetFieldLabel
:
'
耗材类型
'
,
drawerResetFieldKey
:
'
consumableType
'
,
drawerResetFieldKey
:
'
consumableType
'
,
...
...
data/invoice-settle.data.ts
View file @
6c31a476
...
@@ -5,10 +5,10 @@ import type { DeptQuickFieldDef } from './dept-report-field-defs';
...
@@ -5,10 +5,10 @@ import type { DeptQuickFieldDef } from './dept-report-field-defs';
export
const
invoiceSettleColumns
=
{
export
const
invoiceSettleColumns
=
{
campus
:
'
院区名称
'
,
campus
:
'
院区名称
'
,
field
:
'
结算月份
'
,
field
:
'
结算月份
'
,
supplierName
:
'
进院供应商
名称
'
,
supplierName
:
'
销售商(自定义)
名称
'
,
isVolume
:
'
是否带量
'
,
isVolume
:
'
是否带量
'
,
field2
:
'
线上线下
'
,
field2
:
'
线上线下
'
,
supplierName2
:
'
进院供应商
'
,
supplierName2
:
'
销售商(自定义)
'
,
hrp
:
'
HRP供应商编码
'
,
hrp
:
'
HRP供应商编码
'
,
field3
:
'
入账金额
'
,
field3
:
'
入账金额
'
,
field4
:
'
结算金额
'
,
field4
:
'
结算金额
'
,
...
@@ -20,7 +20,7 @@ export const invoiceSettleColumns = {
...
@@ -20,7 +20,7 @@ export const invoiceSettleColumns = {
export
const
invoiceSettleComboQuickFields
:
readonly
DeptQuickFieldDef
[]
=
[
export
const
invoiceSettleComboQuickFields
:
readonly
DeptQuickFieldDef
[]
=
[
{
key
:
'
field
'
,
label
:
'
结算月份
'
,
type
:
'
date
'
},
{
key
:
'
field
'
,
label
:
'
结算月份
'
,
type
:
'
date
'
},
{
key
:
'
supplierName
'
,
label
:
'
进院供应商
名称
'
,
type
:
'
select
'
},
{
key
:
'
supplierName
'
,
label
:
'
销售商(自定义)
名称
'
,
type
:
'
select
'
},
{
key
:
'
campus
'
,
label
:
'
院区名称
'
,
type
:
'
select
'
},
{
key
:
'
campus
'
,
label
:
'
院区名称
'
,
type
:
'
select
'
},
];
];
...
@@ -33,7 +33,7 @@ export const invoiceSettleComboAssertKeys = ['supplierName', 'field4'] as const;
...
@@ -33,7 +33,7 @@ export const invoiceSettleComboAssertKeys = ['supplierName', 'field4'] as const;
export
const
invoiceSettleDomainQuickFields
:
readonly
DeptQuickFieldDef
[]
=
[
export
const
invoiceSettleDomainQuickFields
:
readonly
DeptQuickFieldDef
[]
=
[
{
key
:
'
field
'
,
label
:
'
结算月份
'
,
type
:
'
date
'
},
{
key
:
'
field
'
,
label
:
'
结算月份
'
,
type
:
'
date
'
},
{
key
:
'
supplierName
'
,
label
:
'
进院供应商
'
,
type
:
'
select
'
},
{
key
:
'
supplierName
'
,
label
:
'
销售商(自定义)
'
,
type
:
'
select
'
},
];
];
export
const
invoiceSettleDomainAssertKeys
=
[
'
supplierName
'
,
'
field4
'
]
as
const
;
export
const
invoiceSettleDomainAssertKeys
=
[
'
supplierName
'
,
'
field4
'
]
as
const
;
...
@@ -47,12 +47,12 @@ export const invoiceSettleData: CenterReportPageData & {
...
@@ -47,12 +47,12 @@ export const invoiceSettleData: CenterReportPageData & {
iframeSrc
:
'
settleInvoice/invoice
'
,
iframeSrc
:
'
settleInvoice/invoice
'
,
productNameSelector
:
'
#form_item_provId
'
,
productNameSelector
:
'
#form_item_provId
'
,
columns
:
invoiceSettleColumns
,
columns
:
invoiceSettleColumns
,
coreTableHeaders
:
[
'
结算月份
'
,
'
进院供应商
'
,
'
HRP供应商编码
'
,
'
入账金额
'
,
'
结算金额
'
,
'
已归档金额
'
,
'
当期归档金额
'
,
'
挂账金额
'
],
coreTableHeaders
:
[
'
结算月份
'
,
'
销售商(自定义)
'
,
'
HRP供应商编码
'
,
'
入账金额
'
,
'
结算金额
'
,
'
已归档金额
'
,
'
当期归档金额
'
,
'
挂账金额
'
],
columnAliases
:
{
columnAliases
:
{
supplierName
:
[
'
进院供应商
'
],
supplierName
:
[
'
销售商(自定义)
'
],
field5
:
[
'
采购计划号
'
],
field5
:
[
'
采购计划号
'
],
},
},
sortColumns
:
[
'
结算月份
'
,
'
进院供应商
'
,
'
HRP供应商编码
'
,
'
入账金额
'
,
'
结算金额
'
,
'
已归档金额
'
,
'
当期归档金额
'
,
'
挂账金额
'
,
'
未归档金额
'
],
sortColumns
:
[
'
结算月份
'
,
'
销售商(自定义)
'
,
'
HRP供应商编码
'
,
'
入账金额
'
,
'
结算金额
'
,
'
已归档金额
'
,
'
当期归档金额
'
,
'
挂账金额
'
,
'
未归档金额
'
],
sortCasePrefix
:
'
STAT-ISV
'
,
sortCasePrefix
:
'
STAT-ISV
'
,
sortCaseStartIndex
:
20
,
sortCaseStartIndex
:
20
,
...
@@ -84,12 +84,12 @@ export const invoiceSettleData: CenterReportPageData & {
...
@@ -84,12 +84,12 @@ export const invoiceSettleData: CenterReportPageData & {
exportQueryFromSample
:
true
,
exportQueryFromSample
:
true
,
columnSettingsToggleCandidates
:
[
'
线上线下
'
],
columnSettingsToggleCandidates
:
[
'
线上线下
'
],
comboSampleScrollColumns
:
[
'
结算月份
'
,
'
进院供应商
'
,
'
院区名称
'
],
comboSampleScrollColumns
:
[
'
结算月份
'
,
'
销售商(自定义)
'
,
'
院区名称
'
],
comboSamplePickKeys
:
[
'
field
'
,
'
supplierName
'
,
'
field4
'
,
'
isVolume
'
,
'
field2
'
],
comboSamplePickKeys
:
[
'
field
'
,
'
supplierName
'
,
'
field4
'
,
'
isVolume
'
,
'
field2
'
],
drawerFields
:
invoiceSettleComboDrawerFields
,
drawerFields
:
invoiceSettleComboDrawerFields
,
};
};
export
const
invoiceSettleSortColumns
=
[
'
结算月份
'
,
'
进院供应商
'
,
'
HRP供应商编码
'
,
'
入账金额
'
,
'
结算金额
'
,
'
已归档金额
'
,
'
当期归档金额
'
,
'
挂账金额
'
,
'
未归档金额
'
]
as
const
;
export
const
invoiceSettleSortColumns
=
[
'
结算月份
'
,
'
销售商(自定义)
'
,
'
HRP供应商编码
'
,
'
入账金额
'
,
'
结算金额
'
,
'
已归档金额
'
,
'
当期归档金额
'
,
'
挂账金额
'
,
'
未归档金额
'
]
as
const
;
export
const
invoiceSettleSortCases
=
buildSortColumnCases
(
export
const
invoiceSettleSortCases
=
buildSortColumnCases
(
'
STAT-ISV
'
,
'
STAT-ISV
'
,
...
...
data/pol-consumer.data.ts
View file @
6c31a476
...
@@ -32,7 +32,7 @@ export const polConsumerColumns = {
...
@@ -32,7 +32,7 @@ export const polConsumerColumns = {
}
as
const
;
}
as
const
;
/** 扫描快捷区全量(含展开后):带量项目/任务名称/消耗日期/带量类别/项目状态/
产品
名称。
/** 扫描快捷区全量(含展开后):带量项目/任务名称/消耗日期/带量类别/项目状态/
物料
名称。
* 「带量项目」输入框占位为合同号/名称,样本取自列「带量项目合同号」。
* 「带量项目」输入框占位为合同号/名称,样本取自列「带量项目合同号」。
* 「项目状态」对应列表列「状态」。 */
* 「项目状态」对应列表列「状态」。 */
export
const
polConsumerComboFullQuickFields
:
readonly
DeptQuickFieldDef
[]
=
[
export
const
polConsumerComboFullQuickFields
:
readonly
DeptQuickFieldDef
[]
=
[
...
...
data/pol-key.data.ts
View file @
6c31a476
...
@@ -6,7 +6,7 @@ export const polKeyColumns = {
...
@@ -6,7 +6,7 @@ export const polKeyColumns = {
field
:
'
报告期月份
'
,
field
:
'
报告期月份
'
,
field2
:
'
基期月份
'
,
field2
:
'
基期月份
'
,
campus
:
'
院区名称
'
,
campus
:
'
院区名称
'
,
productName
:
'
产品
名称
'
,
productName
:
'
物料
名称
'
,
202609202609
:
'
基期2026-09至2026-09
'
,
202609202609
:
'
基期2026-09至2026-09
'
,
field3
:
'
结算金额
'
,
field3
:
'
结算金额
'
,
field4
:
'
占比
'
,
field4
:
'
占比
'
,
...
@@ -48,8 +48,8 @@ export const polKeyData: CenterReportPageData & {
...
@@ -48,8 +48,8 @@ export const polKeyData: CenterReportPageData & {
iframeSrc
:
'
policy/keyPoint
'
,
iframeSrc
:
'
policy/keyPoint
'
,
productNameSelector
:
'
#table_search_form_goodsName
'
,
productNameSelector
:
'
#table_search_form_goodsName
'
,
columns
:
polKeyColumns
,
columns
:
polKeyColumns
,
// 双行分组表头叶列(末行);
产品
名称/产品规格为 rowspan 首行叶列
// 双行分组表头叶列(末行);
物料
名称/产品规格为 rowspan 首行叶列
coreTableHeaders
:
[
'
产品
名称
'
,
'
产品规格
'
,
'
结算金额
'
,
'
占比
'
,
'
增长金额
'
,
'
金额增长
'
,
'
占比增长
'
],
coreTableHeaders
:
[
'
物料
名称
'
,
'
产品规格
'
,
'
结算金额
'
,
'
占比
'
,
'
增长金额
'
,
'
金额增长
'
,
'
占比增长
'
],
columnAliases
:
{
columnAliases
:
{
field5
:
[
'
采购计划号
'
],
field5
:
[
'
采购计划号
'
],
},
},
...
@@ -59,7 +59,7 @@ export const polKeyData: CenterReportPageData & {
...
@@ -59,7 +59,7 @@ export const polKeyData: CenterReportPageData & {
horizontalScrollTargetColumn
:
'
占比增长
'
,
horizontalScrollTargetColumn
:
'
占比增长
'
,
horizontalScrollDragDelta
:
320
,
horizontalScrollDragDelta
:
320
,
mockNotExistProduct
:
'
__NOT_EXIST_PRODUCT__99999
'
,
mockNotExistProduct
:
'
__NOT_EXIST_PRODUCT__99999
'
,
mockFieldLabel
:
'
产品
名称
'
,
mockFieldLabel
:
'
物料
名称
'
,
drawerResetFieldLabel
:
'
院区名称
'
,
drawerResetFieldLabel
:
'
院区名称
'
,
drawerResetFieldKey
:
'
campus
'
,
drawerResetFieldKey
:
'
campus
'
,
...
...
Prev
1
2
3
4
5
6
…
18
Next
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment