@gct-paas/word 0.1.74-beta.46 → 0.1.74-beta.48
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/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 +2 -0
- package/dist/base/rdo-tree-select/src/rdo-tree-select.vue.d.ts +1 -1
- package/dist/domain/field/field-type.d.ts +8 -0
- package/dist/domain/table/business/warehouse/warehouse-inventory/profile/field-keys.d.ts +7 -2
- package/dist/domain/table/business/warehouse/warehouse-inventory/runtime/stocktake-calc.d.ts +3 -3
- package/dist/domain/table/business/warehouse/warehouse-inventory/types.d.ts +2 -0
- package/dist/domain/table/types.d.ts +11 -0
- package/dist/index.es.js +885 -593
- package/dist/runtime/canvas/table/render/material-consume/material-consume-table-controller.d.ts +3 -2
- package/dist/runtime/interface/fetchers.d.ts +4 -0
- package/dist/runtime/renderer/dropdowns/components/tables/rdo-table-dropdown.vue.d.ts +1 -1
- package/dist/runtime/renderer/dropdowns/components/tables/strategy/selectStrategy.d.ts +2 -2
- package/dist/suites/edhr/manifest/field/business/operation-manifest.d.ts +2 -0
- package/dist/suites/edhr/panel-schema/material-consume-table/bom-entry-editor.vue.d.ts +2 -1
- package/dist/suites/shared/panel/config/editor/quick-search-editor/quick-search.util.d.ts +2 -0
- package/dist/word.css +104 -55
- package/package.json +1 -1
|
@@ -1,8 +1,15 @@
|
|
|
1
|
-
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
label?: string;
|
|
3
|
+
muted?: boolean;
|
|
4
|
+
};
|
|
5
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
2
6
|
"load-more": () => any;
|
|
3
|
-
}, string, import('vue').PublicProps, Readonly<
|
|
7
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
4
8
|
"onLoad-more"?: (() => any) | undefined;
|
|
5
|
-
}>, {
|
|
9
|
+
}>, {
|
|
10
|
+
label: string;
|
|
11
|
+
muted: boolean;
|
|
12
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
6
13
|
targetRef: HTMLDivElement;
|
|
7
14
|
}, HTMLDivElement>;
|
|
8
15
|
export default _default;
|
|
@@ -7,6 +7,8 @@ type __VLS_Props = {
|
|
|
7
7
|
disabledParent?: boolean;
|
|
8
8
|
parentToDefault?: boolean;
|
|
9
9
|
emptyText?: string;
|
|
10
|
+
loadMoreLabel?: string;
|
|
11
|
+
mutedLoadMore?: boolean;
|
|
10
12
|
};
|
|
11
13
|
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
12
14
|
select: (node: RdoTreeNode) => any;
|
|
@@ -24,8 +24,8 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
|
|
|
24
24
|
}>, {
|
|
25
25
|
modelCategory: string;
|
|
26
26
|
disabled: boolean;
|
|
27
|
-
placeholder: string;
|
|
28
27
|
pageSize: number;
|
|
28
|
+
placeholder: string;
|
|
29
29
|
popperWidth: number;
|
|
30
30
|
allowClear: boolean;
|
|
31
31
|
disabledParent: boolean;
|
|
@@ -254,6 +254,10 @@ export declare const BUSINESS_FIELD_TYPE: {
|
|
|
254
254
|
* 订单号
|
|
255
255
|
*/
|
|
256
256
|
readonly ORDER_NO: "order_no";
|
|
257
|
+
/**
|
|
258
|
+
* 工序(模型关联,bindInfo=em_operation)。落库 type=ref、bizType=operation。
|
|
259
|
+
*/
|
|
260
|
+
readonly OPERATION: "operation";
|
|
257
261
|
/**
|
|
258
262
|
* 工序
|
|
259
263
|
*/
|
|
@@ -466,6 +470,10 @@ export declare const FIELD_TYPE: {
|
|
|
466
470
|
* 订单号
|
|
467
471
|
*/
|
|
468
472
|
readonly ORDER_NO: "order_no";
|
|
473
|
+
/**
|
|
474
|
+
* 工序(模型关联,bindInfo=em_operation)。落库 type=ref、bizType=operation。
|
|
475
|
+
*/
|
|
476
|
+
readonly OPERATION: "operation";
|
|
469
477
|
/**
|
|
470
478
|
* 工序
|
|
471
479
|
*/
|
|
@@ -3,8 +3,13 @@
|
|
|
3
3
|
*/
|
|
4
4
|
/** 单字段 key */
|
|
5
5
|
export declare const F: {
|
|
6
|
-
/**
|
|
6
|
+
/**
|
|
7
|
+
* 库存主键。
|
|
8
|
+
* 库位精细:选中项 `id_`;按仓库汇总:接口单独返回的 `inventory_id_`,不再从 `id_` 写入。
|
|
9
|
+
*/
|
|
7
10
|
readonly inventory: "inventory_id_";
|
|
11
|
+
/** 按仓库汇总时写入接口 `id_`,下拉高亮优先用它 */
|
|
12
|
+
readonly frontId: "front_id_";
|
|
8
13
|
/** 物料批号 */
|
|
9
14
|
readonly batch: "production_identification_id_";
|
|
10
15
|
/** 物料 */
|
|
@@ -40,7 +45,7 @@ export type InventoryFieldKey = (typeof F)[keyof typeof F];
|
|
|
40
45
|
/** 设计态输入属性固定禁用、运行态只读的字段 */
|
|
41
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_"];
|
|
42
47
|
/** 物料清空时需一并清空的字段 */
|
|
43
|
-
export declare const CLEAR_ON_PRODUCT_EMPTY: readonly ["inventory_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_"];
|
|
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_"];
|
|
44
49
|
/** 按批次+物料+仓库分组(initLoad / 汇总) */
|
|
45
50
|
export declare const WAREHOUSE_IDENTITY_GROUP_KEYS: readonly ["production_identification_id_", "product_id_", "warehouse_id_"];
|
|
46
51
|
/** 库存记录映射基础字段(initLoad mapper / 扫码聚合) */
|
package/dist/domain/table/business/warehouse/warehouse-inventory/runtime/stocktake-calc.d.ts
CHANGED
|
@@ -17,7 +17,7 @@ export declare function getScanQtyDeductionBlockReason(current: unknown, scanQty
|
|
|
17
17
|
export declare function applyScanQtyToStocktake(current: unknown, scanQty: unknown, type?: ScanAdjustType): unknown;
|
|
18
18
|
/**
|
|
19
19
|
* 将库存接口结果转为盘点行:
|
|
20
|
-
* - groupByWarehouse=true
|
|
21
|
-
* -
|
|
20
|
+
* - groupByWarehouse=true:按 批次+物料+仓库 聚合,库存累加,无库位
|
|
21
|
+
* - warehouseSummary:库存主键取接口 inventory_id_,id_ 写入 front_id_
|
|
22
22
|
*/
|
|
23
|
-
export declare function groupInventoryToStocktakeRows(records: Record<string, unknown>[],
|
|
23
|
+
export declare function groupInventoryToStocktakeRows(records: Record<string, unknown>[], warehouseSummary: boolean): Record<string, unknown>[];
|
|
@@ -6,7 +6,9 @@ export type WarehouseInventoryRowSource = 'manual' | 'auto' | 'scan';
|
|
|
6
6
|
* - location_detail:按库位精细盘点(库存明细,物料+批号+仓库+库位)
|
|
7
7
|
*/
|
|
8
8
|
export declare const STOCKTAKE_DIMENSION: {
|
|
9
|
+
/** 按仓库汇总盘点 */
|
|
9
10
|
readonly warehouseSummary: "warehouse_summary";
|
|
11
|
+
/** 按库位精细盘点 */
|
|
10
12
|
readonly locationDetail: "location_detail";
|
|
11
13
|
};
|
|
12
14
|
export type StocktakeDimension = (typeof STOCKTAKE_DIMENSION)[keyof typeof STOCKTAKE_DIMENSION];
|
|
@@ -286,6 +286,15 @@ export interface SelectApiBinding {
|
|
|
286
286
|
/** true 时 modelKey 取请求里的 refModelKey */
|
|
287
287
|
modelKeyFromRef?: boolean;
|
|
288
288
|
bsKey: string;
|
|
289
|
+
/** 请求体对齐引用查询:带 fieldKey、modelKey、refModelKey、query、exp */
|
|
290
|
+
withRefIdentity?: boolean;
|
|
291
|
+
/** 与 query 同级合并进请求体 */
|
|
292
|
+
body?: Record<string, any>;
|
|
293
|
+
/**
|
|
294
|
+
* 接口忽略 pageNo/pageSize,一次返回全量。
|
|
295
|
+
* 请求仍可带分页参数;下拉展示由前端对全量结果切片。
|
|
296
|
+
*/
|
|
297
|
+
clientPagination?: boolean;
|
|
289
298
|
}
|
|
290
299
|
/**
|
|
291
300
|
* 下拉数据源 / 列展示覆盖(表 + 字段实例)
|
|
@@ -460,6 +469,8 @@ export interface ImplicitFieldDef {
|
|
|
460
469
|
export type RuleTrigger = 'always' | 'onRowInit' | 'onFieldChange' | 'onRowConfirm';
|
|
461
470
|
/** 规则 / 级联执行上下文 */
|
|
462
471
|
export interface RuleContext {
|
|
472
|
+
/** 当前文档是否为模拟填报 */
|
|
473
|
+
isMockReport: boolean;
|
|
463
474
|
/** 子表在 rawData 中的 fieldKey */
|
|
464
475
|
subFieldKey: string;
|
|
465
476
|
/** 业务子模型 refModelType */
|