@gct-paas/excel 0.1.40-beta.20 → 0.1.40-beta.21

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 (64) hide show
  1. package/dist/{BaseComponent-BGVcCPEa.js → BaseComponent-CWYhEmYn.js} +1 -1
  2. package/dist/{VueVideoPlayer-BjmIFrir.js → VueVideoPlayer-D5zE_mXQ.js} +1 -1
  3. package/dist/{barcode-design-CaP1fm0_.js → barcode-design-l3rdfj4B.js} +1 -1
  4. package/dist/base/index.es.js +4 -4
  5. package/dist/{diagonal-design-hlxcD87A.js → diagonal-design-BPLxs9ji.js} +1 -1
  6. package/dist/{dynamic-table-action-Be8JlL37.js → dynamic-table-action-D-e5iLib.js} +16 -1
  7. package/dist/{exceljs.min-W43at4dY.js → exceljs.min-CyjI4C57.js} +1 -1
  8. package/dist/{font-editor-D56ClIpW.js → font-editor-CGSk5kFM.js} +1 -1
  9. package/dist/{index-DgUdDef6.js → index-4b7WInws.js} +2 -2
  10. package/dist/{index-CKMx2z9Y.js → index-8ar-Bsw7.js} +1 -1
  11. package/dist/{index-CjuxT4it.js → index-BBnCJHvC.js} +36 -35
  12. package/dist/{index-BPrRTLOr.js → index-BCl6C48o.js} +1 -1
  13. package/dist/{index-BQXA1mwd.js → index-BTvFf_Od.js} +1 -1
  14. package/dist/{index-iPetBbbY.js → index-C03h1mdc.js} +3 -3
  15. package/dist/{index-B2FagfyH.js → index-CCAULEff.js} +1 -1
  16. package/dist/{index-CZBPaApP.js → index-CJZP3Y8A.js} +1 -1
  17. package/dist/{index-Cmd9eaD8.js → index-Cbfa0l4P.js} +1 -1
  18. package/dist/{index-2bzUMftk.js → index-CrNQ4fzl.js} +2 -2
  19. package/dist/{index-Bi2XvcZ1.js → index-CxthKExE.js} +1 -1
  20. package/dist/{index-DE-6ATOb.js → index-D6YZXtdZ.js} +1 -1
  21. package/dist/{index-o5rZ0ZDF.js → index-D9jgkb7e.js} +1 -1
  22. package/dist/{index-C0WZCZCj.js → index-DNODemiT.js} +1 -1
  23. package/dist/{index-BuT2pRA0.js → index-DOKlk-Nf.js} +1 -1
  24. package/dist/{index-Bln92UeX.js → index-DSTGDFEt.js} +1 -1
  25. package/dist/{index-BRkEJrpd.js → index-DU5m20W6.js} +2 -2
  26. package/dist/{index-BqIV-vij.js → index-Ddsrowty.js} +1 -1
  27. package/dist/{index-D0Fb9rtG.js → index-DgcqMrSq.js} +2 -2
  28. package/dist/{index-CKqEZAs1.js → index-DphJXlye.js} +1 -1
  29. package/dist/{index-T8osZobv.js → index-SsQpzWJV.js} +2 -2
  30. package/dist/{index-BPWqx5U8.js → index-WGbD1Pm6.js} +1 -1
  31. package/dist/{index-QjAhy-KC.js → index-_lobWWTu.js} +2 -2
  32. package/dist/{index-CdXeZ5pv.js → index-v-rdo6ME.js} +1 -1
  33. package/dist/index.es.js +1 -1
  34. package/dist/{pagination-design-DpqDw6Rf.js → pagination-design-DGqFvJxx.js} +1 -1
  35. package/dist/paper-widget-design-DrRVelBu.js +4 -0
  36. package/dist/{print-runtime-instance-Dlj6q6O1.js → print-runtime-instance-D4Pj5Qhr.js} +1 -1
  37. package/dist/{print-snapshot-renderer-CuY9mllK.js → print-snapshot-renderer-De-pf1K_.js} +3 -3
  38. package/dist/{qrcode-design-C0Vw-EIt.js → qrcode-design-Ck2_tB4Q.js} +1 -1
  39. package/dist/seal-design-DjQNPduq.js +4 -0
  40. package/dist/{single-field-drop-DDAoyRO7.js → single-field-drop-Q1xjuTpb.js} +1 -1
  41. package/dist/src/nocode-base/src/hooks/material-consume/material-consume-table-controller.d.ts +3 -1
  42. package/dist/src/nocode-base/src/hooks/material-consume/types.d.ts +2 -0
  43. package/dist/src/online-form/src/views/designer/hooks/useAllSpreadSheets.d.ts +12 -0
  44. package/dist/src/online-form/src/views/designer/hooks/useSpreadSheet.d.ts +7 -0
  45. package/dist/src/online-form/src/views/designer/modules/panel/panel-data-init-config/object-init/hooks/useObjectInit.d.ts +1 -0
  46. package/dist/src/online-form/src/views/designer/modules/panel/sub-table/comps/use-dynamic-sub-table-panel.d.ts +6 -0
  47. package/dist/{sub-table-factory-D3ln_RZX.js → sub-table-factory-DFQip2cb.js} +1 -1
  48. package/dist/{text-design-ZwhuY1Ts.js → text-design-CPMzgWXN.js} +1 -1
  49. package/dist/{trace-like-wrapper-Dy5yrPBO.js → trace-like-wrapper-DIsU2-KV.js} +1 -1
  50. package/dist/{value-editor.vue_vue_type_style_index_0_lang-DapCZObe.js → value-editor.vue_vue_type_style_index_0_lang-Dv47SN2Z.js} +1 -1
  51. package/dist/{widget-barcode-BCcosC1i.js → widget-barcode-CHBw2stC.js} +2 -2
  52. package/dist/{widget-diagonal-CdCN3K4_.js → widget-diagonal-NClGO5Rn.js} +2 -2
  53. package/dist/{widget-image-BUN-gvL5.js → widget-image-_Nb1X3Xz.js} +1 -1
  54. package/dist/{widget-line-FYyPMMZ4.js → widget-line-Bipjn0YA.js} +1 -1
  55. package/dist/{widget-pagination-BtYkMtMd.js → widget-pagination-B_Pse1Fh.js} +2 -2
  56. package/dist/{widget-power-Cdgzng7w.js → widget-power-DKccfSH2.js} +2 -2
  57. package/dist/{widget-qrcode-D5Og1U4s.js → widget-qrcode-D-9tBxgw.js} +2 -2
  58. package/dist/{widget-rangelimit-ByyBW9QW.js → widget-rangelimit-BpOZXTEa.js} +2 -2
  59. package/dist/{widget-serialnumber-DfDvhdgO.js → widget-serialnumber-zGQ-Z_UV.js} +1 -1
  60. package/dist/{widget-text-CoskH_Ql.js → widget-text-CVJ1-3y3.js} +3 -3
  61. package/dist/{widget-timediff-CZi5yk7E.js → widget-timediff-CBonTDnJ.js} +1 -1
  62. package/package.json +1 -1
  63. package/dist/paper-widget-design-C71HXpQm.js +0 -4
  64. package/dist/seal-design-21xHvKov.js +0 -4
@@ -1,4 +1,4 @@
1
- import { j as normalizeFieldWidth } from "./dynamic-table-action-Be8JlL37.js";
1
+ import { j as normalizeFieldWidth } from "./dynamic-table-action-D-e5iLib.js";
2
2
  import { get, pick } from "lodash-es";
3
3
  import { F as FIELD_TYPE } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_8710052f_lang-DqGN_0-g.js";
4
4
  import { f as fontStyleAttrs } from "./config.enum-B8UZQTON.js";
@@ -1,6 +1,6 @@
1
1
  import { defineComponent, toRaw, shallowRef, computed, ref, readonly, onMounted, watch, normalizeClass, onBeforeUnmount, h as h$1, watchEffect, unref, createVNode, reactive } from "vue";
2
2
  import { V as commonjsGlobal, W as getDefaultExportFromCjs } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_8710052f_lang-DqGN_0-g.js";
3
- import { G as require$$0 } from "./index-CjuxT4it.js";
3
+ import { G as require$$0 } from "./index-BBnCJHvC.js";
4
4
  var window_1;
5
5
  var hasRequiredWindow;
