@gct-paas/word 0.1.74-beta.47 → 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.
@@ -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
  */
@@ -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
- /** 主键(选物料时写 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
  * 下拉数据源 / 列展示覆盖(表 + 字段实例)