@gct-paas/word 0.1.74 → 0.2.1
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 +4 -1
- package/dist/assets/svgs/table/index.d.ts +7 -0
- package/dist/base/calendar/src/calendar.vue.d.ts +2 -2
- package/dist/base/calendar/src/time.vue.d.ts +2 -2
- package/dist/base/checkbox/src/checkbox-group.vue.d.ts +2 -2
- package/dist/base/checkbox/src/checkbox.vue.d.ts +2 -2
- package/dist/base/color-picker/src/ColorPicker.vue.d.ts +1 -1
- package/dist/base/dropdown/src/dropdown-basic-select.vue.d.ts +2 -2
- package/dist/base/input/src/input-number.vue.d.ts +2 -2
- package/dist/base/input/src/input.vue.d.ts +5 -5
- package/dist/base/input/src/text-area.vue.d.ts +4 -4
- package/dist/base/modal/src/ModalRoot.vue.d.ts +1 -0
- package/dist/base/modal/src/modal.type.d.ts +5 -0
- package/dist/base/radio/src/radio-group.vue.d.ts +2 -2
- package/dist/base/radio/src/radio.vue.d.ts +2 -2
- package/dist/base/rdo-tree-select/src/rdo-tree-select-more.vue.d.ts +10 -3
- package/dist/base/rdo-tree-select/src/rdo-tree-select-panel.vue.d.ts +6 -1
- package/dist/base/rdo-tree-select/src/rdo-tree-select.vue.d.ts +3 -3
- package/dist/base/scrollbar/src/scrollbar.vue.d.ts +2 -2
- package/dist/base/segment-slider/src/segment-slider.vue.d.ts +2 -2
- package/dist/base/select/src/basic-select.vue.d.ts +16 -2
- package/dist/base/select/src/searchable-select.vue.d.ts +2 -2
- package/dist/base/slider/src/slider.vue.d.ts +4 -4
- package/dist/base/switch/src/switch.vue.d.ts +2 -2
- package/dist/base/tree-select/src/tree-select.vue.d.ts +2 -2
- package/dist/base/utils/image-size-util.d.ts +2 -0
- package/dist/core/command/commands/InsertTable.d.ts +4 -0
- package/dist/core/command/commands/UnmergeCells.d.ts +5 -1
- package/dist/core/command/types.d.ts +1 -0
- package/dist/core/constants/index.d.ts +1 -0
- package/dist/core/constants/table.d.ts +11 -0
- package/dist/core/cursor/logic/getSelectionRects.d.ts +15 -2
- package/dist/core/cursor/logic/index.d.ts +2 -1
- package/dist/core/cursor/logic/selectionAnalyzer.d.ts +31 -6
- package/dist/core/data/enrichers/build-field-enrichers.d.ts +1 -1
- package/dist/core/data/enrichers/lot-parent-label-enricher.d.ts +12 -0
- package/dist/core/data/enrichers/operation-receive-qty-enricher.d.ts +19 -0
- package/dist/core/data/paths/field-paths.d.ts +2 -0
- package/dist/core/data/submit/form-state.d.ts +1 -1
- package/dist/core/data/updates/field-updates.d.ts +7 -2
- package/dist/core/event/types.d.ts +1 -1
- package/dist/core/index.d.ts +1 -1
- package/dist/core/interaction/InteractionController.d.ts +11 -0
- package/dist/core/interaction/types.d.ts +8 -0
- package/dist/core/interaction/useInteraction.d.ts +6 -0
- package/dist/core/layout/LayoutManager.d.ts +5 -1
- package/dist/core/layout/handlers/fields/FieldBaseHandler.d.ts +2 -0
- package/dist/core/layout/providers/TableInfoProvider.d.ts +2 -2
- package/dist/core/layout/table/split-table.d.ts +10 -0
- package/dist/core/layout/types/index.d.ts +2 -0
- package/dist/core/model/document/Wbody.d.ts +4 -0
- package/dist/core/model/document/WrText.d.ts +2 -0
- package/dist/core/model/document/Wtbl/Calculation.d.ts +8 -2
- package/dist/core/model/document/Wtbl/RowColumnOps.d.ts +24 -3
- package/dist/core/model/document/Wtbl/Serialization.d.ts +26 -1
- package/dist/core/model/document/Wtbl.d.ts +31 -3
- package/dist/core/model/document/Wtc.d.ts +13 -2
- package/dist/core/model/document/Wtr.d.ts +2 -1
- package/dist/core/model/document/index.d.ts +1 -0
- package/dist/core/model/document/utils/ensure-paragraphs-around-tables.d.ts +18 -0
- package/dist/core/model/document/wtcRegionRef.d.ts +1 -1
- package/dist/core/model/logic/subtable/bounded/BoundedRegion.d.ts +2 -0
- package/dist/core/model/logic/subtable/repeating/RepeatingRegion.d.ts +28 -1
- package/dist/core/model/templates/tableCell.template.d.ts +2 -0
- package/dist/core/model/types/style.d.ts +2 -0
- package/dist/core/view/Doc.d.ts +13 -1
- package/dist/core/view/Table.d.ts +13 -0
- package/dist/core/view/TableCell.d.ts +2 -1
- package/dist/core/view/context/DocPubApiContext.d.ts +1 -0
- package/dist/core/view/runs/TextRun.d.ts +4 -0
- package/dist/domain/active/active-types.d.ts +15 -1
- package/dist/domain/constants/enum/device.d.ts +26 -0
- package/dist/domain/constants/enum/index.d.ts +2 -0
- package/dist/domain/constants/enum/lot.d.ts +16 -0
- package/dist/domain/constants/enum/view.d.ts +1 -1
- package/dist/domain/device/device-query.d.ts +10 -0
- package/dist/domain/field/field-props-schema-type.d.ts +10 -1
- package/dist/domain/field/field-type.d.ts +515 -144
- package/dist/domain/field/form-value.d.ts +5 -0
- package/dist/domain/field/lot-display-label.d.ts +2 -0
- package/dist/domain/object/date-object/index.d.ts +4 -0
- package/dist/domain/object/date-object/profile/field-keys.d.ts +19 -0
- package/dist/domain/object/date-object/profile/fields.d.ts +2 -0
- package/dist/domain/object/date-object/profile/index.d.ts +3 -0
- package/dist/domain/object/date-object/runtime/date-object-context.d.ts +41 -0
- package/dist/domain/object/date-object/runtime/date-object-runtime.d.ts +41 -0
- package/dist/domain/object/date-object/runtime/fetch-records.d.ts +16 -0
- package/dist/domain/object/date-object/runtime/object-handlers.d.ts +6 -0
- package/dist/domain/object/date-object/runtime/re-inspection-date.d.ts +49 -0
- package/dist/domain/object/date-object/runtime/register-handlers.d.ts +1 -0
- package/dist/domain/object/date-object/runtime/row-change-handlers.d.ts +6 -0
- package/dist/domain/object/date-object/types.d.ts +48 -0
- package/dist/domain/table/business/check/check-table/actions/fetch-check-items.d.ts +1 -0
- package/dist/domain/table/business/material/material-requisition/index.d.ts +2 -0
- package/dist/domain/table/business/material/material-requisition/profile/field-keys.d.ts +34 -0
- package/dist/domain/table/business/material/material-requisition/profile/fields.d.ts +2 -0
- package/dist/domain/table/business/material/material-requisition/profile/index.d.ts +4 -0
- package/dist/domain/table/business/material/material-requisition/runtime/register-handlers.d.ts +1 -0
- package/dist/domain/table/business/material/material-requisition/runtime/row-change-handlers.d.ts +5 -0
- package/dist/domain/table/business/material/types.d.ts +41 -0
- package/dist/domain/table/business/preprocess/pretreatment-list/actions/index.d.ts +0 -1
- package/dist/domain/table/business/preprocess/pretreatment-list/actions/scan.d.ts +6 -7
- package/dist/domain/table/business/preprocess/pretreatment-list/profile/field-keys.d.ts +6 -6
- package/dist/domain/table/business/preprocess/pretreatment-list/runtime/row-change-handlers.d.ts +6 -6
- package/dist/domain/table/business/shared/production-container-hyperlink-enricher.d.ts +1 -1
- package/dist/domain/table/business/shared/production-identification-scan-api.d.ts +17 -0
- package/dist/domain/table/business/shared/scan-action.d.ts +38 -20
- package/dist/domain/table/business/sterilize/entrust-steril-batch-list/actions/index.d.ts +0 -1
- package/dist/domain/table/business/sterilize/entrust-steril-batch-list/actions/scan.d.ts +6 -7
- package/dist/domain/table/business/sterilize/entrust-steril-batch-list/profile/field-keys.d.ts +2 -4
- package/dist/domain/table/business/sterilize/entrust-steril-batch-list/runtime/row-change-handlers.d.ts +1 -1
- package/dist/domain/table/business/warehouse/device-part-consume/index.d.ts +2 -0
- package/dist/domain/table/business/warehouse/device-part-consume/profile/field-keys.d.ts +35 -0
- package/dist/domain/table/business/warehouse/device-part-consume/profile/fields.d.ts +2 -0
- package/dist/domain/table/business/warehouse/device-part-consume/profile/index.d.ts +3 -0
- package/dist/domain/table/business/warehouse/device-part-consume/runtime/register-handlers.d.ts +1 -0
- package/dist/domain/table/business/warehouse/device-part-consume/runtime/row-change-handlers.d.ts +3 -0
- package/dist/domain/table/business/warehouse/part-stocktake/index.d.ts +2 -0
- package/dist/domain/table/business/warehouse/part-stocktake/profile/field-keys.d.ts +38 -0
- package/dist/domain/table/business/warehouse/part-stocktake/profile/fields.d.ts +2 -0
- package/dist/domain/table/business/warehouse/part-stocktake/profile/index.d.ts +3 -0
- package/dist/domain/table/business/warehouse/part-stocktake/runtime/register-handlers.d.ts +1 -0
- package/dist/domain/table/business/warehouse/part-stocktake/runtime/row-change-handlers.d.ts +6 -0
- package/dist/domain/table/business/warehouse/shared/inventory-scan-api.d.ts +19 -0
- package/dist/domain/table/business/warehouse/warehouse-allocate/actions/index.d.ts +0 -1
- package/dist/domain/table/business/warehouse/warehouse-allocate/actions/scan.d.ts +7 -7
- package/dist/domain/table/business/warehouse/warehouse-allocate/profile/field-keys.d.ts +31 -10
- package/dist/domain/table/business/warehouse/warehouse-allocate/profile/index.d.ts +0 -1
- package/dist/domain/table/business/warehouse/warehouse-allocate/runtime/row-change-handlers.d.ts +2 -5
- package/dist/domain/table/business/warehouse/warehouse-in/actions/index.d.ts +1 -0
- package/dist/domain/table/business/warehouse/warehouse-in/actions/scan.d.ts +3 -0
- package/dist/domain/table/business/warehouse/warehouse-in/index.d.ts +3 -0
- package/dist/domain/table/business/warehouse/warehouse-in/profile/field-keys.d.ts +45 -0
- package/dist/domain/table/business/warehouse/warehouse-in/profile/fields.d.ts +2 -0
- package/dist/domain/table/business/warehouse/warehouse-in/profile/index.d.ts +3 -0
- package/dist/domain/table/business/warehouse/warehouse-in/runtime/register-handlers.d.ts +1 -0
- package/dist/domain/table/business/warehouse/warehouse-in/runtime/row-change-handlers.d.ts +12 -0
- package/dist/domain/table/business/warehouse/warehouse-inbound/index.d.ts +2 -0
- package/dist/domain/table/business/warehouse/warehouse-inbound/profile/field-keys.d.ts +32 -0
- package/dist/domain/table/business/warehouse/warehouse-inbound/profile/fields.d.ts +2 -0
- package/dist/domain/table/business/warehouse/warehouse-inbound/profile/index.d.ts +3 -0
- package/dist/domain/table/business/warehouse/warehouse-inbound/runtime/register-handlers.d.ts +1 -0
- package/dist/domain/table/business/warehouse/warehouse-inbound/runtime/row-change-handlers.d.ts +2 -0
- package/dist/domain/table/business/warehouse/warehouse-inventory/actions/index.d.ts +0 -1
- package/dist/domain/table/business/warehouse/warehouse-inventory/actions/scan.d.ts +9 -7
- package/dist/domain/table/business/warehouse/warehouse-inventory/index.d.ts +1 -0
- package/dist/domain/table/business/warehouse/warehouse-inventory/profile/api.d.ts +3 -0
- package/dist/domain/table/business/warehouse/warehouse-inventory/profile/field-keys.d.ts +30 -43
- package/dist/domain/table/business/warehouse/warehouse-inventory/runtime/index.d.ts +1 -2
- package/dist/domain/table/business/warehouse/warehouse-inventory/runtime/row-change-handlers.d.ts +2 -18
- package/dist/domain/table/business/warehouse/warehouse-inventory/runtime/stocktake-calc.d.ts +8 -59
- package/dist/domain/table/business/warehouse/warehouse-inventory/runtime/stocktake-dimension.d.ts +10 -0
- package/dist/domain/table/business/warehouse/warehouse-inventory/types.d.ts +24 -22
- package/dist/domain/table/business/warehouse/warehouse-out/actions/index.d.ts +1 -0
- package/dist/domain/table/business/warehouse/warehouse-out/actions/scan.d.ts +7 -0
- package/dist/domain/table/business/warehouse/warehouse-out/index.d.ts +3 -0
- package/dist/domain/table/business/warehouse/warehouse-out/profile/field-keys.d.ts +44 -0
- package/dist/domain/table/business/warehouse/warehouse-out/profile/fields.d.ts +2 -0
- package/dist/domain/table/business/warehouse/warehouse-out/profile/index.d.ts +3 -0
- package/dist/domain/table/business/warehouse/warehouse-out/runtime/register-handlers.d.ts +1 -0
- package/dist/domain/table/business/warehouse/warehouse-out/runtime/row-change-handlers.d.ts +5 -0
- package/dist/domain/table/business/warehouse/warehouse-outbound/index.d.ts +2 -0
- package/dist/domain/table/business/warehouse/warehouse-outbound/profile/field-keys.d.ts +34 -0
- package/dist/domain/table/business/warehouse/warehouse-outbound/profile/fields.d.ts +2 -0
- package/dist/domain/table/business/warehouse/warehouse-outbound/profile/index.d.ts +3 -0
- package/dist/domain/table/business/warehouse/warehouse-outbound/runtime/register-handlers.d.ts +1 -0
- package/dist/domain/table/business/warehouse/warehouse-outbound/runtime/row-change-handlers.d.ts +2 -0
- package/dist/domain/table/design/ribbon-options.d.ts +8 -1
- package/dist/domain/table/design/validate-nested-table-region.d.ts +31 -0
- package/dist/domain/table/design/validate-table-selection.d.ts +8 -0
- package/dist/domain/table/index.d.ts +1 -0
- package/dist/domain/table/runtime/api/biz-service-api.d.ts +3 -1
- package/dist/domain/table/runtime/engines/linkage-engine.d.ts +9 -2
- package/dist/domain/table/runtime/engines/main-field-bind-engine.d.ts +2 -0
- package/dist/domain/table/runtime/table-runtime-utils.d.ts +6 -1
- package/dist/domain/table/runtime/table-runtime.d.ts +2 -0
- package/dist/domain/table/types.d.ts +71 -7
- package/dist/index.es.js +30579 -17522
- package/dist/runtime/canvas/__common__/widget-container/overlay-render.vue.d.ts +1 -0
- package/dist/runtime/canvas/inline-image/resize-box.vue.d.ts +2 -2
- package/dist/runtime/canvas/table/render/label-parse-rule/type.d.ts +7 -1
- package/dist/runtime/canvas/table/render/material-consume/bom-validator.d.ts +151 -18
- package/dist/runtime/canvas/table/render/material-consume/context-key.d.ts +4 -0
- package/dist/runtime/canvas/table/render/material-consume/derived-qty.d.ts +5 -0
- package/dist/runtime/canvas/table/render/material-consume/index.d.ts +1 -0
- package/dist/runtime/canvas/table/render/material-consume/material-consume-group-merge.d.ts +46 -0
- package/dist/runtime/canvas/table/render/material-consume/material-consume-table-controller.d.ts +126 -29
- package/dist/runtime/canvas/table/render/material-consume/material-consume.util.d.ts +2 -3
- package/dist/runtime/canvas/table/render/material-consume/product-id-query.d.ts +31 -0
- package/dist/runtime/canvas/table/render/material-consume/scan-fill.d.ts +10 -0
- package/dist/runtime/canvas/table/render/material-consume/scan-validator.d.ts +192 -0
- package/dist/runtime/canvas/table/render/material-consume/service.d.ts +20 -0
- package/dist/runtime/canvas/table/render/material-consume/tmpl-bom-controller.d.ts +4 -1
- package/dist/runtime/canvas/table/render/material-consume/transform.d.ts +12 -0
- package/dist/runtime/canvas/table/render/material-consume/uom-convert-runtime.d.ts +13 -0
- package/dist/runtime/canvas/table/render/table-structure-overlay/sub-table-action/business-scan-menu.d.ts +12 -0
- package/dist/runtime/canvas/table/render/table-structure-overlay/sub-table-action/index.d.ts +1 -1
- package/dist/runtime/canvas/table/render/table-structure-overlay/sub-table-action/quick-fill.util.d.ts +5 -1
- package/dist/runtime/canvas/table/shared/resolve-cell-row-change-style.d.ts +8 -4
- package/dist/runtime/canvas/table/table-design.vue.d.ts +1 -0
- package/dist/runtime/canvas/table/utils/useTableSelection.d.ts +6 -0
- package/dist/runtime/designer/panel/panel.vue.d.ts +1 -1
- package/dist/runtime/designer/ribbon/components/text-color-select.vue.d.ts +1 -1
- package/dist/runtime/designer/ribbon/constant/font.d.ts +13 -5
- package/dist/runtime/interface/computed.d.ts +1 -1
- package/dist/runtime/interface/fetchers.d.ts +4 -0
- package/dist/runtime/interface/form-change-row.d.ts +0 -1
- package/dist/runtime/renderer/dialogs/device-scan/device-scan-dialog.vue.d.ts +13 -12
- package/dist/runtime/renderer/dialogs/device-scan/submit-device-scan.d.ts +1 -0
- package/dist/runtime/renderer/dialogs/field-hyperlink/open-field-hyperlink.d.ts +0 -22
- package/dist/runtime/renderer/dialogs/signature/card-signer.vue.d.ts +14 -0
- package/dist/runtime/renderer/dialogs/signature/security-config.d.ts +6 -0
- package/dist/runtime/renderer/dialogs/signature/signature-dialog.vue.d.ts +4 -0
- package/dist/runtime/renderer/dropdowns/components/option-dropdown.vue.d.ts +12 -12
- package/dist/runtime/renderer/dropdowns/components/tables/columns/business/biz.d.ts +11 -0
- package/dist/runtime/renderer/dropdowns/components/tables/columns/business/part-inventory-ndo.d.ts +11 -0
- package/dist/runtime/renderer/dropdowns/components/tables/columns/business/part-ndo.d.ts +11 -0
- package/dist/runtime/renderer/dropdowns/components/tables/columns/business/product-ndo.d.ts +12 -0
- package/dist/runtime/renderer/dropdowns/components/tables/columns/columns.d.ts +6 -3
- package/dist/runtime/renderer/dropdowns/components/tables/component/device-type-select.vue.d.ts +2 -2
- package/dist/runtime/renderer/dropdowns/components/tables/composables/useSelectTable.d.ts +1 -0
- package/dist/runtime/renderer/dropdowns/components/tables/composables/useTableDropdown.d.ts +4 -0
- package/dist/runtime/renderer/dropdowns/components/tables/rdo-table-dropdown.vue.d.ts +13 -13
- package/dist/runtime/renderer/dropdowns/components/tables/strategy/selectStrategy.d.ts +16 -1
- package/dist/runtime/renderer/dropdowns/components/tables/table-dropdown.vue.d.ts +13 -13
- package/dist/runtime/renderer/dropdowns/components/tables/table-option-dropdown.vue.d.ts +338 -0
- package/dist/runtime/renderer/dropdowns/components/tables/utils/assoc-filter.d.ts +8 -3
- package/dist/runtime/renderer/dropdowns/components/tables/utils/quick-search.d.ts +6 -4
- package/dist/runtime/renderer/dropdowns/components/tree/tree-dropdown.vue.d.ts +12 -12
- package/dist/runtime/renderer/dropdowns/composables/useDropdownViewportSize.d.ts +7 -0
- package/dist/runtime/validation/useFormValidator.d.ts +5 -2
- package/dist/sdk/doc-runtime/factories/useDocumentFactory.d.ts +5 -1
- package/dist/sdk/types/field-model-query.d.ts +2 -0
- package/dist/sdk/types/index.d.ts +8 -1
- package/dist/suites/edhr/component/resolve-field-render-colors.d.ts +15 -0
- package/dist/suites/edhr/manifest/field/_common_/basic.d.ts +8 -2
- package/dist/suites/edhr/manifest/field/business/operation-manifest.d.ts +2 -0
- package/dist/suites/edhr/manifest/field/business/operation-output-qty-manifest.d.ts +2 -0
- package/dist/suites/edhr/manifest/field/business/operation-receive-qty-manifest.d.ts +2 -0
- package/dist/suites/edhr/manifest/field/business/production-qty-manifest.d.ts +2 -0
- package/dist/suites/edhr/manifest/field/logic/model-relation-manifest.d.ts +2 -0
- package/dist/suites/edhr/manifest/field/material/target-warehouse-manifest.d.ts +2 -0
- package/dist/suites/edhr/manifest/field/object-type/date-object-manifest.d.ts +3 -0
- package/dist/suites/edhr/manifest/field/object-type/re-inspection-date-manifest.d.ts +2 -0
- package/dist/suites/edhr/manifest/field/object-type/validity-manifest.d.ts +2 -0
- package/dist/suites/edhr/panel-schema/data-init/material-consume-object/bom-validator.d.ts +74 -0
- package/dist/suites/edhr/panel-schema/data-init/material-consume-object/index.d.ts +3 -0
- package/dist/suites/edhr/panel-schema/data-init/material-consume-object/linkage.d.ts +69 -0
- package/dist/suites/edhr/panel-schema/data-init/material-consume-object/use-tmpl-bom.d.ts +13 -0
- package/dist/suites/edhr/panel-schema/data-init/object-init/object-init.vue.d.ts +7 -5
- package/dist/suites/edhr/panel-schema/index.d.ts +3 -0
- package/dist/suites/edhr/panel-schema/material-consume-table/bom-entry-editor.vue.d.ts +2 -1
- package/dist/suites/edhr/panel-schema/material-requisition-table/material-requisition-table.basic.d.ts +1 -0
- package/dist/suites/edhr/panel-schema/warehouse-in-table/warehouse-in-table.basic.d.ts +1 -0
- package/dist/suites/edhr/panel-schema/warehouse-out-table/warehouse-out-table.basic.d.ts +1 -0
- package/dist/suites/eqm/index.d.ts +1 -1
- package/dist/suites/eqm/panel-router/index.d.ts +2 -0
- package/dist/suites/eqm/panel-schema/device-part-consume-table/device-part-consume-table.basic.d.ts +1 -0
- package/dist/suites/eqm/panel-schema/index.d.ts +7 -0
- package/dist/suites/eqm/panel-schema/part-stocktake-table/part-stocktake-table.basic.d.ts +1 -0
- package/dist/suites/eqm/panel-schema/warehouse-inbound-table/warehouse-inbound-table.basic.d.ts +1 -0
- package/dist/suites/eqm/panel-schema/warehouse-outbound-table/warehouse-outbound-table.basic.d.ts +1 -0
- package/dist/suites/shared/hooks/useFieldPanel.d.ts +1 -0
- package/dist/suites/shared/panel/config/editor/display-fields-editor/display-fields-editor.vue.d.ts +4 -3
- package/dist/suites/shared/panel/config/editor/display-fields-editor/display-fields.util.d.ts +8 -0
- package/dist/suites/shared/panel/config/editor/field-config-visibility.d.ts +2 -0
- package/dist/suites/shared/panel/config/editor/qrcode-parse-editor/barcode-parsing-rules-group-editor.vue.d.ts +28 -0
- package/dist/suites/shared/panel/config/editor/quick-search-editor/quick-search.util.d.ts +5 -7
- package/dist/suites/shared/panel/config/editor/ref-autofill-editor/field-tree-select.vue.d.ts +2 -2
- package/dist/suites/shared/panel/config/editor/ref-autofill-editor/utils.d.ts +3 -2
- package/dist/suites/shared/panel/modules/field-dependency-module/field-dependency-modal.vue.d.ts +2 -0
- package/dist/suites/shared/panel/utils/open-design-modal.d.ts +7 -0
- package/dist/suites/shared/suite-features.d.ts +19 -0
- package/dist/utils/adapters/ServiceUtil.d.ts +5 -2
- package/dist/utils/adapters/TriggerUtil.d.ts +1 -1
- package/dist/utils/fonts/cjk-font-catalog.d.ts +24 -1
- package/dist/utils/func/file.d.ts +1 -1
- package/dist/word.css +1466 -1054
- package/package.json +3 -2
- package/dist/domain/table/business/preprocess/pretreatment-list/actions/change-parse-rule.d.ts +0 -7
- package/dist/domain/table/business/preprocess/pretreatment-list/runtime/remote-sync-apply.d.ts +0 -2
- package/dist/domain/table/business/shared/change-parse-rule.d.ts +0 -10
- package/dist/domain/table/business/sterilize/entrust-steril-batch-list/actions/change-parse-rule.d.ts +0 -7
- package/dist/domain/table/business/sterilize/entrust-steril-batch-list/runtime/remote-sync-apply.d.ts +0 -2
- package/dist/domain/table/business/warehouse/warehouse-allocate/actions/change-parse-rule.d.ts +0 -7
- package/dist/domain/table/business/warehouse/warehouse-allocate/types.d.ts +0 -38
- package/dist/domain/table/business/warehouse/warehouse-inventory/actions/change-parse-rule.d.ts +0 -7
- package/dist/domain/table/business/warehouse/warehouse-inventory/runtime/remote-sync-apply.d.ts +0 -9
- package/dist/domain/table/business/warehouse/warehouse-inventory/runtime/scan-config.d.ts +0 -38
- package/dist/domain/table/business/warehouse/warehouse-inventory/runtime/warehouse-context.d.ts +0 -3
- /package/dist/suites/edhr/manifest/field/{trace/production-identifier-manifest.d.ts → business/inspection-qty-manifest.d.ts} +0 -0
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* EQM 备件消耗表(DEVICE_PART_CONSUME)字段 key
|
|
3
|
+
*/
|
|
4
|
+
export declare const F: {
|
|
5
|
+
/** 库存列表 id */
|
|
6
|
+
readonly inventory: "inventory_id_";
|
|
7
|
+
/** 备件 */
|
|
8
|
+
readonly part: "part_id_";
|
|
9
|
+
/** 备件名称 */
|
|
10
|
+
readonly partName: "part_id_name_";
|
|
11
|
+
/** 备件编码 */
|
|
12
|
+
readonly partCode: "part_id_code_";
|
|
13
|
+
/** 备件规格 */
|
|
14
|
+
readonly partSpec: "part_id_spec_";
|
|
15
|
+
/** 消耗数量 */
|
|
16
|
+
readonly qtyConsumed: "qty_consumed_";
|
|
17
|
+
/** 数量单位 */
|
|
18
|
+
readonly qtyUom: "qty_uom_id_";
|
|
19
|
+
/** 库存数量 */
|
|
20
|
+
readonly stock: "stock_num_";
|
|
21
|
+
/** 仓库 */
|
|
22
|
+
readonly warehouse: "warehouse_id_";
|
|
23
|
+
/** 库区 */
|
|
24
|
+
readonly storageZone: "storage_zone_id_";
|
|
25
|
+
/** 库位 */
|
|
26
|
+
readonly location: "location_id_";
|
|
27
|
+
};
|
|
28
|
+
export type DevicePartConsumeFieldKey = (typeof F)[keyof typeof F];
|
|
29
|
+
/**
|
|
30
|
+
* 设计态固定禁用、运行态只读
|
|
31
|
+
* 可编辑:备件、消耗数量
|
|
32
|
+
*/
|
|
33
|
+
export declare const DISABLED_INPUT_FIELDS: readonly ["inventory_id_", "part_id_name_", "part_id_code_", "part_id_spec_", "qty_uom_id_", "stock_num_", "warehouse_id_", "storage_zone_id_", "location_id_"];
|
|
34
|
+
/** 备件清空时需一并清空的字段 */
|
|
35
|
+
export declare const CLEAR_ON_PART_EMPTY: readonly ["inventory_id_", "part_id_name_", "part_id_code_", "part_id_spec_", "qty_uom_id_", "stock_num_", "warehouse_id_", "storage_zone_id_", "location_id_"];
|
package/dist/domain/table/business/warehouse/device-part-consume/runtime/register-handlers.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* EQM 备件盘点表(PART_STOCKTAKE)字段 key
|
|
3
|
+
*/
|
|
4
|
+
export declare const F: {
|
|
5
|
+
/** 库存列表 id */
|
|
6
|
+
readonly inventory: "inventory_id_";
|
|
7
|
+
/** 备件 */
|
|
8
|
+
readonly part: "part_id_";
|
|
9
|
+
/** 备件 id(展示 / 文本) */
|
|
10
|
+
readonly partLb: "part_id__lb_";
|
|
11
|
+
/** 备件名称 */
|
|
12
|
+
readonly partName: "part_id_name_";
|
|
13
|
+
/** 备件编码 */
|
|
14
|
+
readonly partCode: "part_id_code_";
|
|
15
|
+
/** 备件规格 */
|
|
16
|
+
readonly partSpec: "part_id_spec_";
|
|
17
|
+
/** 库存数量 */
|
|
18
|
+
readonly stock: "stock_num_";
|
|
19
|
+
/** 盘点数量 */
|
|
20
|
+
readonly stocktake: "stocktake_num_";
|
|
21
|
+
/** 差异数量 */
|
|
22
|
+
readonly diff: "diff_num_";
|
|
23
|
+
/** 数量单位 */
|
|
24
|
+
readonly qtyUom: "qty_uom_id_";
|
|
25
|
+
/** 盘点状态 */
|
|
26
|
+
readonly stocktakeStatus: "stocktake_status_";
|
|
27
|
+
/** 仓库 */
|
|
28
|
+
readonly warehouse: "warehouse_id_";
|
|
29
|
+
/** 库区 */
|
|
30
|
+
readonly storageZone: "storage_zone_id_";
|
|
31
|
+
/** 库位 */
|
|
32
|
+
readonly location: "location_id_";
|
|
33
|
+
};
|
|
34
|
+
export type PartStocktakeFieldKey = (typeof F)[keyof typeof F];
|
|
35
|
+
/** 设计态固定禁用、运行态只读 */
|
|
36
|
+
export declare const DISABLED_INPUT_FIELDS: readonly ["inventory_id_", "part_id__lb_", "part_id_name_", "part_id_code_", "part_id_spec_", "stock_num_", "diff_num_", "qty_uom_id_", "stocktake_status_", "warehouse_id_", "storage_zone_id_", "location_id_"];
|
|
37
|
+
/** 备件清空时需一并清空的字段 */
|
|
38
|
+
export declare const CLEAR_ON_PART_EMPTY: readonly ["inventory_id_", "part_id_name_", "part_id_code_", "part_id_spec_", "stock_num_", "stocktake_num_", "diff_num_", "qty_uom_id_", "warehouse_id_", "storage_zone_id_", "location_id_"];
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { IRuleParseData } from '../../../../../runtime/canvas/table/render/label-parse-rule/type';
|
|
2
|
+
import { BizServiceApiDef } from '../../../types';
|
|
3
|
+
export declare const SCAN_NOT_FOUND_MSG = "\u626B\u63CF\u7684\u7269\u6599\u4E0D\u5B58\u5728";
|
|
4
|
+
export declare const SCAN_LOT_OR_UNIQUE_REQUIRED_MSG = "\u6761\u7801\u4E2D\u672A\u89E3\u6790\u5230\u7269\u6599\u6279\u53F7\u6216\u552F\u4E00\u7801";
|
|
5
|
+
export declare const INVENTORY_PRODUCTION_IDENTIFICATION_SCAN_API: BizServiceApiDef;
|
|
6
|
+
/** 物料批号、唯一码至少有一个非空 */
|
|
7
|
+
export declare function hasLotOrUniqueCode(parsed: IRuleParseData): boolean;
|
|
8
|
+
/** 条码解析结果 + 当前仓库 → 扫码接口入参 */
|
|
9
|
+
export declare function buildInventoryScanRequestBody(parsed: IRuleParseData, warehouseId?: string): Record<string, unknown>;
|
|
10
|
+
/**
|
|
11
|
+
* 调用库存扫码匹配接口
|
|
12
|
+
* - 接口失败(拦截器已提示):返回 null,调用方直接中止
|
|
13
|
+
* - 成功:返回 0/1/N 条候选
|
|
14
|
+
*/
|
|
15
|
+
export declare function matchInventoryScanRecords(parsed: IRuleParseData, warehouseId?: string): Promise<Record<string, unknown>[] | null>;
|
|
16
|
+
/** 多条候选 → 公共多选弹框 */
|
|
17
|
+
export declare function pickInventoryScanRecord(records: Record<string, unknown>[]): Promise<Record<string, unknown> | undefined>;
|
|
18
|
+
/** 解析扫码数量,缺省为 1 */
|
|
19
|
+
export declare function resolveScanQty(parsedQty: unknown, recordQty?: unknown, fallback?: number): number;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
/**
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
1
|
+
import { BusinessScanHandler } from '../../../shared/scan-action';
|
|
2
|
+
/**
|
|
3
|
+
* 库存调拨表:扫码后入行
|
|
4
|
+
* - 连续扫码每次新增一行
|
|
5
|
+
* - 重复扫同一码不合并
|
|
6
|
+
*/
|
|
7
|
+
export declare const handleWarehouseAllocateScan: BusinessScanHandler;
|
|
@@ -3,23 +3,44 @@
|
|
|
3
3
|
*/
|
|
4
4
|
/** 单字段 key */
|
|
5
5
|
export declare const F: {
|
|
6
|
-
|
|
6
|
+
/** 库存主键(选物料时写 option.id_,用于唯一回显) */
|
|
7
|
+
readonly inventory: "inventory_id_";
|
|
8
|
+
/** 物料 */
|
|
7
9
|
readonly product: "product_id_";
|
|
10
|
+
/** 物料名称 */
|
|
8
11
|
readonly productName: "product_id_name_";
|
|
12
|
+
/** 物料编码 */
|
|
9
13
|
readonly productCode: "product_id_code_";
|
|
14
|
+
/** 物料规格 */
|
|
10
15
|
readonly productSpec: "product_id_spec_";
|
|
11
|
-
|
|
12
|
-
readonly
|
|
16
|
+
/** 物料批号 */
|
|
17
|
+
readonly batch: "production_identification_id_";
|
|
18
|
+
/** 源仓库 */
|
|
19
|
+
readonly originWarehouse: "origin_warehouse_id_";
|
|
20
|
+
/** 源库位 */
|
|
21
|
+
readonly originLocation: "origin_location_id_";
|
|
22
|
+
/** 目标仓库 */
|
|
13
23
|
readonly warehouse: "warehouse_id_";
|
|
24
|
+
/** 目标库位 */
|
|
14
25
|
readonly location: "location_id_";
|
|
15
|
-
|
|
16
|
-
readonly
|
|
17
|
-
|
|
26
|
+
/** 库存数量 */
|
|
27
|
+
readonly stock: "stock_num_";
|
|
28
|
+
/** 调拨数量 */
|
|
18
29
|
readonly allocateNum: "allocate_num_";
|
|
30
|
+
/** 工单 */
|
|
31
|
+
readonly mfgOrder: "mfg_order_id_";
|
|
32
|
+
/** 批次/SN */
|
|
33
|
+
readonly lotSn: "lot_sn_id_";
|
|
34
|
+
/** 有效期 */
|
|
35
|
+
readonly validity: "validity_";
|
|
36
|
+
/** 复检日期 */
|
|
37
|
+
readonly reInspectionDate: "re_inspection_date_";
|
|
38
|
+
/** 唯一码 */
|
|
39
|
+
readonly uniqueCode: "unique_code_";
|
|
19
40
|
readonly matcode: "product_code_";
|
|
20
|
-
readonly rowSource: "row_source_";
|
|
21
|
-
readonly allocateLocationIds: "_allocate_location_ids_";
|
|
22
41
|
};
|
|
23
42
|
export type AllocateFieldKey = (typeof F)[keyof typeof F];
|
|
24
|
-
/**
|
|
25
|
-
export declare const
|
|
43
|
+
/** 设计态输入属性固定禁用、运行态只读的字段 */
|
|
44
|
+
export declare const DISABLED_INPUT_FIELDS: readonly ["product_id_name_", "product_id_code_", "product_id_spec_", "production_identification_id_", "origin_warehouse_id_", "origin_location_id_", "mfg_order_id_", "lot_sn_id_", "stock_num_", "validity_", "re_inspection_date_"];
|
|
45
|
+
/** 物料清空时需一并清空的字段(不含目标仓/目标库位,避免误清已选目标) */
|
|
46
|
+
export declare const CLEAR_ON_PRODUCT_EMPTY: readonly ["inventory_id_", "product_id_name_", "product_id_code_", "product_id_spec_", "production_identification_id_", "origin_warehouse_id_", "origin_location_id_", "mfg_order_id_", "lot_sn_id_", "stock_num_", "allocate_num_", "validity_", "re_inspection_date_"];
|
package/dist/domain/table/business/warehouse/warehouse-allocate/runtime/row-change-handlers.d.ts
CHANGED
|
@@ -1,9 +1,6 @@
|
|
|
1
1
|
import { Doc } from '../../../../../../core';
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
3
|
+
* 物料清空时,同步清空选库存带回的填充字段
|
|
4
|
+
* 切换物料不预清:由 fillFromOption 覆盖回填
|
|
4
5
|
*/
|
|
5
6
|
export declare function handleProductIdChange(doc: Doc, subFieldKey: string, rowIndex: number): void;
|
|
6
|
-
/**
|
|
7
|
-
* 库位切换 / 清空
|
|
8
|
-
*/
|
|
9
|
-
export declare function handleLocationChange(doc: Doc, subFieldKey: string, rowIndex: number): void;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './scan';
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 入库明细表字段 key 统一定义
|
|
3
|
+
*/
|
|
4
|
+
/** 单字段 key */
|
|
5
|
+
export declare const F: {
|
|
6
|
+
/** 物料 */
|
|
7
|
+
readonly product: "product_id_";
|
|
8
|
+
/** 物料名称 */
|
|
9
|
+
readonly productName: "product_id_name_";
|
|
10
|
+
/** 物料编码 */
|
|
11
|
+
readonly productCode: "product_id_code_";
|
|
12
|
+
/** 物料规格 */
|
|
13
|
+
readonly productSpec: "product_id_spec_";
|
|
14
|
+
/** 物料批号 */
|
|
15
|
+
readonly materialNo: "material_no_";
|
|
16
|
+
/** 物料批号ID */
|
|
17
|
+
readonly materialNoId: "material_no__id_";
|
|
18
|
+
/** 数量 */
|
|
19
|
+
readonly qty: "qty_";
|
|
20
|
+
/** 仓库 */
|
|
21
|
+
readonly warehouse: "warehouse_id_";
|
|
22
|
+
/** 库位 */
|
|
23
|
+
readonly location: "location_id_";
|
|
24
|
+
/** 工单 */
|
|
25
|
+
readonly mfgOrder: "mfg_order_id_";
|
|
26
|
+
/** 生产批次/SN */
|
|
27
|
+
readonly lotSn: "lot_sn_id_";
|
|
28
|
+
/** 有效期 */
|
|
29
|
+
readonly validity: "validity_";
|
|
30
|
+
/** 唯一码 */
|
|
31
|
+
readonly uniqueCode: "unique_code_";
|
|
32
|
+
/** 复检日期 */
|
|
33
|
+
readonly reInspectionDate: "re_inspection_date_";
|
|
34
|
+
};
|
|
35
|
+
export type WarehouseInFieldKey = (typeof F)[keyof typeof F];
|
|
36
|
+
/** 物料及名称 / 编码 / 规格 */
|
|
37
|
+
export declare const PRODUCT_FIELDS: readonly ["product_id_", "product_id_name_", "product_id_code_", "product_id_spec_"];
|
|
38
|
+
/** runtimeRules:始终只读的信息字段 */
|
|
39
|
+
export declare const READONLY_INFO_FIELDS: readonly ["product_id_name_", "product_id_code_", "product_id_spec_"];
|
|
40
|
+
/** 物料清空时需一并清空的字段 */
|
|
41
|
+
export declare const CLEAR_ON_PRODUCT_EMPTY: readonly ["product_id_name_", "product_id_code_", "product_id_spec_"];
|
|
42
|
+
/** 物料批号清空 / 手输切换时需一并清空的物料相关字段 */
|
|
43
|
+
export declare const CLEAR_ON_MATERIAL_NO_EMPTY: readonly ["product_id_", "product_id_name_", "product_id_code_", "product_id_spec_"];
|
|
44
|
+
/** 相关字段变更时需重算物料禁用态 */
|
|
45
|
+
export declare const PRODUCT_EDITABILITY_WATCH: readonly ["material_no_", "material_no__id_"];
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { Doc } from '../../../../../../core';
|
|
2
|
+
/**
|
|
3
|
+
* 物料批号 切换 / 清空
|
|
4
|
+
* 下拉选中(有 companion id)→ 由 fillFromOption 回填物料,此处不预清
|
|
5
|
+
* 手动输入(无 companion id)→ 清物料及相关字段,供用户自选物料
|
|
6
|
+
* 清空【物料批号】 → 清物料 + 物料名称 + 物料编码 + 物料规格
|
|
7
|
+
*/
|
|
8
|
+
export declare function handleMaterialNoChange(doc: Doc, subFieldKey: string, rowIndex: number): void;
|
|
9
|
+
/**
|
|
10
|
+
* 物料清空时,同步清空名称 / 编码 / 规格
|
|
11
|
+
*/
|
|
12
|
+
export declare function handleProductIdChange(doc: Doc, subFieldKey: string, rowIndex: number): void;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* EQM 入库明细表(WAREHOUSE_INBOUND)字段 key
|
|
3
|
+
*/
|
|
4
|
+
export declare const F: {
|
|
5
|
+
/** 备件 */
|
|
6
|
+
readonly part: "part_id_";
|
|
7
|
+
/** 备件 id(展示 / 文本) */
|
|
8
|
+
readonly partLb: "part_id__lb_";
|
|
9
|
+
/** 备件名称 */
|
|
10
|
+
readonly partName: "part_id_name_";
|
|
11
|
+
/** 备件编码 */
|
|
12
|
+
readonly partCode: "part_id_code_";
|
|
13
|
+
/** 备件规格 */
|
|
14
|
+
readonly partSpec: "part_id_spec_";
|
|
15
|
+
/** 数量 */
|
|
16
|
+
readonly qty: "qty_";
|
|
17
|
+
/** 数量单位 */
|
|
18
|
+
readonly qtyUom: "qty_uom_id_";
|
|
19
|
+
/** 仓库 */
|
|
20
|
+
readonly warehouse: "warehouse_id_";
|
|
21
|
+
/** 库区 */
|
|
22
|
+
readonly storageZone: "storage_zone_id_";
|
|
23
|
+
/** 库位 */
|
|
24
|
+
readonly location: "location_id_";
|
|
25
|
+
/** 有效期 */
|
|
26
|
+
readonly validity: "validity_";
|
|
27
|
+
};
|
|
28
|
+
export type WarehouseInboundFieldKey = (typeof F)[keyof typeof F];
|
|
29
|
+
/** 设计态输入属性固定禁用、运行态只读的字段 */
|
|
30
|
+
export declare const DISABLED_INPUT_FIELDS: readonly ["part_id__lb_", "part_id_name_", "part_id_code_", "part_id_spec_", "qty_uom_id_"];
|
|
31
|
+
/** 备件清空时需一并清空的字段 */
|
|
32
|
+
export declare const CLEAR_ON_PART_EMPTY: readonly ["part_id_name_", "part_id_code_", "part_id_spec_", "qty_uom_id_"];
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -1,7 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
/**
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
1
|
+
import { BusinessScanHandler } from '../../../shared/scan-action';
|
|
2
|
+
/**
|
|
3
|
+
* 库存盘点表扫码(新逻辑)
|
|
4
|
+
* - 接口:em_inventory / biz_inventory_production_identification_scan
|
|
5
|
+
* - 0 条 → 报错;1 条自动写入;N 条手选
|
|
6
|
+
* - 连续扫码:新物料新增一行,不覆盖
|
|
7
|
+
* - 同物料+批次(需求已去掉「重复建多行不合并」):累加实盘数量
|
|
8
|
+
*/
|
|
9
|
+
export declare const handleWarehouseInventoryScan: BusinessScanHandler;
|
|
@@ -3,63 +3,50 @@
|
|
|
3
3
|
*/
|
|
4
4
|
/** 单字段 key */
|
|
5
5
|
export declare const F: {
|
|
6
|
+
/**
|
|
7
|
+
* 库存主键。
|
|
8
|
+
* 库位精细:选中项 `id_`;按仓库汇总:接口单独返回的 `inventory_id_`,不再从 `id_` 写入。
|
|
9
|
+
*/
|
|
10
|
+
readonly inventory: "inventory_id_";
|
|
11
|
+
/** 按仓库汇总时写入接口 `id_`,下拉高亮优先用它 */
|
|
12
|
+
readonly frontId: "front_id_";
|
|
13
|
+
/** 物料批号 */
|
|
6
14
|
readonly batch: "production_identification_id_";
|
|
15
|
+
/** 物料 */
|
|
7
16
|
readonly product: "product_id_";
|
|
17
|
+
/** 物料名称 */
|
|
8
18
|
readonly productName: "product_id_name_";
|
|
19
|
+
/** 物料编码 */
|
|
9
20
|
readonly productCode: "product_id_code_";
|
|
21
|
+
/** 物料规格 */
|
|
10
22
|
readonly productSpec: "product_id_spec_";
|
|
23
|
+
/** 仓库 */
|
|
11
24
|
readonly warehouse: "warehouse_id_";
|
|
25
|
+
/** 库位 */
|
|
12
26
|
readonly location: "location_id_";
|
|
27
|
+
/** 库存数量 */
|
|
13
28
|
readonly stock: "stock_num_";
|
|
29
|
+
/** 盘点数量 */
|
|
14
30
|
readonly stocktake: "stocktake_num_";
|
|
31
|
+
/** 差异数量 */
|
|
15
32
|
readonly diff: "diff_num_";
|
|
33
|
+
/** 盘点状态 */
|
|
16
34
|
readonly stocktakeStatus: "stocktake_status_";
|
|
35
|
+
/** 有效期 */
|
|
36
|
+
readonly validity: "validity_";
|
|
37
|
+
/** 复检日期 */
|
|
38
|
+
readonly reInspectionDate: "re_inspection_date_";
|
|
39
|
+
/** 行数据来源 */
|
|
40
|
+
readonly rowSource: "row_source_";
|
|
17
41
|
readonly matno: "material_no_";
|
|
18
42
|
readonly matcode: "product_code_";
|
|
19
|
-
readonly rowSource: "row_source_";
|
|
20
|
-
readonly locationAutoResolved: "_location_auto_resolved_";
|
|
21
|
-
readonly inventoryLocationIds: "_inventory_location_ids_";
|
|
22
43
|
};
|
|
23
44
|
export type InventoryFieldKey = (typeof F)[keyof typeof F];
|
|
24
|
-
/**
|
|
25
|
-
export declare const
|
|
26
|
-
|
|
27
|
-
export declare const
|
|
28
|
-
|
|
29
|
-
export declare const STOCK_FIELDS: readonly ["stock_num_", "stocktake_num_"];
|
|
30
|
-
/** 库存、实盘及差异清空集 */
|
|
31
|
-
export declare const STOCK_RELATED_CLEAR_FIELDS: readonly ["stock_num_", "stocktake_num_", "diff_num_"];
|
|
32
|
-
/** remoteSync 触发字段(含仅触发、不入请求的库位) */
|
|
33
|
-
export declare const INVENTORY_IDENTITY_FIELDS: readonly ["production_identification_id_", "warehouse_id_", "location_id_", "product_id_"];
|
|
34
|
-
/** remoteSync 请求体字段 */
|
|
35
|
-
export declare const INVENTORY_REMOTE_SYNC_REQUEST_FIELDS: readonly ["production_identification_id_", "warehouse_id_", "product_id_", "material_no_", "product_code_"];
|
|
36
|
-
/** remoteSync 仅触发、排除出请求的字段 */
|
|
37
|
-
export declare const INVENTORY_REMOTE_SYNC_EXCLUDE_REQUEST_FIELDS: readonly ["location_id_"];
|
|
38
|
-
/** remoteSync 成功回写的基础字段(不含库位/库存,由 resolveApply 决定) */
|
|
39
|
-
export declare const INVENTORY_INFO_APPLY_FIELDS: readonly ["production_identification_id_", "product_id_", "product_id_name_", "product_id_code_", "product_id_spec_", "warehouse_id_"];
|
|
40
|
-
/** remoteSync 查无数据时清空的字段 */
|
|
41
|
-
export declare const INVENTORY_INFO_CLEAR_FIELDS: readonly ["production_identification_id_", "product_id_", "product_id_name_", "product_id_code_", "product_id_spec_", "location_id_", "stock_num_", "stocktake_num_", "diff_num_"];
|
|
42
|
-
/** 行变更 handler:批次清空 / 切换时的字段集 */
|
|
43
|
-
export declare const CLEAR_ON_BATCH_EMPTY: readonly ["product_id_", "product_id_name_", "product_id_code_", "product_id_spec_", "location_id_", "stock_num_", "stocktake_num_", "diff_num_"];
|
|
44
|
-
export declare const CLEAR_ON_BATCH_SWITCH: readonly ["location_id_", "stock_num_", "stocktake_num_", "diff_num_"];
|
|
45
|
-
/** 行变更 handler:物料清空 / 切换时的字段集 */
|
|
46
|
-
export declare const CLEAR_ON_PRODUCT_EMPTY: readonly ["production_identification_id_", "product_id_name_", "product_id_code_", "product_id_spec_", "location_id_", "stock_num_", "stocktake_num_", "diff_num_"];
|
|
47
|
-
export declare const CLEAR_ON_PRODUCT_SWITCH: readonly ["production_identification_id_", "location_id_", "stock_num_", "stocktake_num_", "diff_num_"];
|
|
48
|
-
/** remoteSync:切换物料发请求前需清空的行字段(含库位与自动解析标记) */
|
|
49
|
-
export declare const PREPARE_ROW_ON_PRODUCT_SYNC: readonly ["production_identification_id_", "location_id_", "stock_num_", "stocktake_num_", "diff_num_", "_location_auto_resolved_", "_inventory_location_ids_"];
|
|
50
|
-
/** remoteSync:批次查询无结果 / 接口异常时清空的字段 */
|
|
51
|
-
export declare const CLEAR_ON_BATCH_SYNC_ERROR: readonly ["production_identification_id_", "product_id_", "product_id_name_", "product_id_code_", "product_id_spec_", "location_id_", "stock_num_", "stocktake_num_", "diff_num_"];
|
|
52
|
-
/** runtimeRules:始终只读的信息字段 */
|
|
53
|
-
export declare const READONLY_INFO_FIELDS: readonly ["product_id_name_", "product_id_code_", "product_id_spec_", "warehouse_id_", "stock_num_", "diff_num_", "stocktake_status_"];
|
|
54
|
-
/** auto 行只读的可选字段 */
|
|
55
|
-
export declare const AUTO_LOAD_READONLY_SELECT_FIELDS: readonly ["product_id_", "production_identification_id_", "location_id_"];
|
|
56
|
-
/** scan 行只读:物料/批次;库位待选时可编辑,单库位自动解析后走 _location_auto_resolved_ 只读 */
|
|
57
|
-
export declare const SCAN_READONLY_SELECT_FIELDS: readonly ["product_id_", "production_identification_id_"];
|
|
58
|
-
/** rowHandlers:盘点衍生字段监听 */
|
|
59
|
-
export declare const STOCKTAKE_DERIVED_WATCH_FIELDS: readonly ["stocktake_num_", "stock_num_"];
|
|
60
|
-
/** 按批次+物料+仓库分组 */
|
|
45
|
+
/** 设计态输入属性固定禁用、运行态只读的字段 */
|
|
46
|
+
export declare const DISABLED_INPUT_FIELDS: readonly ["production_identification_id_", "product_id_name_", "product_id_code_", "product_id_spec_", "stock_num_", "diff_num_", "stocktake_status_", "warehouse_id_", "location_id_", "validity_", "re_inspection_date_"];
|
|
47
|
+
/** 物料清空时需一并清空的字段 */
|
|
48
|
+
export declare const CLEAR_ON_PRODUCT_EMPTY: readonly ["inventory_id_", "front_id_", "production_identification_id_", "product_id_name_", "product_id_code_", "product_id_spec_", "stock_num_", "stocktake_num_", "diff_num_", "warehouse_id_", "location_id_", "validity_", "re_inspection_date_"];
|
|
49
|
+
/** 按批次+物料+仓库分组(initLoad / 汇总) */
|
|
61
50
|
export declare const WAREHOUSE_IDENTITY_GROUP_KEYS: readonly ["production_identification_id_", "product_id_", "warehouse_id_"];
|
|
62
|
-
/**
|
|
63
|
-
export declare const SCAN_MERGE_GROUP_KEYS: readonly ["production_identification_id_", "product_id_", "warehouse_id_", "location_id_"];
|
|
64
|
-
/** 库存唯一标识基础字段 */
|
|
51
|
+
/** 库存记录映射基础字段(initLoad mapper / 扫码聚合) */
|
|
65
52
|
export declare const INVENTORY_BASE_FIELDS: readonly ["production_identification_id_", "product_id_", "product_id_name_", "product_id_code_", "product_id_spec_", "warehouse_id_"];
|
package/dist/domain/table/business/warehouse/warehouse-inventory/runtime/row-change-handlers.d.ts
CHANGED
|
@@ -1,22 +1,6 @@
|
|
|
1
1
|
import { Doc } from '../../../../../../core';
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
* 选择批次 → 清库位 + 库存/实盘/差异,等 remoteSync 重填,状态回到待盘点
|
|
6
|
-
* 清空批次 → 清物料信息 + 库位 + 库存/实盘/差异 → 状态回到待盘点
|
|
7
|
-
*/
|
|
8
|
-
export declare function handleProductionIdentificationIdChange(doc: Doc, subFieldKey: string, rowIndex: number): void;
|
|
9
|
-
/**
|
|
10
|
-
* 物料切换 / 清空
|
|
11
|
-
*
|
|
12
|
-
* 切换物料 → 清批次 + 库位 + 库存/实盘/差异,状态回到待盘点
|
|
13
|
-
* 清空物料 → 清批次 + 物料描述 + 库位 + 库存/实盘/差异 → 状态回到待盘点
|
|
3
|
+
* 物料清空时,同步清空选库存带回的填充字段
|
|
4
|
+
* 切换物料不预清:由 fillFromOption 覆盖回填
|
|
14
5
|
*/
|
|
15
6
|
export declare function handleProductIdChange(doc: Doc, subFieldKey: string, rowIndex: number): void;
|
|
16
|
-
/**
|
|
17
|
-
* 库位切换 / 清空
|
|
18
|
-
*
|
|
19
|
-
* 切换库位 → 由 remoteSync 自动重填 stock_num_ 并触发 afterApply(stocktake-derived)
|
|
20
|
-
* 清空库位 → 清库存数 → 立即重算衍生字段
|
|
21
|
-
*/
|
|
22
|
-
export declare function handleLocationChange(doc: Doc, subFieldKey: string, rowIndex: number): void;
|