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
Expand all
Hide whitespace changes
Inline
Side-by-side
data/pol-rate.data.ts
View file @
6c31a476
...
...
@@ -30,7 +30,7 @@ export const polRateColumns = {
insuranceCode
:
'
医保编码
'
,
field21
:
'
进院日期
'
,
field22
:
'
注册证号
'
,
field23
:
'
默认
进院供应
商
'
,
field23
:
'
默认
销售
商
'
,
field24
:
'
招标文号
'
,
id
:
'
阳采ID
'
,
field25
:
'
初始完成量
'
,
...
...
data/reag-entry.data.ts
View file @
6c31a476
...
...
@@ -4,7 +4,7 @@ import type { DeptQuickFieldDef } from './dept-report-field-defs';
export
const
reagEntryColumns
=
{
statDate
:
'
统计日期
'
,
supplierName
:
'
进院供应商
'
,
supplierName
:
'
销售商(自定义)
'
,
productName
:
'
物料名称
'
,
productCode
:
'
物料编号
'
,
spec
:
'
规格型号
'
,
...
...
@@ -33,7 +33,7 @@ export const reagEntryFixedCampusScope = {
/** 全量快捷区字段(展开筛选区,非高级筛选抽屉)。 */
export
const
reagEntryComboFullQuickFields
:
readonly
DeptQuickFieldDef
[]
=
[
{
key
:
'
statDate
'
,
label
:
'
统计日期
'
,
type
:
'
date
'
},
{
key
:
'
supplierName
'
,
label
:
'
进院供应商
'
,
type
:
'
text
'
},
{
key
:
'
supplierName
'
,
label
:
'
销售商(自定义)
'
,
type
:
'
text
'
},
{
key
:
'
productName
'
,
label
:
'
物料名称
'
,
type
:
'
text
'
},
{
key
:
'
spec
'
,
label
:
'
规格型号
'
,
type
:
'
text
'
},
{
key
:
'
registrant
'
,
label
:
'
器械注册人-术语配置
'
,
type
:
'
text
'
},
...
...
@@ -43,7 +43,7 @@ export const reagEntryComboFullQuickFields: readonly DeptQuickFieldDef[] = [
export
const
reagEntryComboQuickFields
:
readonly
DeptQuickFieldDef
[]
=
[
{
key
:
'
statDate
'
,
label
:
'
统计日期
'
,
type
:
'
date
'
},
{
key
:
'
supplierName
'
,
label
:
'
进院供应商
'
,
type
:
'
text
'
},
{
key
:
'
supplierName
'
,
label
:
'
销售商(自定义)
'
,
type
:
'
text
'
},
{
key
:
'
productName
'
,
label
:
'
物料名称
'
,
type
:
'
text
'
},
];
...
...
@@ -51,7 +51,7 @@ export const reagEntryComboQuickFields: readonly DeptQuickFieldDef[] = [
export
const
reagEntryExportSampleFields
:
readonly
DeptQuickFieldDef
[]
=
[
{
key
:
'
statDate
'
,
label
:
'
统计日期
'
,
type
:
'
date
'
},
{
key
:
'
campusScope
'
,
label
:
'
院区范围
'
,
type
:
'
select
'
},
{
key
:
'
supplierName
'
,
label
:
'
进院供应商
'
,
type
:
'
text
'
},
{
key
:
'
supplierName
'
,
label
:
'
销售商(自定义)
'
,
type
:
'
text
'
},
{
key
:
'
productName
'
,
label
:
'
物料名称
'
,
type
:
'
text
'
},
];
...
...
@@ -88,12 +88,12 @@ export const reagEntryData: CenterReportPageData & {
'
规格型号
'
,
'
器械注册人-术语配置
'
,
'
单位
'
,
'
进院供应商
'
,
'
销售商(自定义)
'
,
'
配送数量
'
,
'
批号数量
'
,
],
columnAliases
:
{
supplierName
:
[
'
进院供应商
名称
'
],
supplierName
:
[
'
默认销售商
'
,
'
销售商(自定义)
'
,
'
销售商(自定义)
名称
'
],
field
:
[
'
器械注册人-术语配置
'
],
field5
:
[
'
采购计划号
'
],
},
...
...
@@ -104,7 +104,7 @@ export const reagEntryData: CenterReportPageData & {
mockNotExistProduct
:
'
__NOT_EXIST_PRODUCT__99999
'
,
mockFieldLabel
:
'
物料名称
'
,
drawerResetFieldLabel
:
'
进院供应商
'
,
drawerResetFieldLabel
:
'
销售商(自定义)
'
,
drawerResetFieldKey
:
'
supplierName
'
,
paginationPageSizeFrom
:
'
50 条/页
'
,
paginationPageSizeTo
:
'
100 条/页
'
,
...
...
@@ -123,7 +123,7 @@ export const reagEntryData: CenterReportPageData & {
exportQueryFromSample
:
true
,
columnSettingsToggleCandidates
:
[
'
备注
'
],
comboSampleScrollColumns
:
[
'
规格型号
'
,
'
器械注册人-术语配置
'
,
'
进院供应商
'
,
'
批号数量
'
],
comboSampleScrollColumns
:
[
'
规格型号
'
,
'
器械注册人-术语配置
'
,
'
销售商(自定义)
'
,
'
批号数量
'
],
comboSamplePickKeys
:
[
'
supplierName
'
,
'
productName
'
,
'
spec
'
,
'
registrant
'
],
comboSampleMaxRowScan
:
5
,
quickFieldInputIds
:
{
...
...
data/recon-dept-net-out.data.ts
View file @
6c31a476
import
type
{
CenterReportPageData
}
from
'
./center-report-shared.types
'
;
import
{
reportAccountDateQuickRange
}
from
'
./report-default-date-range
'
;
import
type
{
CenterReportDrawerField
}
from
'
./center-report-shared.types
'
;
import
type
{
DeptQuickFieldDef
}
from
'
./dept-report-field-defs
'
;
...
...
@@ -38,6 +39,7 @@ export const reconDeptNetOutComboAssertKeys = ['productName', 'accountDate', 'ca
export
const
reconDeptNetOutData
:
CenterReportPageData
=
{
reportPath
:
'
/spd/form/checkAccount/report/checkAccount/deptOut
'
,
iframeSrc
:
'
checkAccount/deptOut
'
,
defaultQuickDateRange
:
reportAccountDateQuickRange
,
productNameSelector
:
'
#form_item_goodsName
'
,
columns
:
reconDeptNetOutColumns
,
coreTableHeaders
:
[
'
物料名称
'
,
'
科室
'
,
'
院区名称
'
,
'
记账日期
'
,
'
单据形态
'
,
'
批号
'
,
'
净出数量
'
,
'
净出金额
'
],
...
...
data/recon-purchase-classify.data.ts
View file @
6c31a476
...
...
@@ -5,9 +5,9 @@ import type { DeptQuickFieldDef } from './dept-report-field-defs';
export
const
reconPurchaseClassifyColumns
=
{
statDate
:
'
统计日期
'
,
consumableType
:
'
耗材类型
'
,
supplierName
:
'
进院供应商
名称
'
,
supplierName
:
'
销售商(自定义)
名称
'
,
entryDate
:
'
入账日期
'
,
subSupplierName
:
'
二级
供应商名称
'
,
subSupplierName
:
'
供应商名称
'
,
classifyMode
:
'
分类方式
'
,
campus
:
'
院区名称
'
,
}
as
const
;
...
...
@@ -15,7 +15,7 @@ export const reconPurchaseClassifyColumns = {
export
const
reconPurchaseClassifyComboQuickFields
:
readonly
DeptQuickFieldDef
[]
=
[
{
key
:
'
statDate
'
,
label
:
'
统计日期
'
,
type
:
'
date
'
},
{
key
:
'
consumableType
'
,
label
:
'
耗材类型
'
,
type
:
'
select
'
},
{
key
:
'
supplierName
'
,
label
:
'
进院供应商
名称
'
,
type
:
'
text
'
},
{
key
:
'
supplierName
'
,
label
:
'
销售商(自定义)
名称
'
,
type
:
'
text
'
},
{
key
:
'
entryDate
'
,
label
:
'
入账日期
'
,
type
:
'
date
'
},
];
...
...
@@ -31,10 +31,10 @@ export const reconPurchaseClassifyData: CenterReportPageData = {
iframeSrc
:
'
checkAccount/purchaseClassify
'
,
productNameSelector
:
'
#form_item_goodsName
'
,
columns
:
reconPurchaseClassifyColumns
,
coreTableHeaders
:
[
'
院区名称
'
,
'
进院供应商
名称
'
,
'
统计日期
'
,
'
入账日期
'
,
'
耗材类型
'
,
'
二级
供应商名称
'
],
coreTableHeaders
:
[
'
院区名称
'
,
'
销售商(自定义)
名称
'
,
'
统计日期
'
,
'
入账日期
'
,
'
耗材类型
'
,
'
供应商名称
'
],
dimensions
:
[
'
区分二级商
'
],
mockNotExistProduct
:
'
__NOT_EXIST_SUPPLIER__99999
'
,
mockFieldLabel
:
'
进院供应商
名称
'
,
mockFieldLabel
:
'
销售商(自定义)
名称
'
,
mockNotExistSupplier
:
'
__NOT_EXIST_SUPPLIER__99999
'
,
paginationPageSizeFrom
:
'
50 条/页
'
,
paginationPageSizeTo
:
'
100 条/页
'
,
...
...
@@ -51,7 +51,7 @@ export const reconPurchaseClassifyData: CenterReportPageData = {
exportQueryFromSample
:
true
,
horizontalScrollAnchorColumn
:
'
院区名称
'
,
horizontalScrollTargetColumn
:
'
二级
供应商名称
'
,
horizontalScrollTargetColumn
:
'
供应商名称
'
,
horizontalScrollDragDelta
:
320
,
comboSamplePickKeys
:
[
'
statDate
'
,
'
consumableType
'
,
'
supplierName
'
,
'
entryDate
'
],
drawerFields
:
reconPurchaseClassifyComboDrawerFields
,
...
...
data/recon-purchase-entry.data.ts
View file @
6c31a476
...
...
@@ -5,8 +5,8 @@ import type { DeptQuickFieldDef } from './dept-report-field-defs';
export
const
reconPurchaseEntryColumns
=
{
productName
:
'
物料名称
'
,
statDate
:
'
统计日期
'
,
supplierName
:
'
进院供应商
名称
'
,
subSupplierName
:
'
二级
供应商名称
'
,
supplierName
:
'
销售商(自定义)
名称
'
,
subSupplierName
:
'
供应商名称
'
,
productType
:
'
产品类型
'
,
campus
:
'
院区名称
'
,
consumableCategory
:
'
耗材分类
'
,
...
...
@@ -16,8 +16,8 @@ export const reconPurchaseEntryColumns = {
export
const
reconPurchaseEntryComboQuickFields
:
readonly
DeptQuickFieldDef
[]
=
[
{
key
:
'
productName
'
,
label
:
'
物料名称
'
,
type
:
'
text
'
},
{
key
:
'
statDate
'
,
label
:
'
统计日期
'
,
type
:
'
date
'
},
{
key
:
'
supplierName
'
,
label
:
'
进院供应商
名称
'
,
type
:
'
text
'
},
{
key
:
'
subSupplierName
'
,
label
:
'
二级
供应商名称
'
,
type
:
'
text
'
},
{
key
:
'
supplierName
'
,
label
:
'
销售商(自定义)
名称
'
,
type
:
'
text
'
},
{
key
:
'
subSupplierName
'
,
label
:
'
供应商名称
'
,
type
:
'
text
'
},
];
export
const
reconPurchaseEntryComboDrawerFields
:
readonly
CenterReportDrawerField
[]
=
[
...
...
@@ -46,7 +46,7 @@ export const reconPurchaseEntryData: CenterReportPageData = {
columnAliases
:
{
productType
:
[
'
物料类型
'
,
'
产品类型
'
],
},
coreTableHeaders
:
[
'
物料名称
'
,
'
院区名称
'
,
'
进院供应商
名称
'
,
'
统计日期
'
,
'
二级
供应商名称
'
,
'
产品类型
'
],
coreTableHeaders
:
[
'
物料名称
'
,
'
院区名称
'
,
'
销售商(自定义)
名称
'
,
'
统计日期
'
,
'
供应商名称
'
,
'
产品类型
'
],
dimensions
:
[
'
区分批号
'
,
'
区分供应商
'
,
'
区分单价
'
],
mockNotExistProduct
:
'
__NOT_EXIST_PRODUCT__99999
'
,
mockFieldLabel
:
'
物料名称
'
,
...
...
@@ -55,7 +55,7 @@ export const reconPurchaseEntryData: CenterReportPageData = {
sampleRowIndex
:
0
,
sortColumns
:
reconPurchaseEntrySortColumns
,
sortCasePrefix
:
'
STAT-RPE
'
,
sortCaseStartIndex
:
1
6
,
sortCaseStartIndex
:
1
5
,
sortColumnPrerequisites
:
{
产品批号
:
[
'
区分批号
'
],
},
...
...
@@ -76,19 +76,10 @@ export const reconPurchaseEntryData: CenterReportPageData = {
comboSamplePickKeys
:
[
'
productName
'
,
'
statDate
'
,
'
supplierName
'
,
'
subSupplierName
'
,
'
inboundQty
'
],
comboSampleScrollColumns
:
[
'
采购入库数量
'
,
'
产品类型
'
],
drawerFields
:
reconPurchaseEntryComboDrawerFields
,
firstRowSummaryMatch
:
{
metrics
:
[
{
key
:
'
inboundQty
'
,
label
:
'
采购入库数量
'
,
summaryLabels
:
[
'
入库数量
'
,
'
采购入库数量
'
]
},
],
requiredKey
:
'
productName
'
,
fields
:
reconPurchaseEntryComboQuickFields
,
narrowKeys
:
[
'
productName
'
],
footerKeywords
:
[
'
入库数量
'
,
'
采购入库数量
'
,
'
合计
'
],
},
};
export
const
reconPurchaseEntrySortCases
=
buildSortColumnCases
(
'
STAT-RPE
'
,
reconPurchaseEntrySortColumns
,
1
6
,
1
5
,
);
data/recon-supply.data.ts
View file @
6c31a476
...
...
@@ -4,7 +4,7 @@ import type { DeptQuickFieldDef } from './dept-report-field-defs';
export
const
reconSupplyColumns
=
{
campus
:
'
院区名称
'
,
supplierName
:
'
进院供应商
名称
'
,
supplierName
:
'
销售商(自定义)
名称
'
,
statDate
:
'
统计日期
'
,
billCount
:
'
单据数量
'
,
inboundQty
:
'
入库数量
'
,
...
...
@@ -28,7 +28,7 @@ export const reconSupplySummaryMetrics = [
export
const
reconSupplyComboQuickFields
:
readonly
DeptQuickFieldDef
[]
=
[
{
key
:
'
campus
'
,
label
:
'
院区名称
'
,
type
:
'
select
'
},
{
key
:
'
supplierName
'
,
label
:
'
进院供应商
名称
'
,
type
:
'
text
'
},
{
key
:
'
supplierName
'
,
label
:
'
销售商(自定义)
名称
'
,
type
:
'
text
'
},
];
export
const
reconSupplyComboDrawerFields
:
readonly
CenterReportDrawerField
[]
=
[
...
...
@@ -43,10 +43,10 @@ export const reconSupplyData: CenterReportPageData = {
iframeSrc
:
'
checkAccount/supply
'
,
productNameSelector
:
'
#form_item_goodsName
'
,
columns
:
reconSupplyColumns
,
coreTableHeaders
:
[
'
院区名称
'
,
'
进院供应商
名称
'
,
'
统计日期
'
,
'
单据数量
'
,
'
入库数量
'
,
'
入库金额
'
],
coreTableHeaders
:
[
'
院区名称
'
,
'
销售商(自定义)
名称
'
,
'
统计日期
'
,
'
单据数量
'
,
'
入库数量
'
,
'
入库金额
'
],
summaryKeywords
:
[
'
单据数
'
,
'
入库数量
'
,
'
入库金额
'
,
'
退货数量
'
,
'
退货金额
'
,
'
净入数量
'
,
'
净入金额
'
],
mockNotExistProduct
:
'
__NOT_EXIST_SUPPLIER__99999
'
,
mockFieldLabel
:
'
进院供应商
名称
'
,
mockFieldLabel
:
'
销售商(自定义)
名称
'
,
mockNotExistSupplier
:
'
__NOT_EXIST_SUPPLIER__99999
'
,
paginationPageSizeFrom
:
'
50 条/页
'
,
paginationPageSizeTo
:
'
100 条/页
'
,
...
...
@@ -62,6 +62,9 @@ export const reconSupplyData: CenterReportPageData = {
exportSelectFirstRow
:
false
,
exportQueryFromSample
:
true
,
columnAliases
:
{
supplierName
:
[
'
销售商(自定义)名称
'
,
'
销售商(自定义)
'
,
'
进院供应商名称
'
,
'
进院供应商
'
],
},
horizontalScrollAnchorColumn
:
'
院区名称
'
,
horizontalScrollTargetColumn
:
'
统计日期
'
,
horizontalScrollDragDelta
:
320
,
...
...
data/report-default-date-range.ts
0 → 100644
View file @
6c31a476
/** 与 test 环境常用有数据区间(对齐 CSV 前置 / Jenkins SPD full)。 */
export
const
reportAccountDateQuickRange
=
{
label
:
'
记账日期
'
,
start
:
'
2026-01-01
'
,
end
:
'
2026-08-31
'
,
}
as
const
;
export
const
reportEntryDateQuickRange
=
{
label
:
'
入账日期
'
,
start
:
'
2026-01-01
'
,
end
:
'
2026-08-31
'
,
}
as
const
;
export
const
reportStatPeriodQuickRange
=
{
label
:
'
统计周期
'
,
start
:
'
2026-01-01
'
,
end
:
'
2026-08-31
'
,
}
as
const
;
data/scan/center-report-sheet-elements.json
View file @
6c31a476
This diff is collapsed.
Click to expand it.
data/scan/pol-consumer-sort-columns.json
View file @
6c31a476
...
...
@@ -11,8 +11,8 @@
"任务名称"
,
"任务数量"
,
"初始完成量"
,
"
产品
编码"
,
"
产品
名称"
,
"
物料
编码"
,
"
物料
名称"
,
"规格型号"
,
"器械注册人-术语配置"
,
"耗材类型"
,
...
...
@@ -35,8 +35,8 @@
"任务名称"
,
"任务数量"
,
"初始完成量"
,
"
产品
编码"
,
"
产品
名称"
,
"
物料
编码"
,
"
物料
名称"
,
"规格型号"
,
"器械注册人-术语配置"
,
"耗材类型"
,
...
...
@@ -53,8 +53,8 @@
"任务名称"
,
"任务数量"
,
"初始完成量"
,
"
产品
编码"
,
"
产品
名称"
,
"
物料
编码"
,
"
物料
名称"
,
"规格型号"
,
"器械注册人-术语配置"
,
"耗材类型"
,
...
...
@@ -85,7 +85,7 @@
"type"
:
"select"
},
{
"label"
:
"
产品
名称"
,
"label"
:
"
物料
名称"
,
"type"
:
"text"
}
],
...
...
@@ -111,7 +111,7 @@
"type"
:
"select"
},
{
"label"
:
"
产品
名称"
,
"label"
:
"
物料
名称"
,
"type"
:
"text"
}
],
...
...
data/scan/recon-purchase-entry-elements.json
View file @
6c31a476
This diff is collapsed.
Click to expand it.
data/trace-direct-buy.data.ts
View file @
6c31a476
...
...
@@ -12,7 +12,7 @@ export const traceDirectBuyColumns = {
field4
:
'
配送单号
'
,
field5
:
'
验收单号
'
,
field6
:
'
请领单状态
'
,
supplierName
:
'
进院供应商
'
,
supplierName
:
'
销售商(自定义)
'
,
field7
:
'
请领科室
'
,
field8
:
'
请领审核时间
'
,
field9
:
'
采购审核时间
'
,
...
...
@@ -52,9 +52,9 @@ export const traceDirectBuyData: CenterReportPageData & {
iframeSrc
:
'
trace/buy
'
,
productNameSelector
:
'
#form_item_field2
'
,
columns
:
traceDirectBuyColumns
,
coreTableHeaders
:
[
'
请领科室
'
,
'
请领单号
'
,
'
请领单状态
'
,
'
耗材类型
'
,
'
请领审核时间
'
,
'
采购单号
'
,
'
采购审核时间
'
,
'
进院供应商
'
],
coreTableHeaders
:
[
'
请领科室
'
,
'
请领单号
'
,
'
请领单状态
'
,
'
耗材类型
'
,
'
请领审核时间
'
,
'
采购单号
'
,
'
采购审核时间
'
,
'
销售商(自定义)
'
],
columnAliases
:
{
supplierName
:
[
'
进院供应商
名称
'
],
supplierName
:
[
'
销售商(自定义)
名称
'
],
field5
:
[
'
采购计划号
'
],
deptName
:
[
'
请领科室
'
],
},
...
...
@@ -80,9 +80,9 @@ export const traceDirectBuyData: CenterReportPageData & {
exportDirectDownload
:
true
,
exportSelectFirstRow
:
false
,
exportQueryFromSample
:
true
,
columnSettingsToggleCandidates
:
[
'
进院供应商
'
],
columnSettingsToggleCandidates
:
[
'
销售商(自定义)
'
],
comboSampleScrollColumns
:
[
'
采购单号
'
,
'
配送单号
'
,
'
验收单号
'
,
'
进院供应商
'
],
comboSampleScrollColumns
:
[
'
采购单号
'
,
'
配送单号
'
,
'
验收单号
'
,
'
销售商(自定义)
'
],
comboSamplePickKeys
:
[
'
field2
'
,
'
campus
'
,
'
deptName
'
],
comboSampleDateFromKey
:
{
targetKey
:
'
field
'
,
sourceKey
:
'
field8
'
},
comboSampleMaxRowScan
:
2
,
...
...
data/trace-direct-detail.data.ts
View file @
6c31a476
...
...
@@ -4,14 +4,14 @@ import type { DeptQuickFieldDef } from './dept-report-field-defs';
export
const
traceDirectDetailColumns
=
{
field
:
'
请领日期
'
,
productName
:
'
产品
名称
'
,
productName
:
'
物料
名称
'
,
spec
:
'
规格型号
'
,
field2
:
'
请领单号
'
,
billForm
:
'
单据形态
'
,
campus
:
'
院区名称
'
,
field3
:
'
请领科室
'
,
field4
:
'
配送单号
'
,
supplierName
:
'
进院供应商
名称
'
,
supplierName
:
'
销售商(自定义)
名称
'
,
field5
:
'
采购计划单号
'
,
field6
:
'
采购单号
'
,
field7
:
'
请领人
'
,
...
...
@@ -26,7 +26,7 @@ export const traceDirectDetailColumns = {
field13
:
'
单元含量
'
,
field14
:
'
请领单元数
'
,
field15
:
'
已入库单元数
'
,
supplierName2
:
'
进院供应商
'
,
supplierName2
:
'
销售商(自定义)
'
,
field16
:
'
配送时间
'
,
field17
:
'
配送单元数
'
,
field18
:
'
验收单号
'
,
...
...
@@ -50,7 +50,7 @@ export const traceDirectDetailComboDrawerFields: readonly CenterReportDrawerFiel
{
key
:
'
campus
'
,
type
:
'
select
'
,
label
:
'
院区名称
'
},
{
key
:
'
field3
'
,
type
:
'
select
'
,
label
:
'
请领科室
'
},
{
key
:
'
field4
'
,
type
:
'
text
'
,
label
:
'
配送单号
'
},
{
key
:
'
supplierName
'
,
type
:
'
text
'
,
label
:
'
进院供应商
名称
'
},
{
key
:
'
supplierName
'
,
type
:
'
text
'
,
label
:
'
销售商(自定义)
名称
'
},
{
key
:
'
field5
'
,
type
:
'
text
'
,
label
:
'
采购计划单号
'
},
{
key
:
'
field6
'
,
type
:
'
text
'
,
label
:
'
采购单号
'
},
{
key
:
'
field7
'
,
type
:
'
select
'
,
label
:
'
请领人
'
},
...
...
@@ -75,7 +75,7 @@ export const traceDirectDetailData: CenterReportPageData & {
columns
:
traceDirectDetailColumns
,
coreTableHeaders
:
[
'
请领单号
'
,
'
院区
'
,
'
请领科室
'
,
'
要货库区
'
,
'
单据形态
'
,
'
请领人
'
,
'
制单时间
'
,
'
请领审核时间
'
],
columnAliases
:
{
supplierName
:
[
'
进院供应商
'
],
supplierName
:
[
'
销售商(自定义)
'
],
field5
:
[
'
采购计划号
'
],
},
...
...
@@ -83,7 +83,7 @@ export const traceDirectDetailData: CenterReportPageData & {
horizontalScrollTargetColumn
:
'
请领审核时间
'
,
horizontalScrollDragDelta
:
320
,
mockNotExistProduct
:
'
__NOT_EXIST_PRODUCT__99999
'
,
mockFieldLabel
:
'
产品
名称
'
,
mockFieldLabel
:
'
物料
名称
'
,
drawerResetFieldLabel
:
'
请领单号
'
,
drawerResetFieldKey
:
'
field2
'
,
...
...
@@ -102,7 +102,7 @@ export const traceDirectDetailData: CenterReportPageData & {
exportQueryFromSample
:
true
,
columnSettingsToggleCandidates
:
[
'
请领人
'
],
comboSampleScrollColumns
:
[
'
配送单号
'
,
'
进院供应商
'
,
'
采购计划号
'
,
'
采购单号
'
],
comboSampleScrollColumns
:
[
'
配送单号
'
,
'
销售商(自定义)
'
,
'
采购计划号
'
,
'
采购单号
'
],
comboSamplePickKeys
:
[
'
field2
'
,
'
productName
'
,
'
campus
'
],
comboSampleDateFromKey
:
{
targetKey
:
'
field
'
,
sourceKey
:
'
field10
'
},
comboSampleMaxRowScan
:
2
,
...
...
data/trace-purchase.data.ts
View file @
6c31a476
...
...
@@ -9,7 +9,7 @@ export const tracePurchaseColumns = {
field4
:
'
配送单号
'
,
field5
:
'
验收单号
'
,
field6
:
'
采购单状态
'
,
supplierName
:
'
进院供应商
'
,
supplierName
:
'
销售商(自定义)
'
,
field7
:
'
采购时间
'
,
field8
:
'
采购状态
'
,
field9
:
'
配送时间
'
,
...
...
@@ -28,7 +28,7 @@ export const tracePurchaseComboDrawerFields: readonly CenterReportDrawerField[]
{
key
:
'
field4
'
,
type
:
'
text
'
,
label
:
'
配送单号
'
},
{
key
:
'
field5
'
,
type
:
'
text
'
,
label
:
'
验收单号
'
},
{
key
:
'
field6
'
,
type
:
'
select
'
,
label
:
'
采购单状态
'
},
{
key
:
'
supplierName
'
,
type
:
'
text
'
,
label
:
'
进院供应商
'
},
{
key
:
'
supplierName
'
,
type
:
'
text
'
,
label
:
'
销售商(自定义)
'
},
];
export
const
tracePurchaseComboAssertKeys
=
[
'
field2
'
,
'
field4
'
,
'
field5
'
]
as
const
;
...
...
@@ -50,7 +50,7 @@ export const tracePurchaseData: CenterReportPageData & {
columns
:
tracePurchaseColumns
,
coreTableHeaders
:
[
'
采购单号
'
,
'
采购时间
'
,
'
采购状态
'
,
'
耗材属性
'
,
'
配送单号
'
,
'
配送时间
'
,
'
配送响应时间(H)
'
,
'
验收单号
'
],
columnAliases
:
{
supplierName
:
[
'
进院供应商
名称
'
],
supplierName
:
[
'
销售商(自定义)
名称
'
],
field5
:
[
'
采购计划号
'
],
},
...
...
@@ -77,7 +77,7 @@ export const tracePurchaseData: CenterReportPageData & {
exportQueryFromSample
:
true
,
columnSettingsToggleCandidates
:
[
'
耗材属性
'
],
comboSampleScrollColumns
:
[
'
采购单状态
'
,
'
配送单号
'
,
'
验收单号
'
,
'
进院供应商
'
],
comboSampleScrollColumns
:
[
'
采购单状态
'
,
'
配送单号
'
,
'
验收单号
'
,
'
销售商(自定义)
'
],
comboSamplePickKeys
:
[
'
field2
'
,
'
field4
'
,
'
field5
'
,
'
field6
'
,
'
supplierName
'
],
comboSampleDateFromKey
:
{
targetKey
:
'
field
'
,
sourceKey
:
'
field7
'
},
drawerFields
:
tracePurchaseComboDrawerFields
,
...
...
data/vendor-auth-final.data.ts
0 → 100644
View file @
6c31a476
/** 授权变更终审:展开区字段、列设置候选、销售商筛选项与列表列名。 */
export
const
vendorAuthFinalData
=
{
collapsedHiddenFilterLabels
:
[
'
预转供应商
'
,
'
原供应商
'
,
'
状态
'
,
'
变更类型
'
]
as
const
,
columnSettingsToggleCandidates
:
[
'
制单人
'
,
'
变更类型
'
,
'
原供应商
'
,
'
预转供应商
'
]
as
const
,
/** 查询条件(现网可能为「销售商」或「销售商(自定义)」) */
supplierFilterLabels
:
[
'
销售商(自定义)
'
,
'
销售商
'
]
as
const
,
supplierColumnName
:
'
销售商(自定义)名称
'
,
}
as
const
;
data/vendor-auth-first.data.ts
0 → 100644
View file @
6c31a476
/** 授权变更初审:展开区字段、列设置候选、销售商筛选项与列表列名。 */
export
const
vendorAuthFirstData
=
{
/** 收起后应不可见的筛选项(用于展开/收起用例) */
collapsedHiddenFilterLabels
:
[
'
预转供应商
'
,
'
原供应商
'
,
'
医院ID
'
,
'
医院名称
'
]
as
const
,
columnSettingsToggleCandidates
:
[
'
制单人
'
,
'
变更类型
'
,
'
原供应商
'
,
'
预转供应商
'
]
as
const
,
/** 查询条件表单项标签 */
supplierFilterLabel
:
'
销售商(自定义)
'
,
/** 列表表头列名(组合查询从首行取值) */
supplierColumnName
:
'
销售商(自定义)名称
'
,
}
as
const
;
data/vendor-cert-diff.data.ts
0 → 100644
View file @
6c31a476
/** 注册证差异对比:展开区字段、列设置候选、组合查询列名备选。 */
export
const
vendorCertDiffData
=
{
collapsedHiddenFilterLabels
:
[
'
望海注册证号
'
,
'
FLI+注册证号
'
,
'
27位医保编码
'
,
'
生产厂家
'
]
as
const
,
columnSettingsToggleCandidates
:
[
'
规格型号
'
,
'
生产厂家
'
,
'
27位医保编码
'
,
'
望海注册证号
'
,
'
FLI+注册证号
'
]
as
const
,
whCertColumns
:
[
'
望海注册证号
'
,
'
望海-注册证号
'
]
as
const
,
fliCertColumns
:
[
'
FLI+注册证号
'
,
'
FLI+ 注册证号
'
]
as
const
,
medicalDeviceColumns
:
[
'
是否医疗器械
'
,
'
医疗器械
'
]
as
const
,
}
as
const
;
data/vendor-cert-final.data.ts
0 → 100644
View file @
6c31a476
/** 注册证变更终审:展开区字段、列设置候选(与初审页结构一致)。 */
export
const
vendorCertFinalData
=
{
collapsedHiddenFilterLabels
:
[
'
预转供应商
'
,
'
原供应商
'
,
'
医院ID
'
,
'
医院名称
'
]
as
const
,
columnSettingsToggleCandidates
:
[
'
制单人
'
,
'
变更类型
'
,
'
注册证号(新)
'
,
'
进院供应商名称
'
]
as
const
,
}
as
const
;
data/vendor-cert-first.data.ts
0 → 100644
View file @
6c31a476
/** 注册证变更初审:展开区字段、列设置候选、销售商筛选项与列表列名。 */
export
const
vendorCertFirstData
=
{
collapsedHiddenFilterLabels
:
[
'
预转供应商
'
,
'
原供应商
'
,
'
医院ID
'
,
'
医院名称
'
]
as
const
,
columnSettingsToggleCandidates
:
[
'
制单人
'
,
'
变更类型
'
,
'
注册证号(新)
'
,
'
进院供应商名称
'
]
as
const
,
/** 查询条件(现网可能为「销售商(自定义)」「销售商」或「进院供应商」) */
supplierFilterLabels
:
[
'
销售商(自定义)
'
,
'
销售商
'
,
'
进院供应商
'
]
as
const
,
supplierFilterLabel
:
'
销售商(自定义)
'
,
supplierColumnName
:
'
销售商(自定义)名称
'
,
/** 组合查询从首行取销售商时的备选列表列 */
supplierColumnFallbacks
:
[
'
销售商(自定义)名称
'
,
'
进院供应商名称
'
]
as
const
,
}
as
const
;
data/vendor-eval-indicator.data.ts
0 → 100644
View file @
6c31a476
/** 评价指标维护:分类名、排序列、列设置候选(与现网表头/面板一致)。 */
export
const
vendorEvalIndicatorData
=
{
level1CategoryName
:
'
指标一级分类
'
,
sortColumns
:
[
'
指标编号
'
,
'
指标名称
'
,
'
状态
'
]
as
const
,
columnSettingsToggleCandidates
:
[
'
评价类型
'
,
'
创建人
'
,
'
创建时间
'
,
'
备注
'
,
'
启用人
'
]
as
const
,
}
as
const
;
data/vendor-eval-scheme.data.ts
0 → 100644
View file @
6c31a476
/** 评价方案维护:与 CSV / spec 对齐(001 组合、014 展开收起、002/003 列设置、004~013 排序)。 */
export
const
vendorEvalSchemeSortColumns
=
[
'
方案编码
'
,
'
方案名称
'
,
'
创建人
'
,
'
创建日期
'
,
'
启用人
'
,
'
启用时间
'
,
'
停用人
'
,
'
停用时间
'
,
'
状态
'
,
'
备注
'
,
]
as
const
;
function
buildSortColumnCases
():
Array
<
{
id
:
string
;
column
:
string
}
>
{
return
vendorEvalSchemeSortColumns
.
map
((
column
,
index
)
=>
({
id
:
`VENDOR-EVS-
${
String
(
4
+
index
).
padStart
(
3
,
'
0
'
)}
`
,
column
,
}));
}
/** 点击「展开」后应出现的扩展筛选项(与 UI-SPEC / 元素扫描一致)。 */
export
const
vendorEvalSchemeExpandedFilterLabels
=
[
'
启用日期
'
,
'
方案编码
'
,
'
方案名称
'
]
as
const
;
export
const
vendorEvalSchemeData
=
{
sortColumns
:
[...
vendorEvalSchemeSortColumns
],
sortColumnCases
:
buildSortColumnCases
(),
expandedFilterLabels
:
[...
vendorEvalSchemeExpandedFilterLabels
],
}
as
const
;
Prev
1
2
3
4
5
6
7
…
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