@gct-paas/word 0.1.74-beta.5 → 0.1.74-beta.7
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/dist/assets/svgs/table/index.d.ts +2 -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/collapse/src/collapse.vue.d.ts +3 -0
- 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/empty/src/empty.vue.d.ts +1 -1
- package/dist/base/image-upload/src/image-upload.vue.d.ts +1 -1
- 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/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.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 +2 -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 +10 -4
- package/dist/core/data/paths/field-paths.d.ts +2 -0
- package/dist/core/data/updates/field-updates.d.ts +7 -2
- package/dist/core/model/document/wtcRegionRef.d.ts +1 -1
- package/dist/core/model/logic/subtable/repeating/RepeatingRegion.d.ts +9 -1
- package/dist/core/view/Page.d.ts +2 -2
- package/dist/core/view/base/LayoutGroup.d.ts +11 -0
- package/dist/core/view/runs/ImageWidget.d.ts +4 -0
- package/dist/domain/active/active-types.d.ts +5 -1
- package/dist/domain/field/field-type.d.ts +2 -2
- package/dist/domain/table/business/preprocess/pretreatment-list/profile/field-keys.d.ts +4 -2
- 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/index.d.ts +2 -0
- package/dist/domain/table/business/warehouse/warehouse-in/profile/field-keys.d.ts +39 -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 +5 -0
- 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 +26 -42
- package/dist/domain/table/business/warehouse/warehouse-inventory/runtime/index.d.ts +1 -1
- 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 +10 -10
- 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 +22 -22
- package/dist/domain/table/business/warehouse/warehouse-out/index.d.ts +2 -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/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 +46 -6
- package/dist/index.es.js +3474 -2483
- package/dist/runtime/canvas/inline-image/resize-box.vue.d.ts +2 -2
- package/dist/runtime/designer/panel/panel-breadcrumb-separator.vue.d.ts +2 -0
- package/dist/runtime/designer/ribbon/components/text-color-select.vue.d.ts +1 -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/dropdowns/components/option-dropdown.vue.d.ts +12 -12
- 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 +2 -1
- package/dist/runtime/renderer/dropdowns/components/tables/component/device-type-select.vue.d.ts +2 -2
- package/dist/runtime/renderer/dropdowns/components/tables/composables/useTableDropdown.d.ts +1 -0
- package/dist/runtime/renderer/dropdowns/components/tables/rdo-table-dropdown.vue.d.ts +12 -12
- package/dist/runtime/renderer/dropdowns/components/tables/strategy/selectStrategy.d.ts +9 -0
- package/dist/runtime/renderer/dropdowns/components/tables/table-dropdown.vue.d.ts +12 -12
- package/dist/runtime/renderer/dropdowns/components/tree/tree-dropdown.vue.d.ts +12 -12
- package/dist/suites/edhr/manifest/field/_common_/basic.d.ts +5 -0
- package/dist/suites/edhr/panel-schema/field/field-attribute-value.vue.d.ts +26 -0
- package/dist/suites/edhr/panel-schema/field/field-panel-chevron.vue.d.ts +5 -0
- package/dist/suites/edhr/panel-schema/field/field-panel-text-icon.vue.d.ts +2 -0
- package/dist/suites/edhr/panel-schema/index.d.ts +2 -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/shared/panel/config/editor/display-fields-editor/display-fields.util.d.ts +2 -0
- package/dist/suites/shared/panel/config/editor/ref-autofill-editor/field-tree-select.vue.d.ts +2 -2
- package/dist/utils/func/file.d.ts +1 -1
- package/dist/word.css +294 -199
- package/package.json +5 -3
- package/dist/domain/table/business/warehouse/warehouse-allocate/types.d.ts +0 -38
- 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/warehouse-context.d.ts +0 -3
|
@@ -12,6 +12,8 @@ export declare const TABLE_DATA_SVG: {
|
|
|
12
12
|
};
|
|
13
13
|
/** 业务表下拉项图标(按 tableType) */
|
|
14
14
|
export declare const TABLE_BUSINESS_SVG: {
|
|
15
|
+
readonly 'warehouse-in': string;
|
|
16
|
+
readonly 'warehouse-out': string;
|
|
15
17
|
readonly 'warehouse-in-out': string;
|
|
16
18
|
readonly 'warehouse-inventory': string;
|
|
17
19
|
readonly 'warehouse-allocate': string;
|
|
@@ -11,11 +11,11 @@ type __VLS_Props = {
|
|
|
11
11
|
showClearBtn?: boolean;
|
|
12
12
|
};
|
|
13
13
|
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
14
|
-
change: (value: Date | null) => any;
|
|
15
14
|
"update:modelValue": (value: Date | null) => any;
|
|
15
|
+
change: (value: Date | null) => any;
|
|
16
16
|
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
17
|
-
onChange?: ((value: Date | null) => any) | undefined;
|
|
18
17
|
"onUpdate:modelValue"?: ((value: Date | null) => any) | undefined;
|
|
18
|
+
onChange?: ((value: Date | null) => any) | undefined;
|
|
19
19
|
}>, {
|
|
20
20
|
showClearBtn: boolean;
|
|
21
21
|
mode: "datetime" | "date";
|
|
@@ -10,10 +10,10 @@ type __VLS_Props = {
|
|
|
10
10
|
};
|
|
11
11
|
};
|
|
12
12
|
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
13
|
-
change: (...args: any[]) => void;
|
|
14
13
|
"update:modelValue": (...args: any[]) => void;
|
|
14
|
+
change: (...args: any[]) => void;
|
|
15
15
|
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
16
|
-
onChange?: ((...args: any[]) => any) | undefined;
|
|
17
16
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
17
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
18
18
|
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
19
19
|
export default _default;
|
|
@@ -13,11 +13,11 @@ declare function __VLS_template(): {
|
|
|
13
13
|
};
|
|
14
14
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
15
15
|
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
16
|
-
change: (...args: any[]) => void;
|
|
17
16
|
"update:modelValue": (...args: any[]) => void;
|
|
17
|
+
change: (...args: any[]) => void;
|
|
18
18
|
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
19
|
-
onChange?: ((...args: any[]) => any) | undefined;
|
|
20
19
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
20
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
21
21
|
}>, {
|
|
22
22
|
disabled: boolean;
|
|
23
23
|
size: string;
|
|
@@ -15,11 +15,11 @@ declare function __VLS_template(): {
|
|
|
15
15
|
};
|
|
16
16
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
17
17
|
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
18
|
-
change: (...args: any[]) => void;
|
|
19
18
|
"update:modelValue": (...args: any[]) => void;
|
|
19
|
+
change: (...args: any[]) => void;
|
|
20
20
|
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
21
|
-
onChange?: ((...args: any[]) => any) | undefined;
|
|
22
21
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
22
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
23
23
|
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLLabelElement>;
|
|
24
24
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
25
25
|
export default _default;
|
|
@@ -9,8 +9,8 @@ declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {}, {},
|
|
|
9
9
|
} & {
|
|
10
10
|
change: (val: string) => any;
|
|
11
11
|
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
12
|
-
onChange?: ((val: string) => any) | undefined;
|
|
13
12
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
13
|
+
onChange?: ((val: string) => any) | undefined;
|
|
14
14
|
}>, {
|
|
15
15
|
tooltip: string;
|
|
16
16
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
@@ -63,12 +63,12 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {
|
|
|
63
63
|
getRef: import('vue').Ref<any, any>;
|
|
64
64
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
65
65
|
edit: (...args: any[]) => void;
|
|
66
|
-
change: (...args: any[]) => void;
|
|
67
66
|
"update:modelValue": (...args: any[]) => void;
|
|
67
|
+
change: (...args: any[]) => void;
|
|
68
68
|
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
69
69
|
onEdit?: ((...args: any[]) => any) | undefined;
|
|
70
|
-
onChange?: ((...args: any[]) => any) | undefined;
|
|
71
70
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
71
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
72
72
|
}>, {
|
|
73
73
|
options: DropdownOption[] | DropdownOptionGroup[];
|
|
74
74
|
showCheck: boolean;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { IEmptyProps } from './empty';
|
|
2
2
|
declare const _default: import('vue').DefineComponent<IEmptyProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<IEmptyProps> & Readonly<{}>, {
|
|
3
|
-
width: number | string;
|
|
4
3
|
height: number | string;
|
|
4
|
+
width: number | string;
|
|
5
5
|
tip: string;
|
|
6
6
|
iconSrc: string;
|
|
7
7
|
iconHeight: number | string;
|
|
@@ -6,8 +6,8 @@ declare const _default: import('vue').DefineComponent<IUploadProps, {}, {}, {},
|
|
|
6
6
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
7
7
|
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
8
8
|
}>, {
|
|
9
|
-
width: string;
|
|
10
9
|
height: string;
|
|
10
|
+
width: string;
|
|
11
11
|
tip: string;
|
|
12
12
|
accept: string;
|
|
13
13
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
@@ -34,13 +34,13 @@ declare function __VLS_template(): {
|
|
|
34
34
|
};
|
|
35
35
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
36
36
|
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
37
|
+
"update:modelValue": (val: string | number | null) => any;
|
|
37
38
|
change: (val: string | number | null) => any;
|
|
38
39
|
blur: () => any;
|
|
39
|
-
"update:modelValue": (val: string | number | null) => any;
|
|
40
40
|
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
41
|
+
"onUpdate:modelValue"?: ((val: string | number | null) => any) | undefined;
|
|
41
42
|
onChange?: ((val: string | number | null) => any) | undefined;
|
|
42
43
|
onBlur?: (() => any) | undefined;
|
|
43
|
-
"onUpdate:modelValue"?: ((val: string | number | null) => any) | undefined;
|
|
44
44
|
}>, {
|
|
45
45
|
disabled: boolean;
|
|
46
46
|
modelValue: ValueType;
|
|
@@ -20,10 +20,10 @@ declare const __VLS_component: import('vue').DefineComponent<GctInputProps, {
|
|
|
20
20
|
input: (value: string | number, event: Event) => any;
|
|
21
21
|
search: (value: string | number) => any;
|
|
22
22
|
clear: () => any;
|
|
23
|
-
|
|
23
|
+
"update:modelValue": (value: string | number) => any;
|
|
24
24
|
change: (value: string | number, event: Event) => any;
|
|
25
25
|
blur: (event: FocusEvent) => any;
|
|
26
|
-
|
|
26
|
+
focus: (event: FocusEvent) => any;
|
|
27
27
|
keydown: (event: KeyboardEvent) => any;
|
|
28
28
|
keypress: (event: KeyboardEvent) => any;
|
|
29
29
|
keyup: (event: KeyboardEvent) => any;
|
|
@@ -32,10 +32,10 @@ declare const __VLS_component: import('vue').DefineComponent<GctInputProps, {
|
|
|
32
32
|
onInput?: ((value: string | number, event: Event) => any) | undefined;
|
|
33
33
|
onSearch?: ((value: string | number) => any) | undefined;
|
|
34
34
|
onClear?: (() => any) | undefined;
|
|
35
|
-
|
|
35
|
+
"onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
|
|
36
36
|
onChange?: ((value: string | number, event: Event) => any) | undefined;
|
|
37
37
|
onBlur?: ((event: FocusEvent) => any) | undefined;
|
|
38
|
-
|
|
38
|
+
onFocus?: ((event: FocusEvent) => any) | undefined;
|
|
39
39
|
onKeydown?: ((event: KeyboardEvent) => any) | undefined;
|
|
40
40
|
onKeypress?: ((event: KeyboardEvent) => any) | undefined;
|
|
41
41
|
onKeyup?: ((event: KeyboardEvent) => any) | undefined;
|
|
@@ -48,9 +48,9 @@ declare const __VLS_component: import('vue').DefineComponent<GctInputProps, {
|
|
|
48
48
|
disabled: boolean;
|
|
49
49
|
size: import('./types').InputSize;
|
|
50
50
|
placeholder: string;
|
|
51
|
-
suffix: string;
|
|
52
51
|
modelValue: string | number;
|
|
53
52
|
prefix: string;
|
|
53
|
+
suffix: string;
|
|
54
54
|
addonBefore: string;
|
|
55
55
|
addonAfter: string;
|
|
56
56
|
allowClear: boolean;
|
|
@@ -18,10 +18,10 @@ declare const __VLS_component: import('vue').DefineComponent<GctInputProps, {
|
|
|
18
18
|
input: (value: string | number, event: Event) => any;
|
|
19
19
|
search: (value: string | number) => any;
|
|
20
20
|
clear: () => any;
|
|
21
|
-
|
|
21
|
+
"update:modelValue": (value: string | number) => any;
|
|
22
22
|
change: (value: string | number, event: Event) => any;
|
|
23
23
|
blur: (event: FocusEvent) => any;
|
|
24
|
-
|
|
24
|
+
focus: (event: FocusEvent) => any;
|
|
25
25
|
keydown: (event: KeyboardEvent) => any;
|
|
26
26
|
keypress: (event: KeyboardEvent) => any;
|
|
27
27
|
keyup: (event: KeyboardEvent) => any;
|
|
@@ -30,10 +30,10 @@ declare const __VLS_component: import('vue').DefineComponent<GctInputProps, {
|
|
|
30
30
|
onInput?: ((value: string | number, event: Event) => any) | undefined;
|
|
31
31
|
onSearch?: ((value: string | number) => any) | undefined;
|
|
32
32
|
onClear?: (() => any) | undefined;
|
|
33
|
-
|
|
33
|
+
"onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
|
|
34
34
|
onChange?: ((value: string | number, event: Event) => any) | undefined;
|
|
35
35
|
onBlur?: ((event: FocusEvent) => any) | undefined;
|
|
36
|
-
|
|
36
|
+
onFocus?: ((event: FocusEvent) => any) | undefined;
|
|
37
37
|
onKeydown?: ((event: KeyboardEvent) => any) | undefined;
|
|
38
38
|
onKeypress?: ((event: KeyboardEvent) => any) | undefined;
|
|
39
39
|
onKeyup?: ((event: KeyboardEvent) => any) | undefined;
|
|
@@ -14,11 +14,11 @@ declare function __VLS_template(): {
|
|
|
14
14
|
};
|
|
15
15
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
16
16
|
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
17
|
-
change: (...args: any[]) => void;
|
|
18
17
|
"update:modelValue": (...args: any[]) => void;
|
|
18
|
+
change: (...args: any[]) => void;
|
|
19
19
|
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
20
|
-
onChange?: ((...args: any[]) => any) | undefined;
|
|
21
20
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
21
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
22
22
|
}>, {
|
|
23
23
|
disabled: boolean;
|
|
24
24
|
size: string;
|
|
@@ -13,11 +13,11 @@ declare function __VLS_template(): {
|
|
|
13
13
|
};
|
|
14
14
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
15
15
|
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
16
|
-
change: (...args: any[]) => void;
|
|
17
16
|
"update:modelValue": (...args: any[]) => void;
|
|
17
|
+
change: (...args: any[]) => void;
|
|
18
18
|
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
19
|
-
onChange?: ((...args: any[]) => any) | undefined;
|
|
20
19
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
20
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
21
21
|
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLLabelElement>;
|
|
22
22
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
23
23
|
export default _default;
|
|
@@ -14,12 +14,12 @@ type __VLS_Props = {
|
|
|
14
14
|
showSearch?: boolean;
|
|
15
15
|
};
|
|
16
16
|
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
17
|
-
change: (value?: string | null | undefined, node?: RdoTreeNode | undefined, display?: RdoDisplayInfo | undefined) => any;
|
|
18
17
|
"update:modelValue": (value?: string | null | undefined) => any;
|
|
18
|
+
change: (value?: string | null | undefined, node?: RdoTreeNode | undefined, display?: RdoDisplayInfo | undefined) => any;
|
|
19
19
|
"update:fullPathValue": (value?: string | null | undefined) => any;
|
|
20
20
|
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
21
|
-
onChange?: ((value?: string | null | undefined, node?: RdoTreeNode | undefined, display?: RdoDisplayInfo | undefined) => any) | undefined;
|
|
22
21
|
"onUpdate:modelValue"?: ((value?: string | null | undefined) => any) | undefined;
|
|
22
|
+
onChange?: ((value?: string | null | undefined, node?: RdoTreeNode | undefined, display?: RdoDisplayInfo | undefined) => any) | undefined;
|
|
23
23
|
"onUpdate:fullPathValue"?: ((value?: string | null | undefined) => any) | undefined;
|
|
24
24
|
}>, {
|
|
25
25
|
modelCategory: string;
|
|
@@ -18,11 +18,11 @@ type __VLS_Props = {
|
|
|
18
18
|
multiple?: boolean;
|
|
19
19
|
};
|
|
20
20
|
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
21
|
-
change: (v: any) => any;
|
|
22
21
|
"update:modelValue": (v: any) => any;
|
|
22
|
+
change: (v: any) => any;
|
|
23
23
|
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
24
|
-
onChange?: ((v: any) => any) | undefined;
|
|
25
24
|
"onUpdate:modelValue"?: ((v: any) => any) | undefined;
|
|
25
|
+
onChange?: ((v: any) => any) | undefined;
|
|
26
26
|
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
27
27
|
rootRef: HTMLDivElement;
|
|
28
28
|
}, HTMLDivElement>;
|
|
@@ -67,13 +67,13 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {
|
|
|
67
67
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
68
68
|
edit: (option: DropdownOption) => any;
|
|
69
69
|
click: (evt: any) => any;
|
|
70
|
-
change: (val: string | number | (string | number)[], item?: DropdownOption | undefined) => any;
|
|
71
70
|
"update:modelValue": (val: string | number | (string | number)[]) => any;
|
|
71
|
+
change: (val: string | number | (string | number)[], item?: DropdownOption | undefined) => any;
|
|
72
72
|
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
73
73
|
onEdit?: ((option: DropdownOption) => any) | undefined;
|
|
74
74
|
onClick?: ((evt: any) => any) | undefined;
|
|
75
|
-
onChange?: ((val: string | number | (string | number)[], item?: DropdownOption | undefined) => any) | undefined;
|
|
76
75
|
"onUpdate:modelValue"?: ((val: string | number | (string | number)[]) => any) | undefined;
|
|
76
|
+
onChange?: ((val: string | number | (string | number)[], item?: DropdownOption | undefined) => any) | undefined;
|
|
77
77
|
}>, {
|
|
78
78
|
disabled: boolean;
|
|
79
79
|
options: DropdownOption[];
|
|
@@ -29,11 +29,11 @@ declare function __VLS_template(): {
|
|
|
29
29
|
};
|
|
30
30
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
31
31
|
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
32
|
-
change: (val?: string | number | undefined, item?: DropdownOption | undefined) => any;
|
|
33
32
|
"update:modelValue": (val?: string | number | undefined) => any;
|
|
33
|
+
change: (val?: string | number | undefined, item?: DropdownOption | undefined) => any;
|
|
34
34
|
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
35
|
-
onChange?: ((val?: string | number | undefined, item?: DropdownOption | undefined) => any) | undefined;
|
|
36
35
|
"onUpdate:modelValue"?: ((val?: string | number | undefined) => any) | undefined;
|
|
36
|
+
onChange?: ((val?: string | number | undefined, item?: DropdownOption | undefined) => any) | undefined;
|
|
37
37
|
}>, {
|
|
38
38
|
readonly: boolean;
|
|
39
39
|
disabled: boolean;
|
|
@@ -6,16 +6,16 @@ type __VLS_Props = {
|
|
|
6
6
|
tooltipConvert?: (v: number) => string | number;
|
|
7
7
|
};
|
|
8
8
|
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
9
|
-
change: (...args: any[]) => void;
|
|
10
9
|
"update:modelValue": (...args: any[]) => void;
|
|
10
|
+
change: (...args: any[]) => void;
|
|
11
11
|
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
12
|
-
onChange?: ((...args: any[]) => any) | undefined;
|
|
13
12
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
13
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
14
14
|
}>, {
|
|
15
|
-
max: number;
|
|
16
|
-
min: number;
|
|
17
15
|
modelValue: number;
|
|
18
16
|
step: number;
|
|
17
|
+
min: number;
|
|
18
|
+
max: number;
|
|
19
19
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
20
20
|
sliderRef: HTMLDivElement;
|
|
21
21
|
}, any>;
|
|
@@ -4,11 +4,11 @@ type __VLS_Props = {
|
|
|
4
4
|
size?: string;
|
|
5
5
|
};
|
|
6
6
|
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
7
|
-
change: (...args: any[]) => void;
|
|
8
7
|
"update:modelValue": (...args: any[]) => void;
|
|
8
|
+
change: (...args: any[]) => void;
|
|
9
9
|
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
10
|
-
onChange?: ((...args: any[]) => any) | undefined;
|
|
11
10
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
11
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
12
12
|
}>, {
|
|
13
13
|
disabled: boolean;
|
|
14
14
|
size: string;
|
|
@@ -23,12 +23,12 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
|
|
|
23
23
|
getRef: import('vue').Ref<any, any>;
|
|
24
24
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
25
25
|
edit: (option: DropdownOption) => any;
|
|
26
|
-
change: (val: string | number | (string | number)[], item?: DropdownOption | undefined) => any;
|
|
27
26
|
"update:modelValue": (val: string | number | (string | number)[]) => any;
|
|
27
|
+
change: (val: string | number | (string | number)[], item?: DropdownOption | undefined) => any;
|
|
28
28
|
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
29
29
|
onEdit?: ((option: DropdownOption) => any) | undefined;
|
|
30
|
-
onChange?: ((val: string | number | (string | number)[], item?: DropdownOption | undefined) => any) | undefined;
|
|
31
30
|
"onUpdate:modelValue"?: ((val: string | number | (string | number)[]) => any) | undefined;
|
|
31
|
+
onChange?: ((val: string | number | (string | number)[], item?: DropdownOption | undefined) => any) | undefined;
|
|
32
32
|
}>, {
|
|
33
33
|
placeholder: string;
|
|
34
34
|
popperWidth: number;
|
|
@@ -30,7 +30,13 @@ export interface ContainLayout extends ImageSize {
|
|
|
30
30
|
}
|
|
31
31
|
/** object-fit: contain —— 等比缩放到目标框内并居中,保证完整显示 */
|
|
32
32
|
export declare function computeContainLayout(natural: ImageSize, box: ImageSize): ContainLayout;
|
|
33
|
-
/**
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
export declare function
|
|
33
|
+
/**
|
|
34
|
+
* 在目标框内等比缩放(contain),不压缩、不拉伸
|
|
35
|
+
*/
|
|
36
|
+
export declare function computeContainDisplaySize(natural: ImageSize, box: ImageSize): ImageSize;
|
|
37
|
+
/**
|
|
38
|
+
* 创建无图签名兜底图(用户名 + 电子签名 + 验证日期)
|
|
39
|
+
* 按字段宽高绘制,显示框设多大,字就按多大排
|
|
40
|
+
*/
|
|
41
|
+
export declare function createSignatureImageDataUrl(name: string, width?: number, height?: number, time?: number | string): string;
|
|
42
|
+
export declare function createSignatureImage(name: string, width?: number, height?: number, time?: number | string): Promise<HTMLImageElement>;
|
|
@@ -9,6 +9,8 @@ export declare const HYPERLINK_TEXT_COLOR = "#0563c1";
|
|
|
9
9
|
export declare function getLabelPath(path: string): string;
|
|
10
10
|
export declare function getHrefPath(path: string): string;
|
|
11
11
|
export declare function getIdPath(path: string): string;
|
|
12
|
+
/** 将路径末段替换为同行另一字段 key(如 `$.t[0].product_id_` + `inventory_id_` → `$.t[0].inventory_id_`) */
|
|
13
|
+
export declare function getSiblingFieldPath(path: string, fieldKey: string): string;
|
|
12
14
|
/**
|
|
13
15
|
* 是否为批次 companion id 路径(以 `__id_` 结尾)。
|
|
14
16
|
* 在于判断用了 endsWith('_id_'):product_id_、warehouse_id_ 也会命中。改成只认以 __id_ 结尾
|
|
@@ -8,11 +8,16 @@ export declare function buildClearUpdates(rowPath: string, fields: readonly stri
|
|
|
8
8
|
interface BuildFieldSelectUpdatesOptions {
|
|
9
9
|
/** 是否写入 companion id(下拉选中时) */
|
|
10
10
|
persistOptionId?: boolean;
|
|
11
|
+
/**
|
|
12
|
+
* 自定义 option id 写入路径(如出库物料的 inventory_id_)。
|
|
13
|
+
* 有值时优先于此路径;否则在 persistOptionId 时写 getIdPath(valuePath)
|
|
14
|
+
*/
|
|
15
|
+
optionIdPath?: string;
|
|
11
16
|
}
|
|
12
17
|
/**
|
|
13
18
|
* 构建字段选中/清空更新:
|
|
14
|
-
* - 选中:写 value + 可选 companion id
|
|
15
|
-
* -
|
|
19
|
+
* - 选中:写 value + 可选 companion / 自定义 option id
|
|
20
|
+
* - 清空:写 value,并清空 companion / 自定义 option id(若启用)
|
|
16
21
|
*/
|
|
17
22
|
export declare function buildFieldSelectUpdates(valuePath: string, value: unknown, optionId?: unknown, options?: BuildFieldSelectUpdatesOptions): Record<string, unknown>;
|
|
18
23
|
/** 判断两个字段值是否逻辑相等 */
|
|
@@ -29,7 +29,7 @@ export declare const SUB_TABLE_REGION_TYPES: readonly ["repeating", "bounded", "
|
|
|
29
29
|
* 子表 layout 类型
|
|
30
30
|
* Ribbon 面板、子表主题色均使用此类型;主题配置见 @/domain/table 各 Profile.theme
|
|
31
31
|
*/
|
|
32
|
-
export type SubTableLayoutType = 'dynamic-table' | 'fixed-table' | '2d-table' | 'check-table' | 'material-consume-table' | 'material-balance-table' | 'warehouse-in-out-table' | 'warehouse-inventory-table' | 'warehouse-allocate-table' | 'pretreatment-list-table' | 'entrust-steril-batch-list-table';
|
|
32
|
+
export type SubTableLayoutType = 'dynamic-table' | 'fixed-table' | '2d-table' | 'check-table' | 'material-consume-table' | 'material-balance-table' | 'warehouse-in-table' | 'warehouse-out-table' | 'warehouse-in-out-table' | 'warehouse-inventory-table' | 'warehouse-allocate-table' | 'pretreatment-list-table' | 'entrust-steril-batch-list-table';
|
|
33
33
|
/** 表头 layout 类型 */
|
|
34
34
|
export type TableHeaderLayoutType = 'table-header';
|
|
35
35
|
/** 所有子表表格 layout 类型 */
|
|
@@ -13,6 +13,12 @@ export type RepeatingWidgetPropsBase = {
|
|
|
13
13
|
export type DynamicTableProps = RepeatingWidgetPropsBase & {
|
|
14
14
|
layoutType?: 'dynamic-table';
|
|
15
15
|
};
|
|
16
|
+
export type WarehouseInTableProps = RepeatingWidgetPropsBase & {
|
|
17
|
+
layoutType: 'warehouse-in-table';
|
|
18
|
+
};
|
|
19
|
+
export type WarehouseOutTableProps = RepeatingWidgetPropsBase & {
|
|
20
|
+
layoutType: 'warehouse-out-table';
|
|
21
|
+
};
|
|
16
22
|
export type WarehouseInOutTableProps = RepeatingWidgetPropsBase & {
|
|
17
23
|
layoutType: 'warehouse-in-out-table';
|
|
18
24
|
};
|
|
@@ -30,6 +36,8 @@ export type WarehouseInventoryTableProps = RepeatingWidgetPropsBase & {
|
|
|
30
36
|
layoutType: 'warehouse-inventory-table';
|
|
31
37
|
/** 库存自动加载 */
|
|
32
38
|
autoLoadInventory?: boolean;
|
|
39
|
+
/** 盘点维度 */
|
|
40
|
+
stocktakeDimension?: 'warehouse_summary' | 'location_detail';
|
|
33
41
|
/** 条码解析规则 */
|
|
34
42
|
barcode_parsing_rules_id_?: string;
|
|
35
43
|
};
|
|
@@ -40,7 +48,7 @@ export type WarehouseAllocateTableProps = RepeatingWidgetPropsBase & {
|
|
|
40
48
|
layoutType: 'warehouse-allocate-table';
|
|
41
49
|
barcode_parsing_rules_id_?: string;
|
|
42
50
|
};
|
|
43
|
-
export type RepeatingWidgetPropsMeta = DynamicTableProps | WarehouseInOutTableProps | WarehouseInventoryTableProps | WarehouseAllocateTableProps | EntrustSterilBatchListTableProps | PretreatmentListTableProps;
|
|
51
|
+
export type RepeatingWidgetPropsMeta = DynamicTableProps | WarehouseInTableProps | WarehouseOutTableProps | WarehouseInOutTableProps | WarehouseInventoryTableProps | WarehouseAllocateTableProps | EntrustSterilBatchListTableProps | PretreatmentListTableProps;
|
|
44
52
|
export type RepeatingWidgetMeta = {
|
|
45
53
|
props: RepeatingWidgetPropsMeta;
|
|
46
54
|
};
|
package/dist/core/view/Page.d.ts
CHANGED
|
@@ -58,8 +58,8 @@ export declare class Page extends LayoutGroup<PageChild> implements IContainerMe
|
|
|
58
58
|
*/
|
|
59
59
|
get contentMaxHeight(): number;
|
|
60
60
|
/**
|
|
61
|
-
*
|
|
62
|
-
*
|
|
61
|
+
* 获取当前页面正文实际占用高度
|
|
62
|
+
* 按段落、表格等子组件的底边计算,包含显式块间距
|
|
63
63
|
*/
|
|
64
64
|
getContentHeight(): number;
|
|
65
65
|
/** 获取当前是第几页 */
|
|
@@ -1,4 +1,12 @@
|
|
|
1
1
|
import { LayoutNode, LayoutNodeOptions } from './LayoutNode';
|
|
2
|
+
type PositionedLayoutNode = Pick<LayoutNode, 'y' | 'height'>;
|
|
3
|
+
/**
|
|
4
|
+
* 按子节点的实际底边计算内容占位高度。
|
|
5
|
+
*
|
|
6
|
+
* 子节点可能带有块级间距形成的 y 偏移;仅累加 height 会漏掉这些间距,
|
|
7
|
+
* 导致后续文档流插入到已有内容之间。
|
|
8
|
+
*/
|
|
9
|
+
export declare function measureLayoutContentHeight(children: readonly PositionedLayoutNode[]): number;
|
|
2
10
|
/**
|
|
3
11
|
* 布局容器配置
|
|
4
12
|
*/
|
|
@@ -68,6 +76,8 @@ export declare abstract class LayoutGroup<T extends LayoutNode = LayoutNode> ext
|
|
|
68
76
|
* 获取子节点数量
|
|
69
77
|
*/
|
|
70
78
|
getChildCount(): number;
|
|
79
|
+
/** 获取所有子节点在当前容器中实际占用的纵向高度。 */
|
|
80
|
+
protected getChildrenContentHeight(): number;
|
|
71
81
|
/**
|
|
72
82
|
* 获取第一个子节点
|
|
73
83
|
*/
|
|
@@ -109,3 +119,4 @@ export declare abstract class LayoutGroup<T extends LayoutNode = LayoutNode> ext
|
|
|
109
119
|
*/
|
|
110
120
|
filterChildren(predicate: (child: T) => boolean): T[];
|
|
111
121
|
}
|
|
122
|
+
export {};
|
|
@@ -10,6 +10,8 @@ export interface IImageWidget extends IImageRun {
|
|
|
10
10
|
/** 组件元数据 */
|
|
11
11
|
widgetMeta?: WidgetMeta;
|
|
12
12
|
signature?: string;
|
|
13
|
+
/** 无图签名时的验证时间 */
|
|
14
|
+
signTime?: number;
|
|
13
15
|
pageWidgetMeta?: Record<string, any>;
|
|
14
16
|
dataSlotIndex?: DataSlotIndex;
|
|
15
17
|
}
|
|
@@ -19,6 +21,7 @@ export interface ImageWidgetOptions extends ImageRunOptions {
|
|
|
19
21
|
/** 组件元数据 */
|
|
20
22
|
widgetMeta?: WidgetMeta;
|
|
21
23
|
signature?: string;
|
|
24
|
+
signTime?: number;
|
|
22
25
|
pageWidgetMeta?: IImageWidget['pageWidgetMeta'];
|
|
23
26
|
dataSlotIndex?: DataSlotIndex;
|
|
24
27
|
}
|
|
@@ -30,6 +33,7 @@ export declare class ImageWidget extends ImageRun implements IImageWidget {
|
|
|
30
33
|
valuePath?: string;
|
|
31
34
|
widgetMeta?: WidgetMeta;
|
|
32
35
|
signature?: string;
|
|
36
|
+
signTime?: number;
|
|
33
37
|
pageWidgetMeta?: IImageWidget['pageWidgetMeta'];
|
|
34
38
|
dataSlotIndex?: DataSlotIndex;
|
|
35
39
|
constructor(options: ImageWidgetOptions);
|
|
@@ -14,7 +14,11 @@ export type PanelType =
|
|
|
14
14
|
| 'panel:rule'
|
|
15
15
|
/** 动态表 */
|
|
16
16
|
| 'panel:dynamic-table'
|
|
17
|
-
/**
|
|
17
|
+
/** 入库明细表 */
|
|
18
|
+
| 'panel:warehouse-in-table'
|
|
19
|
+
/** 出库明细表 */
|
|
20
|
+
| 'panel:warehouse-out-table'
|
|
21
|
+
/** 出入库明细表(兼容老文档) */
|
|
18
22
|
| 'panel:warehouse-in-out-table'
|
|
19
23
|
/** 库存盘点表 */
|
|
20
24
|
| 'panel:warehouse-inventory-table'
|
|
@@ -219,7 +219,7 @@ export declare enum FIELD_TYPE {
|
|
|
219
219
|
SHOPFLOOR = "shopfloor",
|
|
220
220
|
/**
|
|
221
221
|
* 建模关联
|
|
222
|
-
|
|
222
|
+
*/
|
|
223
223
|
MODEL_RELATION = "model_relation",
|
|
224
224
|
/**
|
|
225
225
|
* 记录单号
|
|
@@ -378,7 +378,7 @@ export declare enum FIELD_TYPE {
|
|
|
378
378
|
*/
|
|
379
379
|
OF_INST_NUM = "of_inst_num",
|
|
380
380
|
/**
|
|
381
|
-
* 生产批次号
|
|
381
|
+
* 生产批次号(生产 lot/sn)(追溯)
|
|
382
382
|
*/
|
|
383
383
|
PRODUCTION_CONTAINER = "production_container",
|
|
384
384
|
/**
|
|
@@ -26,14 +26,16 @@ export declare const F: {
|
|
|
26
26
|
};
|
|
27
27
|
/** remoteSync 成功回写的基础字段 */
|
|
28
28
|
export declare const INVENTORY_INFO_APPLY_FIELDS: readonly ["product_id_", "product_id_name_", "product_id_code_", "product_id_spec_", "mfg_order_code_"];
|
|
29
|
+
/** 设计态输入属性固定禁用、运行态只读:物料名称 / 编码 / 规格 */
|
|
30
|
+
export declare const DISABLED_INPUT_FIELDS: readonly ["product_id_name_", "product_id_code_", "product_id_spec_"];
|
|
29
31
|
/** 行变更 handler:生产批次号清空时的字段集 */
|
|
30
32
|
export declare const CLEAR_ON_PROD_CONTAINER_EMPTY: readonly ("product_id_" | "product_id_name_" | "product_id_code_" | "product_id_spec_" | "mfg_order_code_" | "qty_" | "production_date_")[];
|
|
31
33
|
/** 行变更 handler:生产批次号切换时的字段集 */
|
|
32
|
-
export declare const CLEAR_ON_PROD_CONTAINER_SWITCH: ("
|
|
34
|
+
export declare const CLEAR_ON_PROD_CONTAINER_SWITCH: ("mfg_order_id_" | "material_container_no_")[];
|
|
33
35
|
/** 行变更 handler:工单清空时的字段集 */
|
|
34
36
|
export declare const CLEAR_ON_MFG_ORDER_EMPTY: ("product_id_" | "product_id_name_" | "product_id_code_" | "product_id_spec_" | "mfg_order_code_" | "qty_" | "production_date_")[];
|
|
35
37
|
/** 行变更 handler:工单切换时的字段集 */
|
|
36
|
-
export declare const CLEAR_ON_MFG_ORDER_SWITCH: ("
|
|
38
|
+
export declare const CLEAR_ON_MFG_ORDER_SWITCH: ("production_container_id_" | "material_container_no_")[];
|
|
37
39
|
/** 行变更 handler:物料批次号清空时的字段集 */
|
|
38
40
|
export declare const CLEAR_ON_MATERIAL_CONTAINER_NO_EMPTY: ("product_id_" | "product_id_name_" | "product_id_code_" | "product_id_spec_" | "mfg_order_code_" | "qty_" | "production_date_")[];
|
|
39
41
|
/** 行变更 handler:物料批次号切换时的字段集 */
|
|
@@ -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_", "warehouse_id_", "location_id_", "mfg_order_id_", "lot_sn_id_", "stock_num_", "allocate_num_", "validity_", "re_inspection_date_"];
|