@gct-paas/word 0.1.74-beta.37 → 0.1.74-beta.39

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.
@@ -68,7 +68,7 @@ export interface IdRule {
68
68
  type: 'id';
69
69
  }
70
70
  /**
71
- * LOT/SN 父批展示名写入 `_lb_`。
71
+ * 批次/SN 父批展示名写入 `_lb_`。
72
72
  * - lookupBy: 'name' → 字段值是子批次 name_
73
73
  * - lookupBy: 'id' → 字段值是子批次 id_(如生产 LOT/SN)
74
74
  */
@@ -207,7 +207,7 @@ export declare const BASE_FIELD_TYPE: {
207
207
  */
208
208
  readonly SIGNATURE: "electronic_signature";
209
209
  /**
210
- * lot/sn
210
+ * 批次/SN
211
211
  */
212
212
  readonly MATERIAL_NO: "material_no";
213
213
  /**
@@ -387,15 +387,15 @@ export declare const BUSINESS_FIELD_TYPE: {
387
387
  */
388
388
  readonly QTY_REQUIRED: "qty_required";
389
389
  /**
390
- * E-SOP
390
+ * SOP
391
391
  */
392
392
  readonly E_SOP: "e_sop";
393
393
  /**
394
- * E-SOP版本
394
+ * SOP版本
395
395
  */
396
396
  readonly E_SOP_VERSION: "e_sop_version";
397
397
  /**
398
- * 实例数
398
+ * 表单实例数
399
399
  */
400
400
  readonly OF_INST_NUM: "of_inst_num";
401
401
  /**
@@ -403,7 +403,7 @@ export declare const BUSINESS_FIELD_TYPE: {
403
403
  */
404
404
  readonly PRODUCTION_QTY: "production_qty";
405
405
  /**
406
- * 生产批次号(生产 lot/sn)(追溯)
406
+ * 生产LOT/SN(追溯)
407
407
  */
408
408
  readonly PRODUCTION_CONTAINER: "production_container";
409
409
  /**
@@ -587,15 +587,15 @@ export declare const FIELD_TYPE: {
587
587
  */
588
588
  readonly QTY_REQUIRED: "qty_required";
589
589
  /**
590
- * E-SOP
590
+ * SOP
591
591
  */
592
592
  readonly E_SOP: "e_sop";
593
593
  /**
594
- * E-SOP版本
594
+ * SOP版本
595
595
  */
596
596
  readonly E_SOP_VERSION: "e_sop_version";
597
597
  /**
598
- * 实例数
598
+ * 表单实例数
599
599
  */
600
600
  readonly OF_INST_NUM: "of_inst_num";
601
601
  /**
@@ -603,7 +603,7 @@ export declare const FIELD_TYPE: {
603
603
  */
604
604
  readonly PRODUCTION_QTY: "production_qty";
605
605
  /**
606
- * 生产批次号(生产 lot/sn)(追溯)
606
+ * 生产LOT/SN(追溯)
607
607
  */
608
608
  readonly PRODUCTION_CONTAINER: "production_container";
609
609
  /**
@@ -707,7 +707,7 @@ export declare const FIELD_TYPE: {
707
707
  */
708
708
  readonly SIGNATURE: "electronic_signature";
709
709
  /**
710
- * lot/sn
710
+ * 批次/SN
711
711
  */
712
712
  readonly MATERIAL_NO: "material_no";
713
713
  /**
@@ -1,2 +1,2 @@
1
- /** 根据 LOT/SN 记录决定界面展示名称;关联批子批次对外展示父批次名。 */
1
+ /** 根据 批次/SN 记录决定界面展示名称;关联批子批次对外展示父批次名。 */
2
2
  export declare function resolveLotDisplayLabel(record: Record<string, any> | undefined): string | undefined;
@@ -13,7 +13,7 @@ export declare const F: {
13
13
  readonly productSpec: "product_id_spec_";
14
14
  /** 物料批次号 */
15
15
  readonly materialContainer: "material_container_no_";
16
- /** 生产批次号 */
16
+ /** 生产LOT/SN */
17
17
  readonly productionContainer: "production_container_id_";
18
18
  /** 数量 */
19
19
  readonly qty: "qty_";
@@ -26,9 +26,9 @@ export declare const F: {
26
26
  };
27
27
  /** 设计态输入属性固定禁用、运行态只读:物料名称 / 编码 / 规格 */
28
28
  export declare const DISABLED_INPUT_FIELDS: readonly ["product_id_name_", "product_id_code_", "product_id_spec_"];
29
- /** 行变更 handler:生产批次号清空时的字段集 */
29
+ /** 行变更 handler:生产LOT/SN清空时的字段集 */
30
30
  export declare const CLEAR_ON_PROD_CONTAINER_EMPTY: readonly ("product_id_" | "mfg_order_code_" | "product_id_name_" | "product_id_code_" | "product_id_spec_" | "qty_" | "production_date_")[];
31
- /** 行变更 handler:生产批次号切换时的字段集 */
31
+ /** 行变更 handler:生产LOT/SN切换时的字段集 */
32
32
  export declare const CLEAR_ON_PROD_CONTAINER_SWITCH: ("material_container_no_" | "mfg_order_id_")[];
33
33
  /** 行变更 handler:工单清空时的字段集 */
34
34
  export declare const CLEAR_ON_MFG_ORDER_EMPTY: ("product_id_" | "mfg_order_code_" | "product_id_name_" | "product_id_code_" | "product_id_spec_" | "qty_" | "production_date_")[];
@@ -1,20 +1,20 @@
1
1
  import { Doc } from '../../../../../../core';
2
2
  /**
3
- * 生产批次号 切换 / 清空
4
- * 切换【生产批次号】 → 清工单 + 物料批次号
5
- * 清空【生产批次号】 → 清物料 + 物料名称 + 物料编码 + 物料规格 + 数量 + 工单号 + 生产日期
3
+ * 生产LOT/SN 切换 / 清空
4
+ * 切换【生产LOT/SN】 → 清工单 + 物料批次号
5
+ * 清空【生产LOT/SN】 → 清物料 + 物料名称 + 物料编码 + 物料规格 + 数量 + 工单号 + 生产日期
6
6
  */
7
7
  export declare function handleProductionContainerChange(doc: Doc, subFieldKey: string, rowIndex: number): void;
8
8
  /**
9
9
  * 工单 切换 / 清空
10
- * 切换【工单】 -> 清生产批次号 + 物料批次号
10
+ * 切换【工单】 -> 清生产LOT/SN + 物料批次号
11
11
  * 清空【工单】 -> 清物料 + 物料名称 + 物料编码 + 物料规格 + 数量 + 工单号 + 生产日期
12
12
  */
13
13
  export declare function handleMfgOrderChange(doc: Doc, subFieldKey: string, rowIndex: number): void;
14
14
  /**
15
15
  * 物料批次号 切换 / 清空
16
- * 下拉选中(有 companion id)→ 清生产批次号 + 工单
17
- * 手动输入(无 companion id)→ 清物料信息 + 数量 + 工单号 + 生产日期 + 生产批次号 + 工单
16
+ * 下拉选中(有 companion id)→ 清生产LOT/SN + 工单
17
+ * 手动输入(无 companion id)→ 清物料信息 + 数量 + 工单号 + 生产日期 + 生产LOT/SN + 工单
18
18
  * 清空【物料批次号】 → 清物料 + 物料名称 + 物料编码 + 物料规格 + 数量 + 工单号 + 生产日期
19
19
  */
20
20
  export declare function handleMaterialContainerNoChange(doc: Doc, subFieldKey: string, rowIndex: number): void;
@@ -2,6 +2,6 @@ import { Doc } from '../../../../core';
2
2
  import { DataEnricherRegistration } from '../../../../core/data';
3
3
  import { BusinessSubTableType } from '../../types';
4
4
  /**
5
- * 按业务表类型,仅为该表内的「生产批次号」补全 _href_
5
+ * 按业务表类型,仅为该表内的「生产LOT/SN」补全 _href_
6
6
  */
7
7
  export declare function createProductionContainerHyperlinkEnricher(doc: Doc, tableType: BusinessSubTableType): DataEnricherRegistration;
@@ -11,7 +11,7 @@ export declare const F: {
11
11
  readonly productCode: "product_id_code_";
12
12
  /** 产品规格 */
13
13
  readonly productSpec: "product_id_spec_";
14
- /** 生产批次号 */
14
+ /** 生产LOT/SN */
15
15
  readonly productionContainer: "production_container_id_";
16
16
  /** 数量 */
17
17
  readonly qty: "qty_";
@@ -22,5 +22,5 @@ export declare const F: {
22
22
  /** 生产日期 */
23
23
  readonly productionDate: "production_date_";
24
24
  };
25
- /** 行变更 handler:生产批次号清空时的字段集 */
25
+ /** 行变更 handler:生产LOT/SN清空时的字段集 */
26
26
  export declare const CLEAR_ON_PROD_CONTAINER_EMPTY: readonly ["product_id_", "product_id_name_", "product_id_code_", "product_id_spec_", "qty_", "mfg_order_code_", "mfg_order_id_", "production_date_"];
@@ -1,5 +1,5 @@
1
1
  import { Doc } from '../../../../../../core';
2
2
  /**
3
- * 生产批次号 清空其他字段
3
+ * 生产LOT/SN 清空其他字段
4
4
  */
5
5
  export declare function handleProductionContainerChange(doc: Doc, subFieldKey: string, rowIndex: number): void;
package/dist/index.es.js CHANGED
@@ -1,4 +1,4 @@
1
- /*! @gct-paas/word v0.1.74-beta.37 */
1
+ /*! @gct-paas/word v0.1.74-beta.39 */
2
2
  import { Fragment, Suspense, Teleport, Transition, TransitionGroup, cloneVNode, computed, createApp, createBlock, createCommentVNode, createElementBlock, createElementVNode, createSlots, createStaticVNode, createTextVNode, createVNode, defineAsyncComponent, defineComponent, effectScope, getCurrentInstance, getCurrentScope, guardReactiveProps, h, inject, isRef, isVNode, markRaw, mergeModels, mergeProps, nextTick, normalizeClass, normalizeProps, normalizeStyle, onBeforeMount, onBeforeUnmount, onMounted, onScopeDispose, onUnmounted, openBlock, provide, reactive, readonly, ref, render, renderList, renderSlot, resolveComponent, resolveDynamicComponent, shallowRef, toDisplayString, toHandlers, toRaw, toRef, toValue, unref, useAttrs, useCssVars, useModel, useSlots, vModelRadio, vModelText, vShow, watch, watchEffect, withCtx, withDirectives, withKeys, withModifiers } from "vue";
3
3
  import St, { PopperWrapper } from "floating-vue";
4
4
  import VueKonva from "vue-konva";
@@ -17346,7 +17346,7 @@ var init_field_type = __esmMin((() => {
17346
17346
  */
17347
17347
  SIGNATURE: "electronic_signature",
17348
17348
  /**
17349
- * lot/sn
17349
+ * 批次/SN
17350
17350
  */
17351
17351
  MATERIAL_NO: "material_no",
17352
17352
  /**
@@ -17524,15 +17524,15 @@ var init_field_type = __esmMin((() => {
17524
17524
  */
17525
17525
  QTY_REQUIRED: "qty_required",
17526
17526
  /**
17527
- * E-SOP
17527
+ * SOP
17528
17528
  */
17529
17529
  E_SOP: "e_sop",
17530
17530
  /**
17531
- * E-SOP版本
17531
+ * SOP版本
17532
17532
  */
17533
17533
  E_SOP_VERSION: "e_sop_version",
17534
17534
  /**
17535
- * 实例数
17535
+ * 表单实例数
17536
17536
  */
17537
17537
  OF_INST_NUM: "of_inst_num",
17538
17538
  /**
@@ -17540,7 +17540,7 @@ var init_field_type = __esmMin((() => {
17540
17540
  */
17541
17541
  PRODUCTION_QTY: "production_qty",
17542
17542
  /**
17543
- * 生产批次号(生产 lot/sn)(追溯)
17543
+ * 生产LOT/SN(追溯)
17544
17544
  */
17545
17545
  PRODUCTION_CONTAINER: "production_container",
17546
17546
  /**
@@ -95099,7 +95099,7 @@ var init_utils$3 = __esmMin((() => {
95099
95099
  rdo_ref: "版本模型关联",
95100
95100
  enum_multi: "枚举多选",
95101
95101
  ref_multi: "模型多选",
95102
- esop: "E-SOP",
95102
+ esop: "SOP",
95103
95103
  expression: "公式",
95104
95104
  expression_condition: "公式条件",
95105
95105
  agg: "汇总",
@@ -95126,7 +95126,7 @@ var init_utils$3 = __esmMin((() => {
95126
95126
  PROCESS: "流程字段",
95127
95127
  data_table_formula: "公式",
95128
95128
  readonlycmp: "自定义",
95129
- material_no: "LOT/SN",
95129
+ material_no: "批次/SN",
95130
95130
  device: "设备",
95131
95131
  product: "物料",
95132
95132
  biz_process: "业务流",
@@ -95168,7 +95168,7 @@ var init_utils$3 = __esmMin((() => {
95168
95168
  location: "库位",
95169
95169
  stocktake_status: "盘点状态",
95170
95170
  production_identifier: "物料批次(生产标识)",
95171
- production_container: "生产批次号",
95171
+ production_container: "生产LOT/SN",
95172
95172
  material_container: "物料批次号",
95173
95173
  sterilization_container: "灭菌批次号",
95174
95174
  object_type: "对象",
@@ -95176,9 +95176,9 @@ var init_utils$3 = __esmMin((() => {
95176
95176
  qty: "数量",
95177
95177
  qty_consumed: "已消耗数量",
95178
95178
  qty_required: "需求数量",
95179
- e_sop: "E-SOP",
95180
- e_sop_version: "E-SOP版本",
95181
- of_inst_num: "实例数",
95179
+ e_sop: "SOP",
95180
+ e_sop_version: "SOP版本",
95181
+ of_inst_num: "表单实例数",
95182
95182
  production_qty: "生产数量",
95183
95183
  device_ref: "设备关联",
95184
95184
  device_ref_multi: "设备多选",
@@ -98494,7 +98494,7 @@ var init_part_inventory_ndo = __esmMin((() => {
98494
98494
  }));
98495
98495
  //#endregion
98496
98496
  //#region src/domain/field/lot-display-label.ts
98497
- /** 根据 LOT/SN 记录决定界面展示名称;关联批子批次对外展示父批次名。 */
98497
+ /** 根据 批次/SN 记录决定界面展示名称;关联批子批次对外展示父批次名。 */
98498
98498
  function resolveLotDisplayLabel(record) {
98499
98499
  if (!record) return void 0;
98500
98500
  if (record.container_role_ === ContainerRoleConst.RELATED_CHILD && isPresent(record.related_parent_name_)) return String(record.related_parent_name_);
@@ -98548,7 +98548,7 @@ function renderWithFormatter(column = {}, row = {}) {
98548
98548
  }) || "--";
98549
98549
  return toDictValue(field, cellValue, row._item) ?? params.defaultValueStr ?? "--";
98550
98550
  }
98551
- /** LOT/SN 下拉项的展示名称;关联批子批次对外展示父批次名称。 */
98551
+ /** 批次/SN 下拉项的展示名称;关联批子批次对外展示父批次名称。 */
98552
98552
  function getLotDisplayLabel(item) {
98553
98553
  const raw = (item === null || item === void 0 ? void 0 : item._item) ?? item ?? {};
98554
98554
  if (raw.container_role_ === ContainerRoleConst.RELATED_CHILD) {
@@ -99447,7 +99447,7 @@ function enrichContextDefaultValues(defaults, valuePath, fieldType, context, opt
99447
99447
  };
99448
99448
  }
99449
99449
  /**
99450
- * E-SOP 版本字段:配置了 SOP 后的默认值补全
99450
+ * SOP 版本字段:配置了 SOP 后的默认值补全
99451
99451
  * 优先级:设计态 defaultValue > paramsConfig.sopList > 接口 default_ 版本
99452
99452
  */
99453
99453
  async function enrichESopVersionDefaultValues(defaults, valuePath, props, context) {
@@ -99921,7 +99921,7 @@ function getQuery(value, lookupBy) {
99921
99921
  if (!isPresent(value)) return void 0;
99922
99922
  return { [lookupBy === "id" ? "id_.eq" : "name_.eq"]: String(value) };
99923
99923
  }
99924
- /** 按字段值获取 LOT/SN 原始记录。 */
99924
+ /** 按字段值获取 批次/SN 原始记录。 */
99925
99925
  async function resolveLotRecordByFieldValue(value, lookupBy) {
99926
99926
  const queryData = getQuery(value, lookupBy);
99927
99927
  if (!queryData) return void 0;
@@ -105728,7 +105728,7 @@ var init_field_keys$1 = __esmMin((() => {
105728
105728
  productSpec: "product_id_spec_",
105729
105729
  /** 物料批次号 */
105730
105730
  materialContainer: "material_container_no_",
105731
- /** 生产批次号 */
105731
+ /** 生产LOT/SN */
105732
105732
  productionContainer: "production_container_id_",
105733
105733
  /** 数量 */
105734
105734
  qty: "qty_",
@@ -106032,7 +106032,7 @@ var init_profile$1 = __esmMin((() => {
106032
106032
  //#endregion
106033
106033
  //#region src/domain/table/business/shared/production-container-hyperlink-enricher.ts
106034
106034
  /**
106035
- * 按业务表类型,仅为该表内的「生产批次号」补全 _href_
106035
+ * 按业务表类型,仅为该表内的「生产LOT/SN」补全 _href_
106036
106036
  */
106037
106037
  function createProductionContainerHyperlinkEnricher(doc, tableType) {
106038
106038
  const subFieldKeys = new Set(TableRuntimeContext.collectAll(doc).filter((ctx) => ctx.profile.type === tableType).map((ctx) => ctx.subFieldKey));
@@ -106071,9 +106071,9 @@ var init_production_container_hyperlink_enricher = __esmMin((() => {
106071
106071
  //#endregion
106072
106072
  //#region src/domain/table/business/preprocess/pretreatment-list/runtime/row-change-handlers.ts
106073
106073
  /**
106074
- * 生产批次号 切换 / 清空
106075
- * 切换【生产批次号】 → 清工单 + 物料批次号
106076
- * 清空【生产批次号】 → 清物料 + 物料名称 + 物料编码 + 物料规格 + 数量 + 工单号 + 生产日期
106074
+ * 生产LOT/SN 切换 / 清空
106075
+ * 切换【生产LOT/SN】 → 清工单 + 物料批次号
106076
+ * 清空【生产LOT/SN】 → 清物料 + 物料名称 + 物料编码 + 物料规格 + 数量 + 工单号 + 生产日期
106077
106077
  */
106078
106078
  function handleProductionContainerChange$1(doc, subFieldKey, rowIndex) {
106079
106079
  const ctx = getRowChangeCtx(doc, subFieldKey, rowIndex);
@@ -106082,7 +106082,7 @@ function handleProductionContainerChange$1(doc, subFieldKey, rowIndex) {
106082
106082
  }
106083
106083
  /**
106084
106084
  * 工单 切换 / 清空
106085
- * 切换【工单】 -> 清生产批次号 + 物料批次号
106085
+ * 切换【工单】 -> 清生产LOT/SN + 物料批次号
106086
106086
  * 清空【工单】 -> 清物料 + 物料名称 + 物料编码 + 物料规格 + 数量 + 工单号 + 生产日期
106087
106087
  */
106088
106088
  function handleMfgOrderChange(doc, subFieldKey, rowIndex) {
@@ -106092,8 +106092,8 @@ function handleMfgOrderChange(doc, subFieldKey, rowIndex) {
106092
106092
  }
106093
106093
  /**
106094
106094
  * 物料批次号 切换 / 清空
106095
- * 下拉选中(有 companion id)→ 清生产批次号 + 工单
106096
- * 手动输入(无 companion id)→ 清物料信息 + 数量 + 工单号 + 生产日期 + 生产批次号 + 工单
106095
+ * 下拉选中(有 companion id)→ 清生产LOT/SN + 工单
106096
+ * 手动输入(无 companion id)→ 清物料信息 + 数量 + 工单号 + 生产日期 + 生产LOT/SN + 工单
106097
106097
  * 清空【物料批次号】 → 清物料 + 物料名称 + 物料编码 + 物料规格 + 数量 + 工单号 + 生产日期
106098
106098
  */
106099
106099
  function handleMaterialContainerNoChange(doc, subFieldKey, rowIndex) {
@@ -106142,7 +106142,7 @@ function isProductionLotOrSn(record) {
106142
106142
  const type = record.production_identification_type_;
106143
106143
  return type === "LOT" || type === "SN";
106144
106144
  }
106145
- /** 生产批次/SN → 回填生产批次号字段,并互斥清空物料批号/工单 */
106145
+ /** 生产批次/SN → 回填生产LOT/SN字段,并互斥清空物料批号/工单 */
106146
106146
  function buildProductionContainerRow(record, parsed, fillData) {
106147
106147
  return {
106148
106148
  [F$2.productionContainer]: record.lot_sn_id_ ?? record.production_container_id_,
@@ -106230,7 +106230,7 @@ var init_field_keys = __esmMin((() => {
106230
106230
  productCode: "product_id_code_",
106231
106231
  /** 产品规格 */
106232
106232
  productSpec: "product_id_spec_",
106233
- /** 生产批次号 */
106233
+ /** 生产LOT/SN */
106234
106234
  productionContainer: "production_container_id_",
106235
106235
  /** 数量 */
106236
106236
  qty: "qty_",
@@ -106351,7 +106351,7 @@ var init_profile = __esmMin((() => {
106351
106351
  //#endregion
106352
106352
  //#region src/domain/table/business/sterilize/entrust-steril-batch-list/runtime/row-change-handlers.ts
106353
106353
  /**
106354
- * 生产批次号 清空其他字段
106354
+ * 生产LOT/SN 清空其他字段
106355
106355
  */
106356
106356
  function handleProductionContainerChange(doc, subFieldKey, rowIndex) {
106357
106357
  const ctx = getRowChangeCtx(doc, subFieldKey, rowIndex);
@@ -139123,7 +139123,7 @@ function pickProductIdsFromMfgOrderRow(row) {
139123
139123
  }
139124
139124
  return uniqNonEmpty([pickProductId(row)]);
139125
139125
  }
139126
- /** LOT/SN:父节点从 product_id_list_ 取值,否则取当前行 product_id_ */
139126
+ /** 批次/SN:父节点从 product_id_list_ 取值,否则取当前行 product_id_ */
139127
139127
  function pickProductIdsFromLotRow(row) {
139128
139128
  if (!row) return [];
139129
139129
  if (PARENT_ROLES.has(String(row.container_role_ ?? ""))) {
@@ -139132,7 +139132,7 @@ function pickProductIdsFromLotRow(row) {
139132
139132
  }
139133
139133
  return uniqNonEmpty([pickProductId(row)]);
139134
139134
  }
139135
- /** 用 LOT/SN 列表同源接口按 id / 名称取 product_id_ */
139135
+ /** 用 批次/SN 列表同源接口按 id / 名称取 product_id_ */
139136
139136
  async function resolveProductIdsFromLot(lotIdOrName, byName) {
139137
139137
  try {
139138
139138
  var _res$options;
@@ -143037,7 +143037,7 @@ function resolveFieldKey(widgetMeta, runtimeValuePath) {
143037
143037
  }
143038
143038
  /**
143039
143039
  * 弹框要的是子批次 name_:
143040
- * - 普通 LOT/SN:字段值本身就是子批次名
143040
+ * - 普通 批次/SN:字段值本身就是子批次名
143041
143041
  * - 生产 LOT/SN:字段值是子批次 id_,需回查 name_(不能用 _lb_,关联子批时 _lb_ 是父批名)
143042
143042
  */
143043
143043
  async function resolveHyperlinkMaterialNo(widgetMeta, fieldKey, rawValue) {
@@ -155113,7 +155113,7 @@ init_basic();
155113
155113
  var manifest$60 = {
155114
155114
  key: "field:of_inst_num",
155115
155115
  type: FIELD_TYPE.OF_INST_NUM,
155116
- label: "实例数",
155116
+ label: "表单实例数",
155117
155117
  icon: "icon-shilishu",
155118
155118
  version: "v1",
155119
155119
  allowDrag: true,
@@ -155505,7 +155505,7 @@ init_basic();
155505
155505
  var manifest$43 = {
155506
155506
  key: "field:e_sop",
155507
155507
  type: FIELD_TYPE.E_SOP,
155508
- label: "E-SOP",
155508
+ label: "SOP",
155509
155509
  icon: "icon-SOP",
155510
155510
  version: "v1",
155511
155511
  allowDrag: true,
@@ -155538,7 +155538,7 @@ init_basic();
155538
155538
  var manifest$42 = {
155539
155539
  key: "field:e_sop_version",
155540
155540
  type: FIELD_TYPE.E_SOP_VERSION,
155541
- label: "E-SOP版本",
155541
+ label: "SOP版本",
155542
155542
  icon: "icon-SOPbanbenhao",
155543
155543
  version: "v1",
155544
155544
  allowDrag: true,
@@ -156148,7 +156148,7 @@ init_basic();
156148
156148
  var manifest$17 = {
156149
156149
  key: "field:material_no",
156150
156150
  type: FIELD_TYPE.MATERIAL_NO,
156151
- label: "批次号",
156151
+ label: "批次/SN",
156152
156152
  icon: "icon-field-material-no",
156153
156153
  version: "v1",
156154
156154
  allowDrag: true,
@@ -156256,7 +156256,7 @@ init_basic();
156256
156256
  var manifest$13 = {
156257
156257
  key: "field:production_container",
156258
156258
  type: FIELD_TYPE.PRODUCTION_CONTAINER,
156259
- label: "生产批次号",
156259
+ label: "生产LOT/SN",
156260
156260
  icon: "icon-field-material-no",
156261
156261
  version: "v1",
156262
156262
  allowDrag: true,
@@ -164204,6 +164204,7 @@ var object_init_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defi
164204
164204
  });
164205
164205
  };
164206
164206
  const handleEditClick = (index, obj) => {
164207
+ var _window$NocodeAdapter;
164207
164208
  if (!RenderFieldWrapper) {
164208
164209
  console.error("未找到字段渲染组件");
164209
164210
  return;
@@ -164212,7 +164213,8 @@ var object_init_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defi
164212
164213
  ...baseParam.value,
164213
164214
  editingItem: obj,
164214
164215
  RenderFieldWrapper,
164215
- showConsumePolicy: showConsumePolicy.value
164216
+ showConsumePolicy: showConsumePolicy.value,
164217
+ openFormulaEditor: (_window$NocodeAdapter = window.NocodeAdapter) === null || _window$NocodeAdapter === void 0 || (_window$NocodeAdapter = _window$NocodeAdapter.utils) === null || _window$NocodeAdapter === void 0 ? void 0 : _window$NocodeAdapter.openFormulaEditor
164216
164218
  }, { title: "配置" }).then(({ success, result }) => {
164217
164219
  if (!success || !result) return;
164218
164220
  const objects = [...props.objects];
@@ -164259,7 +164261,7 @@ var object_init_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defi
164259
164261
  //#endregion
164260
164262
  //#region src/suites/edhr/panel-schema/data-init/object-init/object-init.vue
164261
164263
  init__plugin_vue_export_helper();
164262
- var object_init_default = /*#__PURE__*/ _plugin_vue_export_helper_default(object_init_vue_vue_type_script_setup_true_lang_default, [["__scopeId", "data-v-79a4a3de"]]);
164264
+ var object_init_default = /*#__PURE__*/ _plugin_vue_export_helper_default(object_init_vue_vue_type_script_setup_true_lang_default, [["__scopeId", "data-v-c1b6427a"]]);
164263
164265
  //#endregion
164264
164266
  //#region src/suites/edhr/panel-schema/data-init/DataInitPanel.vue?vue&type=script&setup=true&name=panel-data-init&lang.ts
164265
164267
  init_core$1();
@@ -168759,6 +168761,7 @@ init_base$2();
168759
168761
  init_TriggerUtil();
168760
168762
  init__register_();
168761
168763
  init_core();
168764
+ init_field_type();
168762
168765
  var display_fields_editor_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineComponent({
168763
168766
  __name: "display-fields-editor",
168764
168767
  props: {
@@ -168773,6 +168776,14 @@ var display_fields_editor_vue_vue_type_script_setup_true_lang_default = /*@__PUR
168773
168776
  const { isRefer } = useDocPubApiContext();
168774
168777
  const props = __props;
168775
168778
  const emit = __emit;
168779
+ const hiddenFieldTypes = /* @__PURE__ */ new Set([
168780
+ FIELD_TYPE.E_SOP,
168781
+ FIELD_TYPE.TRACE_DATE,
168782
+ FIELD_TYPE.ORDER_NO,
168783
+ FIELD_TYPE.EXTERNAL_REF_NO,
168784
+ FIELD_TYPE.TARGET_WAREHOUSE
168785
+ ]);
168786
+ const showDisplayFields = computed(() => !hiddenFieldTypes.has(props.fieldMeta.type) && !hiddenFieldTypes.has(props.fieldMeta.bizType ?? ""));
168776
168787
  const selectorInfo = computed(() => {
168777
168788
  const options = [];
168778
168789
  const values = [];
@@ -168813,6 +168824,7 @@ var display_fields_editor_vue_vue_type_script_setup_true_lang_default = /*@__PUR
168813
168824
  emit("update:displayFields", options);
168814
168825
  };
168815
168826
  onMounted(() => {
168827
+ if (!showDisplayFields.value) return;
168816
168828
  const { displayFields, fieldMeta } = props;
168817
168829
  if (displayFields !== void 0) return;
168818
168830
  const { type, bindInfo } = fieldMeta;
@@ -168832,7 +168844,8 @@ var display_fields_editor_vue_vue_type_script_setup_true_lang_default = /*@__PUR
168832
168844
  emit("update:displayFields", options);
168833
168845
  });
168834
168846
  return (_ctx, _cache) => {
168835
- return openBlock(), createBlock(unref(form_item_default), {
168847
+ return showDisplayFields.value ? (openBlock(), createBlock(unref(form_item_default), {
168848
+ key: 0,
168836
168849
  label: "显示字段",
168837
168850
  inline: false
168838
168851
  }, {
@@ -168855,14 +168868,14 @@ var display_fields_editor_vue_vue_type_script_setup_true_lang_default = /*@__PUR
168855
168868
  "disabled"
168856
168869
  ]), _cache[2] || (_cache[2] = createElementVNode("div", { class: "editor-tip" }, " 下拉选项中显示的字段 ", -1))]),
168857
168870
  _: 1
168858
- });
168871
+ })) : createCommentVNode("", true);
168859
168872
  };
168860
168873
  }
168861
168874
  });
168862
168875
  //#endregion
168863
168876
  //#region src/suites/shared/panel/config/editor/display-fields-editor/display-fields-editor.vue
168864
168877
  init__plugin_vue_export_helper();
168865
- var display_fields_editor_default = /*#__PURE__*/ _plugin_vue_export_helper_default(display_fields_editor_vue_vue_type_script_setup_true_lang_default, [["__scopeId", "data-v-aff62f3a"]]);
168878
+ var display_fields_editor_default = /*#__PURE__*/ _plugin_vue_export_helper_default(display_fields_editor_vue_vue_type_script_setup_true_lang_default, [["__scopeId", "data-v-a8920d46"]]);
168866
168879
  //#endregion
168867
168880
  //#region src/suites/shared/panel/config/editor/quick-search-editor/quick-search-editor.vue?vue&type=script&setup=true&name=quick-search-editor&lang.ts
168868
168881
  init_base$2();
@@ -172530,7 +172543,7 @@ var field_text_config_default = /*#__PURE__*/ _plugin_vue_export_helper_default(
172530
172543
  //#endregion
172531
172544
  //#region src/suites/shared/panel/config/editor/assoc-filter-editor/utils.ts
172532
172545
  init_field_type();
172533
- /** 关联过滤可选源字段:LOT/SN、工单号 */
172546
+ /** 关联过滤可选源字段:批次/SN、工单号 */
172534
172547
  var ASSOC_FILTER_SOURCE_TYPES = /* @__PURE__ */ new Set([FIELD_TYPE.MATERIAL_NO, FIELD_TYPE.MFG_ORDER]);
172535
172548
  /** 主表 `fieldKey`;子表 `subFieldKey.fieldKey` */
172536
172549
  function buildAssocSourceFieldValue(fieldKey, subFieldKey) {
@@ -30,7 +30,7 @@ export declare function enrichContextDefaultValues(defaults: Record<string, any>
30
30
  skipRuntimeDefaultEnrichment?: boolean;
31
31
  }): Record<string, any> | undefined;
32
32
  /**
33
- * E-SOP 版本字段:配置了 SOP 后的默认值补全
33
+ * SOP 版本字段:配置了 SOP 后的默认值补全
34
34
  * 优先级:设计态 defaultValue > paramsConfig.sopList > 接口 default_ 版本
35
35
  */
36
36
  export declare function enrichESopVersionDefaultValues(defaults: Record<string, any> | undefined, valuePath: string, props: Record<string, any>, context: Record<string, unknown>): Promise<Record<string, any> | undefined>;
@@ -10,7 +10,7 @@ export declare function getColumns(key: string, displayFields: IDisplayField[],
10
10
  * 根据列配置和行数据返回格式化后的值
11
11
  */
12
12
  export declare function renderWithFormatter(column?: any, row?: any): any;
13
- /** LOT/SN 下拉项的展示名称;关联批子批次对外展示父批次名称。 */
13
+ /** 批次/SN 下拉项的展示名称;关联批子批次对外展示父批次名称。 */
14
14
  export declare function getLotDisplayLabel(item: any): string;
15
15
  /**
16
16
  * 树形数据转换
@@ -11,5 +11,5 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
11
11
  "update:displayFields": (...args: any[]) => void;
12
12
  }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
13
13
  "onUpdate:displayFields"?: ((...args: any[]) => any) | undefined;
14
- }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
14
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
15
15
  export default _default;
package/dist/word.css CHANGED
@@ -12554,35 +12554,35 @@ svg.portrait-icon[data-v-8bdb451e] {
12554
12554
  cursor: pointer;
12555
12555
  color: #797a7d;
12556
12556
  }
12557
- .object-item[data-v-79a4a3de] {
12557
+ .object-item[data-v-c1b6427a] {
12558
12558
  margin-bottom: 16px;
12559
12559
  padding: 12px;
12560
12560
  border: 1px dashed #e4e4e4;
12561
12561
  border-radius: 8px;
12562
12562
  background: #f6f8fa;
12563
12563
  }
12564
- .object-item.is-filled[data-v-79a4a3de] {
12564
+ .object-item.is-filled[data-v-c1b6427a] {
12565
12565
  border-color: #a7cae6;
12566
12566
  background: #ecf3fc;
12567
12567
  }
12568
- .object-item .item-info[data-v-79a4a3de] {
12568
+ .object-item .item-info[data-v-c1b6427a] {
12569
12569
  display: flex;
12570
12570
  }
12571
- .object-item .item-info .info-text[data-v-79a4a3de] {
12571
+ .object-item .item-info .info-text[data-v-c1b6427a] {
12572
12572
  flex-grow: 1;
12573
12573
  margin-right: 8px;
12574
12574
  overflow: hidden;
12575
12575
  }
12576
- .object-item .item-info .info-text .text-row[data-v-79a4a3de] {
12576
+ .object-item .item-info .info-text .text-row[data-v-c1b6427a] {
12577
12577
  margin-bottom: 4px;
12578
12578
  overflow: hidden;
12579
12579
  text-overflow: ellipsis;
12580
12580
  white-space: nowrap;
12581
12581
  }
12582
- .object-item .item-info .info-text .text-row .row-label[data-v-79a4a3de] {
12582
+ .object-item .item-info .info-text .text-row .row-label[data-v-c1b6427a] {
12583
12583
  color: #76777e;
12584
12584
  }
12585
- .object-item .item-info .info-button[data-v-79a4a3de] {
12585
+ .object-item .item-info .info-button[data-v-c1b6427a] {
12586
12586
  display: flex;
12587
12587
  flex-shrink: 0;
12588
12588
  align-items: center;
@@ -12592,16 +12592,16 @@ svg.portrait-icon[data-v-8bdb451e] {
12592
12592
  border-radius: 4px;
12593
12593
  cursor: pointer;
12594
12594
  }
12595
- .object-item .item-info .info-button[data-v-79a4a3de]:hover {
12595
+ .object-item .item-info .info-button[data-v-c1b6427a]:hover {
12596
12596
  background: #fff;
12597
12597
  }
12598
- .object-item .item-info .info-button:hover .gct-icon[data-v-79a4a3de] {
12598
+ .object-item .item-info .info-button:hover .gct-icon[data-v-c1b6427a] {
12599
12599
  color: #1c1e20;
12600
12600
  }
12601
- .object-item .item-info .info-button .gct-icon[data-v-79a4a3de] {
12601
+ .object-item .item-info .info-button .gct-icon[data-v-c1b6427a] {
12602
12602
  color: #a4aaaf;
12603
12603
  }
12604
- .object-item .item-button[data-v-79a4a3de] {
12604
+ .object-item .item-button[data-v-c1b6427a] {
12605
12605
  margin-top: 8px;
12606
12606
  }
12607
12607
  .panel-data-init[data-v-004e3ce4] {
@@ -13527,7 +13527,7 @@ svg.portrait-icon[data-v-8bdb451e] {
13527
13527
  background-color: #026ac8;
13528
13528
  color: #fff;
13529
13529
  }
13530
- .editor-tip[data-v-aff62f3a] {
13530
+ .editor-tip[data-v-a8920d46] {
13531
13531
  margin-top: 4px;
13532
13532
  color: #a6a6a6;
13533
13533
  font-size: 12px;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gct-paas/word",
3
- "version": "0.1.74-beta.37",
3
+ "version": "0.1.74-beta.39",
4
4
  "description": "GCT 在线 word",
5
5
  "keywords": [
6
6
  "vue",