6
6
  function requireWindow() {
@@ -1,6 +1,6 @@
1
1
  import { defineComponent, ref, computed, watch, openBlock, createElementBlock, normalizeStyle, normalizeClass, createElementVNode, toDisplayString, createCommentVNode } from "vue";
2
2
  import { pick } from "lodash-es";
3
- import { u as useSpreadSheet, h as useModelFields, l as loadBwip } from "./index-CjuxT4it.js";
3
+ import { u as useSpreadSheet, h as useModelFields, l as loadBwip } from "./index-BBnCJHvC.js";
4
4
  import { X as PaperWidgeValueType, ad as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_8710052f_lang-DqGN_0-g.js";
5
5
  import "dayjs";
6
6
  import "@gct-paas/form-base";
@@ -1,12 +1,12 @@
1
1
  import { p as api, a3 as PlatformEnum, F as FIELD_TYPE, bj as getRowId, bk as findRuntimeTableRow, bl as RenderModeEnum, C as ComponentTypeEnum, aD as findFieldMain, c as getProfileByTableType, d as getBusinessProfileByRefModelType, b as isBusinessSubTableProfile, az as RangeValidateMode, aN as Dependency_ENUM, aM as ASSIGNMENTSTRATEGY_ENUM, bv as fetchHistoryConsume, bw as isBomGranted, b0 as renderUtils, bu as uuid2, bx as parseFrontConfig, aQ as CheckDsTypeEnum, aK as transformUtils, by as baseDataUtils, a0 as FormTypeEnum, bz as normalizeToArray, bA as safeParseArray, bB as BpmnNodeTypeEnum, bC as mergeByMultiKey, ad as _export_sfc, bD as evaluateInspectionDecisionRule, bE as useNocodeEmitter, bF as commonUtils, aO as EntityModelCategoryEnum } from "../dynamic-table-action.vue_vue_type_style_index_0_scoped_8710052f_lang-DqGN_0-g.js";
2
2
  import { aT, aV, b6, a5, bG, bH, B, bI, H, al, bJ, bK, bL, bi, bM, aY, aE, aU, aR, aS, bN, am, aq, bO, bP, aL, a7, ak, aF, aW, a4, ao, L, bQ, bR, bS, O, t, P, af, q, X, K, bT, bU, aA, aa, a6, a8, a9, ab, h, bV, ap, at, an, bW, bX, bY, bZ, bh, b_, b$, c0, c1, c2, c3, c4, c5, c6, c7, bm, c8, c9, b3, ca, b7, b8, cb, cc, cd, ce, cf, cg, ch, ci, cj, ck, b2, cl, b9, bf, cm, cn, ar, y, aX, co, cp, bn, b4 } from "../dynamic-table-action.vue_vue_type_style_index_0_scoped_8710052f_lang-DqGN_0-g.js";
3
- import { a8 as getRuntimeDataFieldId, S as parseRuntimeFieldPath, a9 as buildRuntimeFieldPath, m as findFieldProfile, aa as resolveRuntimeFieldProps, ab as resolveRuntimeFieldState, ac as assembleRules, ad as isAttachFieldActive, U as calculateFormula, ae as getRuntimeDependencyOutputKey, af as isRowAddedInCurrentFormChange, g as getParseFormulaVarInfos, A as MaterialConsumptionPatternEnum, ag as MaterialConsumeTableController, ah as setFormulaParamsConfig, ai as normalizeRuntime, _ as createRuntimeInstanceContext, aj as initializeSealFields, Z as RuntimeFormStateStore, ak as RuntimeSheetService, e as getBusinessFieldKey, al as validateObjectBomQtyOnSubmit, am as areValidationCommentsEqual, an as closeValidatorPopovers, ao as enrichFormChangeRowDetails, T as NCB_PROVIDE, $ as RuntimeInstanceRegistry, ap as useMaterialBalance, aq as collectFormChangeFieldLocations, ar as nextFormChangeRowViewHistoryId } from "../dynamic-table-action-Be8JlL37.js";
4
- import { as, B as B2, at as at2, p, a7 as a72, au, a5 as a52, av, a6 as a62, K as K2, aw, F, ax, ay, az, aA as aA2, M, a, a2, aB, a3, d, aC, aD, aE as aE2, aF as aF2, aG, aH, aI, aJ, I, aK, y as y2, aL as aL2, f, aM, aN, aO, aP, x, J, aQ, aR as aR2, aS as aS2, aT as aT2, q as q2, L as L2, o, aU as aU2, aV as aV2, aW as aW2, aX as aX2, aY as aY2, aZ, a_, E, z, a$, G, v, b0, t as t2, b1, W, X as X2, u, l, H as H2, Y, s, w, V, r, C } from "../dynamic-table-action-Be8JlL37.js";
3
+ import { a8 as getRuntimeDataFieldId, S as parseRuntimeFieldPath, a9 as buildRuntimeFieldPath, m as findFieldProfile, aa as resolveRuntimeFieldProps, ab as resolveRuntimeFieldState, ac as assembleRules, ad as isAttachFieldActive, U as calculateFormula, ae as getRuntimeDependencyOutputKey, af as isRowAddedInCurrentFormChange, g as getParseFormulaVarInfos, A as MaterialConsumptionPatternEnum, ag as MaterialConsumeTableController, ah as setFormulaParamsConfig, ai as normalizeRuntime, _ as createRuntimeInstanceContext, aj as initializeSealFields, Z as RuntimeFormStateStore, ak as RuntimeSheetService, e as getBusinessFieldKey, al as validateObjectBomQtyOnSubmit, am as areValidationCommentsEqual, an as closeValidatorPopovers, ao as enrichFormChangeRowDetails, T as NCB_PROVIDE, $ as RuntimeInstanceRegistry, ap as useMaterialBalance, aq as collectFormChangeFieldLocations, ar as nextFormChangeRowViewHistoryId } from "../dynamic-table-action-D-e5iLib.js";
4
+ import { as, B as B2, at as at2, p, a7 as a72, au, a5 as a52, av, a6 as a62, K as K2, aw, F, ax, ay, az, aA as aA2, M, a, a2, aB, a3, d, aC, aD, aE as aE2, aF as aF2, aG, aH, aI, aJ, I, aK, y as y2, aL as aL2, f, aM, aN, aO, aP, x, J, aQ, aR as aR2, aS as aS2, aT as aT2, q as q2, L as L2, o, aU as aU2, aV as aV2, aW as aW2, aX as aX2, aY as aY2, aZ, a_, E, z, a$, G, v, b0, t as t2, b1, W, X as X2, u, l, H as H2, Y, s, w, V, r, C } from "../dynamic-table-action-D-e5iLib.js";
5
5
  import { toRaw, watch, toRef, computed, defineComponent, openBlock, createElementBlock, createElementVNode, toDisplayString, shallowRef, markRaw, ref, provide, onUnmounted, reactive, onBeforeUnmount } from "vue";
6
6
  import { cloneDeep, defaults, isEmpty, merge, get } from "lodash-es";
7
7
  import "dayjs";
8
- import { S as SubTableCoreFactory, R as RuntimeInstanceController } from "../sub-table-factory-D3ln_RZX.js";
9
- import { A, D, M as M2, a as a10, P as P2, b, c, d as d2, e, W as W2, f as f2, g, h as h2 } from "../sub-table-factory-D3ln_RZX.js";
8
+ import { S as SubTableCoreFactory, R as RuntimeInstanceController } from "../sub-table-factory-DFQip2cb.js";
9
+ import { A, D, M as M2, a as a10, P as P2, b, c, d as d2, e, W as W2, f as f2, g, h as h2 } from "../sub-table-factory-DFQip2cb.js";
10
10
  import { createDataSourceManager, getLegacyFieldFillTargets, createFieldFillRuntime, buildFieldFillTableRows, buildFieldFillRows, isFieldFillTargetProtected, getFieldFillTable, getFieldFillColumn, buildDataSourceContext } from "@gct-paas/form-base";
11
11
  const InstanceStatusValues = {
12
12
  /** 作废状态 */
@@ -1,5 +1,5 @@
1
1
  import { defineComponent, computed, openBlock, createBlock } from "vue";
2
- import { h as useModelFields, D as Diagonal } from "./index-CjuxT4it.js";
2
+ import { h as useModelFields, D as Diagonal } from "./index-BBnCJHvC.js";
3
3
  import { ar as resolveDiagonalVertex, ad as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_8710052f_lang-DqGN_0-g.js";
4
4
  import "lodash-es";
5
5
  import "dayjs";
@@ -6071,6 +6071,7 @@ class MaterialConsumeTableController {
6071
6071
  return this.actualBomEntries.map((i) => {
6072
6072
  return {
6073
6073
  product_id_: i.product_id_,
6074
+ qty_required_uom_id_: i.uom_id_ || void 0,
6074
6075
  ...materialNoNum === void 0 ? {} : { qty_required_: i.qty_required_ * materialNoNum },
6075
6076
  bom_entry_id_: i.id_
6076
6077
  };
@@ -6255,6 +6256,9 @@ class MaterialConsumeTableController {
6255
6256
  this.setDefaultValue(row);
6256
6257
  try {
6257
6258
  const plan = await this.bomEntriesValidator.validateScanCanInsert(row, this.actualTableData);
6259
+ if (plan) {
6260
+ row.qty_required_uom_id_ = plan.target.bomEntry.uom_id_ || void 0;
6261
+ }
6258
6262
  const existingRequiredQty = this.isCustomRequiredQty && plan ? this.actualTableData.find(
6259
6263
  (item) => plan.target.isRowInGroup(item) && item.qty_required_ != null
6260
6264
  )?.qty_required_ : void 0;
@@ -6612,11 +6616,22 @@ class MaterialConsumeTableController {
6612
6616
  this.updateRowConsumed();
6613
6617
  this.updateGroupQtyConsumedTotal();
6614
6618
  }
6619
+ /** 同步 BOM 主物料的需求数量单位,未关联 BOM 的行保留原单位。 */
6620
+ syncRequiredUomFromBom(row) {
6621
+ const validator = this.bomEntriesValidator;
6622
+ const productId = row.product_id_;
6623
+ const bound = row.bom_entry_id_ ? validator.bomEntryValidators.find((item) => item.bomEntry.id_ === row.bom_entry_id_) : void 0;
6624
+ const matched = productId ? bound?.productIds.includes(productId) ? bound : validator.findUtilByProductId(productId) : void 0;
6625
+ if (matched || bound) {
6626
+ row.qty_required_uom_id_ = matched?.bomEntry.uom_id_ || void 0;
6627
+ }
6628
+ }
6615
6629
  /**
6616
- * 设置默认值,如工序,需求数量/已消耗数量
6630
+ * 设置默认值,如工序,需求数量/需求数量单位/已消耗数量
6617
6631
  * @param row
6618
6632
  */
6619
6633
  setDefaultValue(row) {
6634
+ this.syncRequiredUomFromBom(row);
6620
6635
  if (!row.routing_operation_id_) {
6621
6636
  row.routing_operation_id_ = this.tmplBomController.operationId;
6622
6637
  }
@@ -1,5 +1,5 @@
1
1
  import { V as commonjsGlobal, W as getDefaultExportFromCjs } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_8710052f_lang-DqGN_0-g.js";
2
- import { c as commonjsRequire } from "./index-CjuxT4it.js";
2
+ import { c as commonjsRequire } from "./index-BBnCJHvC.js";
3
3
  function _mergeNamespaces(n, m) {
4
4
  for (var i = 0; i < m.length; i++) {
5
5
  const e = m[i];
@@ -1,7 +1,7 @@
1
1
  import { defineComponent, computed, resolveComponent, openBlock, createElementBlock, createElementVNode, createVNode, unref, normalizeClass, withCtx, normalizeStyle } from "vue";
2
2
  import { A as AlignEditor } from "./align-editor-C2fibWP5.js";
3
3
  import { pick } from "lodash-es";
4
- import { z as _sfc_main$1, C as ColorPicker } from "./index-CjuxT4it.js";
4
+ import { z as _sfc_main$1, C as ColorPicker } from "./index-BBnCJHvC.js";
5
5
  import { ad as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_8710052f_lang-DqGN_0-g.js";
6
6
  const _hoisted_1 = { class: "ks-row-middle mb-6px" };
7
7
  const _sfc_main = /* @__PURE__ */ defineComponent({
@@ -4,8 +4,8 @@ import "lodash-es";
4
4
  import "dayjs";
5
5
  import "@gct-paas/form-base";
6
6
  import "ant-design-vue";
7
- import { B as BaseComponent } from "./BaseComponent-BGVcCPEa.js";
8
- import { g as getTraceLikeSelectProps } from "./trace-like-wrapper-Dy5yrPBO.js";
7
+ import { B as BaseComponent } from "./BaseComponent-CWYhEmYn.js";
8
+ import { g as getTraceLikeSelectProps } from "./trace-like-wrapper-DIsU2-KV.js";
9
9
  class RdoSelect extends BaseComponent {
10
10
  component = ComponentTypeEnum.RdoSelect;
11
11
  wrapperCmpConfig({ data }) {
@@ -4,7 +4,7 @@ import { pick } from "lodash-es";
4
4
  import "dayjs";
5
5
  import "@gct-paas/form-base";
6
6
  import "ant-design-vue";
7
- import { B as BaseComponent } from "./BaseComponent-BGVcCPEa.js";
7
+ import { B as BaseComponent } from "./BaseComponent-CWYhEmYn.js";
8
8
  class Diagonal extends BaseComponent {
9
9
  component = ComponentTypeEnum.Diagonal;
10
10
  wrapperCmpConfig({ data }) {
@@ -6,7 +6,7 @@ import dayjs from "dayjs";
6
6
  import { useFormBaseModal, DataSourceChangeEvent, getBuiltinContextFields, DataSources, FieldFills, closeAllFormBaseModal, FormBaseModalPlugin } from "@gct-paas/form-base";
7
7
  import * as Antd from "ant-design-vue";
8
8
  import { message, Modal, Empty, InputSearch, Cascader, ConfigProvider, Tooltip as Tooltip$1, Input, Tree, Transfer, Select, Tag, Form, AutoComplete, TimePicker, DatePicker, Textarea, TreeSelect, CheckboxGroup, Checkbox, Radio, RadioGroup, Alert } from "ant-design-vue";
9
- import { b as bindFormulaCacheInvalidation, c as currentParamsConfig, M as MAX_RUNTIME_SHEETS, a as MAX_RUNTIME_SHEET_TITLE_LENGTH, d as MULTI_SHEET_SCHEMA_VERSION, n as normalizeGridColumnWidth, g as getParseFormulaVarInfos, e as getBusinessFieldKey, f as createRuntimeDocumentV2, h as clampSealPosition, i as normalizeSealDiameter, j as normalizeFieldWidth, D as DEFAULT_BOOLEAN_FIELD_WIDTH, k as isCellAutoLineBreak, B as BorderTD, u as useFormModel, l as useFormTmplConfig, m as findFieldProfile, o as normalizeHistoricalBusinessRow, p as DeviceLinkTmplUtil, q as normalizeAIOcrTmpl, r as useWidgetStaticAttrs, s as useRuntimeInstanceServices, t as setSelectValidatorId, v as setSelectAnnotationId, w as useRuntimeRowState, x as getObjectBomMaterialLotQuery, y as buildObjectLotExtraQuery, z as resolveObjectFieldKeys, F as FormModelController, A as MaterialConsumptionPatternEnum, C as validateObjectBomForScan, E as resolveObjectBomEntry, G as runWithFillProduct, H as useNocodeFormWidget, I as applyConsumeObjectTraceChange, J as getObjectBomProductQuery, K as EMPTY_PRODUCT_VERSION_ID, L as normalizeHistoricalAutofillRow, N as readSealValue, O as isSealStamped, P as stampSealValue, Q as isValidSealValue, R as clearSealValue, S as parseRuntimeFieldPath, T as NCB_PROVIDE, U as calculateFormula, V as useStyles, W as useDependency, X as useFieldPresentation, Y as useRuntimeEditorFlusher, Z as RuntimeFormStateStore, _ as createRuntimeInstanceContext, $ as RuntimeInstanceRegistry, a0 as ScanParamType, a1 as RequiredQtyCalcRule, a2 as MBRender, a3 as MCRender, a4 as moveSealValue, a5 as DocumentPaper, a6 as DynamicTableAction, a7 as _sfc_main$6B } from "./dynamic-table-action-Be8JlL37.js";
9
+ import { b as bindFormulaCacheInvalidation, c as currentParamsConfig, M as MAX_RUNTIME_SHEETS, a as MAX_RUNTIME_SHEET_TITLE_LENGTH, d as MULTI_SHEET_SCHEMA_VERSION, n as normalizeGridColumnWidth, g as getParseFormulaVarInfos, e as getBusinessFieldKey, f as createRuntimeDocumentV2, h as clampSealPosition, i as normalizeSealDiameter, j as normalizeFieldWidth, D as DEFAULT_BOOLEAN_FIELD_WIDTH, k as isCellAutoLineBreak, B as BorderTD, u as useFormModel, l as useFormTmplConfig, m as findFieldProfile, o as normalizeHistoricalBusinessRow, p as DeviceLinkTmplUtil, q as normalizeAIOcrTmpl, r as useWidgetStaticAttrs, s as useRuntimeInstanceServices, t as setSelectValidatorId, v as setSelectAnnotationId, w as useRuntimeRowState, x as getObjectBomMaterialLotQuery, y as buildObjectLotExtraQuery, z as resolveObjectFieldKeys, F as FormModelController, A as MaterialConsumptionPatternEnum, C as validateObjectBomForScan, E as resolveObjectBomEntry, G as runWithFillProduct, H as useNocodeFormWidget, I as applyConsumeObjectTraceChange, J as getObjectBomProductQuery, K as EMPTY_PRODUCT_VERSION_ID, L as normalizeHistoricalAutofillRow, N as readSealValue, O as isSealStamped, P as stampSealValue, Q as isValidSealValue, R as clearSealValue, S as parseRuntimeFieldPath, T as NCB_PROVIDE, U as calculateFormula, V as useStyles, W as useDependency, X as useFieldPresentation, Y as useRuntimeEditorFlusher, Z as RuntimeFormStateStore, _ as createRuntimeInstanceContext, $ as RuntimeInstanceRegistry, a0 as ScanParamType, a1 as RequiredQtyCalcRule, a2 as MBRender, a3 as MCRender, a4 as moveSealValue, a5 as DocumentPaper, a6 as DynamicTableAction, a7 as _sfc_main$6B } from "./dynamic-table-action-D-e5iLib.js";
10
10
  import { S as SEARCH_SEVICE, u as useWebUpload, V as VersionSelect, C as CloseOutlined, E as EmptyImg$2, _ as _sfc_main$6A, P as ProductTypeEnum } from "./online-form-model-select.vue_vue_type_script_setup_true_name_online-form-model-select_lang-DcYth63e.js";
11
11
  import { HttpUtil } from "@gct-paas/api";
12
12
  import { Tooltip, Grid, Table, Column, Icon as Icon$2, Edit, Validator, VxeGrid } from "vxe-table";
@@ -398,17 +398,18 @@ class DateObjectRuntime {
398
398
  }
399
399
  }
400
400
  async function CALC_IS_QUALIFIED(key, value, paramList) {
401
- console.log("CALC_IS_QUALIFIED------", key, value, paramList);
401
+ console.log("CALC_IS_QUALIFIED------", key, value, paramList, "excel");
402
402
  if (!key || value == null) {
403
403
  return null;
404
404
  }
405
- const config2 = paramList?.find((e) => e.customFieldKey === key);
405
+ const config2 = paramList?.find((e) => e.customFieldKey === key || e.custom_field_key_ === key);
406
406
  if (!config2) return null;
407
- const { upperLimit, lowerLimit } = config2;
407
+ const upperLimit = config2.upperLimit || config2.upper_limit_;
408
+ const lowerLimit = config2.lowerLimit || config2.lower_limit_;
408
409
  if (lowerLimit == null || upperLimit == null) return null;
409
410
  const actual = Number(value);
410
- const min2 = Number(config2.lowerLimit);
411
- const max2 = Number(config2.upperLimit);
411
+ const min2 = Number(lowerLimit);
412
+ const max2 = Number(upperLimit);
412
413
  if (![actual, min2, max2].every(Number.isFinite)) return null;
413
414
  return actual >= min2 && actual <= max2;
414
415
  }
@@ -2015,7 +2016,7 @@ function openWindow(url, opt) {
2015
2016
  const FieldPropLabels = Object.entries(FIELD_PROP_LABEL_MAP);
2016
2017
  const FieldTypeLabels = Object.entries(FIELD_TYPE_LABEL_MAP);
2017
2018
  async function createWorkbook() {
2018
- const ExcelJs = (await import("./exceljs.min-W43at4dY.js").then((n) => n.e)).default;
2019
+ const ExcelJs = (await import("./exceljs.min-CyjI4C57.js").then((n) => n.e)).default;
2019
2020
  return new ExcelJs.Workbook();
2020
2021
  }
2021
2022
  class XlsxParser {
@@ -2343,28 +2344,28 @@ class XlsxParser {
2343
2344
  }
2344
2345
  function asyncImportClassModules() {
2345
2346
  const modules = /* @__PURE__ */ Object.assign({
2346
- "./_field_/auto-complete/index.ts": () => import("./index-T8osZobv.js").then((m) => m["default"]),
2347
- "./_field_/datepicker/index.ts": () => import("./index-BQXA1mwd.js").then((m) => m["default"]),
2348
- "./_field_/datetimepicker/index.ts": () => import("./index-CZBPaApP.js").then((m) => m["default"]),
2349
- "./_field_/department/index.ts": () => import("./index-Cmd9eaD8.js").then((m) => m["default"]),
2350
- "./_field_/enum-select/index.ts": () => import("./index-QjAhy-KC.js").then((m) => m["default"]),
2351
- "./_field_/input/index.ts": () => import("./index-BPWqx5U8.js").then((m) => m["default"]),
2352
- "./_field_/inputdouble/index.ts": () => import("./index-Bi2XvcZ1.js").then((m) => m["default"]),
2353
- "./_field_/inputnumber/index.ts": () => import("./index-CdXeZ5pv.js").then((m) => m["default"]),
2354
- "./_field_/rdo-select/index.ts": () => import("./index-DgUdDef6.js").then((m) => m["default"]),
2355
- "./_field_/seal/index.ts": () => import("./index-2bzUMftk.js").then((m) => m["default"]),
2356
- "./_field_/select/index.ts": () => import("./index-D0Fb9rtG.js").then((m) => m["default"]),
2357
- "./_field_/sign/index.ts": () => import("./index-CKqEZAs1.js").then((m) => m["default"]),
2358
- "./_field_/switch/index.ts": () => import("./index-iPetBbbY.js").then((m) => m["default"]),
2359
- "./_field_/textarea/index.ts": () => import("./index-C0WZCZCj.js").then((m) => m["default"]),
2360
- "./_field_/timepicker/index.ts": () => import("./index-BqIV-vij.js").then((m) => m["default"]),
2361
- "./_field_/upload-file/index.ts": () => import("./index-o5rZ0ZDF.js").then((m) => m["default"]),
2362
- "./_field_/upload-image/index.ts": () => import("./index-B2FagfyH.js").then((m) => m["default"]),
2363
- "./_field_/userpicker/index.ts": () => import("./index-BPrRTLOr.js").then((m) => m["default"]),
2347
+ "./_field_/auto-complete/index.ts": () => import("./index-SsQpzWJV.js").then((m) => m["default"]),
2348
+ "./_field_/datepicker/index.ts": () => import("./index-BTvFf_Od.js").then((m) => m["default"]),
2349
+ "./_field_/datetimepicker/index.ts": () => import("./index-CJZP3Y8A.js").then((m) => m["default"]),
2350
+ "./_field_/department/index.ts": () => import("./index-Cbfa0l4P.js").then((m) => m["default"]),
2351
+ "./_field_/enum-select/index.ts": () => import("./index-_lobWWTu.js").then((m) => m["default"]),
2352
+ "./_field_/input/index.ts": () => import("./index-WGbD1Pm6.js").then((m) => m["default"]),
2353
+ "./_field_/inputdouble/index.ts": () => import("./index-CxthKExE.js").then((m) => m["default"]),
2354
+ "./_field_/inputnumber/index.ts": () => import("./index-v-rdo6ME.js").then((m) => m["default"]),
2355
+ "./_field_/rdo-select/index.ts": () => import("./index-4b7WInws.js").then((m) => m["default"]),
2356
+ "./_field_/seal/index.ts": () => import("./index-CrNQ4fzl.js").then((m) => m["default"]),
2357
+ "./_field_/select/index.ts": () => import("./index-DgcqMrSq.js").then((m) => m["default"]),
2358
+ "./_field_/sign/index.ts": () => import("./index-DphJXlye.js").then((m) => m["default"]),
2359
+ "./_field_/switch/index.ts": () => import("./index-C03h1mdc.js").then((m) => m["default"]),
2360
+ "./_field_/textarea/index.ts": () => import("./index-DNODemiT.js").then((m) => m["default"]),
2361
+ "./_field_/timepicker/index.ts": () => import("./index-Ddsrowty.js").then((m) => m["default"]),
2362
+ "./_field_/upload-file/index.ts": () => import("./index-D9jgkb7e.js").then((m) => m["default"]),
2363
+ "./_field_/upload-image/index.ts": () => import("./index-CCAULEff.js").then((m) => m["default"]),
2364
+ "./_field_/userpicker/index.ts": () => import("./index-BCl6C48o.js").then((m) => m["default"]),
2364
2365
  "./_widget_/barcode/index.ts": () => import("./index-DK_goJxq.js").then((m) => m["default"]),
2365
- "./_widget_/combine-fields/index.ts": () => import("./index-Bln92UeX.js").then((m) => m["default"]),
2366
- "./_widget_/diagonal/index.ts": () => import("./index-CKMx2z9Y.js").then((m) => m["default"]),
2367
- "./_widget_/dyn-value/index.ts": () => import("./index-BuT2pRA0.js").then((m) => m["default"]),
2366
+ "./_widget_/combine-fields/index.ts": () => import("./index-DSTGDFEt.js").then((m) => m["default"]),
2367
+ "./_widget_/diagonal/index.ts": () => import("./index-8ar-Bsw7.js").then((m) => m["default"]),
2368
+ "./_widget_/dyn-value/index.ts": () => import("./index-DOKlk-Nf.js").then((m) => m["default"]),
2368
2369
  "./_widget_/image/index.ts": () => import("./index--BSSsMvy.js").then((m) => m["default"]),
2369
2370
  "./_widget_/line/index.ts": () => import("./index-DpCJBo9U.js").then((m) => m["default"]),
2370
2371
  "./_widget_/power/index.ts": () => import("./index-CjK1DtkT.js").then((m) => m["default"]),
@@ -2374,8 +2375,8 @@ function asyncImportClassModules() {
2374
2375
  "./_widget_/sub-table/index.ts": () => import("./index-CToveeX8.js").then((m) => m["default"]),
2375
2376
  "./_widget_/timediff/index.ts": () => import("./index-DHBkzfbv.js").then((m) => m["default"]),
2376
2377
  "./paper/index.ts": () => import("./index-CKCRmqHx.js").then((m) => m["default"]),
2377
- "./td/index.ts": () => import("./index-BRkEJrpd.js").then((m) => m["default"]),
2378
- "./tr/index.ts": () => import("./index-DE-6ATOb.js").then((m) => m["default"])
2378
+ "./td/index.ts": () => import("./index-DU5m20W6.js").then((m) => m["default"]),
2379
+ "./tr/index.ts": () => import("./index-D6YZXtdZ.js").then((m) => m["default"])
2379
2380
  });
2380
2381
  return modules;
2381
2382
  }
@@ -16062,7 +16063,7 @@ function asyncImportWidgetConfigList() {
16062
16063
  return widgetConfigList;
16063
16064
  }
16064
16065
  function asyncImportWidgetDesign() {
16065
- const modules = /* @__PURE__ */ Object.assign({ "../__cell_widgets__/cell-widget-design.vue": () => Promise.resolve().then(() => cellWidgetDesign), "../__cell_widgets__/seal/seal-design.vue": () => import("./seal-design-21xHvKov.js"), "./barcode/barcode-design.vue": () => import("./barcode-design-CaP1fm0_.js"), "./diagonal/diagonal-design.vue": () => import("./diagonal-design-hlxcD87A.js"), "./image/image-design.vue": () => import("./image-design-D0wFVrcv.js"), "./line/line-design.vue": () => Promise.resolve().then(() => lineDesign), "./pagination/pagination-design.vue": () => import("./pagination-design-DpqDw6Rf.js"), "./paper-widget-design.vue": () => import("./paper-widget-design-C71HXpQm.js"), "./power/power-design.vue": () => Promise.resolve().then(() => powerDesign), "./qrcode/qrcode-design.vue": () => import("./qrcode-design-C0Vw-EIt.js"), "./rangelimit/rangelimit-design.vue": () => Promise.resolve().then(() => rangelimitDesign), "./serialnumber/serialnumber-design.vue": () => import("./serialnumber-design-BvJSmeFY.js"), "./text/text-design.vue": () => import("./text-design-ZwhuY1Ts.js"), "./timediff/timediff-design.vue": () => import("./timediff-design-CWiKmA7W.js") });
16066
+ const modules = /* @__PURE__ */ Object.assign({ "../__cell_widgets__/cell-widget-design.vue": () => Promise.resolve().then(() => cellWidgetDesign), "../__cell_widgets__/seal/seal-design.vue": () => import("./seal-design-DjQNPduq.js"), "./barcode/barcode-design.vue": () => import("./barcode-design-l3rdfj4B.js"), "./diagonal/diagonal-design.vue": () => import("./diagonal-design-BPLxs9ji.js"), "./image/image-design.vue": () => import("./image-design-D0wFVrcv.js"), "./line/line-design.vue": () => Promise.resolve().then(() => lineDesign), "./pagination/pagination-design.vue": () => import("./pagination-design-DGqFvJxx.js"), "./paper-widget-design.vue": () => import("./paper-widget-design-DrRVelBu.js"), "./power/power-design.vue": () => Promise.resolve().then(() => powerDesign), "./qrcode/qrcode-design.vue": () => import("./qrcode-design-Ck2_tB4Q.js"), "./rangelimit/rangelimit-design.vue": () => Promise.resolve().then(() => rangelimitDesign), "./serialnumber/serialnumber-design.vue": () => import("./serialnumber-design-BvJSmeFY.js"), "./text/text-design.vue": () => import("./text-design-CPMzgWXN.js"), "./timediff/timediff-design.vue": () => import("./timediff-design-CWiKmA7W.js") });
16066
16067
  const widgetDesignMap = Object.keys(modules).reduce((map2, path) => {
16067
16068
  const mKey = path.match(/\/([a-z]+)-design\.vue$/)?.[1];
16068
16069
  if (mKey) {
@@ -56640,7 +56641,7 @@ const _sfc_main$3v = /* @__PURE__ */ defineComponent({
56640
56641
  }
56641
56642
  });
56642
56643
  function asyncImportWidgetProp() {
56643
- const modules = /* @__PURE__ */ Object.assign({ "./widget-barcode.vue": () => import("./widget-barcode-BCcosC1i.js"), "./widget-diagonal.vue": () => import("./widget-diagonal-CdCN3K4_.js"), "./widget-image.vue": () => import("./widget-image-BUN-gvL5.js"), "./widget-line.vue": () => import("./widget-line-FYyPMMZ4.js"), "./widget-pagination.vue": () => import("./widget-pagination-BtYkMtMd.js"), "./widget-power.vue": () => import("./widget-power-Cdgzng7w.js"), "./widget-qrcode.vue": () => import("./widget-qrcode-D5Og1U4s.js"), "./widget-rangelimit.vue": () => import("./widget-rangelimit-ByyBW9QW.js"), "./widget-serialnumber.vue": () => import("./widget-serialnumber-DfDvhdgO.js"), "./widget-text.vue": () => import("./widget-text-CoskH_Ql.js"), "./widget-timediff.vue": () => import("./widget-timediff-CZi5yk7E.js") });
56644
+ const modules = /* @__PURE__ */ Object.assign({ "./widget-barcode.vue": () => import("./widget-barcode-CHBw2stC.js"), "./widget-diagonal.vue": () => import("./widget-diagonal-NClGO5Rn.js"), "./widget-image.vue": () => import("./widget-image-_Nb1X3Xz.js"), "./widget-line.vue": () => import("./widget-line-Bipjn0YA.js"), "./widget-pagination.vue": () => import("./widget-pagination-B_Pse1Fh.js"), "./widget-power.vue": () => import("./widget-power-DKccfSH2.js"), "./widget-qrcode.vue": () => import("./widget-qrcode-D-9tBxgw.js"), "./widget-rangelimit.vue": () => import("./widget-rangelimit-BpOZXTEa.js"), "./widget-serialnumber.vue": () => import("./widget-serialnumber-zGQ-Z_UV.js"), "./widget-text.vue": () => import("./widget-text-CVJ1-3y3.js"), "./widget-timediff.vue": () => import("./widget-timediff-CBonTDnJ.js") });
56644
56645
  const widgetPropMap = Object.keys(modules).reduce((map2, path) => {
56645
56646
  const mKey = path.match(/\/widget-([a-z]+)\.vue$/)?.[1];
56646
56647
  if (mKey) {
@@ -74298,7 +74299,7 @@ const VuePdf = /* @__PURE__ */ defineComponent({
74298
74299
  }
74299
74300
  });
74300
74301
  const VueVideoPlayer = defineAsyncComponent(
74301
- () => import("./VueVideoPlayer-BjmIFrir.js")
74302
+ () => import("./VueVideoPlayer-D5zE_mXQ.js")
74302
74303
  );
74303
74304
  const _hoisted_1$18 = {
74304
74305
  key: 0,
@@ -95814,8 +95815,8 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
95814
95815
  printTask = (async () => {
95815
95816
  if (document.activeElement instanceof HTMLElement) document.activeElement.blur();
95816
95817
  await nextTick();
95817
- const { printRuntimeInstance } = await import("./print-runtime-instance-Dlj6q6O1.js");
95818
- const { default: renderer } = await import("./print-snapshot-renderer-CuY9mllK.js");
95818
+ const { printRuntimeInstance } = await import("./print-runtime-instance-D4Pj5Qhr.js");
95819
+ const { default: renderer } = await import("./print-snapshot-renderer-De-pf1K_.js");
95819
95820
  if (abort.signal.aborted) throw new Error("打印已取消");
95820
95821
  printRenderer.value = markRaw(renderer);
95821
95822
  await printRuntimeInstance(
@@ -4,7 +4,7 @@ import "vue";
4
4
  import "dayjs";
5
5
  import "@gct-paas/form-base";
6
6
  import "ant-design-vue";
7
- import { B as BaseComponent } from "./BaseComponent-BGVcCPEa.js";
7
+ import { B as BaseComponent } from "./BaseComponent-CWYhEmYn.js";
8
8
  class Userpicker extends BaseComponent {
9
9
  component = ComponentTypeEnum.Userpicker;
10
10
  wrapperCmpConfig({ data }) {
@@ -4,7 +4,7 @@ import "vue";
4
4
  import "dayjs";
5
5
  import "@gct-paas/form-base";
6
6
  import "ant-design-vue";
7
- import { B as BaseComponent } from "./BaseComponent-BGVcCPEa.js";
7
+ import { B as BaseComponent } from "./BaseComponent-CWYhEmYn.js";
8
8
  class Datepicker extends BaseComponent {
9
9
  component = ComponentTypeEnum.Datepicker;
10
10
  wrapperCmpConfig({ data }) {
@@ -1,12 +1,12 @@
1
1
  import { get, pick } from "lodash-es";
2
- import { j as normalizeFieldWidth, D as DEFAULT_BOOLEAN_FIELD_WIDTH } from "./dynamic-table-action-Be8JlL37.js";
2
+ import { j as normalizeFieldWidth, D as DEFAULT_BOOLEAN_FIELD_WIDTH } from "./dynamic-table-action-D-e5iLib.js";
3
3
  import { C as ComponentTypeEnum, O as Orientation, a5 as BooleanShowMode, a4 as LabelPosition, b6 as BindCmpStyleEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_8710052f_lang-DqGN_0-g.js";
4
4
  import "vue";
5
5
  import "dayjs";
6
6
  import "@gct-paas/form-base";
7
7
  import "ant-design-vue";
8
- import { g as getFieldWidget } from "./index-CjuxT4it.js";
9
- import { B as BaseComponent } from "./BaseComponent-BGVcCPEa.js";
8
+ import { g as getFieldWidget } from "./index-BBnCJHvC.js";
9
+ import { B as BaseComponent } from "./BaseComponent-CWYhEmYn.js";
10
10
  class Switch extends BaseComponent {
11
11
  component = ComponentTypeEnum.Switch;
12
12
  wrapperCmpConfig({ data }) {
@@ -4,7 +4,7 @@ import "vue";
4
4
  import "dayjs";
5
5
  import "@gct-paas/form-base";
6
6
  import "ant-design-vue";
7
- import { B as BaseComponent } from "./BaseComponent-BGVcCPEa.js";
7
+ import { B as BaseComponent } from "./BaseComponent-CWYhEmYn.js";
8
8
  class UploadImage extends BaseComponent {
9
9
  component = ComponentTypeEnum.UploadImage;
10
10
  wrapperCmpConfig({ data }) {
@@ -4,7 +4,7 @@ import "vue";
4
4
  import "dayjs";
5
5
  import "@gct-paas/form-base";
6
6
  import "ant-design-vue";
7
- import { B as BaseComponent } from "./BaseComponent-BGVcCPEa.js";
7
+ import { B as BaseComponent } from "./BaseComponent-CWYhEmYn.js";
8
8
  class DateTimepicker extends BaseComponent {
9
9
  component = ComponentTypeEnum.DateTimepicker;
10
10
  wrapperCmpConfig({ data }) {
@@ -4,7 +4,7 @@ import "vue";
4
4
  import "dayjs";
5
5
  import "@gct-paas/form-base";
6
6
  import "ant-design-vue";
7
- import { B as BaseComponent } from "./BaseComponent-BGVcCPEa.js";
7
+ import { B as BaseComponent } from "./BaseComponent-CWYhEmYn.js";
8
8
  class Department extends BaseComponent {
9
9
  component = ComponentTypeEnum.Department;
10
10
  wrapperCmpConfig({ data }) {
@@ -2,10 +2,10 @@ import { C as ComponentTypeEnum } from "./dynamic-table-action.vue_vue_type_styl
2
2
  import "vue";
3
3
  import "lodash-es";
4
4
  import "dayjs";
5
- import { i as normalizeSealDiameter } from "./dynamic-table-action-Be8JlL37.js";
5
+ import { i as normalizeSealDiameter } from "./dynamic-table-action-D-e5iLib.js";
6
6
  import "@gct-paas/form-base";
7
7
  import "ant-design-vue";
8
- import { B as BaseComponent } from "./BaseComponent-BGVcCPEa.js";
8
+ import { B as BaseComponent } from "./BaseComponent-CWYhEmYn.js";
9
9
  class Seal extends BaseComponent {
10
10
  component = ComponentTypeEnum.Seal;
11
11
  wrapperCmpConfig({ data }) {
@@ -4,7 +4,7 @@ import "vue";
4
4
  import "dayjs";
5
5
  import "@gct-paas/form-base";
6
6
  import "ant-design-vue";
7
- import { B as BaseComponent } from "./BaseComponent-BGVcCPEa.js";
7
+ import { B as BaseComponent } from "./BaseComponent-CWYhEmYn.js";
8
8
  class InputDouble extends BaseComponent {
9
9
  component = ComponentTypeEnum.InputDouble;
10
10
  wrapperCmpConfig({ data }) {
@@ -4,7 +4,7 @@ import { pick, has, isEmpty, cloneDeep, get } from "lodash-es";
4
4
  import "dayjs";
5
5
  import "@gct-paas/form-base";
6
6
  import "ant-design-vue";
7
- import { A as AsyncGctOnlineComponents } from "./index-CjuxT4it.js";
7
+ import { A as AsyncGctOnlineComponents } from "./index-BBnCJHvC.js";
8
8
  class Tr {
9
9
  component = "tr";
10
10
  wrapperCmpConfig({ data, parent }) {
@@ -4,7 +4,7 @@ import "vue";
4
4
  import "dayjs";
5
5
  import "@gct-paas/form-base";
6
6
  import "ant-design-vue";
7
- import { B as BaseComponent } from "./BaseComponent-BGVcCPEa.js";
7
+ import { B as BaseComponent } from "./BaseComponent-CWYhEmYn.js";
8
8
  class UploadFile extends BaseComponent {
9
9
  component = ComponentTypeEnum.UploadFile;
10
10
  wrapperCmpConfig({ data }) {
@@ -4,7 +4,7 @@ import "vue";
4
4
  import "dayjs";
5
5
  import "@gct-paas/form-base";
6
6
  import "ant-design-vue";
7
- import { B as BaseComponent } from "./BaseComponent-BGVcCPEa.js";
7
+ import { B as BaseComponent } from "./BaseComponent-CWYhEmYn.js";
8
8
  class Textarea extends BaseComponent {
9
9
  component = ComponentTypeEnum.Textarea;
10
10
  wrapperCmpConfig({ data }) {
@@ -4,7 +4,7 @@ import "vue";
4
4
  import "dayjs";
5
5
  import "@gct-paas/form-base";
6
6
  import "ant-design-vue";
7
- import { B as BaseComponent } from "./BaseComponent-BGVcCPEa.js";
7
+ import { B as BaseComponent } from "./BaseComponent-CWYhEmYn.js";
8
8
  class DynValue extends BaseComponent {
9
9
  component = ComponentTypeEnum.DynValue;
10
10
  wrapperCmpConfig({ data }) {
@@ -5,7 +5,7 @@ import { pick } from "lodash-es";
5
5
  import "dayjs";
6
6
  import "@gct-paas/form-base";
7
7
  import "ant-design-vue";
8
- import { n as normalizeSpacerWidth, g as getFieldWidget } from "./index-CjuxT4it.js";
8
+ import { n as normalizeSpacerWidth, g as getFieldWidget } from "./index-BBnCJHvC.js";
9
9
  class CombineFields {
10
10
  component = ComponentTypeEnum.CombineFields;
11
11
  wrapperCmpConfig({ data }) {
@@ -1,6 +1,6 @@
1
1
  import { pick, has, cloneDeep, get } from "lodash-es";
2
- import { A as AsyncGctOnlineComponents, g as getFieldWidget } from "./index-CjuxT4it.js";
3
- import { k as isCellAutoLineBreak } from "./dynamic-table-action-Be8JlL37.js";
2
+ import { A as AsyncGctOnlineComponents, g as getFieldWidget } from "./index-BBnCJHvC.js";
3
+ import { k as isCellAutoLineBreak } from "./dynamic-table-action-D-e5iLib.js";
4
4
  import { C as ComponentTypeEnum, H as CellType, q as PaperWidgeType } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_8710052f_lang-DqGN_0-g.js";
5
5
  import "vue";
6
6
  import "dayjs";
@@ -4,7 +4,7 @@ import "vue";
4
4
  import "dayjs";
5
5
  import "@gct-paas/form-base";
6
6
  import "ant-design-vue";
7
- import { B as BaseComponent } from "./BaseComponent-BGVcCPEa.js";
7
+ import { B as BaseComponent } from "./BaseComponent-CWYhEmYn.js";
8
8
  class Timepicker extends BaseComponent {
9
9
  component = ComponentTypeEnum.Timepicker;
10
10
  wrapperCmpConfig({ data }) {
@@ -4,8 +4,8 @@ import "vue";
4
4
  import "dayjs";
5
5
  import "@gct-paas/form-base";
6
6
  import "ant-design-vue";
7
- import { B as BaseComponent } from "./BaseComponent-BGVcCPEa.js";
8
- import { i as isSterilizationLotField, a as getSterilizationLotDisplayFields, b as isInventoryProductField, s as showDisplayAndSearchConfig, r as resolveQuickSearchConfig, I as INVENTORY_QUICK_SEARCH_FIELDS } from "./index-CjuxT4it.js";
7
+ import { B as BaseComponent } from "./BaseComponent-CWYhEmYn.js";
8
+ import { i as isSterilizationLotField, a as getSterilizationLotDisplayFields, b as isInventoryProductField, s as showDisplayAndSearchConfig, r as resolveQuickSearchConfig, I as INVENTORY_QUICK_SEARCH_FIELDS } from "./index-BBnCJHvC.js";
9
9
  class Select extends BaseComponent {
10
10
  component = ComponentTypeEnum.Select;
11
11
  wrapperCmpConfig({ data }) {
@@ -4,7 +4,7 @@ import "vue";
4
4
  import "dayjs";
5
5
  import "@gct-paas/form-base";
6
6
  import "ant-design-vue";
7
- import { B as BaseComponent } from "./BaseComponent-BGVcCPEa.js";
7
+ import { B as BaseComponent } from "./BaseComponent-CWYhEmYn.js";
8
8
  class Sign extends BaseComponent {
9
9
  component = ComponentTypeEnum.Sign;
10
10
  wrapperCmpConfig({ data }) {
@@ -4,8 +4,8 @@ import "lodash-es";
4
4
  import "dayjs";
5
5
  import "@gct-paas/form-base";
6
6
  import "ant-design-vue";
7
- import { B as BaseComponent } from "./BaseComponent-BGVcCPEa.js";
8
- import { g as getTraceLikeSelectProps } from "./trace-like-wrapper-Dy5yrPBO.js";
7
+ import { B as BaseComponent } from "./BaseComponent-CWYhEmYn.js";
8
+ import { g as getTraceLikeSelectProps } from "./trace-like-wrapper-DIsU2-KV.js";
9
9
  class AutoComplete extends BaseComponent {
10
10
  component = ComponentTypeEnum.AutoComplete;
11
11
  wrapperCmpConfig({ data }) {
@@ -4,7 +4,7 @@ import "vue";
4
4
  import "dayjs";
5
5
  import "@gct-paas/form-base";
6
6
  import "ant-design-vue";
7
- import { B as BaseComponent } from "./BaseComponent-BGVcCPEa.js";
7
+ import { B as BaseComponent } from "./BaseComponent-CWYhEmYn.js";
8
8
  class Input extends BaseComponent {
9
9
  component = ComponentTypeEnum.Input;
10
10
  wrapperCmpConfig({ data }) {
@@ -4,8 +4,8 @@ import "vue";
4
4
  import "dayjs";
5
5
  import "@gct-paas/form-base";
6
6
  import "ant-design-vue";
7
- import { B as BaseComponent } from "./BaseComponent-BGVcCPEa.js";
8
- import { g as getFieldWidget } from "./index-CjuxT4it.js";
7
+ import { B as BaseComponent } from "./BaseComponent-CWYhEmYn.js";
8
+ import { g as getFieldWidget } from "./index-BBnCJHvC.js";
9
9
  class EnumSelect extends BaseComponent {
10
10
  component = ComponentTypeEnum.EnumSelect;
11
11
  wrapperCmpConfig({ data }) {
@@ -4,7 +4,7 @@ import "vue";
4
4
  import "dayjs";
5
5
  import "@gct-paas/form-base";
6
6
  import "ant-design-vue";
7
- import { B as BaseComponent } from "./BaseComponent-BGVcCPEa.js";
7
+ import { B as BaseComponent } from "./BaseComponent-CWYhEmYn.js";
8
8
  class InputNumber extends BaseComponent {
9
9
  component = ComponentTypeEnum.Inputnumber;
10
10
  wrapperCmpConfig({ data }) {
package/dist/index.es.js CHANGED
@@ -1,4 +1,4 @@
1
- import { H, J, K, M, N, O, Q, U, W, B, X, Y, Z, $, a0, a1, a2, a3, a4, a5, a6, a7, a8, a9, x, aa, ab, y, ac, P, ad, ae, af, ag, ah, ai, aj, ak, al, am, an, ao, ap, aq, ar, as, at, au, av, aw, ax, ay, h } from "./index-CjuxT4it.js";
1
+ import { H, J, K, M, N, O, Q, U, W, B, X, Y, Z, $, a0, a1, a2, a3, a4, a5, a6, a7, a8, a9, x, aa, ab, y, ac, P, ad, ae, af, ag, ah, ai, aj, ak, al, am, an, ao, ap, aq, ar, as, at, au, av, aw, ax, ay, h } from "./index-BBnCJHvC.js";
2
2
  import { O as O2, _, V } from "./online-form-model-select.vue_vue_type_script_setup_true_name_online-form-model-select_lang-DcYth63e.js";
3
3
  import { DataSources } from "@gct-paas/form-base";
4
4
  export {
@@ -4,7 +4,7 @@ import "lodash-es";
4
4
  import "dayjs";
5
5
  import "@gct-paas/form-base";
6
6
  import "ant-design-vue";
7
- import { j as calcText } from "./index-CjuxT4it.js";
7
+ import { j as calcText } from "./index-BBnCJHvC.js";
8
8
  const _sfc_main = /* @__PURE__ */ defineComponent({
9
9
  __name: "pagination-design",
10
10
  props: {
@@ -0,0 +1,4 @@
1
+ import { k as _sfc_main } from "./index-BBnCJHvC.js";
2
+ export {
3
+ _sfc_main as default
4
+ };
@@ -1,4 +1,4 @@
1
- import { d as captureRuntimePrintSnapshot, w as waitPrintFonts, e as waitPrintImages, p as printPagesInIframe } from "./index-CjuxT4it.js";
1
+ import { d as captureRuntimePrintSnapshot, w as waitPrintFonts, e as waitPrintImages, p as printPagesInIframe } from "./index-BBnCJHvC.js";
2
2
  async function printRuntimeInstance(record, basicInfo, renderSnapshot, signal, options = {}) {
3
3
  if (!record.controller) throw new Error("表单尚未完成初始化,暂时无法打印");
4
4
  const snapshot = await record.controller.preparePrintSnapshot(
@@ -1,7 +1,7 @@
1
1
  import { defineComponent, provide, ref, onErrorCaptured, onBeforeUnmount, openBlock, createBlock, unref } from "vue";
2
- import { Z as RuntimeFormStateStore, $ as RuntimeInstanceRegistry, T as NCB_PROVIDE } from "./dynamic-table-action-Be8JlL37.js";
3
- import { S as SubTableCoreFactory, R as RuntimeInstanceController } from "./sub-table-factory-D3ln_RZX.js";
4
- import { _ as _sfc_main$1 } from "./index-CjuxT4it.js";
2
+ import { Z as RuntimeFormStateStore, $ as RuntimeInstanceRegistry, T as NCB_PROVIDE } from "./dynamic-table-action-D-e5iLib.js";
3
+ import { S as SubTableCoreFactory, R as RuntimeInstanceController } from "./sub-table-factory-DFQip2cb.js";
4
+ import { _ as _sfc_main$1 } from "./index-BBnCJHvC.js";
5
5
  const _sfc_main = /* @__PURE__ */ defineComponent({
6
6
  __name: "print-snapshot-renderer",
7
7
  props: {
@@ -1,5 +1,5 @@
1
1
  import { defineComponent, ref, computed, watch, openBlock, createElementBlock, normalizeClass, createElementVNode } from "vue";
2
- import { B as BwipCodeTypeOptions, l as loadBwip } from "./index-CjuxT4it.js";
2
+ import { B as BwipCodeTypeOptions, l as loadBwip } from "./index-BBnCJHvC.js";
3
3
  const _hoisted_1 = ["src"];
4
4
  const _sfc_main = /* @__PURE__ */ defineComponent({
5
5
  __name: "qrcode-design",
@@ -0,0 +1,4 @@
1
+ import { f as _sfc_main } from "./index-BBnCJHvC.js";
2
+ export {
3
+ _sfc_main as default
4
+ };
@@ -1,6 +1,6 @@
1
1
  import { defineComponent, computed, openBlock, createBlock, unref, normalizeClass } from "vue";
2
2
  import { ac as useNamespace, ad as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_8710052f_lang-DqGN_0-g.js";
3
- import { m as useDrop, T as TransferType, h as useModelFields, o as getFieldIcon, S as SingleDrop } from "./index-CjuxT4it.js";
3
+ import { m as useDrop, T as TransferType, h as useModelFields, o as getFieldIcon, S as SingleDrop } from "./index-BBnCJHvC.js";
4
4
  const _sfc_main = /* @__PURE__ */ defineComponent({
5
5
  __name: "single-field-drop",
6
6
  props: {
@@ -254,8 +254,10 @@ export declare class MaterialConsumeTableController {
254
254
  * qty 相关派生字段统一入口(改 qty_ / 扫码 / 删行 等都走这里)
255
255
  */
256
256
  updateDerivedQtyFields(): void;
257
+ /** 同步 BOM 主物料的需求数量单位,未关联 BOM 的行保留原单位。 */
258
+ private syncRequiredUomFromBom;
257
259
  /**
258
- * 设置默认值,如工序,需求数量/已消耗数量
260
+ * 设置默认值,如工序,需求数量/需求数量单位/已消耗数量
259
261
  * @param row
260
262
  */
261
263
  setDefaultValue(row: IMaterialConsumeData): void;
@@ -18,6 +18,8 @@ export interface IBomEntry {
18
18
  product_spec_: string;
19
19
  /** 单位用量 */
20
20
  qty_required_: number;
21
+ /** 主物料配置的需求数量单位 */
22
+ uom_id_?: string;
21
23
  /** 删除标记 */
22
24
  deleted_?: boolean;
23
25
  /** 上料方式 */
@@ -152,6 +152,7 @@ export declare const useAllSpreadSheets: () => {
152
152
  product_version_: string;
153
153
  product_spec_: string;
154
154
  qty_required_: number;
155
+ uom_id_?: string | undefined;
155
156
  deleted_?: boolean | undefined;
156
157
  type_: "by_lot" | "by_number" | "view";
157
158
  consume_enabled_?: boolean | undefined;
@@ -600,6 +601,7 @@ export declare const useAllSpreadSheets: () => {
600
601
  product_version_: string;
601
602
  product_spec_: string;
602
603
  qty_required_: number;
604
+ uom_id_?: string | undefined;
603
605
  deleted_?: boolean | undefined;
604
606
  type_: "by_lot" | "by_number" | "view";
605
607
  consume_enabled_?: boolean | undefined;
@@ -759,6 +761,7 @@ export declare const useAllSpreadSheets: () => {
759
761
  product_version_: string;
760
762
  product_spec_: string;
761
763
  qty_required_: number;
764
+ uom_id_?: string | undefined;
762
765
  deleted_?: boolean | undefined;
763
766
  type_: "by_lot" | "by_number" | "view";
764
767
  consume_enabled_?: boolean | undefined;
@@ -1050,6 +1053,7 @@ export declare const useAllSpreadSheets: () => {
1050
1053
  product_version_: string;
1051
1054
  product_spec_: string;
1052
1055
  qty_required_: number;
1056
+ uom_id_?: string | undefined;
1053
1057
  deleted_?: boolean | undefined;
1054
1058
  type_: "by_lot" | "by_number" | "view";
1055
1059
  consume_enabled_?: boolean | undefined;
@@ -1498,6 +1502,7 @@ export declare const useAllSpreadSheets: () => {
1498
1502
  product_version_: string;
1499
1503
  product_spec_: string;
1500
1504
  qty_required_: number;
1505
+ uom_id_?: string | undefined;
1501
1506
  deleted_?: boolean | undefined;
1502
1507
  type_: "by_lot" | "by_number" | "view";
1503
1508
  consume_enabled_?: boolean | undefined;
@@ -1657,6 +1662,7 @@ export declare const useAllSpreadSheets: () => {
1657
1662
  product_version_: string;
1658
1663
  product_spec_: string;
1659
1664
  qty_required_: number;
1665
+ uom_id_?: string | undefined;
1660
1666
  deleted_?: boolean | undefined;
1661
1667
  type_: "by_lot" | "by_number" | "view";
1662
1668
  consume_enabled_?: boolean | undefined;
@@ -1947,6 +1953,7 @@ export declare const useAllSpreadSheets: () => {
1947
1953
  product_version_: string;
1948
1954
  product_spec_: string;
1949
1955
  qty_required_: number;
1956
+ uom_id_?: string | undefined;
1950
1957
  deleted_?: boolean | undefined;
1951
1958
  type_: "by_lot" | "by_number" | "view";
1952
1959
  consume_enabled_?: boolean | undefined;
@@ -2144,6 +2151,7 @@ export declare const useAllSpreadSheets: () => {
2144
2151
  product_version_: string;
2145
2152
  product_spec_: string;
2146
2153
  qty_required_: number;
2154
+ uom_id_?: string | undefined;
2147
2155
  deleted_?: boolean | undefined;
2148
2156
  type_: "by_lot" | "by_number" | "view";
2149
2157
  consume_enabled_?: boolean | undefined;
@@ -2589,6 +2597,7 @@ export declare const useAllSpreadSheets: () => {
2589
2597
  product_version_: string;
2590
2598
  product_spec_: string;
2591
2599
  qty_required_: number;
2600
+ uom_id_?: string | undefined;
2592
2601
  deleted_?: boolean | undefined;
2593
2602
  type_: "by_lot" | "by_number" | "view";
2594
2603
  consume_enabled_?: boolean | undefined;
@@ -2748,6 +2757,7 @@ export declare const useAllSpreadSheets: () => {
2748
2757
  product_version_: string;
2749
2758
  product_spec_: string;
2750
2759
  qty_required_: number;
2760
+ uom_id_?: string | undefined;
2751
2761
  deleted_?: boolean | undefined;
2752
2762
  type_: "by_lot" | "by_number" | "view";
2753
2763
  consume_enabled_?: boolean | undefined;
@@ -3283,6 +3293,7 @@ export declare const useAllSpreadSheets: () => {
3283
3293
  product_version_: string;
3284
3294
  product_spec_: string;
3285
3295
  qty_required_: number;
3296
+ uom_id_?: string | undefined;
3286
3297
  deleted_?: boolean | undefined;
3287
3298
  type_: "by_lot" | "by_number" | "view";
3288
3299
  consume_enabled_?: boolean | undefined;
@@ -3442,6 +3453,7 @@ export declare const useAllSpreadSheets: () => {
3442
3453
  product_version_: string;
3443
3454
  product_spec_: string;
3444
3455
  qty_required_: number;
3456
+ uom_id_?: string | undefined;
3445
3457
  deleted_?: boolean | undefined;
3446
3458
  type_: "by_lot" | "by_number" | "view";
3447
3459
  consume_enabled_?: boolean | undefined;
@@ -527,6 +527,7 @@ export declare function useSpreadSheet(): {
527
527
  product_version_: string;
528
528
  product_spec_: string;
529
529
  qty_required_: number;
530
+ uom_id_?: string | undefined;
530
531
  deleted_?: boolean | undefined;
531
532
  type_: "by_lot" | "by_number" | "view";
532
533
  consume_enabled_?: boolean | undefined;
@@ -686,6 +687,7 @@ export declare function useSpreadSheet(): {
686
687
  product_version_: string;
687
688
  product_spec_: string;
688
689
  qty_required_: number;
690
+ uom_id_?: string | undefined;
689
691
  deleted_?: boolean | undefined;
690
692
  type_: "by_lot" | "by_number" | "view";
691
693
  consume_enabled_?: boolean | undefined;
@@ -1217,6 +1219,7 @@ export declare function useSpreadSheet(): {
1217
1219
  product_version_: string;
1218
1220
  product_spec_: string;
1219
1221
  qty_required_: number;
1222
+ uom_id_?: string | undefined;
1220
1223
  deleted_?: boolean | undefined;
1221
1224
  type_: "by_lot" | "by_number" | "view";
1222
1225
  consume_enabled_?: boolean | undefined;
@@ -1376,6 +1379,7 @@ export declare function useSpreadSheet(): {
1376
1379
  product_version_: string;
1377
1380
  product_spec_: string;
1378
1381
  qty_required_: number;
1382
+ uom_id_?: string | undefined;
1379
1383
  deleted_?: boolean | undefined;
1380
1384
  type_: "by_lot" | "by_number" | "view";
1381
1385
  consume_enabled_?: boolean | undefined;
@@ -1664,6 +1668,7 @@ export declare function useSpreadSheet(): {
1664
1668
  product_version_: string;
1665
1669
  product_spec_: string;
1666
1670
  qty_required_: number;
1671
+ uom_id_?: string | undefined;
1667
1672
  deleted_?: boolean | undefined;
1668
1673
  type_: "by_lot" | "by_number" | "view";
1669
1674
  consume_enabled_?: boolean | undefined;
@@ -1861,6 +1866,7 @@ export declare function useSpreadSheet(): {
1861
1866
  product_version_: string;
1862
1867
  product_spec_: string;
1863
1868
  qty_required_: number;
1869
+ uom_id_?: string | undefined;
1864
1870
  deleted_?: boolean | undefined;
1865
1871
  type_: "by_lot" | "by_number" | "view";
1866
1872
  consume_enabled_?: boolean | undefined;
@@ -2015,6 +2021,7 @@ export declare function useSpreadSheet(): {
2015
2021
  product_version_: string;
2016
2022
  product_spec_: string;
2017
2023
  qty_required_: number;
2024
+ uom_id_?: string | undefined;
2018
2025
  deleted_?: boolean | undefined;
2019
2026
  type_: "by_lot" | "by_number" | "view";
2020
2027
  consume_enabled_?: boolean | undefined;
@@ -40,6 +40,7 @@ export declare function useObjectInit(): {
40
40
  product_version_: string;
41
41
  product_spec_: string;
42
42
  qty_required_: number;
43
+ uom_id_?: string | undefined;
43
44
  deleted_?: boolean | undefined;
44
45
  type_: "by_lot" | "by_number" | "view";
45
46
  consume_enabled_?: boolean | undefined;
@@ -396,6 +396,7 @@ export declare function useDynamicSubTablePanel(): {
396
396
  product_version_: string;
397
397
  product_spec_: string;
398
398
  qty_required_: number;
399
+ uom_id_?: string | undefined;
399
400
  deleted_?: boolean | undefined;
400
401
  type_: "by_lot" | "by_number" | "view";
401
402
  consume_enabled_?: boolean | undefined;
@@ -555,6 +556,7 @@ export declare function useDynamicSubTablePanel(): {
555
556
  product_version_: string;
556
557
  product_spec_: string;
557
558
  qty_required_: number;
559
+ uom_id_?: string | undefined;
558
560
  deleted_?: boolean | undefined;
559
561
  type_: "by_lot" | "by_number" | "view";
560
562
  consume_enabled_?: boolean | undefined;
@@ -1086,6 +1088,7 @@ export declare function useDynamicSubTablePanel(): {
1086
1088
  product_version_: string;
1087
1089
  product_spec_: string;
1088
1090
  qty_required_: number;
1091
+ uom_id_?: string | undefined;
1089
1092
  deleted_?: boolean | undefined;
1090
1093
  type_: "by_lot" | "by_number" | "view";
1091
1094
  consume_enabled_?: boolean | undefined;
@@ -1245,6 +1248,7 @@ export declare function useDynamicSubTablePanel(): {
1245
1248
  product_version_: string;
1246
1249
  product_spec_: string;
1247
1250
  qty_required_: number;
1251
+ uom_id_?: string | undefined;
1248
1252
  deleted_?: boolean | undefined;
1249
1253
  type_: "by_lot" | "by_number" | "view";
1250
1254
  consume_enabled_?: boolean | undefined;
@@ -1458,6 +1462,7 @@ export declare function useDynamicSubTablePanel(): {
1458
1462
  product_version_: string;
1459
1463
  product_spec_: string;
1460
1464
  qty_required_: number;
1465
+ uom_id_?: string | undefined;
1461
1466
  deleted_?: boolean | undefined;
1462
1467
  type_: "by_lot" | "by_number" | "view";
1463
1468
  consume_enabled_?: boolean | undefined;
@@ -1616,6 +1621,7 @@ export declare function useDynamicSubTablePanel(): {
1616
1621
  product_version_: string;
1617
1622
  product_spec_: string;
1618
1623
  qty_required_: number;
1624
+ uom_id_?: string | undefined;
1619
1625
  deleted_?: boolean | undefined;
1620
1626
  type_: "by_lot" | "by_number" | "view";
1621
1627
  consume_enabled_?: boolean | undefined;
@@ -1,5 +1,5 @@
1
1
  import { shallowReactive } from "vue";
2
- import { b2 as SubTableActionMenuTypeEnum, b3 as getMenuByAction, b4 as SubTableActionEnum, b5 as resolveScanFillData, aJ as SubTableCore, b6 as buildDefaultMapFromProfile, b7 as buildFieldStatusFromProfile, b8 as getRowHandlersForFieldChange, b9 as getInsertSubMenu, ba as resolveScanAdjustType, bb as resolveScanQty, bc as toDateOnly, bd as hasSubtableBusinessData, be as getCopySubMenu, bf as resolveScanParsedValue, bg as isProductBatchEmptyRow } from "./dynamic-table-action-Be8JlL37.js";
2
+ import { b2 as SubTableActionMenuTypeEnum, b3 as getMenuByAction, b4 as SubTableActionEnum, b5 as resolveScanFillData, aJ as SubTableCore, b6 as buildDefaultMapFromProfile, b7 as buildFieldStatusFromProfile, b8 as getRowHandlersForFieldChange, b9 as getInsertSubMenu, ba as resolveScanAdjustType, bb as resolveScanQty, bc as toDateOnly, bd as hasSubtableBusinessData, be as getCopySubMenu, bf as resolveScanParsedValue, bg as isProductBatchEmptyRow } from "./dynamic-table-action-D-e5iLib.js";
3
3
  import { p as api, cC as F$1, aP as resolveLotDisplayLabel, cD as FILL_FROM_TARGET_PRODUCT_OPTION, b1 as resolveLotRecordByValue, b5 as ProductionIdentificationTypeEnum, a$ as buildLotSnListQuery, cE as F$2, cF as SCAN_ROW_CONTENT_FIELDS, cG as F$3, cH as runRowHandler, c as getProfileByTableType, b as isBusinessSubTableProfile, cI as F$4, cJ as F$5, cK as FILL_FROM_SOURCE_PRODUCT_OPTION, cL as FILL_FROM_TARGET_MATERIAL_NO_OPTION, cM as FILL_FROM_INVENTORY_OPTION, cN as FILL_FROM_PART_OPTION, cO as FILL_FROM_INVENTORY_OPTION$1, cP as TABLE_TYPE, cQ as FILL_FROM_INVENTORY_OPTION$2, bb as F$6, cR as INVENTORY_BASE_FIELDS, cS as resolveGroupByWarehouse, cT as AUTO_LOAD_READONLY_SELECT_FIELDS, ba as STOCKTAKE_DIMENSION, b7 as getParseRuleInfo, cU as buildFillFromInventoryOption, b_ as calcFillData, cV as resolveStocktakeInventoryApi, b8 as getParseRuleValue, cW as F$7, cX as FILL_FROM_INVENTORY_OPTION$3, cY as LOCKED_INPUT_FIELDS, c4 as extractKeywordFromQueryData, cZ as composeProductionLotListQuery, c_ as F$8, c$ as isProductManuallyEditable, d0 as applyFillFromMfgOrderOption, d1 as applyFillFromOption$1, d2 as applyFillFromProductOption, a_ as LOT_CONTAINER_ROLE, d3 as MATERIAL_CONTAINER_ID, d4 as F$9, d5 as PRODUCT_QUICK_SEARCH_FIELDS, d6 as PRODUCT_QUICK_SEARCH_EXP, d7 as isProductManuallyEditable$1, d8 as applyFillFromMaterialNoOption, d9 as applyFillFromProductOption$1, da as F$a, db as FILL_FROM_INVENTORY_OPTION$4, a0 as FormTypeEnum, aK as transformUtils, h as SubTableType } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_8710052f_lang-DqGN_0-g.js";
4
4
  import { has, merge } from "lodash-es";
5
5
  class RuntimeInstanceController {
@@ -4,7 +4,7 @@ import { X as PaperWidgeValueType, ad as _export_sfc } from "./dynamic-table-act
4
4
  import "dayjs";
5
5
  import "@gct-paas/form-base";
6
6
  import "ant-design-vue";
7
- import { u as useSpreadSheet, h as useModelFields } from "./index-CjuxT4it.js";
7
+ import { u as useSpreadSheet, h as useModelFields } from "./index-BBnCJHvC.js";
8
8
  const _hoisted_1 = { class: "ws-pre-wrap" };
9
9
  const _sfc_main = /* @__PURE__ */ defineComponent({
10
10
  __name: "text-design",
@@ -4,7 +4,7 @@ import "vue";
4
4
  import "dayjs";
5
5
  import "@gct-paas/form-base";
6
6
  import "ant-design-vue";
7
- import { i as isSterilizationLotField, a as getSterilizationLotDisplayFields, s as showDisplayAndSearchConfig, r as resolveQuickSearchConfig } from "./index-CjuxT4it.js";
7
+ import { i as isSterilizationLotField, a as getSterilizationLotDisplayFields, s as showDisplayAndSearchConfig, r as resolveQuickSearchConfig } from "./index-BBnCJHvC.js";
8
8
  function getTraceLikeSelectProps(data) {
9
9
  const isSubtableMfgOrder = !!data.info.subModelKey && (data.info.bizType === FIELD_TYPE.MFG_ORDER || data.info.fieldType === FIELD_TYPE.MFG_ORDER);
10
10
  const displayFields = (() => {
@@ -1,6 +1,6 @@
1
1
  import { defineComponent, computed, resolveComponent, openBlock, createElementBlock, createVNode, withCtx, Fragment, renderList, createBlock, createTextVNode, toDisplayString, createElementVNode, unref, createCommentVNode } from "vue";
2
2
  import { pick } from "lodash-es";
3
- import { h as useModelFields, u as useSpreadSheet, m as useDrop, P as PanelType, T as TransferType, V as ValueEditorFieldDropBoxId, S as SingleDrop, o as getFieldIcon } from "./index-CjuxT4it.js";
3
+ import { h as useModelFields, u as useSpreadSheet, m as useDrop, P as PanelType, T as TransferType, V as ValueEditorFieldDropBoxId, S as SingleDrop, o as getFieldIcon } from "./index-BBnCJHvC.js";
4
4
  import { X as PaperWidgeValueType, aw as ExpressionModeEnum, ay as ExpressionTabEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_8710052f_lang-DqGN_0-g.js";
5
5
  import "dayjs";
6
6
  import "@gct-paas/form-base";
@@ -1,6 +1,6 @@
1
1
  import { defineComponent, computed, resolveComponent, openBlock, createElementBlock, Fragment, createVNode, withCtx, renderList, createBlock, createTextVNode, toDisplayString, createElementVNode } from "vue";
2
- import { u as useSpreadSheet, B as BwipCodeTypeOptions, F as FormItem } from "./index-CjuxT4it.js";
3
- import { _ as _sfc_main$1 } from "./value-editor.vue_vue_type_style_index_0_lang-DapCZObe.js";
2
+ import { u as useSpreadSheet, B as BwipCodeTypeOptions, F as FormItem } from "./index-BBnCJHvC.js";
3
+ import { _ as _sfc_main$1 } from "./value-editor.vue_vue_type_style_index_0_lang-Dv47SN2Z.js";
4
4
  import { q as PaperWidgeType } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_8710052f_lang-DqGN_0-g.js";
5
5
  import "lodash-es";
6
6
  import "dayjs";
@@ -1,11 +1,11 @@
1
1
  import { defineComponent, computed, resolveComponent, openBlock, createBlock, normalizeClass, unref, withCtx, createElementVNode, toDisplayString, createVNode, watch, createElementBlock, Fragment, createCommentVNode } from "vue";
2
- import { F as FormItem, q as SelectEx } from "./index-CjuxT4it.js";
2
+ import { F as FormItem, q as SelectEx } from "./index-BBnCJHvC.js";
3
3
  import { defaults } from "lodash-es";
4
4
  import { ac as useNamespace, F as FIELD_TYPE, ad as _export_sfc, am as DiagonalDirection, aq as DiagonalVertex, cl as migrateDiagonalDirectionToVertex } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_8710052f_lang-DqGN_0-g.js";
5
5
  import "dayjs";
6
6
  import "@gct-paas/form-base";
7
7
  import { message } from "ant-design-vue";
8
- import { S as SingleFieldDrop } from "./single-field-drop-DDAoyRO7.js";
8
+ import { S as SingleFieldDrop } from "./single-field-drop-Q1xjuTpb.js";
9
9
  const _sfc_main$1 = /* @__PURE__ */ defineComponent({
10
10
  __name: "diagonal-name-editor",
11
11
  props: {
@@ -1,5 +1,5 @@
1
1
  import { defineComponent, reactive, ref, computed, watchEffect, createVNode, unref, createTextVNode, render, resolveComponent, openBlock, createElementBlock, Fragment, withCtx, createElementVNode, withModifiers, createCommentVNode, toDisplayString, renderList, createBlock } from "vue";
2
- import { L as LeftOutlined, R as RightOutlined, t as isClient, u as useSpreadSheet, F as FormItem, v as ImgParser } from "./index-CjuxT4it.js";
2
+ import { L as LeftOutlined, R as RightOutlined, t as isClient, u as useSpreadSheet, F as FormItem, v as ImgParser } from "./index-BBnCJHvC.js";
3
3
  import { S as SizeEditor } from "./size-editor-CeB5cXTJ.js";
4
4
  import { message } from "ant-design-vue";
5
5
  import { an as WidgetImageSizeMode, ad as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_8710052f_lang-DqGN_0-g.js";
@@ -4,7 +4,7 @@ import "lodash-es";
4
4
  import "dayjs";
5
5
  import "@gct-paas/form-base";
6
6
  import "ant-design-vue";
7
- import { F as FormItem, x as LineStyleOptions, C as ColorPicker } from "./index-CjuxT4it.js";
7
+ import { F as FormItem, x as LineStyleOptions, C as ColorPicker } from "./index-BBnCJHvC.js";
8
8
  const _hoisted_1 = { class: "ks-row-middle" };
9
9
  const _sfc_main = /* @__PURE__ */ defineComponent({
10
10
  __name: "widget-line",
@@ -4,10 +4,10 @@ import "lodash-es";
4
4
  import "dayjs";
5
5
  import "@gct-paas/form-base";
6
6
  import "ant-design-vue";
7
- import { F as FormItem, y as PaginationFormatOptions } from "./index-CjuxT4it.js";
7
+ import { F as FormItem, y as PaginationFormatOptions } from "./index-BBnCJHvC.js";
8
8
  import { S as SizeEditor } from "./size-editor-CeB5cXTJ.js";
9
9
  import { A as AlignEditor } from "./align-editor-C2fibWP5.js";
10
- import { F as FontEditor } from "./font-editor-D56ClIpW.js";
10
+ import { F as FontEditor } from "./font-editor-CGSk5kFM.js";
11
11
  const _hoisted_1 = { class: "pl-6px" };
12
12
  const _hoisted_2 = { class: "pl-6px" };
13
13
  const DefaultCustomFormat = "Page ${no} / ${total}";
@@ -1,6 +1,6 @@
1
1
  import { defineComponent, computed, resolveComponent, openBlock, createElementBlock, normalizeClass, unref, createVNode, withCtx, createTextVNode, toDisplayString } from "vue";
2
- import { u as useSpreadSheet, E as useReverseModeling, F as FormItem } from "./index-CjuxT4it.js";
3
- import { S as SingleFieldDrop } from "./single-field-drop-DDAoyRO7.js";
2
+ import { u as useSpreadSheet, E as useReverseModeling, F as FormItem } from "./index-BBnCJHvC.js";
3
+ import { S as SingleFieldDrop } from "./single-field-drop-Q1xjuTpb.js";
4
4
  import { F as FIELD_TYPE, ac as useNamespace, ad as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_8710052f_lang-DqGN_0-g.js";
5
5
  import { message } from "ant-design-vue";
6
6
  import "lodash-es";
@@ -1,6 +1,6 @@
1
1
  import { defineComponent, computed, resolveComponent, openBlock, createElementBlock, Fragment, createVNode, withCtx, renderList, createBlock, createTextVNode, toDisplayString } from "vue";
2
- import { u as useSpreadSheet, B as BwipCodeTypeOptions, F as FormItem } from "./index-CjuxT4it.js";
3
- import { _ as _sfc_main$1 } from "./value-editor.vue_vue_type_style_index_0_lang-DapCZObe.js";
2
+ import { u as useSpreadSheet, B as BwipCodeTypeOptions, F as FormItem } from "./index-BBnCJHvC.js";
3
+ import { _ as _sfc_main$1 } from "./value-editor.vue_vue_type_style_index_0_lang-Dv47SN2Z.js";
4
4
  import { q as PaperWidgeType } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_8710052f_lang-DqGN_0-g.js";
5
5
  import "lodash-es";
6
6
  import "dayjs";
@@ -1,6 +1,6 @@
1
1
  import { defineComponent, computed, resolveComponent, openBlock, createElementBlock, normalizeClass, unref, Fragment, renderList, createVNode, withCtx } from "vue";
2
- import { F as FormItem } from "./index-CjuxT4it.js";
3
- import { S as SingleFieldDrop } from "./single-field-drop-DDAoyRO7.js";
2
+ import { F as FormItem } from "./index-BBnCJHvC.js";
3
+ import { S as SingleFieldDrop } from "./single-field-drop-Q1xjuTpb.js";
4
4
  import { F as FIELD_TYPE, ac as useNamespace, ad as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_8710052f_lang-DqGN_0-g.js";
5
5
  import { message } from "ant-design-vue";
6
6
  const _sfc_main = /* @__PURE__ */ defineComponent({
@@ -1,5 +1,5 @@
1
1
  import { defineComponent, computed, resolveComponent, openBlock, createElementBlock, Fragment, createVNode, withCtx } from "vue";
2
- import { F as FormItem } from "./index-CjuxT4it.js";
2
+ import { F as FormItem } from "./index-BBnCJHvC.js";
3
3
  const _sfc_main = /* @__PURE__ */ defineComponent({
4
4
  __name: "widget-serialnumber",
5
5
  props: {
@@ -1,9 +1,9 @@
1
1
  import { defineComponent, computed, openBlock, createElementBlock, Fragment, createVNode, withCtx, createElementVNode } from "vue";
2
- import { u as useSpreadSheet, F as FormItem } from "./index-CjuxT4it.js";
3
- import { _ as _sfc_main$1 } from "./value-editor.vue_vue_type_style_index_0_lang-DapCZObe.js";
2
+ import { u as useSpreadSheet, F as FormItem } from "./index-BBnCJHvC.js";
3
+ import { _ as _sfc_main$1 } from "./value-editor.vue_vue_type_style_index_0_lang-Dv47SN2Z.js";
4
4
  import { S as SizeEditor } from "./size-editor-CeB5cXTJ.js";
5
5
  import { A as AlignEditor } from "./align-editor-C2fibWP5.js";
6
- import { F as FontEditor } from "./font-editor-D56ClIpW.js";
6
+ import { F as FontEditor } from "./font-editor-CGSk5kFM.js";
7
7
  const _hoisted_1 = { class: "pl-6px" };
8
8
  const _hoisted_2 = { class: "pl-6px" };
9
9
  const _sfc_main = /* @__PURE__ */ defineComponent({
@@ -1,5 +1,5 @@
1
1
  import { defineComponent, computed, watch, resolveComponent, openBlock, createElementBlock, Fragment, createVNode, withCtx, renderList, unref, createBlock, createTextVNode, toDisplayString, createElementVNode } from "vue";
2
- import { u as useSpreadSheet, h as useModelFields, F as FormItem } from "./index-CjuxT4it.js";
2
+ import { u as useSpreadSheet, h as useModelFields, F as FormItem } from "./index-BBnCJHvC.js";
3
3
  import { F as FIELD_TYPE, ap as TimeDiffFormat } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_8710052f_lang-DqGN_0-g.js";
4
4
  import "lodash-es";
5
5
  import "dayjs";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gct-paas/excel",
3
- "version": "0.1.40-beta.20",
3
+ "version": "0.1.40-beta.21",
4
4
  "description": "GCT Excel online form rendering",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -1,4 +0,0 @@
1
- import { k as _sfc_main } from "./index-CjuxT4it.js";
2
- export {
3
- _sfc_main as default
4
- };
@@ -1,4 +0,0 @@
1
- import { f as _sfc_main } from "./index-CjuxT4it.js";
2
- export {
3
- _sfc_main as default
4
- };