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

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

data、用例 CSV/MD、准入 PO 与生成/发现脚本同步现网表头;新增名称列扫描脚本。门禁未全量重跑使用 SKIP_GIT_GATE。
parent f68c917b
...@@ -6,7 +6,7 @@ import { ...@@ -6,7 +6,7 @@ import {
export const deptReportEntryColumns = { export const deptReportEntryColumns = {
productCode: '物料编号', productCode: '物料编号',
productName: '产品名称', productName: '物料名称',
inboundQty: '入库数量', inboundQty: '入库数量',
inboundAmount: '入库金额', inboundAmount: '入库金额',
billType: '单据类型', billType: '单据类型',
...@@ -24,7 +24,7 @@ export const deptReportEntryData: CenterReportPageData = { ...@@ -24,7 +24,7 @@ export const deptReportEntryData: CenterReportPageData = {
iframeSrc: 'dept/entry', iframeSrc: 'dept/entry',
productNameSelector: '#form_item_goodsName', productNameSelector: '#form_item_goodsName',
columns: deptReportEntryColumns, columns: deptReportEntryColumns,
coreTableHeaders: ['物料编号', '产品名称', '入库数量', '入库金额', '耗材类型'], coreTableHeaders: ['物料编号','物料名称', '入库数量', '入库金额', '耗材类型'],
summaryKeywords: ['入库品种', '入库单元数', '入库数量', '入库金额'], summaryKeywords: ['入库品种', '入库单元数', '入库数量', '入库金额'],
forbiddenSummaryKeywords: ['出库品种', '合计出库金额'], forbiddenSummaryKeywords: ['出库品种', '合计出库金额'],
dimensions: ['区分包装', '区分批号', '区分进院供应商'], dimensions: ['区分包装', '区分批号', '区分进院供应商'],
......
...@@ -15,9 +15,9 @@ export type QuickDrawerSyncField = { ...@@ -15,9 +15,9 @@ export type QuickDrawerSyncField = {
sampleKey?: string; sampleKey?: string;
}; };
/** 产品名称 + 记账日期(明细/汇总类页面抽屉重叠字段)。 */ /** 物料名称 + 记账日期(明细/汇总类页面抽屉重叠字段;别名见 column-header-match)。 */
export const standardProductNameDateSyncFields: readonly QuickDrawerSyncField[] = [ export const standardProductNameDateSyncFields: readonly QuickDrawerSyncField[] = [
{ quickLabel: '产品名称', drawerLabel: '产品名称', type: 'text', sampleKey: 'productName' }, { quickLabel: '物料名称', drawerLabel: '物料名称', type: 'text', sampleKey: 'productName' },
{ quickLabel: '记账日期', drawerLabel: '记账日期', type: 'date', sampleKey: 'accountDate' }, { quickLabel: '记账日期', drawerLabel: '记账日期', type: 'date', sampleKey: 'accountDate' },
]; ];
...@@ -77,7 +77,7 @@ export const deptReportSheetComboDrawerFields: readonly CenterReportDrawerField[ ...@@ -77,7 +77,7 @@ export const deptReportSheetComboDrawerFields: readonly CenterReportDrawerField[
]; ];
export const deptReportSheetComboQuickFields: readonly DeptQuickFieldDef[] = [ export const deptReportSheetComboQuickFields: readonly DeptQuickFieldDef[] = [
{ key: 'productName', label: '产品名称', type: 'text' }, { key: 'productName', label: '物料名称', type: 'text' },
{ key: 'accountDate', label: '记账日期', type: 'date' }, { key: 'accountDate', label: '记账日期', type: 'date' },
{ key: 'billType', label: '单据类型', type: 'select' }, { key: 'billType', label: '单据类型', type: 'select' },
]; ];
...@@ -95,7 +95,7 @@ export const deptReportEntryComboDrawerFields: readonly CenterReportDrawerField[ ...@@ -95,7 +95,7 @@ export const deptReportEntryComboDrawerFields: readonly CenterReportDrawerField[
]; ];
export const deptReportEntryComboQuickFields: readonly DeptQuickFieldDef[] = [ export const deptReportEntryComboQuickFields: readonly DeptQuickFieldDef[] = [
{ key: 'productName', label: '产品名称', type: 'text' }, { key: 'productName', label: '物料名称', type: 'text' },
{ key: 'accountDate', label: '记账日期', type: 'date' }, { key: 'accountDate', label: '记账日期', type: 'date' },
{ key: 'billType', label: '单据类型', type: 'select' }, { key: 'billType', label: '单据类型', type: 'select' },
]; ];
...@@ -114,7 +114,7 @@ export const deptReportOutComboDrawerFields: readonly CenterReportDrawerField[] ...@@ -114,7 +114,7 @@ export const deptReportOutComboDrawerFields: readonly CenterReportDrawerField[]
]; ];
export const deptReportOutComboQuickFields: readonly DeptQuickFieldDef[] = [ export const deptReportOutComboQuickFields: readonly DeptQuickFieldDef[] = [
{ key: 'productName', label: '产品名称', type: 'text' }, { key: 'productName', label: '物料名称', type: 'text' },
{ key: 'accountDate', label: '记账日期', type: 'date' }, { key: 'accountDate', label: '记账日期', type: 'date' },
{ key: 'billType', label: '单据类型', type: 'select' }, { key: 'billType', label: '单据类型', type: 'select' },
]; ];
...@@ -129,7 +129,7 @@ export const deptReportPsiComboQuickFields: readonly DeptQuickFieldDef[] = [ ...@@ -129,7 +129,7 @@ export const deptReportPsiComboQuickFields: readonly DeptQuickFieldDef[] = [
export const deptReportPsiComboDrawerFields: readonly CenterReportDrawerField[] = [ export const deptReportPsiComboDrawerFields: readonly CenterReportDrawerField[] = [
{ key: 'consumableType', type: 'select', label: '耗材类型' }, { key: 'consumableType', type: 'select', label: '耗材类型' },
{ key: 'consumableCategory', type: 'cascader', label: '耗材分类' }, { key: 'consumableCategory', type: 'cascader', label: '耗材分类' },
{ key: 'productName', type: 'text', label: '产品名称' }, { key: 'productName', type: 'text', label: '物料名称' },
{ key: 'spec', type: 'text', label: '规格型号' }, { key: 'spec', type: 'text', label: '规格型号' },
{ key: 'manufacturer', type: 'text', label: '生产厂家' }, { key: 'manufacturer', type: 'text', label: '生产厂家' },
]; ];
...@@ -155,7 +155,7 @@ export const deptReportLmmSheetComboDrawerFields: readonly CenterReportDrawerFie ...@@ -155,7 +155,7 @@ export const deptReportLmmSheetComboDrawerFields: readonly CenterReportDrawerFie
export const deptReportTurnoverComboQuickFields: readonly DeptQuickFieldDef[] = [ export const deptReportTurnoverComboQuickFields: readonly DeptQuickFieldDef[] = [
{ key: 'statPeriod', label: '统计周期', type: 'select' }, { key: 'statPeriod', label: '统计周期', type: 'select' },
{ key: 'dept', label: '科室', type: 'select' }, { key: 'dept', label: '科室', type: 'select' },
{ key: 'productName', label: '产品名称', type: 'text' }, { key: 'productName', label: '物料名称', type: 'text' },
{ key: 'spec', label: '规格型号', type: 'text' }, { key: 'spec', label: '规格型号', type: 'text' },
{ key: 'consumableType', label: '耗材类型', type: 'select' }, { key: 'consumableType', label: '耗材类型', type: 'select' },
]; ];
...@@ -6,7 +6,7 @@ import { ...@@ -6,7 +6,7 @@ import {
export const deptReportOutColumns = { export const deptReportOutColumns = {
productCode: '物料编号', productCode: '物料编号',
productName: '产品名称', productName: '物料名称',
outboundQty: '出库数量', outboundQty: '出库数量',
outboundAmount: '出库金额', outboundAmount: '出库金额',
billType: '单据类型', billType: '单据类型',
...@@ -24,7 +24,7 @@ export const deptReportOutData: CenterReportPageData = { ...@@ -24,7 +24,7 @@ export const deptReportOutData: CenterReportPageData = {
iframeSrc: 'dept/out', iframeSrc: 'dept/out',
productNameSelector: '#form_item_goodsName', productNameSelector: '#form_item_goodsName',
columns: deptReportOutColumns, columns: deptReportOutColumns,
coreTableHeaders: ['物料编号', '产品名称', '出库数量', '出库金额', '耗材类型'], coreTableHeaders: ['物料编号','物料名称', '出库数量', '出库金额', '耗材类型'],
summaryKeywords: ['出库数量', '合计出库金额'], summaryKeywords: ['出库数量', '合计出库金额'],
forbiddenSummaryKeywords: ['入库品种', '入库数量'], forbiddenSummaryKeywords: ['入库品种', '入库数量'],
dimensions: ['区分包装', '区分批号', '区分进院供应商'], dimensions: ['区分包装', '区分批号', '区分进院供应商'],
...@@ -51,7 +51,7 @@ export const deptReportOutData: CenterReportPageData = { ...@@ -51,7 +51,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,
......
...@@ -6,7 +6,7 @@ import { ...@@ -6,7 +6,7 @@ import {
export const deptReportPsiColumns = { export const deptReportPsiColumns = {
productCode: '物料编号', productCode: '物料编号',
productName: '产品名称', productName: '物料名称',
spec: '规格型号', spec: '规格型号',
consumableType: '耗材类型', consumableType: '耗材类型',
consumableCategory: '耗材分类', consumableCategory: '耗材分类',
...@@ -23,7 +23,7 @@ export const deptReportPsiData: CenterReportPageData = { ...@@ -23,7 +23,7 @@ export const deptReportPsiData: CenterReportPageData = {
iframeSrc: 'dept/psi', iframeSrc: 'dept/psi',
productNameSelector: '#form_item_branchName', productNameSelector: '#form_item_branchName',
columns: deptReportPsiColumns, columns: deptReportPsiColumns,
coreTableHeaders: ['物料编号', '产品名称', '规格型号', '期初数量', '净入数量', '净出数量', '期末数量'], coreTableHeaders: ['物料编号','物料名称', '规格型号', '期初数量', '净入数量', '净出数量', '期末数量'],
drawerFields: deptReportPsiComboDrawerFields, drawerFields: deptReportPsiComboDrawerFields,
mockNotExistProduct: '__NOT_EXIST_PRODUCT__99999', mockNotExistProduct: '__NOT_EXIST_PRODUCT__99999',
paginationPageSizeFrom: '50 条/页', paginationPageSizeFrom: '50 条/页',
......
...@@ -8,7 +8,7 @@ import { ...@@ -8,7 +8,7 @@ import {
export const deptReportSheetColumns = { export const deptReportSheetColumns = {
deptName: '科室名称', deptName: '科室名称',
productCode: '物料编号', productCode: '物料编号',
productName: '产品名称', productName: '物料名称',
accountDate: '记账日期', accountDate: '记账日期',
billType: '单据类型', billType: '单据类型',
batchNo: '批号', batchNo: '批号',
...@@ -37,7 +37,7 @@ export const deptReportSheetData: CenterReportPageData = { ...@@ -37,7 +37,7 @@ export const deptReportSheetData: CenterReportPageData = {
productNameSelector: '#form_item_goodsName', productNameSelector: '#form_item_goodsName',
columns: deptReportSheetColumns, columns: deptReportSheetColumns,
columnAliases: { orderNo: ['单号', '单据号'], deptName: ['科室名称', '科室'] }, columnAliases: { orderNo: ['单号', '单据号'], deptName: ['科室名称', '科室'] },
coreTableHeaders: ['科室名称', '物料编号', '产品名称', '单据类型', '批号', '入库数量', '出库数量', '单号'], coreTableHeaders: ['科室名称', '物料编号','物料名称', '单据类型', '批号', '入库数量', '出库数量', '单号'],
summaryKeywords: [...deptSheetSummaryMatch.metricLabels], summaryKeywords: [...deptSheetSummaryMatch.metricLabels],
summaryMatch: deptSheetSummaryMatch, summaryMatch: deptSheetSummaryMatch,
drawerFields: deptReportSheetComboDrawerFields, drawerFields: deptReportSheetComboDrawerFields,
......
...@@ -3,7 +3,7 @@ import { deptReportTurnoverComboQuickFields } from './dept-report-field-defs'; ...@@ -3,7 +3,7 @@ import { deptReportTurnoverComboQuickFields } from './dept-report-field-defs';
export const deptReportTurnoverColumns = { export const deptReportTurnoverColumns = {
productCode: '物料编号', productCode: '物料编号',
productName: '产品名称', productName: '物料名称',
spec: '规格型号', spec: '规格型号',
consumableType: '耗材类型', consumableType: '耗材类型',
openingQty: '期初数量', openingQty: '期初数量',
...@@ -32,7 +32,7 @@ export const deptReportTurnoverData: CenterReportPageData = { ...@@ -32,7 +32,7 @@ export const deptReportTurnoverData: CenterReportPageData = {
iframeSrc: 'dept/deptPro', iframeSrc: 'dept/deptPro',
productNameSelector: '#table_search_form_goodsName', productNameSelector: '#table_search_form_goodsName',
columns: deptReportTurnoverColumns, columns: deptReportTurnoverColumns,
coreTableHeaders: ['物料编号', '产品名称', '规格型号', '生产厂家', '耗材类型'], coreTableHeaders: ['物料编号','物料名称', '规格型号', '生产厂家', '耗材类型'],
extraTableHeaders: ['期初数量', '期末数量', '平均库存数量', '出库数量', '库存周转天数', '库存周转次数', '库存周转率'], extraTableHeaders: ['期初数量', '期末数量', '平均库存数量', '出库数量', '库存周转天数', '库存周转次数', '库存周转率'],
sortColumns: deptReportTurnoverSortColumns, sortColumns: deptReportTurnoverSortColumns,
sortCasePrefix: 'STAT-DTR', sortCasePrefix: 'STAT-DTR',
......
...@@ -19,7 +19,7 @@ export const excCostColumns = { ...@@ -19,7 +19,7 @@ export const excCostColumns = {
orderNo: '单号', orderNo: '单号',
field9: '记账时间', field9: '记账时间',
productCode: '物料编号', productCode: '物料编号',
productName: '产品名称', productName: '物料名称',
spec: '规格型号', spec: '规格型号',
field10: '单位', field10: '单位',
field11: '结算单价', field11: '结算单价',
......
...@@ -10,7 +10,7 @@ export const excLowColumns = { ...@@ -10,7 +10,7 @@ export const excLowColumns = {
his2: 'HIS项目名称', his2: 'HIS项目名称',
field: '净计费数量', field: '净计费数量',
productCode: '物料编号', productCode: '物料编号',
productName: '产品名称', productName: '物料名称',
spec: '规格型号', spec: '规格型号',
field2: '器械注册人-术语配置', field2: '器械注册人-术语配置',
field3: '单位', field3: '单位',
...@@ -55,7 +55,7 @@ export const excLowData: CenterReportPageData & { ...@@ -55,7 +55,7 @@ export const excLowData: CenterReportPageData & {
iframeSrc: 'abnormal/low', iframeSrc: 'abnormal/low',
productNameSelector: '#form_item_campus', productNameSelector: '#form_item_campus',
columns: excLowColumns, columns: excLowColumns,
coreTableHeaders: ['HIS收费编码', 'HIS项目名称', '净计费数量', '物料编号', '产品名称', '规格型号', '器械注册人-术语配置', '单位'], coreTableHeaders: ['HIS收费编码', 'HIS项目名称', '净计费数量', '物料编号','物料名称', '规格型号', '器械注册人-术语配置', '单位'],
columnAliases: { columnAliases: {
deptName: ['请领科室', '科室名称'], deptName: ['请领科室', '科室名称'],
}, },
......
...@@ -11,7 +11,7 @@ export const excLowniColumns = { ...@@ -11,7 +11,7 @@ export const excLowniColumns = {
his2: 'HIS项目名称', his2: 'HIS项目名称',
field2: '净计费数量', field2: '净计费数量',
productCode: '物料编号', productCode: '物料编号',
productName: '产品名称', productName: '物料名称',
spec: '规格型号', spec: '规格型号',
field3: '器械注册人-术语配置', field3: '器械注册人-术语配置',
field4: '单位', field4: '单位',
...@@ -55,7 +55,7 @@ export const excLowniData: CenterReportPageData & { ...@@ -55,7 +55,7 @@ export const excLowniData: CenterReportPageData & {
iframeSrc: 'abnormal/lowNoInterface', iframeSrc: 'abnormal/lowNoInterface',
productNameSelector: '#form_item_campus', productNameSelector: '#form_item_campus',
columns: excLowniColumns, columns: excLowniColumns,
coreTableHeaders: ['HIS收费编码', 'HIS项目名称', '净计费数量', '物料编号', '产品名称', '规格型号', '器械注册人-术语配置', '单位'], coreTableHeaders: ['HIS收费编码', 'HIS项目名称', '净计费数量', '物料编号','物料名称', '规格型号', '器械注册人-术语配置', '单位'],
columnAliases: { columnAliases: {
field5: ['采购计划号'], field5: ['采购计划号'],
deptName: ['请领科室', '科室名称'], deptName: ['请领科室', '科室名称'],
......
...@@ -15,7 +15,7 @@ export const polConsumerColumns = { ...@@ -15,7 +15,7 @@ export const polConsumerColumns = {
field9: '任务数量', field9: '任务数量',
field10: '初始完成量', field10: '初始完成量',
field11: '物料编码', field11: '物料编码',
productName: '产品名称', productName: '物料名称',
spec: '规格型号', spec: '规格型号',
field12: '器械注册人-术语配置', field12: '器械注册人-术语配置',
consumableType: '耗材类型', consumableType: '耗材类型',
...@@ -41,7 +41,7 @@ export const polConsumerComboFullQuickFields: readonly DeptQuickFieldDef[] = [ ...@@ -41,7 +41,7 @@ export const polConsumerComboFullQuickFields: readonly DeptQuickFieldDef[] = [
{ key: 'field', label: '任务名称', type: 'text' }, { key: 'field', label: '任务名称', type: 'text' },
{ key: 'field5', label: '带量类别', type: 'select' }, { key: 'field5', label: '带量类别', type: 'select' },
{ key: 'field6', label: '项目状态', type: 'select' }, { key: 'field6', label: '项目状态', type: 'select' },
{ key: 'productName', label: '产品名称', type: 'text' }, { key: 'productName', label: '物料名称', type: 'text' },
]; ];
export const polConsumerComboQuickFields: readonly DeptQuickFieldDef[] = [ export const polConsumerComboQuickFields: readonly DeptQuickFieldDef[] = [
{ key: 'field2', label: '消耗日期', type: 'date' }, { key: 'field2', label: '消耗日期', type: 'date' },
...@@ -54,13 +54,13 @@ export const polConsumerComboDrawerFields: readonly CenterReportDrawerField[] = ...@@ -54,13 +54,13 @@ export const polConsumerComboDrawerFields: readonly CenterReportDrawerField[] =
{ key: 'field', type: 'text', label: '任务名称' }, { key: 'field', type: 'text', label: '任务名称' },
{ key: 'field5', type: 'select', label: '带量类别' }, { key: 'field5', type: 'select', label: '带量类别' },
{ key: 'field6', type: 'select', label: '项目状态' }, { key: 'field6', type: 'select', label: '项目状态' },
{ key: 'productName', type: 'text', label: '产品名称' }, { key: 'productName', type: 'text', label: '物料名称' },
]; ];
export const polConsumerComboAssertKeys = ['field3', 'field', 'field5', 'field6', 'productName'] as const; export const polConsumerComboAssertKeys = ['field3', 'field', 'field5', 'field6', 'productName'] as const;
/** 收起后隐藏的扩展条件(第二行)。 */ /** 收起后隐藏的扩展条件(第二行)。 */
export const polConsumerExpandedQuickLabels = ['带量类别', '项目状态', '产品名称'] as const; export const polConsumerExpandedQuickLabels = ['带量类别', '项目状态','物料名称'] as const;
/** 扫描识别的可排序列(data/scan/pol-consumer-sort-columns.json sortableColumns)。 */ /** 扫描识别的可排序列(data/scan/pol-consumer-sort-columns.json sortableColumns)。 */
export const polConsumerSortColumns = [ export const polConsumerSortColumns = [
...@@ -71,8 +71,7 @@ export const polConsumerSortColumns = [ ...@@ -71,8 +71,7 @@ export const polConsumerSortColumns = [
'任务名称', '任务名称',
'任务数量', '任务数量',
'初始完成量', '初始完成量',
'物料编码', '物料编码','物料名称',
'产品名称',
'规格型号', '规格型号',
'器械注册人-术语配置', '器械注册人-术语配置',
'耗材类型', '耗材类型',
...@@ -128,7 +127,7 @@ export const polConsumerData: CenterReportPageData & { ...@@ -128,7 +127,7 @@ export const polConsumerData: CenterReportPageData & {
exportQueryFromSample: true, exportQueryFromSample: true,
columnSettingsToggleCandidates: ['备注'], columnSettingsToggleCandidates: ['备注'],
comboSampleScrollColumns: ['带量项目合同号', '带量类别', '状态', '任务名称', '产品名称'], comboSampleScrollColumns: ['带量项目合同号', '带量类别', '状态', '任务名称','物料名称'],
comboSamplePickKeys: ['field3', 'field', 'field5', 'field6', 'productName'], comboSamplePickKeys: ['field3', 'field', 'field5', 'field6', 'productName'],
comboSampleMaxRowScan: 5, comboSampleMaxRowScan: 5,
drawerFields: polConsumerComboDrawerFields, drawerFields: polConsumerComboDrawerFields,
......
...@@ -4,7 +4,7 @@ import type { DeptQuickFieldDef } from './dept-report-field-defs'; ...@@ -4,7 +4,7 @@ import type { DeptQuickFieldDef } from './dept-report-field-defs';
export const polRateColumns = { export const polRateColumns = {
field: '带量项目名称', field: '带量项目名称',
productName: '产品名称', productName: '物料名称',
field2: '计划开始日期', field2: '计划开始日期',
field3: '带量项目编号', field3: '带量项目编号',
volumeContractNo: '带量合同号', volumeContractNo: '带量合同号',
...@@ -43,25 +43,25 @@ export const polRateColumns = { ...@@ -43,25 +43,25 @@ export const polRateColumns = {
export const polRateComboFullQuickFields: readonly DeptQuickFieldDef[] = [ export const polRateComboFullQuickFields: readonly DeptQuickFieldDef[] = [
{ key: 'field', label: '带量项目名称', type: 'text' }, { key: 'field', label: '带量项目名称', type: 'text' },
{ key: 'productName', label: '产品名称', type: 'text' }, { key: 'productName', label: '物料名称', type: 'text' },
{ key: 'field2', label: '计划开始日期', type: 'date' }, { key: 'field2', label: '计划开始日期', type: 'date' },
]; ];
export const polRateComboQuickFields: readonly DeptQuickFieldDef[] = [ export const polRateComboQuickFields: readonly DeptQuickFieldDef[] = [
{ key: 'field', label: '带量项目名称', type: 'text' }, { key: 'field', label: '带量项目名称', type: 'text' },
{ key: 'productName', label: '产品名称', type: 'text' }, { key: 'productName', label: '物料名称', type: 'text' },
{ key: 'field2', label: '计划开始日期', type: 'date' }, { key: 'field2', label: '计划开始日期', type: 'date' },
]; ];
export const polRateComboDrawerFields: readonly CenterReportDrawerField[] = [ export const polRateComboDrawerFields: readonly CenterReportDrawerField[] = [
{ key: 'field', type: 'text', label: '带量项目名称' }, { key: 'field', type: 'text', label: '带量项目名称' },
{ key: 'productName', type: 'text', label: '产品名称' }, { key: 'productName', type: 'text', label: '物料名称' },
]; ];
export const polRateComboAssertKeys = ['field', 'productName'] as const; export const polRateComboAssertKeys = ['field', 'productName'] as const;
export const polRateDomainQuickFields: readonly DeptQuickFieldDef[] = [ export const polRateDomainQuickFields: readonly DeptQuickFieldDef[] = [
{ key: 'field', label: '带量项目名称', type: 'text' }, { key: 'field', label: '带量项目名称', type: 'text' },
{ key: 'productName', label: '产品名称', type: 'text' }, { key: 'productName', label: '物料名称', type: 'text' },
{ key: 'field2', label: '计划开始日期', type: 'date' }, { key: 'field2', label: '计划开始日期', type: 'date' },
]; ];
...@@ -85,7 +85,7 @@ export const polRateData: CenterReportPageData & { ...@@ -85,7 +85,7 @@ export const polRateData: CenterReportPageData & {
horizontalScrollTargetColumn: '项目完成率', horizontalScrollTargetColumn: '项目完成率',
horizontalScrollDragDelta: 320, horizontalScrollDragDelta: 320,
mockNotExistProduct: '__NOT_EXIST_PRODUCT__99999', mockNotExistProduct: '__NOT_EXIST_PRODUCT__99999',
mockFieldLabel: '产品名称', mockFieldLabel: '物料名称',
drawerResetFieldLabel: '带量项目名称', drawerResetFieldLabel: '带量项目名称',
drawerResetFieldKey: 'field', drawerResetFieldKey: 'field',
......
...@@ -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 reagEntryColumns = { export const reagEntryColumns = {
statDate: '统计日期', statDate: '统计日期',
supplierName: '进院供应商', supplierName: '进院供应商',
productName: '产品名称', productName: '物料名称',
productCode: '物料编号', productCode: '物料编号',
spec: '规格型号', spec: '规格型号',
registrant: '器械注册人-术语配置', registrant: '器械注册人-术语配置',
...@@ -34,7 +34,7 @@ export const reagEntryFixedCampusScope = { ...@@ -34,7 +34,7 @@ export const reagEntryFixedCampusScope = {
export const reagEntryComboFullQuickFields: readonly DeptQuickFieldDef[] = [ export const reagEntryComboFullQuickFields: readonly DeptQuickFieldDef[] = [
{ key: 'statDate', label: '统计日期', type: 'date' }, { key: 'statDate', label: '统计日期', type: 'date' },
{ key: 'supplierName', label: '进院供应商', type: 'text' }, { key: 'supplierName', label: '进院供应商', type: 'text' },
{ key: 'productName', label: '产品名称', type: 'text' }, { key: 'productName', label: '物料名称', type: 'text' },
{ key: 'spec', label: '规格型号', type: 'text' }, { key: 'spec', label: '规格型号', type: 'text' },
{ key: 'registrant', label: '器械注册人-术语配置', type: 'text' }, { key: 'registrant', label: '器械注册人-术语配置', type: 'text' },
{ key: 'overBatchQty', label: '超批号数量', type: 'text' }, { key: 'overBatchQty', label: '超批号数量', type: 'text' },
...@@ -44,7 +44,7 @@ export const reagEntryComboFullQuickFields: readonly DeptQuickFieldDef[] = [ ...@@ -44,7 +44,7 @@ export const reagEntryComboFullQuickFields: readonly DeptQuickFieldDef[] = [
export const reagEntryComboQuickFields: readonly DeptQuickFieldDef[] = [ export const reagEntryComboQuickFields: readonly DeptQuickFieldDef[] = [
{ key: 'statDate', label: '统计日期', type: 'date' }, { key: 'statDate', label: '统计日期', type: 'date' },
{ key: 'supplierName', label: '进院供应商', type: 'text' }, { key: 'supplierName', label: '进院供应商', type: 'text' },
{ key: 'productName', label: '产品名称', type: 'text' }, { key: 'productName', label: '物料名称', type: 'text' },
]; ];
/** STAT-RBE-008:有数据时首行样本导出所用快捷区字段(固定统计日期+院区+样本供应商/产品)。 */ /** STAT-RBE-008:有数据时首行样本导出所用快捷区字段(固定统计日期+院区+样本供应商/产品)。 */
...@@ -52,7 +52,7 @@ export const reagEntryExportSampleFields: readonly DeptQuickFieldDef[] = [ ...@@ -52,7 +52,7 @@ export const reagEntryExportSampleFields: readonly DeptQuickFieldDef[] = [
{ key: 'statDate', label: '统计日期', type: 'date' }, { key: 'statDate', label: '统计日期', type: 'date' },
{ key: 'campusScope', label: '院区范围', type: 'select' }, { key: 'campusScope', label: '院区范围', type: 'select' },
{ key: 'supplierName', label: '进院供应商', type: 'text' }, { key: 'supplierName', label: '进院供应商', type: 'text' },
{ key: 'productName', label: '产品名称', type: 'text' }, { key: 'productName', label: '物料名称', type: 'text' },
]; ];
export const reagEntryComboDrawerFields: readonly CenterReportDrawerField[] = []; export const reagEntryComboDrawerFields: readonly CenterReportDrawerField[] = [];
...@@ -84,8 +84,7 @@ export const reagEntryData: CenterReportPageData & { ...@@ -84,8 +84,7 @@ export const reagEntryData: CenterReportPageData & {
productNameSelector: '#table_search_form_goodsName', productNameSelector: '#table_search_form_goodsName',
columns: reagEntryColumns, columns: reagEntryColumns,
coreTableHeaders: [ coreTableHeaders: [
'物料编号', '物料编号','物料名称',
'产品名称',
'规格型号', '规格型号',
'器械注册人-术语配置', '器械注册人-术语配置',
'单位', '单位',
...@@ -103,7 +102,7 @@ export const reagEntryData: CenterReportPageData & { ...@@ -103,7 +102,7 @@ export const reagEntryData: CenterReportPageData & {
horizontalScrollTargetColumn: '器械注册人-术语配置', horizontalScrollTargetColumn: '器械注册人-术语配置',
horizontalScrollDragDelta: 320, horizontalScrollDragDelta: 320,
mockNotExistProduct: '__NOT_EXIST_PRODUCT__99999', mockNotExistProduct: '__NOT_EXIST_PRODUCT__99999',
mockFieldLabel: '产品名称', mockFieldLabel: '物料名称',
drawerResetFieldLabel: '进院供应商', drawerResetFieldLabel: '进院供应商',
drawerResetFieldKey: 'supplierName', drawerResetFieldKey: 'supplierName',
......
...@@ -3,7 +3,7 @@ import type { CenterReportDrawerField } from './center-report-shared.types'; ...@@ -3,7 +3,7 @@ import type { CenterReportDrawerField } from './center-report-shared.types';
import type { DeptQuickFieldDef } from './dept-report-field-defs'; import type { DeptQuickFieldDef } from './dept-report-field-defs';
export const reconDeptNetInColumns = { export const reconDeptNetInColumns = {
productName: '产品名称', productName: '物料名称',
statDate: '统计日期', statDate: '统计日期',
consumableType: '耗材类型', consumableType: '耗材类型',
campus: '院区名称', campus: '院区名称',
...@@ -19,7 +19,7 @@ export const reconDeptNetInSummaryMetrics = [ ...@@ -19,7 +19,7 @@ export const reconDeptNetInSummaryMetrics = [
] as const; ] as const;
export const reconDeptNetInComboQuickFields: readonly DeptQuickFieldDef[] = [ export const reconDeptNetInComboQuickFields: readonly DeptQuickFieldDef[] = [
{ key: 'productName', label: '产品名称', type: 'text' }, { key: 'productName', label: '物料名称', type: 'text' },
{ key: 'statDate', label: '统计日期', type: 'date' }, { key: 'statDate', label: '统计日期', type: 'date' },
{ key: 'consumableType', label: '耗材类型', type: 'select' }, { key: 'consumableType', label: '耗材类型', type: 'select' },
{ key: 'campus', label: '院区名称', type: 'select' }, { key: 'campus', label: '院区名称', type: 'select' },
...@@ -33,8 +33,7 @@ export const reconDeptNetInComboDrawerFields: readonly CenterReportDrawerField[] ...@@ -33,8 +33,7 @@ export const reconDeptNetInComboDrawerFields: readonly CenterReportDrawerField[]
export const reconDeptNetInComboAssertKeys = ['productName', 'statDate', 'consumableType', 'campus'] as const; export const reconDeptNetInComboAssertKeys = ['productName', 'statDate', 'consumableType', 'campus'] as const;
/** 截图可见列表字段(不含序号);无排序控件时脚本 skip。 */ /** 截图可见列表字段(不含序号);无排序控件时脚本 skip。 */
export const reconDeptNetInSortColumns = [ export const reconDeptNetInSortColumns = ['物料名称',
'产品名称',
'单位', '单位',
'规格', '规格',
'型号', '型号',
...@@ -49,7 +48,7 @@ export const reconDeptNetInData: CenterReportPageData = { ...@@ -49,7 +48,7 @@ export const reconDeptNetInData: CenterReportPageData = {
iframeSrc: 'checkAccount/outRequest', iframeSrc: 'checkAccount/outRequest',
productNameSelector: '#form_item_goodsName', productNameSelector: '#form_item_goodsName',
columns: reconDeptNetInColumns, columns: reconDeptNetInColumns,
coreTableHeaders: ['产品名称', '科室名称', '院区名称', '统计日期', '耗材类型', '净入数量', '净入金额'], coreTableHeaders: ['物料名称', '科室名称', '院区名称', '统计日期', '耗材类型', '净入数量', '净入金额'],
summaryKeywords: ['净入数量', '净入金额'], summaryKeywords: ['净入数量', '净入金额'],
dimensions: ['区分批号', '区分目标科室', '区分单价'], dimensions: ['区分批号', '区分目标科室', '区分单价'],
...@@ -57,7 +56,7 @@ export const reconDeptNetInData: CenterReportPageData = { ...@@ -57,7 +56,7 @@ export const reconDeptNetInData: CenterReportPageData = {
sortCasePrefix: 'STAT-RNI', sortCasePrefix: 'STAT-RNI',
sortCaseStartIndex: 20, sortCaseStartIndex: 20,
mockNotExistProduct: '__NOT_EXIST_PRODUCT__99999', mockNotExistProduct: '__NOT_EXIST_PRODUCT__99999',
mockFieldLabel: '产品名称', mockFieldLabel: '物料名称',
paginationPageSizeFrom: '50 条/页', paginationPageSizeFrom: '50 条/页',
paginationPageSizeTo: '100 条/页', paginationPageSizeTo: '100 条/页',
sampleRowIndex: 0, sampleRowIndex: 0,
...@@ -72,7 +71,7 @@ export const reconDeptNetInData: CenterReportPageData = { ...@@ -72,7 +71,7 @@ export const reconDeptNetInData: CenterReportPageData = {
exportSelectFirstRow: false, exportSelectFirstRow: false,
exportQueryFromSample: true, exportQueryFromSample: true,
horizontalScrollAnchorColumn: '产品名称', horizontalScrollAnchorColumn: '物料名称',
horizontalScrollTargetColumn: '耗材类型', horizontalScrollTargetColumn: '耗材类型',
horizontalScrollDragDelta: 320, horizontalScrollDragDelta: 320,
comboSamplePickKeys: ['productName', 'statDate', 'consumableType', 'campus'], comboSamplePickKeys: ['productName', 'statDate', 'consumableType', 'campus'],
......
...@@ -3,7 +3,7 @@ import type { CenterReportDrawerField } from './center-report-shared.types'; ...@@ -3,7 +3,7 @@ import type { CenterReportDrawerField } from './center-report-shared.types';
import type { DeptQuickFieldDef } from './dept-report-field-defs'; import type { DeptQuickFieldDef } from './dept-report-field-defs';
export const reconDeptNetOutColumns = { export const reconDeptNetOutColumns = {
productName: '产品名称', productName: '物料名称',
accountDate: '记账日期', accountDate: '记账日期',
campus: '院区名称', campus: '院区名称',
deptName: '科室', deptName: '科室',
...@@ -23,7 +23,7 @@ export const reconDeptNetOutSummaryMetrics = [ ...@@ -23,7 +23,7 @@ export const reconDeptNetOutSummaryMetrics = [
] as const; ] as const;
export const reconDeptNetOutComboQuickFields: readonly DeptQuickFieldDef[] = [ export const reconDeptNetOutComboQuickFields: readonly DeptQuickFieldDef[] = [
{ key: 'productName', label: '产品名称', type: 'text' }, { key: 'productName', label: '物料名称', type: 'text' },
{ key: 'accountDate', label: '记账日期', type: 'date' }, { key: 'accountDate', label: '记账日期', type: 'date' },
{ key: 'campus', label: '院区名称', type: 'select' }, { key: 'campus', label: '院区名称', type: 'select' },
{ key: 'deptName', label: '科室', type: 'select' }, { key: 'deptName', label: '科室', type: 'select' },
...@@ -40,11 +40,11 @@ export const reconDeptNetOutData: CenterReportPageData = { ...@@ -40,11 +40,11 @@ export const reconDeptNetOutData: CenterReportPageData = {
iframeSrc: 'checkAccount/deptOut', iframeSrc: 'checkAccount/deptOut',
productNameSelector: '#form_item_goodsName', productNameSelector: '#form_item_goodsName',
columns: reconDeptNetOutColumns, columns: reconDeptNetOutColumns,
coreTableHeaders: ['产品名称', '科室', '院区名称', '记账日期', '单据形态', '批号', '净出数量', '净出金额'], coreTableHeaders: ['物料名称', '科室', '院区名称', '记账日期', '单据形态', '批号', '净出数量', '净出金额'],
summaryKeywords: ['净出数量', '净出金额'], summaryKeywords: ['净出数量', '净出金额'],
dimensions: ['区分包装', '区分批号'], dimensions: ['区分包装', '区分批号'],
mockNotExistProduct: '__NOT_EXIST_PRODUCT__99999', mockNotExistProduct: '__NOT_EXIST_PRODUCT__99999',
mockFieldLabel: '产品名称', mockFieldLabel: '物料名称',
paginationPageSizeFrom: '50 条/页', paginationPageSizeFrom: '50 条/页',
paginationPageSizeTo: '100 条/页', paginationPageSizeTo: '100 条/页',
sampleRowIndex: 0, sampleRowIndex: 0,
...@@ -59,7 +59,7 @@ export const reconDeptNetOutData: CenterReportPageData = { ...@@ -59,7 +59,7 @@ export const reconDeptNetOutData: CenterReportPageData = {
exportSelectFirstRow: false, exportSelectFirstRow: false,
exportQueryFromSample: true, exportQueryFromSample: true,
horizontalScrollAnchorColumn: '产品名称', horizontalScrollAnchorColumn: '物料名称',
horizontalScrollTargetColumn: '批号', horizontalScrollTargetColumn: '批号',
horizontalScrollDragDelta: 320, horizontalScrollDragDelta: 320,
comboSamplePickKeys: ['productName', 'accountDate', 'campus', 'deptName', 'settlement'], comboSamplePickKeys: ['productName', 'accountDate', 'campus', 'deptName', 'settlement'],
......
...@@ -3,7 +3,7 @@ import type { CenterReportDrawerField } from './center-report-shared.types'; ...@@ -3,7 +3,7 @@ import type { CenterReportDrawerField } from './center-report-shared.types';
import type { DeptQuickFieldDef } from './dept-report-field-defs'; import type { DeptQuickFieldDef } from './dept-report-field-defs';
export const reconPurchaseEntryColumns = { export const reconPurchaseEntryColumns = {
productName: '产品名称', productName: '物料名称',
statDate: '统计日期', statDate: '统计日期',
supplierName: '进院供应商名称', supplierName: '进院供应商名称',
subSupplierName: '二级供应商名称', subSupplierName: '二级供应商名称',
...@@ -14,7 +14,7 @@ export const reconPurchaseEntryColumns = { ...@@ -14,7 +14,7 @@ export const reconPurchaseEntryColumns = {
} as const; } as const;
export const reconPurchaseEntryComboQuickFields: readonly DeptQuickFieldDef[] = [ export const reconPurchaseEntryComboQuickFields: readonly DeptQuickFieldDef[] = [
{ key: 'productName', label: '产品名称', type: 'text' }, { key: 'productName', label: '物料名称', type: 'text' },
{ key: 'statDate', label: '统计日期', type: 'date' }, { key: 'statDate', label: '统计日期', type: 'date' },
{ key: 'supplierName', label: '进院供应商名称', type: 'text' }, { key: 'supplierName', label: '进院供应商名称', type: 'text' },
{ key: 'subSupplierName', label: '二级供应商名称', type: 'text' }, { key: 'subSupplierName', label: '二级供应商名称', type: 'text' },
...@@ -28,8 +28,7 @@ export const reconPurchaseEntryComboDrawerFields: readonly CenterReportDrawerFie ...@@ -28,8 +28,7 @@ export const reconPurchaseEntryComboDrawerFields: readonly CenterReportDrawerFie
export const reconPurchaseEntryComboAssertKeys = ['productName', 'statDate', 'supplierName', 'subSupplierName'] as const; export const reconPurchaseEntryComboAssertKeys = ['productName', 'statDate', 'supplierName', 'subSupplierName'] as const;
/** 截图可见列表字段(不含序号);无排序控件时脚本 skip。 */ /** 截图可见列表字段(不含序号);无排序控件时脚本 skip。 */
export const reconPurchaseEntrySortColumns = [ export const reconPurchaseEntrySortColumns = ['物料名称',
'产品名称',
'单位', '单位',
'规格', '规格',
'型号', '型号',
...@@ -47,10 +46,10 @@ export const reconPurchaseEntryData: CenterReportPageData = { ...@@ -47,10 +46,10 @@ export const reconPurchaseEntryData: CenterReportPageData = {
columnAliases: { columnAliases: {
productType: ['物料类型', '产品类型'], productType: ['物料类型', '产品类型'],
}, },
coreTableHeaders: ['产品名称', '院区名称', '进院供应商名称', '统计日期', '二级供应商名称', '产品类型'], coreTableHeaders: ['物料名称', '院区名称', '进院供应商名称', '统计日期', '二级供应商名称', '产品类型'],
dimensions: ['区分批号', '区分供应商', '区分单价'], dimensions: ['区分批号', '区分供应商', '区分单价'],
mockNotExistProduct: '__NOT_EXIST_PRODUCT__99999', mockNotExistProduct: '__NOT_EXIST_PRODUCT__99999',
mockFieldLabel: '产品名称', mockFieldLabel: '物料名称',
paginationPageSizeFrom: '50 条/页', paginationPageSizeFrom: '50 条/页',
paginationPageSizeTo: '100 条/页', paginationPageSizeTo: '100 条/页',
sampleRowIndex: 0, sampleRowIndex: 0,
...@@ -71,7 +70,7 @@ export const reconPurchaseEntryData: CenterReportPageData = { ...@@ -71,7 +70,7 @@ export const reconPurchaseEntryData: CenterReportPageData = {
exportSelectFirstRow: false, exportSelectFirstRow: false,
exportQueryFromSample: true, exportQueryFromSample: true,
horizontalScrollAnchorColumn: '产品名称', horizontalScrollAnchorColumn: '物料名称',
horizontalScrollTargetColumn: '产品类型', horizontalScrollTargetColumn: '产品类型',
horizontalScrollDragDelta: 320, horizontalScrollDragDelta: 320,
comboSamplePickKeys: ['productName', 'statDate', 'supplierName', 'subSupplierName', 'inboundQty'], comboSamplePickKeys: ['productName', 'statDate', 'supplierName', 'subSupplierName', 'inboundQty'],
......
...@@ -3,7 +3,7 @@ import type { CenterReportDrawerField } from './center-report-shared.types'; ...@@ -3,7 +3,7 @@ import type { CenterReportDrawerField } from './center-report-shared.types';
import type { DeptQuickFieldDef } from './dept-report-field-defs'; import type { DeptQuickFieldDef } from './dept-report-field-defs';
export const traceBarcodeColumns = { export const traceBarcodeColumns = {
productName: '产品名称', productName: '物料名称',
udi: 'UDI码', udi: 'UDI码',
field: '原厂码', field: '原厂码',
field2: '合单出库单号', field2: '合单出库单号',
...@@ -22,7 +22,7 @@ export const traceBarcodeColumns = { ...@@ -22,7 +22,7 @@ export const traceBarcodeColumns = {
} as const; } as const;
export const traceBarcodeComboQuickFields: readonly DeptQuickFieldDef[] = [ export const traceBarcodeComboQuickFields: readonly DeptQuickFieldDef[] = [
{ key: 'productName', label: '产品名称', type: 'text' }, { key: 'productName', label: '物料名称', type: 'text' },
{ key: 'udi', label: 'UDI码', type: 'text' }, { key: 'udi', label: 'UDI码', type: 'text' },
{ key: 'field', label: '原厂码', type: 'text' }, { key: 'field', label: '原厂码', type: 'text' },
{ key: 'field2', label: '合单出库单号', type: 'text' }, { key: 'field2', label: '合单出库单号', type: 'text' },
...@@ -56,7 +56,7 @@ export const traceBarcodeData: CenterReportPageData & { ...@@ -56,7 +56,7 @@ export const traceBarcodeData: CenterReportPageData & {
field5: ['采购计划号'], field5: ['采购计划号'],
}, },
horizontalScrollAnchorColumn: '产品名称', horizontalScrollAnchorColumn: '物料名称',
horizontalScrollTargetColumn: '配送单号', horizontalScrollTargetColumn: '配送单号',
horizontalScrollDragDelta: 320, horizontalScrollDragDelta: 320,
mockNotExistProduct: '__NOT_EXIST_BARCODE__99999', mockNotExistProduct: '__NOT_EXIST_BARCODE__99999',
...@@ -79,7 +79,7 @@ export const traceBarcodeData: CenterReportPageData & { ...@@ -79,7 +79,7 @@ export const traceBarcodeData: CenterReportPageData & {
exportQueryFromSample: true, exportQueryFromSample: true,
columnSettingsToggleCandidates: ['耗材类型'], columnSettingsToggleCandidates: ['耗材类型'],
comboSampleScrollColumns: ['原厂码', '产品名称', '配送单号', '合单出库单号', '批号'], comboSampleScrollColumns: ['原厂码','物料名称', '配送单号', '合单出库单号', '批号'],
comboSamplePickKeys: ['productName', 'udi', 'batchNo'], comboSamplePickKeys: ['productName', 'udi', 'batchNo'],
comboSampleMaxRowScan: 2, comboSampleMaxRowScan: 2,
drawerFields: traceBarcodeComboDrawerFields, drawerFields: traceBarcodeComboDrawerFields,
......
...@@ -40,7 +40,7 @@ export const traceDirectDetailColumns = { ...@@ -40,7 +40,7 @@ export const traceDirectDetailColumns = {
export const traceDirectDetailComboQuickFields: readonly DeptQuickFieldDef[] = [ export const traceDirectDetailComboQuickFields: readonly DeptQuickFieldDef[] = [
{ key: 'field', label: '请领日期', type: 'date' }, { key: 'field', label: '请领日期', type: 'date' },
{ key: 'productName', label: '产品名称', type: 'text' }, { key: 'productName', label: '物料名称', type: 'text' },
{ key: 'spec', label: '规格型号', type: 'text' }, { key: 'spec', label: '规格型号', type: 'text' },
]; ];
...@@ -59,7 +59,7 @@ export const traceDirectDetailComboDrawerFields: readonly CenterReportDrawerFiel ...@@ -59,7 +59,7 @@ export const traceDirectDetailComboDrawerFields: readonly CenterReportDrawerFiel
export const traceDirectDetailComboAssertKeys = ['field2', 'productName', 'field4'] as const; export const traceDirectDetailComboAssertKeys = ['field2', 'productName', 'field4'] as const;
export const traceDirectDetailDomainQuickFields: readonly DeptQuickFieldDef[] = [ export const traceDirectDetailDomainQuickFields: readonly DeptQuickFieldDef[] = [
{ key: 'productName', label: '产品名称', type: 'text' }, { key: 'productName', label: '物料名称', type: 'text' },
]; ];
export const traceDirectDetailDomainAssertKeys = ['field2', 'productName', 'field4'] as const; export const traceDirectDetailDomainAssertKeys = ['field2', 'productName', 'field4'] as const;
......
...@@ -3,7 +3,7 @@ import type { CenterReportDrawerField } from './center-report-shared.types'; ...@@ -3,7 +3,7 @@ import type { CenterReportDrawerField } from './center-report-shared.types';
import type { DeptQuickFieldDef } from './dept-report-field-defs'; import type { DeptQuickFieldDef } from './dept-report-field-defs';
export const warnDetainColumns = { export const warnDetainColumns = {
productName: '产品名称', productName: '物料名称',
field: '默认供应商', field: '默认供应商',
productType: '产品类型', productType: '产品类型',
campus: '院区名称', campus: '院区名称',
...@@ -22,14 +22,14 @@ export const warnDetainColumns = { ...@@ -22,14 +22,14 @@ export const warnDetainColumns = {
export const warnDetainComboFullQuickFields: readonly DeptQuickFieldDef[] = [ export const warnDetainComboFullQuickFields: readonly DeptQuickFieldDef[] = [
{ key: 'productName', label: '产品名称', type: 'text' }, { key: 'productName', label: '物料名称', type: 'text' },
]; ];
export const warnDetainComboQuickFields: readonly DeptQuickFieldDef[] = [ export const warnDetainComboQuickFields: readonly DeptQuickFieldDef[] = [
{ key: 'productName', label: '产品名称', type: 'text' }, { key: 'productName', label: '物料名称', type: 'text' },
]; ];
export const warnDetainComboDrawerFields: readonly CenterReportDrawerField[] = [ export const warnDetainComboDrawerFields: readonly CenterReportDrawerField[] = [
{ key: 'productName', type: 'text', label: '产品名称' }, { key: 'productName', type: 'text', label: '物料名称' },
{ key: 'field', type: 'text', label: '默认供应商' }, { key: 'field', type: 'text', label: '默认供应商' },
{ key: 'productType', type: 'select', label: '产品类型' }, { key: 'productType', type: 'select', label: '产品类型' },
{ key: 'campus', type: 'select', label: '院区名称' }, { key: 'campus', type: 'select', label: '院区名称' },
...@@ -40,8 +40,7 @@ export const warnDetainComboAssertKeys = ['productName'] as const; ...@@ -40,8 +40,7 @@ export const warnDetainComboAssertKeys = ['productName'] as const;
export const warnDetainSortColumns = [ export const warnDetainSortColumns = [
'库房名称', '库房名称',
'物料编号', '物料编号','物料名称',
'产品名称',
'规格型号', '规格型号',
'规格', '规格',
'型号', '型号',
...@@ -66,7 +65,7 @@ export const warnDetainData: CenterReportPageData & { ...@@ -66,7 +65,7 @@ export const warnDetainData: CenterReportPageData & {
iframeSrc: 'warning/detainDept', iframeSrc: 'warning/detainDept',
productNameSelector: '#form_item_goodsName', productNameSelector: '#form_item_goodsName',
columns: warnDetainColumns, columns: warnDetainColumns,
coreTableHeaders: ['院区名称', '库房名称', '物料编号', '产品名称', '规格型号', '规格', '型号', '器械注册人-术语配置'], coreTableHeaders: ['院区名称', '库房名称', '物料编号','物料名称', '规格型号', '规格', '型号', '器械注册人-术语配置'],
columnAliases: { columnAliases: {
field5: ['采购计划号'], field5: ['采购计划号'],
}, },
...@@ -75,9 +74,9 @@ export const warnDetainData: CenterReportPageData & { ...@@ -75,9 +74,9 @@ export const warnDetainData: CenterReportPageData & {
horizontalScrollTargetColumn: '待发数量', horizontalScrollTargetColumn: '待发数量',
horizontalScrollDragDelta: 320, horizontalScrollDragDelta: 320,
mockNotExistProduct: '__NOT_EXIST_PRODUCT__99999', mockNotExistProduct: '__NOT_EXIST_PRODUCT__99999',
mockFieldLabel: '产品名称', mockFieldLabel: '物料名称',
drawerResetFieldLabel: '产品名称', drawerResetFieldLabel: '物料名称',
drawerResetFieldKey: 'productName', drawerResetFieldKey: 'productName',
paginationPageSizeFrom: '50 条/页', paginationPageSizeFrom: '50 条/页',
paginationPageSizeTo: '100 条/页', paginationPageSizeTo: '100 条/页',
......
...@@ -3,7 +3,7 @@ import type { CenterReportDrawerField } from './center-report-shared.types'; ...@@ -3,7 +3,7 @@ import type { CenterReportDrawerField } from './center-report-shared.types';
import type { DeptQuickFieldDef } from './dept-report-field-defs'; import type { DeptQuickFieldDef } from './dept-report-field-defs';
export const warnExpdtColumns = { export const warnExpdtColumns = {
productName: '产品名称', productName: '物料名称',
supplierName: '进院供应商名称', supplierName: '进院供应商名称',
field: '近效期', field: '近效期',
field2: '条码', field2: '条码',
...@@ -29,16 +29,16 @@ export const warnExpdtColumns = { ...@@ -29,16 +29,16 @@ export const warnExpdtColumns = {
export const warnExpdtComboFullQuickFields: readonly DeptQuickFieldDef[] = [ export const warnExpdtComboFullQuickFields: readonly DeptQuickFieldDef[] = [
{ key: 'productName', label: '产品名称', type: 'text' }, { key: 'productName', label: '物料名称', type: 'text' },
{ key: 'supplierName', label: '进院供应商名称', type: 'text' }, { key: 'supplierName', label: '进院供应商名称', type: 'text' },
]; ];
export const warnExpdtComboQuickFields: readonly DeptQuickFieldDef[] = [ export const warnExpdtComboQuickFields: readonly DeptQuickFieldDef[] = [
{ key: 'productName', label: '产品名称', type: 'text' }, { key: 'productName', label: '物料名称', type: 'text' },
{ key: 'supplierName', label: '进院供应商名称', type: 'text' }, { key: 'supplierName', label: '进院供应商名称', type: 'text' },
]; ];
export const warnExpdtComboDrawerFields: readonly CenterReportDrawerField[] = [ export const warnExpdtComboDrawerFields: readonly CenterReportDrawerField[] = [
{ key: 'productName', type: 'text', label: '产品名称' }, { key: 'productName', type: 'text', label: '物料名称' },
{ key: 'supplierName', type: 'text', label: '进院供应商名称' }, { key: 'supplierName', type: 'text', label: '进院供应商名称' },
{ key: 'field', type: 'select', label: '近效期' }, { key: 'field', type: 'select', label: '近效期' },
{ key: 'field2', type: 'text', label: '条码' }, { key: 'field2', type: 'text', label: '条码' },
...@@ -48,7 +48,7 @@ export const warnExpdtComboDrawerFields: readonly CenterReportDrawerField[] = [ ...@@ -48,7 +48,7 @@ export const warnExpdtComboDrawerFields: readonly CenterReportDrawerField[] = [
export const warnExpdtComboAssertKeys = ['productName', 'supplierName'] as const; export const warnExpdtComboAssertKeys = ['productName', 'supplierName'] as const;
export const warnExpdtDomainQuickFields: readonly DeptQuickFieldDef[] = [ export const warnExpdtDomainQuickFields: readonly DeptQuickFieldDef[] = [
{ key: 'productName', label: '产品名称', type: 'text' }, { key: 'productName', label: '物料名称', type: 'text' },
{ key: 'supplierName', label: '进院供应商名称', type: 'text' }, { key: 'supplierName', label: '进院供应商名称', type: 'text' },
]; ];
...@@ -63,7 +63,7 @@ export const warnExpdtData: CenterReportPageData & { ...@@ -63,7 +63,7 @@ export const warnExpdtData: CenterReportPageData & {
iframeSrc: 'warning/expdtQuery', iframeSrc: 'warning/expdtQuery',
productNameSelector: '#form_item_goodsName', productNameSelector: '#form_item_goodsName',
columns: warnExpdtColumns, columns: warnExpdtColumns,
coreTableHeaders: ['条码', '院区', '库房', '库区', '物料编号', '产品名称', '规格型号', '耗材类型'], coreTableHeaders: ['条码', '院区', '库房', '库区', '物料编号','物料名称', '规格型号', '耗材类型'],
columnAliases: { columnAliases: {
supplierName: ['进院供应商'], supplierName: ['进院供应商'],
field5: ['采购计划号'], field5: ['采购计划号'],
...@@ -73,9 +73,9 @@ export const warnExpdtData: CenterReportPageData & { ...@@ -73,9 +73,9 @@ export const warnExpdtData: CenterReportPageData & {
horizontalScrollTargetColumn: '有效期至', horizontalScrollTargetColumn: '有效期至',
horizontalScrollDragDelta: 320, horizontalScrollDragDelta: 320,
mockNotExistProduct: '__NOT_EXIST_PRODUCT__99999', mockNotExistProduct: '__NOT_EXIST_PRODUCT__99999',
mockFieldLabel: '产品名称', mockFieldLabel: '物料名称',
drawerResetFieldLabel: '产品名称', drawerResetFieldLabel: '物料名称',
drawerResetFieldKey: 'productName', drawerResetFieldKey: 'productName',
paginationPageSizeFrom: '50 条/页', paginationPageSizeFrom: '50 条/页',
paginationPageSizeTo: '100 条/页', paginationPageSizeTo: '100 条/页',
...@@ -93,7 +93,7 @@ export const warnExpdtData: CenterReportPageData & { ...@@ -93,7 +93,7 @@ export const warnExpdtData: CenterReportPageData & {
exportQueryFromSample: true, exportQueryFromSample: true,
columnSettingsToggleCandidates: ['条码'], columnSettingsToggleCandidates: ['条码'],
comboSampleScrollColumns: ['产品名称'], comboSampleScrollColumns: ['物料名称'],
comboSamplePickKeys: ['productName', 'supplierName', 'field', 'field2', 'consumableType'], comboSamplePickKeys: ['productName', 'supplierName', 'field', 'field2', 'consumableType'],
comboSampleMaxRowScan: 5, comboSampleMaxRowScan: 5,
drawerFields: warnExpdtComboDrawerFields, drawerFields: warnExpdtComboDrawerFields,
......
...@@ -3,7 +3,7 @@ import type { CenterReportDrawerField } from './center-report-shared.types'; ...@@ -3,7 +3,7 @@ import type { CenterReportDrawerField } from './center-report-shared.types';
import type { DeptQuickFieldDef } from './dept-report-field-defs'; import type { DeptQuickFieldDef } from './dept-report-field-defs';
export const warnLowColumns = { export const warnLowColumns = {
productName: '产品名称', productName: '物料名称',
field: '默认供应商', field: '默认供应商',
consumableType: '耗材类型', consumableType: '耗材类型',
campus: '院区名称', campus: '院区名称',
...@@ -23,7 +23,7 @@ export const warnLowColumns = { ...@@ -23,7 +23,7 @@ export const warnLowColumns = {
export const warnLowComboFullQuickFields: readonly DeptQuickFieldDef[] = [ export const warnLowComboFullQuickFields: readonly DeptQuickFieldDef[] = [
{ key: 'productName', label: '产品名称', type: 'text' }, { key: 'productName', label: '物料名称', type: 'text' },
{ key: 'field', label: '默认供应商', type: 'text' }, { key: 'field', label: '默认供应商', type: 'text' },
{ key: 'consumableType', label: '耗材类型', type: 'select' }, { key: 'consumableType', label: '耗材类型', type: 'select' },
{ key: 'campus', label: '院区', type: 'select' }, { key: 'campus', label: '院区', type: 'select' },
...@@ -31,13 +31,13 @@ export const warnLowComboFullQuickFields: readonly DeptQuickFieldDef[] = [ ...@@ -31,13 +31,13 @@ export const warnLowComboFullQuickFields: readonly DeptQuickFieldDef[] = [
{ key: 'storageArea', label: '库区', type: 'select' }, { key: 'storageArea', label: '库区', type: 'select' },
]; ];
export const warnLowComboQuickFields: readonly DeptQuickFieldDef[] = [ export const warnLowComboQuickFields: readonly DeptQuickFieldDef[] = [
{ key: 'productName', label: '产品名称', type: 'text' }, { key: 'productName', label: '物料名称', type: 'text' },
{ key: 'field', label: '默认供应商', type: 'text' }, { key: 'field', label: '默认供应商', type: 'text' },
{ key: 'consumableType', label: '耗材类型', type: 'select' }, { key: 'consumableType', label: '耗材类型', type: 'select' },
]; ];
export const warnLowComboDrawerFields: readonly CenterReportDrawerField[] = [ export const warnLowComboDrawerFields: readonly CenterReportDrawerField[] = [
{ key: 'productName', type: 'text', label: '产品名称' }, { key: 'productName', type: 'text', label: '物料名称' },
{ key: 'field', type: 'text', label: '默认供应商' }, { key: 'field', type: 'text', label: '默认供应商' },
{ key: 'consumableType', type: 'select', label: '耗材类型' }, { key: 'consumableType', type: 'select', label: '耗材类型' },
]; ];
...@@ -52,7 +52,7 @@ export const warnLowComboAssertKeys = [ ...@@ -52,7 +52,7 @@ export const warnLowComboAssertKeys = [
] as const; ] as const;
export const warnLowDomainQuickFields: readonly DeptQuickFieldDef[] = [ export const warnLowDomainQuickFields: readonly DeptQuickFieldDef[] = [
{ key: 'productName', label: '产品名称', type: 'text' }, { key: 'productName', label: '物料名称', type: 'text' },
{ key: 'field', label: '默认供应商', type: 'text' }, { key: 'field', label: '默认供应商', type: 'text' },
{ key: 'consumableType', label: '耗材类型', type: 'select' }, { key: 'consumableType', label: '耗材类型', type: 'select' },
]; ];
...@@ -68,7 +68,7 @@ export const warnLowData: CenterReportPageData & { ...@@ -68,7 +68,7 @@ export const warnLowData: CenterReportPageData & {
iframeSrc: 'warning/lowStorage', iframeSrc: 'warning/lowStorage',
productNameSelector: '#form_item_goodsName', productNameSelector: '#form_item_goodsName',
columns: warnLowColumns, columns: warnLowColumns,
coreTableHeaders: ['院区名称', '库房名称', '库区名称', '物料编号', '产品名称', '规格型号', '器械注册人-术语配置', '默认供应商'], coreTableHeaders: ['院区名称', '库房名称', '库区名称', '物料编号','物料名称', '规格型号', '器械注册人-术语配置', '默认供应商'],
columnAliases: { columnAliases: {
field5: ['采购计划号'], field5: ['采购计划号'],
}, },
...@@ -77,9 +77,9 @@ export const warnLowData: CenterReportPageData & { ...@@ -77,9 +77,9 @@ export const warnLowData: CenterReportPageData & {
horizontalScrollTargetColumn: '耗材类型', horizontalScrollTargetColumn: '耗材类型',
horizontalScrollDragDelta: 320, horizontalScrollDragDelta: 320,
mockNotExistProduct: '__NOT_EXIST_PRODUCT__99999', mockNotExistProduct: '__NOT_EXIST_PRODUCT__99999',
mockFieldLabel: '产品名称', mockFieldLabel: '物料名称',
drawerResetFieldLabel: '产品名称', drawerResetFieldLabel: '物料名称',
drawerResetFieldKey: 'productName', drawerResetFieldKey: 'productName',
paginationPageSizeFrom: '50 条/页', paginationPageSizeFrom: '50 条/页',
paginationPageSizeTo: '100 条/页', paginationPageSizeTo: '100 条/页',
......
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