@gct-paas/word 0.2.33-beta.1 → 0.2.36-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -25
- package/dist/assets/svgs/table/index.d.ts +0 -1
- package/dist/base/index.d.ts +1 -0
- package/dist/base/input/src/input-number.vue.d.ts +0 -1
- package/dist/base/message/src/Message.vue.d.ts +0 -2
- package/dist/base/message/src/message.d.ts +0 -2
- package/dist/base/modal/src/index.d.ts +1 -2
- package/dist/base/modal/src/modal.type.d.ts +1 -3
- package/dist/base/select/src/basic-select.vue.d.ts +4 -16
- package/dist/base/time-picker/index.d.ts +1 -0
- package/dist/base/time-picker/src/TimePicker.vue.d.ts +29 -0
- package/dist/base/utils/image-size-util.d.ts +6 -12
- package/dist/capabilities/model-field-runtime/types/field.d.ts +0 -4
- package/dist/core/command/commands/DeleteCol.d.ts +1 -1
- package/dist/core/command/commands/DeleteRow.d.ts +1 -1
- package/dist/core/command/commands/InsertTable.d.ts +1 -0
- package/dist/core/command/types.d.ts +0 -16
- package/dist/core/data/DataManager.d.ts +1 -6
- package/dist/core/data/types/runtime-config.d.ts +0 -13
- package/dist/core/event/handlers/IMEHandler.d.ts +0 -1
- package/dist/core/index.d.ts +0 -2
- package/dist/core/model/document/wtcRegionRef.d.ts +1 -1
- package/dist/core/model/logic/subtable/repeating/RepeatingRegion.d.ts +1 -4
- package/dist/core/model/logic/subtable/shared/dataGroupSlotCount.d.ts +1 -37
- package/dist/core/model/overlays/Wlayout.d.ts +0 -4
- package/dist/core/view/Doc.d.ts +0 -5
- package/dist/core/widget/types.d.ts +2 -2
- package/dist/domain/active/active-types.d.ts +1 -3
- package/dist/domain/field/field-props-schema-type.d.ts +1 -1
- package/dist/domain/field/field-type.d.ts +0 -64
- package/dist/domain/field/form-value.d.ts +0 -6
- package/dist/domain/table/business/material/material-requisition/profile/field-keys.d.ts +1 -1
- package/dist/domain/table/business/material/types.d.ts +1 -2
- package/dist/domain/table/design/sub-model-matcher.d.ts +0 -2
- package/dist/domain/table/index.d.ts +0 -3
- package/dist/domain/table/registry.d.ts +1 -1
- package/dist/domain/table/runtime/table-runtime.d.ts +0 -3
- package/dist/domain/table/types.d.ts +3 -13
- package/dist/index.es.js +6429 -32170
- package/dist/runtime/_register_/runtime/SuiteRuntime.d.ts +4 -0
- package/dist/runtime/canvas/table/render/material-consume/bom-validator.d.ts +2 -10
- package/dist/runtime/canvas/table/render/material-consume/material-consume-table-controller.d.ts +0 -6
- package/dist/runtime/{renderer/dialogs/seal/seal-confirm-dialog.vue.d.ts → designer/toolkit/renderer/add-field-btn.vue.d.ts} +4 -3
- package/dist/runtime/designer/toolkit/renderer/toolkit-content-fields.vue.d.ts +3 -1
- package/dist/runtime/designer/toolkit/toolkit-item.vue.d.ts +1 -0
- package/dist/runtime/designer/toolkit/toolkit.vue.d.ts +14 -0
- package/dist/runtime/interface/render.d.ts +1 -2
- package/dist/runtime/renderer/dialogs/signature/signature-dialog.vue.d.ts +1 -54
- package/dist/runtime/renderer/dialogs/upload-image/base-upload-image.vue.d.ts +0 -1
- package/dist/runtime/renderer/dialogs/upload-image/upload-image-dialog.vue.d.ts +0 -1
- package/dist/runtime/validation/layout.d.ts +0 -20
- package/dist/runtime/validation/state.d.ts +3 -7
- package/dist/runtime/validation/useFormValidator.d.ts +0 -4
- package/dist/sdk/doc-runtime/factories/document-initializer.d.ts +1 -1
- package/dist/sdk/doc-runtime/factories/useDocumentFactory.d.ts +0 -5
- package/dist/sdk/engine/index.d.ts +1 -3
- package/dist/sdk/setup.d.ts +2 -10
- package/dist/sdk/types/index.d.ts +0 -8
- package/dist/sdk/vue/index.d.ts +0 -6
- package/dist/suites/edhr/manifest/field/_common_/basic.d.ts +3 -3
- package/dist/suites/edhr/panel-schema/data-init/material-consume-object/bom-validator.d.ts +5 -6
- package/dist/suites/edhr/panel-schema/index.d.ts +0 -1
- package/dist/suites/edhr/panel-schema/rule/components/add-rule-button.vue.d.ts +3 -10
- package/dist/suites/edhr/panel-schema/rule/types.d.ts +0 -5
- package/dist/suites/edhr/panel-schema/rule/use-rules-config.d.ts +0 -22
- package/dist/suites/shared/panel/modules/field-formula-module/field-formula-module.vue.d.ts +0 -1
- package/dist/utils/adapters/ServiceUtil.d.ts +0 -9
- package/dist/utils/adapters/TriggerUtil.d.ts +1 -1
- package/dist/word.css +669 -1459
- package/package.json +4 -4
- package/dist/core/command/base/FloatingFieldCommand.d.ts +0 -9
- package/dist/core/command/commands/InsertFloatingField.d.ts +0 -9
- package/dist/core/command/commands/MoveFloatingField.d.ts +0 -10
- package/dist/core/command/commands/RemoveFloatingField.d.ts +0 -12
- package/dist/core/data/enrichers/inspection-module-qty-enricher.d.ts +0 -19
- package/dist/core/data/enrichers/udi-enricher.d.ts +0 -23
- package/dist/core/data/formula/business-functions.d.ts +0 -10
- package/dist/core/data/formula/formula-params-cache.d.ts +0 -15
- package/dist/core/runtime/DocumentRuntimeManager.d.ts +0 -38
- package/dist/domain/document-business/business/product-release/profile.d.ts +0 -2
- package/dist/domain/document-business/business/product-release/service.d.ts +0 -2
- package/dist/domain/document-business/index.d.ts +0 -2
- package/dist/domain/document-business/registry.d.ts +0 -2
- package/dist/domain/document-business/runtime/field-query-runtime.d.ts +0 -4
- package/dist/domain/document-business/types.d.ts +0 -24
- package/dist/domain/document-rule/index.d.ts +0 -3
- package/dist/domain/document-rule/runtime/decision-rule-evaluator.d.ts +0 -13
- package/dist/domain/document-rule/runtime/document-rule-runtime.d.ts +0 -19
- package/dist/domain/document-rule/types.d.ts +0 -50
- package/dist/domain/field/query-filter.d.ts +0 -15
- package/dist/domain/field/seal/seal-binding.d.ts +0 -19
- package/dist/domain/field/seal/seal-display.d.ts +0 -34
- package/dist/domain/field/seal/seal-value.d.ts +0 -39
- package/dist/domain/table/business/device/maintenance/index.d.ts +0 -1
- package/dist/domain/table/business/device/maintenance/profile/field-keys.d.ts +0 -9
- package/dist/domain/table/business/device/maintenance/profile/fields.d.ts +0 -2
- package/dist/domain/table/business/device/maintenance/profile/index.d.ts +0 -3
- package/dist/domain/table/business/device/point-inspection/index.d.ts +0 -1
- package/dist/domain/table/business/device/point-inspection/profile/field-keys.d.ts +0 -9
- package/dist/domain/table/business/device/point-inspection/profile/fields.d.ts +0 -2
- package/dist/domain/table/business/device/point-inspection/profile/index.d.ts +0 -3
- package/dist/domain/table/business/device/runtime/device-signature-lock-engine.d.ts +0 -13
- package/dist/domain/table/business/device/signature-lock.d.ts +0 -26
- package/dist/domain/table/business/material/material-substitution/actions/scan.d.ts +0 -3
- package/dist/domain/table/business/material/material-substitution/index.d.ts +0 -3
- package/dist/domain/table/business/material/material-substitution/profile/field-keys.d.ts +0 -41
- package/dist/domain/table/business/material/material-substitution/profile/fields.d.ts +0 -2
- package/dist/domain/table/business/material/material-substitution/profile/index.d.ts +0 -4
- package/dist/domain/table/business/material/material-substitution/runtime/register-handlers.d.ts +0 -1
- package/dist/domain/table/business/material/material-substitution/runtime/row-change-handlers.d.ts +0 -6
- package/dist/domain/table/business/material/material-substitution/runtime/scan-fill.d.ts +0 -4
- package/dist/domain/table/design/hooks/on-bounded-default-props.d.ts +0 -3
- package/dist/domain/table/design/validate-nested-table-insert.d.ts +0 -3
- package/dist/domain/table/runtime/option-fill-updates.d.ts +0 -6
- package/dist/runtime/canvas/__common__/context-menu/resolve-table-context.d.ts +0 -10
- package/dist/runtime/canvas/node/seal-overlay.vue.d.ts +0 -6
- package/dist/runtime/interface/sterilization-date.d.ts +0 -9
- package/dist/runtime/interface/validate-designer-default.d.ts +0 -5
- package/dist/runtime/renderer/dialogs/document-rule-prompt/document-rule-prompt.vue.d.ts +0 -5
- package/dist/runtime/renderer/dialogs/document-rule-prompt/open-document-rule-prompt.d.ts +0 -2
- package/dist/runtime/renderer/dialogs/seal/open-seal-flow.d.ts +0 -3
- package/dist/runtime/renderer/dialogs/seal/seal-api.d.ts +0 -17
- package/dist/runtime/renderer/dialogs/seal/seal-runtime.d.ts +0 -30
- package/dist/runtime/renderer/dialogs/seal/types.d.ts +0 -17
- package/dist/runtime/renderer/dialogs/seal/use-seal-confirm.d.ts +0 -27
- package/dist/runtime/renderer/dialogs/signature/authentication/signature-authentication.vue.d.ts +0 -27
- package/dist/runtime/renderer/dialogs/signature/authentication/types.d.ts +0 -30
- package/dist/runtime/renderer/dialogs/signature/authentication/useSignatureAuthentication.d.ts +0 -29
- package/dist/runtime/renderer/dropdowns/components/tables/columns/business/material-consume-history.d.ts +0 -17
- package/dist/runtime/renderer/dropdowns/components/tables/composables/useMaterialSubstitutionSource.d.ts +0 -7
- package/dist/sdk/doc-runtime/composables/useDocumentRulePrompt.d.ts +0 -3
- package/dist/sdk/doc-runtime/factories/runtime-data-sources.d.ts +0 -39
- package/dist/sdk/doc-runtime/factories/value-change-data-sources.d.ts +0 -7
- package/dist/sdk/doc-runtime/queries/template-placed-fields.d.ts +0 -7
- package/dist/sdk/types/placed-form-field.d.ts +0 -6
- package/dist/suites/edhr/component/gct-seal-render.vue.d.ts +0 -7
- package/dist/suites/edhr/manifest/field/business/product-release-qty-manifest.d.ts +0 -2
- package/dist/suites/edhr/manifest/field/business/udi-manifest.d.ts +0 -2
- package/dist/suites/edhr/manifest/field/logic/seal-manifest.d.ts +0 -2
- package/dist/suites/edhr/manifest/field/object-type/device-parameter-object-manifest.d.ts +0 -2
- package/dist/suites/edhr/manifest/field/object-type/inspection-parameter-object-manifest.d.ts +0 -2
- package/dist/suites/edhr/manifest/field/object-type/process-parameter-object-manifest.d.ts +0 -2
- package/dist/suites/edhr/manifest/field/trace/inspection-container-manifest.d.ts +0 -2
- package/dist/suites/edhr/manifest/field/trace/sterilization-date-manifest.d.ts +0 -2
- package/dist/suites/edhr/panel-schema/material-substitution-table/material-substitution-table.basic.d.ts +0 -1
- package/dist/suites/edhr/panel-schema/rule/components/decision-rule-condition.vue.d.ts +0 -19
- package/dist/suites/edhr/panel-schema/rule/components/decision-rule-group.vue.d.ts +0 -16
- package/dist/suites/edhr/panel-schema/rule/message-config/message-rule-modal.vue.d.ts +0 -12
- package/dist/suites/edhr/panel-schema/rule/message-config/message-rule.d.ts +0 -22
- package/dist/suites/edhr/panel-schema/rule/message-config/message-time-picker.vue.d.ts +0 -18
- package/dist/suites/edhr/panel-schema/rule/message-config/with-word-message-rule-fields.d.ts +0 -5
- package/dist/suites/edhr/panel-schema/rule/modals/inspection-decision-modal.vue.d.ts +0 -11
- package/dist/suites/edhr/panel-schema/rule/modals/open-inspection-decision-modal.d.ts +0 -8
- package/dist/suites/edhr/panel-schema/rule/utils/decision-rule.d.ts +0 -34
- package/dist/suites/shared/panel/utils/default-value-visibility.d.ts +0 -3
- package/dist/utils/pdf/collect-seal-draw-ops.d.ts +0 -4
|
@@ -206,10 +206,6 @@ export declare const BASE_FIELD_TYPE: {
|
|
|
206
206
|
* 签名
|
|
207
207
|
*/
|
|
208
208
|
readonly SIGNATURE: "electronic_signature";
|
|
209
|
-
/**
|
|
210
|
-
* 印章
|
|
211
|
-
*/
|
|
212
|
-
readonly SEAL: "seal";
|
|
213
209
|
/**
|
|
214
210
|
* 批次/SN
|
|
215
211
|
*/
|
|
@@ -330,10 +326,6 @@ export declare const BUSINESS_FIELD_TYPE: {
|
|
|
330
326
|
* 产品检验数量
|
|
331
327
|
*/
|
|
332
328
|
readonly PRODUCT_CHECK_QTY: "product_check_qty";
|
|
333
|
-
/**
|
|
334
|
-
* 放行数量
|
|
335
|
-
*/
|
|
336
|
-
readonly PRODUCT_RELEASE_QTY: "product_release_qty";
|
|
337
329
|
/**
|
|
338
330
|
* 材料检验数量
|
|
339
331
|
*/
|
|
@@ -398,18 +390,6 @@ export declare const BUSINESS_FIELD_TYPE: {
|
|
|
398
390
|
* 物料日期对象
|
|
399
391
|
*/
|
|
400
392
|
readonly DATE_OBJECT: "date_object";
|
|
401
|
-
/**
|
|
402
|
-
* 检验参数对象
|
|
403
|
-
*/
|
|
404
|
-
readonly INSPECTION_PARAMETER_OBJECT: "inspection_parameter_object";
|
|
405
|
-
/**
|
|
406
|
-
* 工艺参数对象
|
|
407
|
-
*/
|
|
408
|
-
readonly PROCESS_PARAMETER_OBJECT: "process_parameter_object";
|
|
409
|
-
/**
|
|
410
|
-
* 设备参数对象
|
|
411
|
-
*/
|
|
412
|
-
readonly DEVICE_PARAMETER_OBJECT: "device_parameter_object";
|
|
413
393
|
/**
|
|
414
394
|
* 有效期
|
|
415
395
|
*/
|
|
@@ -442,10 +422,6 @@ export declare const BUSINESS_FIELD_TYPE: {
|
|
|
442
422
|
* 表单实例数
|
|
443
423
|
*/
|
|
444
424
|
readonly OF_INST_NUM: "of_inst_num";
|
|
445
|
-
/**
|
|
446
|
-
* 医疗器械唯一标识
|
|
447
|
-
*/
|
|
448
|
-
readonly UDI: "udi";
|
|
449
425
|
/**
|
|
450
426
|
* 生产数量
|
|
451
427
|
*/
|
|
@@ -462,14 +438,6 @@ export declare const BUSINESS_FIELD_TYPE: {
|
|
|
462
438
|
* 灭菌批(追溯)
|
|
463
439
|
*/
|
|
464
440
|
readonly STERILIZATION_CONTAINER: "sterilization_container";
|
|
465
|
-
/**
|
|
466
|
-
* 检验批
|
|
467
|
-
*/
|
|
468
|
-
readonly INSPECTION_CONTAINER: "inspection_container";
|
|
469
|
-
/**
|
|
470
|
-
* 灭菌日期
|
|
471
|
-
*/
|
|
472
|
-
readonly STERILIZATION_DATE: "sterilization_date";
|
|
473
441
|
};
|
|
474
442
|
export type BusinessFieldType = (typeof BUSINESS_FIELD_TYPE)[keyof typeof BUSINESS_FIELD_TYPE];
|
|
475
443
|
/** 字段类型 = 基础 + 业务 */
|
|
@@ -582,10 +550,6 @@ export declare const FIELD_TYPE: {
|
|
|
582
550
|
* 产品检验数量
|
|
583
551
|
*/
|
|
584
552
|
readonly PRODUCT_CHECK_QTY: "product_check_qty";
|
|
585
|
-
/**
|
|
586
|
-
* 放行数量
|
|
587
|
-
*/
|
|
588
|
-
readonly PRODUCT_RELEASE_QTY: "product_release_qty";
|
|
589
553
|
/**
|
|
590
554
|
* 材料检验数量
|
|
591
555
|
*/
|
|
@@ -650,18 +614,6 @@ export declare const FIELD_TYPE: {
|
|
|
650
614
|
* 物料日期对象
|
|
651
615
|
*/
|
|
652
616
|
readonly DATE_OBJECT: "date_object";
|
|
653
|
-
/**
|
|
654
|
-
* 检验参数对象
|
|
655
|
-
*/
|
|
656
|
-
readonly INSPECTION_PARAMETER_OBJECT: "inspection_parameter_object";
|
|
657
|
-
/**
|
|
658
|
-
* 工艺参数对象
|
|
659
|
-
*/
|
|
660
|
-
readonly PROCESS_PARAMETER_OBJECT: "process_parameter_object";
|
|
661
|
-
/**
|
|
662
|
-
* 设备参数对象
|
|
663
|
-
*/
|
|
664
|
-
readonly DEVICE_PARAMETER_OBJECT: "device_parameter_object";
|
|
665
617
|
/**
|
|
666
618
|
* 有效期
|
|
667
619
|
*/
|
|
@@ -694,10 +646,6 @@ export declare const FIELD_TYPE: {
|
|
|
694
646
|
* 表单实例数
|
|
695
647
|
*/
|
|
696
648
|
readonly OF_INST_NUM: "of_inst_num";
|
|
697
|
-
/**
|
|
698
|
-
* 医疗器械唯一标识
|
|
699
|
-
*/
|
|
700
|
-
readonly UDI: "udi";
|
|
701
649
|
/**
|
|
702
650
|
* 生产数量
|
|
703
651
|
*/
|
|
@@ -714,14 +662,6 @@ export declare const FIELD_TYPE: {
|
|
|
714
662
|
* 灭菌批(追溯)
|
|
715
663
|
*/
|
|
716
664
|
readonly STERILIZATION_CONTAINER: "sterilization_container";
|
|
717
|
-
/**
|
|
718
|
-
* 检验批
|
|
719
|
-
*/
|
|
720
|
-
readonly INSPECTION_CONTAINER: "inspection_container";
|
|
721
|
-
/**
|
|
722
|
-
* 灭菌日期
|
|
723
|
-
*/
|
|
724
|
-
readonly STERILIZATION_DATE: "sterilization_date";
|
|
725
665
|
/**
|
|
726
666
|
* 文本
|
|
727
667
|
*/
|
|
@@ -814,10 +754,6 @@ export declare const FIELD_TYPE: {
|
|
|
814
754
|
* 签名
|
|
815
755
|
*/
|
|
816
756
|
readonly SIGNATURE: "electronic_signature";
|
|
817
|
-
/**
|
|
818
|
-
* 印章
|
|
819
|
-
*/
|
|
820
|
-
readonly SEAL: "seal";
|
|
821
757
|
/**
|
|
822
758
|
* 批次/SN
|
|
823
759
|
*/
|
|
@@ -80,12 +80,6 @@ type NormalizeNumberTextResult = {
|
|
|
80
80
|
* - fw:number 根据 digits 执行整数化或小数截断
|
|
81
81
|
*/
|
|
82
82
|
export declare function normalizeNumberTextOnCommit(rawText: string, options: NormalizeNumberTextOptions): NormalizeNumberTextResult;
|
|
83
|
-
/** 配置检查:返回错误说明,不抛异常。 */
|
|
84
|
-
export declare function getNumberInputConfigError(fieldType: FIELD_TYPE | undefined, digits: unknown): string | null;
|
|
85
|
-
/** 填报失焦时处理数字长度和整数上限。 */
|
|
86
|
-
export declare function normalizeNumberInputOnBlur(rawText: string, options: NormalizeNumberTextOptions, fieldType?: FIELD_TYPE): NormalizeNumberTextResult & {
|
|
87
|
-
configError?: string;
|
|
88
|
-
};
|
|
89
83
|
export declare function buildNumberFormats(props: any, type: NumberFieldType): {
|
|
90
84
|
type: NumberFieldType;
|
|
91
85
|
digits: number | undefined;
|
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
import { FieldMeta } from '../../../capabilities/model-field-runtime';
|
|
2
2
|
import { DropdownOption } from '../../../base';
|
|
3
|
-
/** 是否为仅能通过固定表入口选择的业务子模型。 */
|
|
4
|
-
export declare function isFixedOnlyBusinessRefModelType(refModelType: string | undefined | null): boolean;
|
|
5
3
|
/**
|
|
6
4
|
* 生成「选择子模型」下拉选项
|
|
7
5
|
* @param tableTypeOrRibbonAction 表类型或 Ribbon action
|
|
@@ -13,8 +13,5 @@ export * from './runtime/table-runtime';
|
|
|
13
13
|
export * from './design/hooks/on-subtable-create';
|
|
14
14
|
export * from './design/hooks/on-field-attach';
|
|
15
15
|
export * from './design/hooks/on-repeating-default-props';
|
|
16
|
-
export * from './design/hooks/on-bounded-default-props';
|
|
17
16
|
export * from './design/validate-table-selection';
|
|
18
17
|
export * from './design/validate-nested-table-region';
|
|
19
|
-
export * from './design/validate-nested-table-insert';
|
|
20
|
-
export * from './business/device/signature-lock';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { BusinessSubTableProfile, BusinessFieldProfile, TableCategory, TableProfile } from './types';
|
|
2
2
|
import { FieldMeta } from '../../capabilities/model-field-runtime';
|
|
3
3
|
/** 所有已注册的子表 Profile */
|
|
4
4
|
declare const ALL_TABLE_PROFILES: TableProfile[];
|
|
@@ -36,7 +36,6 @@ export declare class TableRuntime {
|
|
|
36
36
|
private readonly remoteSync;
|
|
37
37
|
private readonly initLoad;
|
|
38
38
|
private readonly mainFieldBind;
|
|
39
|
-
private readonly deviceSignatureLock;
|
|
40
39
|
constructor(doc: Doc);
|
|
41
40
|
/** 文档是否包含业务子表 */
|
|
42
41
|
get hasBusinessTables(): boolean;
|
|
@@ -63,8 +62,6 @@ export declare class TableRuntime {
|
|
|
63
62
|
* 解析业务表字段的下拉数据源 / 列覆盖(selectSource)。
|
|
64
63
|
*/
|
|
65
64
|
resolveSelectSource(options: ResolveSelectSourceOptions): SelectSourceDef | null;
|
|
66
|
-
/** 默认保留原来的 user 写入,仅显式配置的业务字段改变回填事件来源。 */
|
|
67
|
-
resolveOptionFillSource(options: ResolveSelectSourceOptions): 'user' | 'enrichment';
|
|
68
65
|
/**
|
|
69
66
|
* 下拉选中后从选项反向回填同行字段,供 onChange 使用。
|
|
70
67
|
*/
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { FIELD_TYPE } from '../field/field-type';
|
|
2
2
|
import { SubTableLayoutType } from '../../core/model/document/wtcRegionRef';
|
|
3
|
-
import { RequiredQtyCalcRule } from './business/material/types';
|
|
4
3
|
/**
|
|
5
4
|
* 数据表类型
|
|
6
5
|
* @property dynamic-table - 动态表
|
|
@@ -21,15 +20,12 @@ export type DataTableType = 'dynamic-table' | 'fixed-table' | 'two-d-table';
|
|
|
21
20
|
* @property warehouse-allocate - 库存调拨表
|
|
22
21
|
* @property material-consume - 物料消耗表
|
|
23
22
|
* @property material-balance - 物料平衡表
|
|
24
|
-
* @property material-requisition -
|
|
25
|
-
* @property material-substitution - 物料替换表
|
|
26
|
-
* @property point-inspection - 设备点检表(固定表业务模型)
|
|
27
|
-
* @property maintenance - 设备保养表(固定表业务模型)
|
|
23
|
+
* @property material-requisition - 生产收料表
|
|
28
24
|
* @property check-table - 检验表
|
|
29
25
|
* @property pretreatment-list - 预处理表
|
|
30
26
|
* @property entrust-steril-batch-list - 委托灭菌生产批次表
|
|
31
27
|
*/
|
|
32
|
-
export type BusinessSubTableType = 'warehouse-in' | 'warehouse-inbound' | 'warehouse-out' | 'warehouse-outbound' | 'warehouse-in-out' | 'warehouse-inventory' | 'part-stocktake' | 'device-part-consume' | 'warehouse-allocate' | 'material-consume' | 'material-balance' | 'material-requisition' | '
|
|
28
|
+
export type BusinessSubTableType = 'warehouse-in' | 'warehouse-inbound' | 'warehouse-out' | 'warehouse-outbound' | 'warehouse-in-out' | 'warehouse-inventory' | 'part-stocktake' | 'device-part-consume' | 'warehouse-allocate' | 'material-consume' | 'material-balance' | 'material-requisition' | 'check-table' | 'pretreatment-list' | 'entrust-steril-batch-list';
|
|
33
29
|
/** 所有子表类型(数据表 + 业务表) */
|
|
34
30
|
export type TableType = DataTableType | BusinessSubTableType;
|
|
35
31
|
/**
|
|
@@ -109,10 +105,8 @@ export interface BusinessSubTableProfile extends TableProfileBase {
|
|
|
109
105
|
category: 'business';
|
|
110
106
|
type: BusinessSubTableType;
|
|
111
107
|
match: BusinessTableMatchRule;
|
|
112
|
-
/** fixed-table-model 不注册独立 Ribbon 入口,仅借用固定表选择业务子模型。 */
|
|
113
|
-
entry?: 'ribbon' | 'fixed-table-model';
|
|
114
108
|
/** Ribbon 业务表分组名 */
|
|
115
|
-
ribbonGroup
|
|
109
|
+
ribbonGroup: string;
|
|
116
110
|
ribbonGroupDivider?: boolean;
|
|
117
111
|
/** 仅在这些套件的 Ribbon 中展示;省略则所有套件可见(仍受 suite hidden 列表约束) */
|
|
118
112
|
ribbonSuites?: SuiteKey[];
|
|
@@ -371,8 +365,6 @@ export interface BusinessFieldProfile {
|
|
|
371
365
|
select?: SelectBehaviorDef;
|
|
372
366
|
/** 选中下拉项后,从 option 数据同步填充同行多个字段 */
|
|
373
367
|
fillFromOption?: FieldOptionFillDef[];
|
|
374
|
-
/** 同行回填的事件来源;默认沿用 user,仅显式配置的字段使用 enrichment。 */
|
|
375
|
-
optionFillSource?: 'user' | 'enrichment';
|
|
376
368
|
/**
|
|
377
369
|
* 按表实例 props 动态解析回填规则;返回值优先于 fillFromOption。
|
|
378
370
|
* 返回 null/undefined 时回退 fillFromOption。
|
|
@@ -479,8 +471,6 @@ export type RuleTrigger = 'always' | 'onRowInit' | 'onFieldChange' | 'onRowConfi
|
|
|
479
471
|
export interface RuleContext {
|
|
480
472
|
/** 当前文档是否为模拟填报 */
|
|
481
473
|
isMockReport: boolean;
|
|
482
|
-
/** 物料消耗表的需求数量计算规则 */
|
|
483
|
-
requiredQtyCalcRule?: RequiredQtyCalcRule;
|
|
484
474
|
/** 子表在 rawData 中的 fieldKey */
|
|
485
475
|
subFieldKey: string;
|
|
486
476
|
/** 业务子模型 refModelType */
|