@gct-paas/word 0.1.52-beta.7 → 0.1.52-beta.9

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.
@@ -162,6 +162,8 @@ export declare class DataManager {
162
162
  */
163
163
  private get2DByCoords;
164
164
  private set2DByCoords;
165
+ /** 二维/检验表写字段后,额外 emit 带下标的字段路径,供 label enricher 等按字段匹配 */
166
+ private emit2DFieldPath;
165
167
  private cleanupCrossByAxisUid;
166
168
  /**
167
169
  * 复制轴行插入时:若 uid 与已有行重复,换新 uid 并复制关联交叉区行。
@@ -332,9 +332,24 @@ export declare enum FIELD_TYPE {
332
332
  * 物料批次(生产标识)
333
333
  */
334
334
  PRODUCTION_IDENTIFIER = "production_identifier",
335
+ /**
336
+ * 对象
337
+ */
335
338
  OBJECT_TYPE = "object_type",
339
+ /**
340
+ * 物料消耗对象
341
+ */
336
342
  MATERIAL_CONSUME = "material_consume",
343
+ /**
344
+ * 数量
345
+ */
337
346
  QTY = "qty",
347
+ /**
348
+ * 消耗数量
349
+ */
338
350
  QTY_CONSUMED = "qty_consumed",
339
- QTY_REQUIRED = "qty_required_"
351
+ /**
352
+ * 需求数量
353
+ */
354
+ QTY_REQUIRED = "qty_required"
340
355
  }
@@ -1,2 +1,3 @@
1
1
  export { profile as checkTableProfile } from './profile';
2
+ export * from './runtime';
2
3
  export * from './profile';
@@ -0,0 +1,4 @@
1
+ import { Doc } from '../../../../../../core';
2
+ import { DataEnricherRegistration } from '../../../../../../core/data/enricher-types';
3
+ /** 检验表交叉区 value_:按同行 type_ 补全 value_lb_ */
4
+ export declare function createCheckTableValueLabelEnricher(doc: Doc): DataEnricherRegistration;
@@ -0,0 +1,3 @@
1
+ /** 检验项 type_ → 提交用 typed value 字段 */
2
+ export declare const CHECK_TABLE_TYPE_TO_VALUE_FIELD: Record<string, string>;
3
+ export declare function shouldSyncCheckTableLabel(type_: string): boolean;
@@ -0,0 +1,2 @@
1
+ export * from './check-table-value-fields';
2
+ export * from './check-table-label-enricher';
@@ -24,4 +24,4 @@ export declare const F: {
24
24
  };
25
25
  export type AllocateFieldKey = (typeof F)[keyof typeof F];
26
26
  /** runtimeRules:始终只读的信息字段 */
27
- export declare const READONLY_INFO_FIELDS: readonly ["product_id_name_", "product_id_code_", "product_id_spec_", "stock_num_", "validity_"];
27
+ export declare const READONLY_INFO_FIELDS: readonly ["product_id_name_", "product_id_code_", "product_id_spec_", "production_identification_id_", "stock_num_", "validity_", "origin_warehouse_id_", "origin_location_id_"];
@@ -0,0 +1,5 @@
1
+ import { Doc } from '../../../../../../core';
2
+ import { IActionButtonItem } from '../../../../../../types/main.type';
3
+ export declare const beforeBtnClick: (params: {
4
+ btn: IActionButtonItem;
5
+ }, doc: Doc) => Promise<void>;