@gct-paas/word 0.1.74-beta.47 → 0.1.74-beta.49

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.
Files changed (23) hide show
  1. package/dist/base/rdo-tree-select/src/rdo-tree-select-more.vue.d.ts +10 -3
  2. package/dist/base/rdo-tree-select/src/rdo-tree-select-panel.vue.d.ts +2 -0
  3. package/dist/base/rdo-tree-select/src/rdo-tree-select.vue.d.ts +1 -1
  4. package/dist/domain/field/field-type.d.ts +16 -0
  5. package/dist/domain/table/business/warehouse/warehouse-inventory/profile/field-keys.d.ts +7 -2
  6. package/dist/domain/table/business/warehouse/warehouse-inventory/runtime/stocktake-calc.d.ts +3 -3
  7. package/dist/domain/table/business/warehouse/warehouse-inventory/types.d.ts +2 -0
  8. package/dist/domain/table/types.d.ts +9 -0
  9. package/dist/index.es.js +1227 -772
  10. package/dist/runtime/canvas/table/render/material-consume/material-consume-table-controller.d.ts +11 -1
  11. package/dist/runtime/canvas/table/render/material-consume/uom-convert-runtime.d.ts +13 -0
  12. package/dist/runtime/interface/fetchers.d.ts +4 -0
  13. package/dist/runtime/renderer/dropdowns/components/tables/composables/useTableDropdown.d.ts +1 -1
  14. package/dist/runtime/renderer/dropdowns/components/tables/rdo-table-dropdown.vue.d.ts +1 -1
  15. package/dist/runtime/renderer/dropdowns/components/tables/strategy/selectStrategy.d.ts +2 -2
  16. package/dist/runtime/renderer/dropdowns/components/tables/table-option-dropdown.vue.d.ts +1 -0
  17. package/dist/suites/edhr/manifest/field/business/operation-manifest.d.ts +2 -0
  18. package/dist/suites/edhr/panel-schema/data-init/material-consume-object/bom-validator.d.ts +6 -0
  19. package/dist/suites/edhr/panel-schema/data-init/material-consume-object/linkage.d.ts +3 -0
  20. package/dist/suites/edhr/panel-schema/material-consume-table/bom-entry-editor.vue.d.ts +2 -1
  21. package/dist/suites/shared/panel/config/editor/quick-search-editor/quick-search.util.d.ts +2 -0
  22. package/dist/word.css +193 -140
  23. package/package.json +2 -2
@@ -1,8 +1,15 @@
1
- declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
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<{}> & Readonly<{
7
+ }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
4
8
  "onLoad-more"?: (() => any) | undefined;
5
- }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
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
  */
@@ -374,6 +378,10 @@ export declare const BUSINESS_FIELD_TYPE: {
374
378
  * 物料消耗对象
375
379
  */
376
380
  readonly MATERIAL_CONSUME: "material_consume";
381
+ /**
382
+ * BOM 明细 ID(物料消耗对象内置字段,type=ref、bizType=bom_entry_id)
383
+ */
384
+ readonly BOM_ENTRY_ID: "bom_entry_id";
377
385
  /**
378
386
  * 物料日期对象
379
387
  */
@@ -466,6 +474,10 @@ export declare const FIELD_TYPE: {
466
474
  * 订单号
467
475
  */
468
476
  readonly ORDER_NO: "order_no";
477
+ /**
478
+ * 工序(模型关联,bindInfo=em_operation)。落库 type=ref、bizType=operation。
479
+ */
480
+ readonly OPERATION: "operation";
469
481
  /**
470
482
  * 工序
471
483
  */
@@ -586,6 +598,10 @@ export declare const FIELD_TYPE: {
586
598
  * 物料消耗对象
587
599
  */
588
600
  readonly MATERIAL_CONSUME: "material_consume";
601
+ /**
602
+ * BOM 明细 ID(物料消耗对象内置字段,type=ref、bizType=bom_entry_id)
603
+ */
604
+ readonly BOM_ENTRY_ID: "bom_entry_id";
589
605
  /**
590
606
  * 物料日期对象
591
607
  */
@@ -3,8 +3,13 @@
3
3
  */
4
4
  /** 单字段 key */
5
5
  export declare const F: {
6
- /** 主键(选物料时写 option.id_,用于唯一回显) */
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 / 扫码聚合) */
@@ -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
- * - groupByWarehouse=false(按库位精细):一条库存明细一行(含库位,可空)
20
+ * - groupByWarehouse=true:按 批次+物料+仓库 聚合,库存累加,无库位
21
+ * - warehouseSummary:库存主键取接口 inventory_id_,id_ 写入 front_id_
22
22
  */
23
- export declare function groupInventoryToStocktakeRows(records: Record<string, unknown>[], groupByWarehouse: boolean): 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
  * 下拉数据源 / 列展示覆盖(表 + 字段实例)