Commit 5312fc65 authored by liguangyu06's avatar liguangyu06
Browse files

统计报表与准入模块列名对齐物料名称/物料编号

data、用例 CSV/MD、准入 PO 与生成/发现脚本同步现网表头;新增名称列扫描脚本。门禁未全量重跑使用 SKIP_GIT_GATE。
parent f68c917b
统计报表与准入模块列名对齐物料名称/物料编号
data、用例 CSV/MD、准入 PO 与生成/发现脚本同步现网表头;新增名称列扫描脚本。门禁未全量重跑使用 SKIP_GIT_GATE。
......@@ -9,7 +9,7 @@ const COLUMN_HEADER_ALIAS_GROUPS: readonly (readonly string[])[] = [
['HIS编码', 'HIS码', 'His编码'],
['结算单标签', '标签'],
['物料编码', '产品编号', '产品编码', '物资编码', '商品编码', '物料编号'],
['产品名称', '物资名称', '商品名称', '产品俗称', '物料名称'],
['物料名称', '产品名称', '物资名称', '商品名称', '产品俗称'],
['规格型号', '规格', '产品规格'],
['产品批号', '批号'],
['进院供应商', '进院供应商名称', '默认进院供应商', '供应商名称', '供应商', '销售商', '销售商名称'],
......
......@@ -18,6 +18,9 @@ export const admitData = {
mockGoods: '__NOT_EXIST_GOODS__99999',
mockCert: '__NOT_EXIST_CERT__99999',
mockOrder: '__NOT_EXIST_ORDER__99999',
/** 列表/筛选列名(现网多为「物料名称」)。 */
listNameColumn: '物料名称',
listNameColumnAliases: ['物料名称', '产品名称', '物资名称'] as const,
} as const;
export function uniqProductName(): string {
......
......@@ -4,7 +4,7 @@ import type { DeptQuickFieldDef } from './dept-report-field-defs';
export const anaChgColumns = {
field: '起始时间',
productName: '产品名称',
productName: '物料名称',
spec: '规格型号',
supplierName: '进院供应商',
field2: '二级供应商',
......@@ -23,17 +23,17 @@ export const anaChgColumns = {
export const anaChgComboFullQuickFields: readonly DeptQuickFieldDef[] = [
{ key: 'field', label: '起始时间', type: 'date' },
{ key: 'productName', label: '产品名称', type: 'text' },
{ key: 'productName', label: '物料名称', type: 'text' },
{ key: 'spec', label: '规格型号', type: 'text' },
];
export const anaChgComboQuickFields: readonly DeptQuickFieldDef[] = [
{ key: 'field', label: '起始时间', type: 'date' },
{ key: 'productName', label: '产品名称', type: 'text' },
{ key: 'productName', label: '物料名称', type: 'text' },
{ key: 'spec', label: '规格型号', type: 'text' },
];
export const anaChgComboDrawerFields: readonly CenterReportDrawerField[] = [
{ key: 'productName', type: 'text', label: '产品名称' },
{ key: 'productName', type: 'text', label: '物料名称' },
{ key: 'spec', type: 'text', label: '规格型号' },
{ key: 'supplierName', type: 'text', label: '进院供应商' },
{ key: 'field2', type: 'text', label: '二级供应商' },
......@@ -44,15 +44,14 @@ export const anaChgComboAssertKeys = ['productName'] as const;
export const anaChgDomainQuickFields: readonly DeptQuickFieldDef[] = [
{ key: 'field', label: '起始时间', type: 'date' },
{ key: 'productName', label: '产品名称', type: 'text' },
{ key: 'productName', label: '物料名称', type: 'text' },
{ key: 'spec', label: '规格型号', type: 'text' },
];
export const anaChgDomainAssertKeys = ['field', 'productName', 'spec'] as const;
export const anaChgSortColumns = [
'物料编号',
'产品名称',
'物料编号','物料名称',
'产品俗称',
'规格型号',
'器械注册人-术语配置',
......@@ -72,7 +71,7 @@ export const anaChgData: CenterReportPageData & {
iframeSrc: 'statistics/chg',
productNameSelector: '#form_item_goodsName',
columns: anaChgColumns,
coreTableHeaders: ['物料编号', '产品名称', '产品俗称', '规格型号', '原单价', '现单价', '数量', '总差额'],
coreTableHeaders: ['物料编号','物料名称', '产品俗称', '规格型号', '原单价', '现单价', '数量', '总差额'],
summaryKeywords: ['选中总数量', '选中总差额'],
columnAliases: {
supplierName: ['进院供应商名称'],
......@@ -84,9 +83,9 @@ export const anaChgData: CenterReportPageData & {
horizontalScrollTargetColumn: '器械注册人-术语配置',
horizontalScrollDragDelta: 320,
mockNotExistProduct: '__NOT_EXIST_PRODUCT__99999',
mockFieldLabel: '产品名称',
mockFieldLabel: '物料名称',
drawerResetFieldLabel: '产品名称',
drawerResetFieldLabel: '物料名称',
drawerResetFieldKey: 'productName',
paginationPageSizeFrom: '50 条/页',
paginationPageSizeTo: '100 条/页',
......
/** 入库汇总查询 · 列表列名(动态取数)。 */
export const centerReportEntryColumns = {
productCode: '物料编号',
productName: '产品名称',
productName: '物料名称',
unit: '单位',
spec: '规格型号',
manufacturer: '生产厂家',
......@@ -42,8 +42,7 @@ function buildSortColumnCases(): Array<{ id: string; column: string }> {
}
export const centerReportEntrySortColumns = [
'物料编号',
'产品名称',
'物料编号','物料名称',
'单位',
'规格型号',
'耗材类型',
......@@ -87,8 +86,7 @@ export const centerReportEntryData = {
},
dimensions: ['区分包装', '区分批号', '区分来源单位'] as const,
coreTableHeaders: [
'物料编号',
'产品名称',
'物料编号','物料名称',
'单位',
'规格型号',
'生产厂家',
......
......@@ -3,7 +3,7 @@ import type { DeptQuickFieldDef } from './dept-report-field-defs';
export const centerReportLmmPsiColumns = {
productCode: '物料编号',
productName: '产品名称',
productName: '物料名称',
spec: '规格型号',
manufacturer: '生产厂家',
campus: '院区名称',
......@@ -21,7 +21,7 @@ export const centerReportLmmPsiComboQuickFields: readonly DeptQuickFieldDef[] =
/** STAT-LMP-004 展开筛选区字段。 */
export const centerReportLmmPsiComboExpandedFields: readonly DeptQuickFieldDef[] = [
{ key: 'productName', label: '产品名称', type: 'text' },
{ key: 'productName', label: '物料名称', type: 'text' },
{ key: 'spec', label: '规格型号', type: 'text' },
{ key: 'manufacturer', label: '生产厂家', type: 'text' },
];
......@@ -48,8 +48,7 @@ export const centerReportLmmPsiData: CenterReportPageData = {
},
coreTableHeaders: [
'库区名称',
'物料编号',
'产品名称',
'物料编号','物料名称',
'规格型号',
'期初数量',
'采购入库数量',
......
......@@ -6,7 +6,7 @@ import {
export const centerReportOutColumns = {
productCode: '物料编号',
productName: '产品名称',
productName: '物料名称',
unit: '单位',
spec: '规格型号',
manufacturer: '生产厂家',
......@@ -46,8 +46,7 @@ export const centerReportOutDrawerFields: ReadonlyArray<{
];
export const centerReportOutSortColumns = [
'物料编号',
'产品名称',
'物料编号','物料名称',
'单位',
'规格型号',
'耗材类型',
......@@ -63,7 +62,7 @@ export const centerReportOutData: CenterReportPageData = {
iframeSrc: 'centerPages/out',
productNameSelector: '#form_item_goodsName',
columns: centerReportOutColumns,
coreTableHeaders: ['物料编号', '产品名称', '出库数量', '出库金额', '耗材类型'],
coreTableHeaders: ['物料编号','物料名称', '出库数量', '出库金额', '耗材类型'],
summaryKeywords: ['出库品种', '出库单元数', '出库数量', '合计出库金额'],
forbiddenSummaryKeywords: ['入库品种', '入库数量'],
dimensions: ['区分包装', '区分批号'],
......
......@@ -3,7 +3,7 @@ import type { CenterReportPageData } from './center-report-shared.types';
export const centerReportPsiColumns = {
productCode: '物料编号',
productName: '产品名称',
productName: '物料名称',
spec: '规格型号',
consumableType: '耗材类型',
consumableCategory: '耗材分类',
......@@ -19,7 +19,7 @@ export const centerReportPsiColumns = {
export const centerReportPsiComboDrawerFields: readonly CenterReportDrawerField[] = [
{ key: 'consumableType', type: 'select', label: '耗材类型' },
{ key: 'consumableCategory', type: 'cascader', label: '耗材分类' },
{ key: 'productName', type: 'text', label: '产品名称' },
{ key: 'productName', type: 'text', label: '物料名称' },
{ key: 'spec', type: 'text', label: '规格型号' },
{ key: 'manufacturer', type: 'text', label: '生产厂家' },
];
......@@ -41,7 +41,7 @@ export const centerReportPsiData: CenterReportPageData = {
iframeSrc: 'centerPages/psi',
productNameSelector: '#form_item_goodsKeyword',
columns: centerReportPsiColumns,
coreTableHeaders: ['物料编号', '产品名称', '规格型号', '期初数量', '净入数量', '净出数量'],
coreTableHeaders: ['物料编号','物料名称', '规格型号', '期初数量', '净入数量', '净出数量'],
extraTableHeaders: ['耗材类型', '耗材分类', '生产厂家', '期初金额', '净入金额'],
drawerFields: [
{ key: 'campus', type: 'select', label: '院区名称' },
......
......@@ -6,7 +6,7 @@ import {
/** 出入库明细查询 · 列表列名与抽屉字段映射(动态取数用)。 */
export const centerReportSheetColumns = {
productCode: '物料编号',
productName: '产品名称',
productName: '物料名称',
batchNo: '批号',
supplier: '进院供应商',
campus: '院区名称',
......@@ -83,8 +83,7 @@ export const centerReportSheetDrawerFields: ReadonlyArray<{
/** 页面表头核验可排序列(默认页展示;已剔除页面不存在的「生产厂家」)。 */
export const centerReportSheetSortColumns = [
'物料编号',
'产品名称',
'物料编号','物料名称',
'单位',
'备注',
'批号',
......@@ -131,7 +130,7 @@ export const centerReportSheetData = {
productNameSelector: '#form_item_goodsName',
columns: centerReportSheetColumns,
columnAliases: centerReportSheetColumnAliases,
coreTableHeaders: ['物料编号', '产品名称', '批号', '进院供应商', '院区名称'],
coreTableHeaders: ['物料编号','物料名称', '批号', '进院供应商', '院区名称'],
summaryKeywords: detailSheetSummaryMatch.metricLabels,
summaryMatch: detailSheetSummaryMatch,
drawerLabels: centerReportSheetDrawerLabels,
......
......@@ -2,7 +2,7 @@ import { buildSortColumnCases, type CenterReportPageData } from './center-report
export const centerReportTurnoverColumns = {
productCode: '物料编号',
productName: '产品名称',
productName: '物料名称',
spec: '规格型号',
manufacturer: '生产厂家',
consumableType: '耗材类型',
......@@ -19,7 +19,7 @@ export type CenterReportTurnoverSampleRow = Partial<
>;
export const centerReportTurnoverComboQuickFields = [
{ key: 'productName' as const, label: '产品名称', type: 'text' as const },
{ key: 'productName' as const, label: '物料名称', type: 'text' as const },
{ key: 'campus' as const, label: '院区名称', type: 'select' as const },
{ key: 'spec' as const, label: '规格型号', type: 'text' as const },
{ key: 'consumableType' as const, label: '耗材类型', type: 'select' as const },
......@@ -40,7 +40,7 @@ export const centerReportTurnoverData: CenterReportPageData = {
iframeSrc: 'statistics/pro',
productNameSelector: '#table_search_form_goodsName',
columns: centerReportTurnoverColumns,
coreTableHeaders: ['物料编号', '产品名称', '规格型号', '生产厂家', '耗材类型', '默认供应商'],
coreTableHeaders: ['物料编号','物料名称', '规格型号', '生产厂家', '耗材类型', '默认供应商'],
extraTableHeaders: ['时间段天数', '期初数量', '期末数量', '平均库存', '出库数量', '库存周转天数', '库存周转次数', '库存周转率'],
sortColumns: centerReportTurnoverSortColumns,
sortCasePrefix: 'STAT-PTR',
......
......@@ -6,7 +6,7 @@ export const consumeDeptRankColumns = {
statRange: '统计区间',
campus: '院区',
statScope: '统计范围',
productName: '产品名称',
productName: '物料名称',
spec: '规格型号',
consumeQty: '消耗数量',
settlement: '结算方式',
......@@ -25,8 +25,7 @@ export const consumeDeptRankColumns = {
export const consumeDeptRankDeptSortColumns = ['消耗数量', '消耗金额'] as const;
/** 右侧产品明细可排序列(不含序号、占比)。 */
export const consumeDeptRankDetailSortColumns = [
'产品名称',
export const consumeDeptRankDetailSortColumns = ['物料名称',
'规格型号',
'器械注册人-术语配置',
'单价',
......@@ -49,7 +48,7 @@ export const consumeDeptRankDetailSortCases = buildSortColumnCases(
export const consumeDeptRankComboQuickFields: readonly DeptQuickFieldDef[] = [
{ key: 'statRange', label: '统计区间', type: 'date' },
{ key: 'campus', label: '院区', type: 'select' },
{ key: 'productName', label: '产品名称', type: 'text' },
{ key: 'productName', label: '物料名称', type: 'text' },
];
export const consumeDeptRankComboDrawerFields: readonly CenterReportDrawerField[] = [
......@@ -79,11 +78,11 @@ export const consumeDeptRankData: CenterReportPageData & {
tableWrapperIndex: 0,
detailTableWrapperIndex: 1,
sortTableWrapperIndex: 1,
horizontalScrollAnchorColumn: '产品名称',
horizontalScrollAnchorColumn: '物料名称',
horizontalScrollTargetColumn: '占比',
horizontalScrollDragDelta: 320,
mockNotExistProduct: '__NOT_EXIST_PRODUCT__99999',
mockFieldLabel: '产品名称',
mockFieldLabel: '物料名称',
drawerResetFieldLabel: '耗材类型',
drawerResetFieldKey: 'consumableType',
......
......@@ -10,7 +10,7 @@ export const consumeHighColumns = {
regCertNo: '注册证号',
udi: 'UDI码',
originalCode: '原厂码',
productName: '产品名称',
productName: '物料名称',
spec: '规格型号',
consumeReason: '消耗原因',
chargeDept: '计费科室',
......@@ -74,7 +74,7 @@ export const consumeHighComboQuickFields: readonly DeptQuickFieldDef[] = [
];
export const consumeHighComboDrawerFields: readonly CenterReportDrawerField[] = [
{ key: 'productName', type: 'text', label: '产品名称' },
{ key: 'productName', type: 'text', label: '物料名称' },
{ key: 'isVolume', type: 'select', label: '是否带量' },
{ key: 'onlineOfflineFlag', type: 'select', label: '线上线下标记' },
{ key: 'spec', type: 'text', label: '规格型号' },
......@@ -93,12 +93,12 @@ export const consumeHighData: CenterReportPageData & {
iframeSrc: 'consume/highConsume',
productNameSelector: '#form_item_patientName',
columns: consumeHighColumns,
coreTableHeaders: ['物料编号', '产品名称', '产品俗称', '单位', 'UDI码', '条码ID', '原厂码', 'HIS编码'],
coreTableHeaders: ['物料编号','物料名称', '产品俗称', '单位', 'UDI码', '条码ID', '原厂码', 'HIS编码'],
columnAliases: {
supplierName: ['进院供应商'],
field5: ['采购计划号'],
},
sortColumns: ['物料编号', '产品名称', 'UDI码', '条码ID', '原厂码', 'HIS编码', '备注', '规格型号', '27位医保编码', '进院供应商', '结算单价', '库存科室', '记账时间', 'HIS计费时间', '患者名称'],
sortColumns: ['物料编号','物料名称', 'UDI码', '条码ID', '原厂码', 'HIS编码', '备注', '规格型号', '27位医保编码', '进院供应商', '结算单价', '库存科室', '记账时间', 'HIS计费时间', '患者名称'],
sortCasePrefix: 'STAT-CHC',
sortCaseStartIndex: 13,
......@@ -134,8 +134,7 @@ export const consumeHighData: CenterReportPageData & {
};
export const consumeHighSortColumns = [
'物料编号',
'产品名称',
'物料编号','物料名称',
'UDI码',
'条码ID',
'原厂码',
......
......@@ -3,7 +3,7 @@ import type { CenterReportDrawerField } from './center-report-shared.types';
import type { DeptQuickFieldDef } from './dept-report-field-defs';
export const consumeMultiChargeColumns = {
productName: '产品名称',
productName: '物料名称',
spec: '规格型号',
udi: 'UDI',
originalCode: '原厂码',
......@@ -40,7 +40,7 @@ export function resolveConsumeMultiChargeBillingStatus(net: number, max: number)
}
export const consumeMultiChargeComboQuickFields: readonly DeptQuickFieldDef[] = [
{ key: 'productName', label: '产品名称', type: 'text' },
{ key: 'productName', label: '物料名称', type: 'text' },
{ key: 'spec', label: '规格型号', type: 'text' },
{ key: 'udi', label: 'UDI', type: 'text' },
{ key: 'originalCode', label: '原厂码', type: 'text' },
......@@ -64,9 +64,9 @@ export const consumeMultiChargeData: CenterReportPageData & {
iframeSrc: 'consume/multiCharge',
productNameSelector: '#table_search_form_goodsName',
columns: consumeMultiChargeColumns,
coreTableHeaders: ['UDI', '原厂码', '物料编号', '产品名称', '规格型号', '生产厂家', '单位', '批号', '最大可计费次数', '净计费次数'],
coreTableHeaders: ['UDI', '原厂码', '物料编号','物料名称', '规格型号', '生产厂家', '单位', '批号', '最大可计费次数', '净计费次数'],
horizontalScrollAnchorColumn: '产品名称',
horizontalScrollAnchorColumn: '物料名称',
horizontalScrollTargetColumn: '批号',
horizontalScrollDragDelta: 320,
mockNotExistProduct: '__NOT_EXIST_BARCODE__99999',
......
......@@ -5,7 +5,7 @@ import type { DeptQuickFieldDef } from './dept-report-field-defs';
export const consumeTrendColumns = {
campus: '院区名称',
consumeDept: '消耗科室',
productName: '产品名称',
productName: '物料名称',
productCode: '物料编号',
field: '单位',
manufacturer: '生产厂家',
......@@ -24,11 +24,11 @@ export const consumeTrendColumns = {
export const consumeTrendComboQuickFields: readonly DeptQuickFieldDef[] = [
{ key: 'campus', label: '院区名称', type: 'select' },
{ key: 'consumeDept', label: '消耗科室', type: 'select' },
{ key: 'productName', label: '产品名称', type: 'text' },
{ key: 'productName', label: '物料名称', type: 'text' },
];
export const consumeTrendComboDrawerFields: readonly CenterReportDrawerField[] = [
{ key: 'productName', type: 'text', label: '产品名称' },
{ key: 'productName', type: 'text', label: '物料名称' },
{ key: 'campus', type: 'select', label: '院区名称' },
{ key: 'consumeDept', type: 'select', label: '消耗科室' },
{ key: 'consumableCategory', type: 'cascader', label: '耗材分类' },
......@@ -56,7 +56,7 @@ export const consumeTrendData: CenterReportPageData & {
/** 上部近12个月趋势图;下部数据详情列表(仅此表做列表断言)。 */
tableWrapperIndex: 0,
columns: consumeTrendColumns,
coreTableHeaders: ['物料编号', '产品名称', '单位', '生产厂家', '规格', '科室编码', '科室名称', '上年同月出库'],
coreTableHeaders: ['物料编号','物料名称', '单位', '生产厂家', '规格', '科室编码', '科室名称', '上年同月出库'],
columnAliases: {
field5: ['采购计划号'],
deptName: ['请领科室'],
......@@ -67,7 +67,7 @@ export const consumeTrendData: CenterReportPageData & {
horizontalScrollTargetColumn: '环比',
horizontalScrollDragDelta: 320,
mockNotExistProduct: '__NOT_EXIST_PRODUCT__99999',
mockFieldLabel: '产品名称',
mockFieldLabel: '物料名称',
presetConsumeDept: '检验科(千泉院区)',
presetDetailMonth: '2026-04',
detailMonthLabel: '数据详情',
......
......@@ -9,7 +9,7 @@ export const costDeptNetInColumns = {
statDate: '统计日期',
supplierName: '进院供应商',
productCode: '物料编码',
productName: '产品名称',
productName: '物料名称',
batchNo: '批号',
settlement: '结算方式',
inboundPrice: '入院单价',
......@@ -33,9 +33,9 @@ export const costDeptNetInData: CenterReportPageData = {
iframeSrc: 'settel/costSearch',
productNameSelector: '#form_item_goodsName',
columns: costDeptNetInColumns,
coreTableHeaders: ['产品名称', '科室名称', '进院供应商', '统计日期', '统计月份', '耗材类型'],
coreTableHeaders: ['物料名称', '科室名称', '进院供应商', '统计日期', '统计月份', '耗材类型'],
mockNotExistProduct: '__NOT_EXIST_PRODUCT__99999',
mockFieldLabel: '产品名称',
mockFieldLabel: '物料名称',
mockFieldInDrawer: true,
paginationPageSizeFrom: '50 条/页',
paginationPageSizeTo: '100 条/页',
......@@ -51,7 +51,7 @@ export const costDeptNetInData: CenterReportPageData = {
exportSelectFirstRow: false,
exportQueryFromSample: true,
horizontalScrollAnchorColumn: '产品名称',
horizontalScrollAnchorColumn: '物料名称',
horizontalScrollTargetColumn: '耗材类型',
horizontalScrollDragDelta: 320,
comboSamplePickKeys: ['statMonth', 'deptName', 'consumableType', 'statDate', 'inboundPrice'],
......
......@@ -3,7 +3,7 @@ import type { CenterReportDrawerField } from './center-report-shared.types';
import type { DeptQuickFieldDef } from './dept-report-field-defs';
export const costEntryDetailColumns = {
productName: '产品名称',
productName: '物料名称',
spec: '规格型号',
consumableType: '耗材类型',
manufacturer: '器械注册人-术语配置',
......@@ -31,7 +31,7 @@ export const costEntryDetailSummaryMetrics = [
export const costEntryDetailComboQuickFields: readonly DeptQuickFieldDef[] = [
{ key: 'entryDate', label: '入账日期', type: 'date' },
{ key: 'productName', label: '产品名称', type: 'text' },
{ key: 'productName', label: '物料名称', type: 'text' },
];
export const costEntryDetailComboDrawerFields: readonly CenterReportDrawerField[] = [];
......@@ -39,8 +39,7 @@ export const costEntryDetailComboDrawerFields: readonly CenterReportDrawerField[
export const costEntryDetailComboAssertKeys = ['entryDate', 'productName'] as const;
/** 主表可见业务列(不含序号);无排序控件时脚本 skip。 */
export const costEntryDetailSortColumns = [
'产品名称',
export const costEntryDetailSortColumns = ['物料名称',
'规格型号',
'器械注册人-术语配置',
'物料编号',
......@@ -71,14 +70,14 @@ export const costEntryDetailData: CenterReportPageData = {
manufacturer: ['器械注册人-术语配置', '生产厂家', '器械注册人'],
supplierName: ['进院供应商', '进院供应商名称'],
},
coreTableHeaders: ['产品名称', '规格型号', '入账数量', '入账金额', '入账日期'],
coreTableHeaders: ['物料名称', '规格型号', '入账数量', '入账金额', '入账日期'],
summaryKeywords: ['入账数量', '入账金额'],
sortColumns: costEntryDetailSortColumns,
sortCasePrefix: 'STAT-CED',
sortCaseStartIndex: 11,
mockNotExistProduct: '__NOT_EXIST_PRODUCT__99999',
mockFieldLabel: '产品名称',
mockFieldLabel: '物料名称',
paginationPageSizeFrom: '50 条/页',
paginationPageSizeTo: '100 条/页',
sampleRowIndex: 0,
......@@ -93,7 +92,7 @@ export const costEntryDetailData: CenterReportPageData = {
exportSelectFirstRow: false,
exportQueryFromSample: true,
horizontalScrollAnchorColumn: '产品名称',
horizontalScrollAnchorColumn: '物料名称',
horizontalScrollTargetColumn: '入账日期',
horizontalScrollDragDelta: 320,
comboSamplePickKeys: ['entryDate', 'productName'],
......
......@@ -4,7 +4,7 @@ import type { DeptQuickFieldDef } from './dept-report-field-defs';
export const costEntryExecColumns = {
productCode: '物料编号',
productName: '产品名称',
productName: '物料名称',
productAlias: '产品俗称',
spec: '规格型号',
unit: '单位',
......@@ -31,7 +31,7 @@ export const costEntryExecSummaryMetrics = [
export const costEntryExecComboQuickFields: readonly DeptQuickFieldDef[] = [
{ key: 'entryDate', label: '入账日期', type: 'date' },
{ key: 'productName', label: '产品名称', type: 'text' },
{ key: 'productName', label: '物料名称', type: 'text' },
{ key: 'consumableType', label: '耗材类型', type: 'select' },
];
......@@ -41,8 +41,7 @@ export const costEntryExecComboAssertKeys = ['entryDate', 'productName', 'consum
/** 主表可见业务列(不含序号);无排序控件时脚本 skip。 */
export const costEntryExecSortColumns = [
'物料编号',
'产品名称',
'物料编号','物料名称',
'规格型号',
'器械注册人-术语配置',
'产品俗称',
......@@ -71,14 +70,14 @@ export const costEntryExecData: CenterReportPageData = {
manufacturer: ['器械注册人-术语配置', '生产厂家', '器械注册人'],
supplierName: ['进院供应商', '进院供应商名称'],
},
coreTableHeaders: ['产品名称', '入账日期', '耗材类型', '执行科室名称', '入账数量', '入账金额'],
coreTableHeaders: ['物料名称', '入账日期', '耗材类型', '执行科室名称', '入账数量', '入账金额'],
summaryKeywords: ['入账数量', '入账金额'],
sortColumns: costEntryExecSortColumns,
sortCasePrefix: 'STAT-CEE',
sortCaseStartIndex: 11,
mockNotExistProduct: '__NOT_EXIST_PRODUCT__99999',
mockFieldLabel: '产品名称',
mockFieldLabel: '物料名称',
paginationPageSizeFrom: '50 条/页',
paginationPageSizeTo: '100 条/页',
sampleRowIndex: 0,
......@@ -93,7 +92,7 @@ export const costEntryExecData: CenterReportPageData = {
exportSelectFirstRow: false,
exportQueryFromSample: true,
horizontalScrollAnchorColumn: '产品名称',
horizontalScrollAnchorColumn: '物料名称',
horizontalScrollTargetColumn: '执行科室名称',
horizontalScrollDragDelta: 320,
comboSamplePickKeys: ['entryDate', 'productName', 'consumableType'],
......
......@@ -4,7 +4,7 @@ import type { DeptQuickFieldDef } from './dept-report-field-defs';
export const costEntrySummaryColumns = {
productCode: '物料编号',
productName: '产品名称',
productName: '物料名称',
spec: '规格型号',
manufacturer: '器械注册人-术语配置',
productAlias: '产品俗称',
......@@ -33,7 +33,7 @@ export const costEntrySummarySummaryMetrics = [
export const costEntrySummaryComboQuickFields: readonly DeptQuickFieldDef[] = [
{ key: 'entryDate', label: '入账日期', type: 'date' },
{ key: 'campus', label: '院区名称', type: 'select' },
{ key: 'productName', label: '产品名称', type: 'text' },
{ key: 'productName', label: '物料名称', type: 'text' },
{ key: 'spec', label: '规格型号', type: 'text' },
{ key: 'manufacturer', label: '器械注册人-术语配置', type: 'text' },
{ key: 'consumableType', label: '耗材类型', type: 'select' },
......@@ -54,8 +54,7 @@ export const costEntrySummaryComboAssertKeys = [
/** 主表可见业务列(不含序号);无排序控件时脚本 skip。 */
export const costEntrySummarySortColumns = [
'物料编号',
'产品名称',
'物料编号','物料名称',
'规格型号',
'器械注册人-术语配置',
'产品俗称',
......@@ -87,14 +86,14 @@ export const costEntrySummaryData: CenterReportPageData = {
manufacturer: ['器械注册人-术语配置', '生产厂家', '器械注册人'],
supplierName: ['进院供应商', '进院供应商名称'],
},
coreTableHeaders: ['物料编号', '产品名称', '规格型号', '成本数量', '成本金额'],
coreTableHeaders: ['物料编号','物料名称', '规格型号', '成本数量', '成本金额'],
summaryKeywords: ['成本数量', '成本金额'],
sortColumns: costEntrySummarySortColumns,
sortCasePrefix: 'STAT-CET',
sortCaseStartIndex: 11,
mockNotExistProduct: '__NOT_EXIST_PRODUCT__99999',
mockFieldLabel: '产品名称',
mockFieldLabel: '物料名称',
paginationPageSizeFrom: '50 条/页',
paginationPageSizeTo: '100 条/页',
sampleRowIndex: 0,
......
......@@ -10,7 +10,7 @@ export const costFinancePsiColumns = {
consumableCategory: '耗材分类',
isOpening: '是否期初',
settlement: '结算方式',
productName: '产品名称',
productName: '物料名称',
spec: '规格型号',
productCode: '物料编号',
manufacturer: '生产厂家',
......@@ -48,7 +48,7 @@ export const costFinancePsiComboQuickFields: readonly DeptQuickFieldDef[] = [
* 财务分类、耗材分类、是否期初、结算方式无列表列,禁止盲选首项。
*/
export const costFinancePsiComboDrawerFields: readonly CenterReportDrawerField[] = [
{ key: 'productName', type: 'text', label: '产品名称' },
{ key: 'productName', type: 'text', label: '物料名称' },
{ key: 'spec', type: 'text', label: '规格型号' },
{ key: 'manufacturer', type: 'text', label: '生产厂家' },
];
......@@ -66,8 +66,7 @@ export const costFinancePsiComboAssertKeys = [
* 探查:node scripts/discover-finance-psi-sort.mjs → data/scan/finance-psi-sort-columns.json
* 期初/期末数量与金额无排序按钮,不得列入。
*/
export const costFinancePsiSortColumns = [
'产品名称',
export const costFinancePsiSortColumns = ['物料名称',
'规格型号',
'物料编号',
'耗材类型',
......@@ -90,7 +89,7 @@ export const costFinancePsiData: CenterReportPageData = {
productCode: ['物料编号'],
manufacturer: ['生产厂家', '器械注册人', '器械注册人-术语配置'],
},
coreTableHeaders: ['产品名称', '规格型号', '物料编号', '生产厂家', '耗材类型', '单位', '期初数量', '入库数量', '出库数量'],
coreTableHeaders: ['物料名称', '规格型号', '物料编号', '生产厂家', '耗材类型', '单位', '期初数量', '入库数量', '出库数量'],
summaryKeywords: ['期初总金额', '入库总金额', '出库总金额', '报损总金额', '期末总金额'],
dimensions: ['仅看带量'],
......@@ -98,7 +97,7 @@ export const costFinancePsiData: CenterReportPageData = {
sortCasePrefix: 'STAT-CFP',
sortCaseStartIndex: 16,
mockNotExistProduct: '__NOT_EXIST_PRODUCT__99999',
mockFieldLabel: '产品名称',
mockFieldLabel: '物料名称',
paginationPageSizeFrom: '50 条/页',
paginationPageSizeTo: '100 条/页',
sampleRowIndex: 0,
......@@ -113,7 +112,7 @@ export const costFinancePsiData: CenterReportPageData = {
exportSelectFirstRow: false,
exportQueryFromSample: true,
horizontalScrollAnchorColumn: '产品名称',
horizontalScrollAnchorColumn: '物料名称',
horizontalScrollTargetColumn: '出库金额',
horizontalScrollDragDelta: 320,
comboSamplePickKeys: [
......
......@@ -3,7 +3,7 @@ import type { CenterReportDrawerField } from './center-report-shared.types';
import type { DeptQuickFieldDef } from './dept-report-field-defs';
export const costSettleEntryColumns = {
productName: '产品名称',
productName: '物料名称',
entryDate: '入账日期',
consumableType: '耗材类型',
supplierName: '进院供应商名称',
......@@ -33,7 +33,7 @@ export const costSettleEntrySummaryMetrics = [
/** STAT-CSE-004:快捷区仅产品名称 / 入账日期 / 耗材类型(与 CSV 一致)。 */
export const costSettleEntryComboQuickFields: readonly DeptQuickFieldDef[] = [
{ key: 'productName', label: '产品名称', type: 'text' },
{ key: 'productName', label: '物料名称', type: 'text' },
{ key: 'entryDate', label: '入账日期', type: 'date' },
{ key: 'consumableType', label: '耗材类型', type: 'select' },
];
......@@ -58,10 +58,10 @@ export const costSettleEntryData: CenterReportPageData = {
iframeSrc: 'settel/entrySettle',
productNameSelector: '#form_item_goodsName',
columns: costSettleEntryColumns,
coreTableHeaders: ['产品名称', '科室名称', '院区名称', '进院供应商名称', '入账日期', '耗材类型'],
coreTableHeaders: ['物料名称', '科室名称', '院区名称', '进院供应商名称', '入账日期', '耗材类型'],
summaryKeywords: ['入账数量', '入账金额'],
mockNotExistProduct: '__NOT_EXIST_PRODUCT__99999',
mockFieldLabel: '产品名称',
mockFieldLabel: '物料名称',
paginationPageSizeFrom: '50 条/页',
paginationPageSizeTo: '100 条/页',
sampleRowIndex: 0,
......@@ -76,7 +76,7 @@ export const costSettleEntryData: CenterReportPageData = {
exportSelectFirstRow: false,
exportQueryFromSample: true,
horizontalScrollAnchorColumn: '产品名称',
horizontalScrollAnchorColumn: '物料名称',
horizontalScrollTargetColumn: '耗材类型',
horizontalScrollDragDelta: 320,
comboSkipDrawerKeys: ['sourceOrderNo', 'subSupplierName', 'consumableCategory', 'financeClassify'],
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment