@gct-paas/excel 0.1.39-beta.47 → 0.1.39-beta.48

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (65) hide show
  1. package/dist/{BaseComponent-B4z-0IvX.js → BaseComponent-CkMnlfWd.js} +1 -1
  2. package/dist/{barcode-design-CkIF3AdC.js → barcode-design-BNIpxEzc.js} +1 -1
  3. package/dist/base/index.es.js +4 -4
  4. package/dist/{diagonal-design-CBGnh101.js → diagonal-design-6V7cgcn8.js} +1 -1
  5. package/dist/{dynamic-table-action-ZAmTIvcp.js → dynamic-table-action-BP2qzgdK.js} +16 -1
  6. package/dist/excel.css +2 -2
  7. package/dist/{exceljs.min-BdYR3omv.js → exceljs.min-U1z8AVud.js} +1 -1
  8. package/dist/{font-editor-C40nR0g-.js → font-editor-CSzJYS59.js} +1 -1
  9. package/dist/{index-BhwTs4qO.js → index-B3YLauBl.js} +1 -1
  10. package/dist/{index-9bqJP9tH.js → index-BB53z_-a.js} +1 -1
  11. package/dist/{index-DxBNlXoA.js → index-BJJhezsz.js} +1 -1
  12. package/dist/{index-CJNVJa0j.js → index-BcC37bc7.js} +1 -1
  13. package/dist/{index-CSl64wAM.js → index-Bv0fTe8J.js} +2 -2
  14. package/dist/{index-YqLRgg7Y.js → index-CNRHbj9w.js} +1 -1
  15. package/dist/{index-CwFhzKly.js → index-CUGjf_Fd.js} +1 -1
  16. package/dist/{index-DHtjlchw.js → index-CbuzkPgj.js} +153 -134
  17. package/dist/{index-6v9F3V5a.js → index-CpkuDCgX.js} +2 -2
  18. package/dist/{index-BTUEzj0j.js → index-CySEm8X9.js} +1 -1
  19. package/dist/{index-BJg7lRhl.js → index-D3hjkCfG.js} +1 -1
  20. package/dist/{index-BYLb70Wd.js → index-DCo1rBlu.js} +1 -1
  21. package/dist/{index-CLFvRsjI.js → index-DhqQJJs2.js} +1 -1
  22. package/dist/{index-jzjOcKYl.js → index-DnQudjER.js} +1 -1
  23. package/dist/{index-r-T7O_NL.js → index-DqfszGp-.js} +1 -1
  24. package/dist/{index-BQMXQ1X0.js → index-DvdGxeYk.js} +1 -1
  25. package/dist/{index-CRyXfD1E.js → index-DzTuqBBO.js} +1 -1
  26. package/dist/{index-CbkZXECS.js → index-GaM0ytTB.js} +2 -2
  27. package/dist/{index-DPrC3u3G.js → index-Kqrb380-.js} +2 -2
  28. package/dist/{index-BJOhGaZ4.js → index-OPfmMfF_.js} +1 -1
  29. package/dist/{index-C3YwX02a.js → index-Tipg-sO8.js} +1 -1
  30. package/dist/{index-BMTx6T5g.js → index-YkLm0Y3J.js} +2 -2
  31. package/dist/{index-Dp514iQN.js → index-xYZbueZ3.js} +2 -2
  32. package/dist/{index-C8ZmRWFO.js → index-yFn4abw6.js} +3 -3
  33. package/dist/index.es.js +1 -1
  34. package/dist/{pagination-design-DvuhHy_g.js → pagination-design-76z2fn1w.js} +1 -1
  35. package/dist/paper-widget-design-DUDTSxnG.js +4 -0
  36. package/dist/{print-runtime-instance-CjKnPN_O.js → print-runtime-instance-DY_6z5Uq.js} +1 -1
  37. package/dist/{print-snapshot-renderer-Cjtv_a17.js → print-snapshot-renderer-CqQ4eP1O.js} +3 -3
  38. package/dist/{qrcode-design-Bmz1I857.js → qrcode-design-U0jIXrqb.js} +1 -1
  39. package/dist/seal-design-Dw48cvB6.js +4 -0
  40. package/dist/{single-field-drop-DME3ih-W.js → single-field-drop-DbtML4gi.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 +9 -1
  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/src/online-form/src/views/designer/types/index.d.ts +2 -0
  48. package/dist/{sub-table-factory-9_e9NXAk.js → sub-table-factory-yVCjr6FI.js} +1 -1
  49. package/dist/{text-design-CCgUDgoT.js → text-design-dXb2-ItC.js} +1 -1
  50. package/dist/{trace-like-wrapper-BUq72oS3.js → trace-like-wrapper-Buykmr-D.js} +1 -1
  51. package/dist/{value-editor.vue_vue_type_style_index_0_lang-WNhb31ms.js → value-editor.vue_vue_type_style_index_0_lang-61EKSPm5.js} +1 -1
  52. package/dist/{widget-barcode-BZnKdE1G.js → widget-barcode-CxZ9Ttpq.js} +2 -2
  53. package/dist/{widget-diagonal-BklDdpSM.js → widget-diagonal-CdgIjqi5.js} +2 -2
  54. package/dist/{widget-image-C_UvhchS.js → widget-image-DbxFfFj0.js} +1 -1
  55. package/dist/{widget-line-DY28Dncn.js → widget-line-CLlxgXXK.js} +1 -1
  56. package/dist/{widget-pagination-CfYnms-D.js → widget-pagination-BVVkO_wj.js} +2 -2
  57. package/dist/{widget-power-CoFnc1vr.js → widget-power-BO7U8ObS.js} +2 -2
  58. package/dist/{widget-qrcode-CKMRpndx.js → widget-qrcode-BzgEPny7.js} +2 -2
  59. package/dist/{widget-rangelimit-yZ0Omj6J.js → widget-rangelimit-Bl3SsD07.js} +2 -2
  60. package/dist/{widget-serialnumber-SYVYekOJ.js → widget-serialnumber-DfZfCGyk.js} +1 -1
  61. package/dist/{widget-text-D6vtAr4i.js → widget-text-BmuYvZG5.js} +3 -3
  62. package/dist/{widget-timediff-FSvEPH5s.js → widget-timediff-hOTu4X-j.js} +1 -1
  63. package/package.json +1 -1
  64. package/dist/paper-widget-design-CAz9s6te.js +0 -4
  65. package/dist/seal-design-BDuIghlX.js +0 -4
@@ -3,7 +3,7 @@ import { C as ComponentTypeEnum } from "./dynamic-table-action.vue_vue_type_styl
3
3
  import "vue";
4
4
  import "dayjs";
5
5
  import "ant-design-vue";
6
- import { B as BaseComponent } from "./BaseComponent-B4z-0IvX.js";
6
+ import { B as BaseComponent } from "./BaseComponent-CkMnlfWd.js";
7
7
  class Userpicker extends BaseComponent {
8
8
  component = ComponentTypeEnum.Userpicker;
9
9
  wrapperCmpConfig({ data }) {
@@ -3,7 +3,7 @@ import { C as ComponentTypeEnum, au as RangeCompareOp, at as RangeValidateMode }
3
3
  import "vue";
4
4
  import "dayjs";
5
5
  import "ant-design-vue";
6
- import { B as BaseComponent } from "./BaseComponent-B4z-0IvX.js";
6
+ import { B as BaseComponent } from "./BaseComponent-CkMnlfWd.js";
7
7
  class Datepicker extends BaseComponent {
8
8
  component = ComponentTypeEnum.Datepicker;
9
9
  wrapperCmpConfig({ data }) {
@@ -3,7 +3,7 @@ import { C as ComponentTypeEnum, av as DecimalDisplayMode, au as RangeCompareOp,
3
3
  import "vue";
4
4
  import "dayjs";
5
5
  import "ant-design-vue";
6
- import { B as BaseComponent } from "./BaseComponent-B4z-0IvX.js";
6
+ import { B as BaseComponent } from "./BaseComponent-CkMnlfWd.js";
7
7
  class InputNumber extends BaseComponent {
8
8
  component = ComponentTypeEnum.Inputnumber;
9
9
  wrapperCmpConfig({ data }) {
@@ -3,7 +3,7 @@ import { C as ComponentTypeEnum, aw as ImageDisplayModeEnum } from "./dynamic-ta
3
3
  import "vue";
4
4
  import "dayjs";
5
5
  import "ant-design-vue";
6
- import { B as BaseComponent } from "./BaseComponent-B4z-0IvX.js";
6
+ import { B as BaseComponent } from "./BaseComponent-CkMnlfWd.js";
7
7
  class UploadImage extends BaseComponent {
8
8
  component = ComponentTypeEnum.UploadImage;
9
9
  wrapperCmpConfig({ data }) {
@@ -3,7 +3,7 @@ import "vue";
3
3
  import { pick } from "lodash-es";
4
4
  import "dayjs";
5
5
  import "ant-design-vue";
6
- import { B as BaseComponent } from "./BaseComponent-B4z-0IvX.js";
6
+ import { B as BaseComponent } from "./BaseComponent-CkMnlfWd.js";
7
7
  class Diagonal extends BaseComponent {
8
8
  component = ComponentTypeEnum.Diagonal;
9
9
  wrapperCmpConfig({ data }) {
@@ -3,7 +3,7 @@ import { C as ComponentTypeEnum } from "./dynamic-table-action.vue_vue_type_styl
3
3
  import "vue";
4
4
  import "dayjs";
5
5
  import "ant-design-vue";
6
- import { B as BaseComponent } from "./BaseComponent-B4z-0IvX.js";
6
+ import { B as BaseComponent } from "./BaseComponent-CkMnlfWd.js";
7
7
  class Timepicker extends BaseComponent {
8
8
  component = ComponentTypeEnum.Timepicker;
9
9
  wrapperCmpConfig({ data }) {
@@ -3,8 +3,8 @@ import { C as ComponentTypeEnum, F as FIELD_TYPE } from "./dynamic-table-action.
3
3
  import "vue";
4
4
  import "dayjs";
5
5
  import "ant-design-vue";
6
- import { B as BaseComponent } from "./BaseComponent-B4z-0IvX.js";
7
- import { i as isSterilizationLotField, a as getSterilizationLotDisplayFields, b as isInventoryProductField, s as showDisplayAndSearchConfig, r as resolveQuickSearchConfig, I as INVENTORY_QUICK_SEARCH_FIELDS } from "./index-DHtjlchw.js";
6
+ import { B as BaseComponent } from "./BaseComponent-CkMnlfWd.js";
7
+ import { i as isSterilizationLotField, a as getSterilizationLotDisplayFields, b as isInventoryProductField, s as showDisplayAndSearchConfig, r as resolveQuickSearchConfig, I as INVENTORY_QUICK_SEARCH_FIELDS } from "./index-CbuzkPgj.js";
8
8
  class Select extends BaseComponent {
9
9
  component = ComponentTypeEnum.Select;
10
10
  wrapperCmpConfig({ data }) {
@@ -2,9 +2,9 @@ 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 { f as normalizeSealDiameter } from "./dynamic-table-action-ZAmTIvcp.js";
5
+ import { f as normalizeSealDiameter } from "./dynamic-table-action-BP2qzgdK.js";
6
6
  import "ant-design-vue";
7
- import { B as BaseComponent } from "./BaseComponent-B4z-0IvX.js";
7
+ import { B as BaseComponent } from "./BaseComponent-CkMnlfWd.js";
8
8
  class Seal extends BaseComponent {
9
9
  component = ComponentTypeEnum.Seal;
10
10
  wrapperCmpConfig({ data }) {
@@ -3,7 +3,7 @@ import { C as ComponentTypeEnum, a_ as BindCmpStyleEnum } from "./dynamic-table-
3
3
  import "vue";
4
4
  import "dayjs";
5
5
  import "ant-design-vue";
6
- import { B as BaseComponent } from "./BaseComponent-B4z-0IvX.js";
6
+ import { B as BaseComponent } from "./BaseComponent-CkMnlfWd.js";
7
7
  class Input extends BaseComponent {
8
8
  component = ComponentTypeEnum.Input;
9
9
  wrapperCmpConfig({ data }) {
@@ -3,7 +3,7 @@ import { C as ComponentTypeEnum, a1 as SignatureImageDirectionEnum, a2 as Fallba
3
3
  import "vue";
4
4
  import "dayjs";
5
5
  import "ant-design-vue";
6
- import { B as BaseComponent } from "./BaseComponent-B4z-0IvX.js";
6
+ import { B as BaseComponent } from "./BaseComponent-CkMnlfWd.js";
7
7
  class Sign extends BaseComponent {
8
8
  component = ComponentTypeEnum.Sign;
9
9
  wrapperCmpConfig({ data }) {
@@ -3,8 +3,8 @@ import { C as ComponentTypeEnum, O as Orientation, $ as LabelPosition, a_ as Bin
3
3
  import "vue";
4
4
  import "dayjs";
5
5
  import "ant-design-vue";
6
- import { B as BaseComponent } from "./BaseComponent-B4z-0IvX.js";
7
- import { g as getFieldWidget } from "./index-DHtjlchw.js";
6
+ import { B as BaseComponent } from "./BaseComponent-CkMnlfWd.js";
7
+ import { g as getFieldWidget } from "./index-CbuzkPgj.js";
8
8
  class EnumSelect extends BaseComponent {
9
9
  component = ComponentTypeEnum.EnumSelect;
10
10
  wrapperCmpConfig({ data }) {
@@ -3,8 +3,8 @@ import "vue";
3
3
  import "lodash-es";
4
4
  import "dayjs";
5
5
  import "ant-design-vue";
6
- import { B as BaseComponent } from "./BaseComponent-B4z-0IvX.js";
7
- import { g as getTraceLikeSelectProps } from "./trace-like-wrapper-BUq72oS3.js";
6
+ import { B as BaseComponent } from "./BaseComponent-CkMnlfWd.js";
7
+ import { g as getTraceLikeSelectProps } from "./trace-like-wrapper-Buykmr-D.js";
8
8
  class AutoComplete extends BaseComponent {
9
9
  component = ComponentTypeEnum.AutoComplete;
10
10
  wrapperCmpConfig({ data }) {
@@ -1,11 +1,11 @@
1
1
  import { get, pick } from "lodash-es";
2
- import { h as normalizeFieldWidth, D as DEFAULT_BOOLEAN_FIELD_WIDTH } from "./dynamic-table-action-ZAmTIvcp.js";
2
+ import { h as normalizeFieldWidth, D as DEFAULT_BOOLEAN_FIELD_WIDTH } from "./dynamic-table-action-BP2qzgdK.js";
3
3
  import { C as ComponentTypeEnum, O as Orientation, a0 as BooleanShowMode, $ as LabelPosition, a_ as BindCmpStyleEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-DTkBFPUl.js";
4
4
  import "vue";
5
5
  import "dayjs";
6
6
  import "ant-design-vue";
7
- import { g as getFieldWidget } from "./index-DHtjlchw.js";
8
- import { B as BaseComponent } from "./BaseComponent-B4z-0IvX.js";
7
+ import { g as getFieldWidget } from "./index-CbuzkPgj.js";
8
+ import { B as BaseComponent } from "./BaseComponent-CkMnlfWd.js";
9
9
  class Switch extends BaseComponent {
10
10
  component = ComponentTypeEnum.Switch;
11
11
  wrapperCmpConfig({ data }) {
package/dist/index.es.js CHANGED
@@ -1,4 +1,4 @@
1
- import { G, H, J, K, M, N, O, Q, U, B, W, X, Y, Z, $, a0, a1, a2, a3, a4, a5, a6, a7, a8, x, a9, aa, y, ab, P, ac, ad, ae, af, ag, ah, ai, aj, ak, al, am, an, ao, ap, aq, ar, as, at, h } from "./index-DHtjlchw.js";
1
+ import { G, H, J, K, M, N, O, Q, U, B, W, X, Y, Z, $, a0, a1, a2, a3, a4, a5, a6, a7, a8, x, a9, aa, y, ab, P, ac, ad, ae, af, ag, ah, ai, aj, ak, al, am, an, ao, ap, aq, ar, as, at, h } from "./index-CbuzkPgj.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-Bj9EoXh1.js";
3
3
  export {
4
4
  G as AiTmplEditor,
@@ -3,7 +3,7 @@ import { P as PaginationFormat } from "./dynamic-table-action.vue_vue_type_style
3
3
  import "lodash-es";
4
4
  import "dayjs";
5
5
  import "ant-design-vue";
6
- import { j as calcText } from "./index-DHtjlchw.js";
6
+ import { j as calcText } from "./index-CbuzkPgj.js";
7
7
  const _sfc_main = /* @__PURE__ */ defineComponent({
8
8
  __name: "pagination-design",
9
9
  props: {
@@ -0,0 +1,4 @@
1
+ import { k as _sfc_main } from "./index-CbuzkPgj.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-DHtjlchw.js";
1
+ import { d as captureRuntimePrintSnapshot, w as waitPrintFonts, e as waitPrintImages, p as printPagesInIframe } from "./index-CbuzkPgj.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 { U as RuntimeFormStateStore, W as RuntimeInstanceRegistry, N as NCB_PROVIDE } from "./dynamic-table-action-ZAmTIvcp.js";
3
- import { S as SubTableCoreFactory, R as RuntimeInstanceController } from "./sub-table-factory-9_e9NXAk.js";
4
- import { _ as _sfc_main$1 } from "./index-DHtjlchw.js";
2
+ import { U as RuntimeFormStateStore, W as RuntimeInstanceRegistry, N as NCB_PROVIDE } from "./dynamic-table-action-BP2qzgdK.js";
3
+ import { S as SubTableCoreFactory, R as RuntimeInstanceController } from "./sub-table-factory-yVCjr6FI.js";
4
+ import { _ as _sfc_main$1 } from "./index-CbuzkPgj.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-DHtjlchw.js";
2
+ import { B as BwipCodeTypeOptions, l as loadBwip } from "./index-CbuzkPgj.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-CbuzkPgj.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 { a as useNamespace } from "./AntdIcon-DCIaV352.js";
3
- import { m as useDrop, T as TransferType, h as useModelFields, o as getFieldIcon, S as SingleDrop } from "./index-DHtjlchw.js";
3
+ import { m as useDrop, T as TransferType, h as useModelFields, o as getFieldIcon, S as SingleDrop } from "./index-CbuzkPgj.js";
4
4
  import { a7 as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-DTkBFPUl.js";
5
5
  const _sfc_main = /* @__PURE__ */ defineComponent({
6
6
  __name: "single-field-drop",
@@ -267,8 +267,10 @@ export declare class MaterialConsumeTableController {
267
267
  * qty 相关派生字段统一入口(改 qty_ / 扫码 / 删行 等都走这里)
268
268
  */
269
269
  updateDerivedQtyFields(): void;
270
+ /** 同步 BOM 主物料的需求数量单位,未关联 BOM 的行保留原单位。 */
271
+ private syncRequiredUomFromBom;
270
272
  /**
271
- * 设置默认值,如工序,需求数量/已消耗数量
273
+ * 设置默认值,如工序,需求数量/需求数量单位/已消耗数量
272
274
  * @param row
273
275
  */
274
276
  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
  /** 上料方式 */
@@ -124,6 +124,7 @@ export declare const useAllSpreadSheets: () => {
124
124
  product_version_: string;
125
125
  product_spec_: string;
126
126
  qty_required_: number;
127
+ uom_id_?: string | undefined;
127
128
  deleted_?: boolean | undefined;
128
129
  type_: "by_lot" | "by_number" | "view";
129
130
  consume_enabled_?: boolean | undefined;
@@ -569,6 +570,7 @@ export declare const useAllSpreadSheets: () => {
569
570
  product_version_: string;
570
571
  product_spec_: string;
571
572
  qty_required_: number;
573
+ uom_id_?: string | undefined;
572
574
  deleted_?: boolean | undefined;
573
575
  type_: "by_lot" | "by_number" | "view";
574
576
  consume_enabled_?: boolean | undefined;
@@ -728,6 +730,7 @@ export declare const useAllSpreadSheets: () => {
728
730
  product_version_: string;
729
731
  product_spec_: string;
730
732
  qty_required_: number;
733
+ uom_id_?: string | undefined;
731
734
  deleted_?: boolean | undefined;
732
735
  type_: "by_lot" | "by_number" | "view";
733
736
  consume_enabled_?: boolean | undefined;
@@ -991,6 +994,7 @@ export declare const useAllSpreadSheets: () => {
991
994
  product_version_: string;
992
995
  product_spec_: string;
993
996
  qty_required_: number;
997
+ uom_id_?: string | undefined;
994
998
  deleted_?: boolean | undefined;
995
999
  type_: "by_lot" | "by_number" | "view";
996
1000
  consume_enabled_?: boolean | undefined;
@@ -1436,6 +1440,7 @@ export declare const useAllSpreadSheets: () => {
1436
1440
  product_version_: string;
1437
1441
  product_spec_: string;
1438
1442
  qty_required_: number;
1443
+ uom_id_?: string | undefined;
1439
1444
  deleted_?: boolean | undefined;
1440
1445
  type_: "by_lot" | "by_number" | "view";
1441
1446
  consume_enabled_?: boolean | undefined;
@@ -1595,6 +1600,7 @@ export declare const useAllSpreadSheets: () => {
1595
1600
  product_version_: string;
1596
1601
  product_spec_: string;
1597
1602
  qty_required_: number;
1603
+ uom_id_?: string | undefined;
1598
1604
  deleted_?: boolean | undefined;
1599
1605
  type_: "by_lot" | "by_number" | "view";
1600
1606
  consume_enabled_?: boolean | undefined;
@@ -1857,6 +1863,7 @@ export declare const useAllSpreadSheets: () => {
1857
1863
  product_version_: string;
1858
1864
  product_spec_: string;
1859
1865
  qty_required_: number;
1866
+ uom_id_?: string | undefined;
1860
1867
  deleted_?: boolean | undefined;
1861
1868
  type_: "by_lot" | "by_number" | "view";
1862
1869
  consume_enabled_?: boolean | undefined;
@@ -2026,6 +2033,7 @@ export declare const useAllSpreadSheets: () => {
2026
2033
  product_version_: string;
2027
2034
  product_spec_: string;
2028
2035
  qty_required_: number;
2036
+ uom_id_?: string | undefined;
2029
2037
  deleted_?: boolean | undefined;
2030
2038
  type_: "by_lot" | "by_number" | "view";
2031
2039
  consume_enabled_?: boolean | undefined;
@@ -2468,6 +2476,7 @@ export declare const useAllSpreadSheets: () => {
2468
2476
  product_version_: string;
2469
2477
  product_spec_: string;
2470
2478
  qty_required_: number;
2479
+ uom_id_?: string | undefined;
2471
2480
  deleted_?: boolean | undefined;
2472
2481
  type_: "by_lot" | "by_number" | "view";
2473
2482
  consume_enabled_?: boolean | undefined;
@@ -2627,6 +2636,7 @@ export declare const useAllSpreadSheets: () => {
2627
2636
  product_version_: string;
2628
2637
  product_spec_: string;
2629
2638
  qty_required_: number;
2639
+ uom_id_?: string | undefined;
2630
2640
  deleted_?: boolean | undefined;
2631
2641
  type_: "by_lot" | "by_number" | "view";
2632
2642
  consume_enabled_?: boolean | undefined;
@@ -3159,6 +3169,7 @@ export declare const useAllSpreadSheets: () => {
3159
3169
  product_version_: string;
3160
3170
  product_spec_: string;
3161
3171
  qty_required_: number;
3172
+ uom_id_?: string | undefined;
3162
3173
  deleted_?: boolean | undefined;
3163
3174
  type_: "by_lot" | "by_number" | "view";
3164
3175
  consume_enabled_?: boolean | undefined;
@@ -3318,6 +3329,7 @@ export declare const useAllSpreadSheets: () => {
3318
3329
  product_version_: string;
3319
3330
  product_spec_: string;
3320
3331
  qty_required_: number;
3332
+ uom_id_?: string | undefined;
3321
3333
  deleted_?: boolean | undefined;
3322
3334
  type_: "by_lot" | "by_number" | "view";
3323
3335
  consume_enabled_?: boolean | undefined;
@@ -524,6 +524,7 @@ export declare function useSpreadSheet(): {
524
524
  product_version_: string;
525
525
  product_spec_: string;
526
526
  qty_required_: number;
527
+ uom_id_?: string | undefined;
527
528
  deleted_?: boolean | undefined;
528
529
  type_: "by_lot" | "by_number" | "view";
529
530
  consume_enabled_?: boolean | undefined;
@@ -683,6 +684,7 @@ export declare function useSpreadSheet(): {
683
684
  product_version_: string;
684
685
  product_spec_: string;
685
686
  qty_required_: number;
687
+ uom_id_?: string | undefined;
686
688
  deleted_?: boolean | undefined;
687
689
  type_: "by_lot" | "by_number" | "view";
688
690
  consume_enabled_?: boolean | undefined;
@@ -1211,6 +1213,7 @@ export declare function useSpreadSheet(): {
1211
1213
  product_version_: string;
1212
1214
  product_spec_: string;
1213
1215
  qty_required_: number;
1216
+ uom_id_?: string | undefined;
1214
1217
  deleted_?: boolean | undefined;
1215
1218
  type_: "by_lot" | "by_number" | "view";
1216
1219
  consume_enabled_?: boolean | undefined;
@@ -1370,6 +1373,7 @@ export declare function useSpreadSheet(): {
1370
1373
  product_version_: string;
1371
1374
  product_spec_: string;
1372
1375
  qty_required_: number;
1376
+ uom_id_?: string | undefined;
1373
1377
  deleted_?: boolean | undefined;
1374
1378
  type_: "by_lot" | "by_number" | "view";
1375
1379
  consume_enabled_?: boolean | undefined;
@@ -1630,6 +1634,7 @@ export declare function useSpreadSheet(): {
1630
1634
  product_version_: string;
1631
1635
  product_spec_: string;
1632
1636
  qty_required_: number;
1637
+ uom_id_?: string | undefined;
1633
1638
  deleted_?: boolean | undefined;
1634
1639
  type_: "by_lot" | "by_number" | "view";
1635
1640
  consume_enabled_?: boolean | undefined;
@@ -1799,6 +1804,7 @@ export declare function useSpreadSheet(): {
1799
1804
  product_version_: string;
1800
1805
  product_spec_: string;
1801
1806
  qty_required_: number;
1807
+ uom_id_?: string | undefined;
1802
1808
  deleted_?: boolean | undefined;
1803
1809
  type_: "by_lot" | "by_number" | "view";
1804
1810
  consume_enabled_?: boolean | undefined;
@@ -1953,6 +1959,7 @@ export declare function useSpreadSheet(): {
1953
1959
  product_version_: string;
1954
1960
  product_spec_: string;
1955
1961
  qty_required_: number;
1962
+ uom_id_?: string | undefined;
1956
1963
  deleted_?: boolean | undefined;
1957
1964
  type_: "by_lot" | "by_number" | "view";
1958
1965
  consume_enabled_?: boolean | undefined;
@@ -2230,7 +2237,8 @@ export declare function useSpreadSheet(): {
2230
2237
  activeSheet: import('vue').Ref<any, any>;
2231
2238
  clearCellContent: () => void;
2232
2239
  parsePaste: (event: ClipboardEvent) => Promise<void>;
2233
- copyAndWrite: (event?: ClipboardEvent) => void;
2240
+ copyAndWrite: (event?: ClipboardEvent) => boolean;
2241
+ cutAndWrite: (event: ClipboardEvent) => boolean;
2234
2242
  copyAndNew: () => Promise<void>;
2235
2243
  };
2236
2244
  export {};
@@ -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;
@@ -393,6 +393,7 @@ export declare function useDynamicSubTablePanel(): {
393
393
  product_version_: string;
394
394
  product_spec_: string;
395
395
  qty_required_: number;
396
+ uom_id_?: string | undefined;
396
397
  deleted_?: boolean | undefined;
397
398
  type_: "by_lot" | "by_number" | "view";
398
399
  consume_enabled_?: boolean | undefined;
@@ -552,6 +553,7 @@ export declare function useDynamicSubTablePanel(): {
552
553
  product_version_: string;
553
554
  product_spec_: string;
554
555
  qty_required_: number;
556
+ uom_id_?: string | undefined;
555
557
  deleted_?: boolean | undefined;
556
558
  type_: "by_lot" | "by_number" | "view";
557
559
  consume_enabled_?: boolean | undefined;
@@ -1080,6 +1082,7 @@ export declare function useDynamicSubTablePanel(): {
1080
1082
  product_version_: string;
1081
1083
  product_spec_: string;
1082
1084
  qty_required_: number;
1085
+ uom_id_?: string | undefined;
1083
1086
  deleted_?: boolean | undefined;
1084
1087
  type_: "by_lot" | "by_number" | "view";
1085
1088
  consume_enabled_?: boolean | undefined;
@@ -1239,6 +1242,7 @@ export declare function useDynamicSubTablePanel(): {
1239
1242
  product_version_: string;
1240
1243
  product_spec_: string;
1241
1244
  qty_required_: number;
1245
+ uom_id_?: string | undefined;
1242
1246
  deleted_?: boolean | undefined;
1243
1247
  type_: "by_lot" | "by_number" | "view";
1244
1248
  consume_enabled_?: boolean | undefined;
@@ -1452,6 +1456,7 @@ export declare function useDynamicSubTablePanel(): {
1452
1456
  product_version_: string;
1453
1457
  product_spec_: string;
1454
1458
  qty_required_: number;
1459
+ uom_id_?: string | undefined;
1455
1460
  deleted_?: boolean | undefined;
1456
1461
  type_: "by_lot" | "by_number" | "view";
1457
1462
  consume_enabled_?: boolean | undefined;
@@ -1610,6 +1615,7 @@ export declare function useDynamicSubTablePanel(): {
1610
1615
  product_version_: string;
1611
1616
  product_spec_: string;
1612
1617
  qty_required_: number;
1618
+ uom_id_?: string | undefined;
1613
1619
  deleted_?: boolean | undefined;
1614
1620
  type_: "by_lot" | "by_number" | "view";
1615
1621
  consume_enabled_?: boolean | undefined;
@@ -331,6 +331,8 @@ export interface ISelectionPaperData {
331
331
  * @interface CopyData
332
332
  */
333
333
  export interface ICopyData extends ISelectionPaperData {
334
+ /** 本次剪切的标识;字段仅允许通过当前会话中尚未使用的剪切数据移动。 */
335
+ cutId?: string;
334
336
  /**
335
337
  * 电子表单id
336
338
  * @author lingxiaoming
@@ -1,5 +1,5 @@
1
1
  import { shallowReactive } from "vue";
2
- import { aX as SubTableActionMenuTypeEnum, aY as getMenuByAction, aZ as SubTableActionEnum, a_ as resolveScanFillData, aC as SubTableCore, a$ as getInsertSubMenu, b0 as resolveScanAdjustType, b1 as resolveScanQty, b2 as toDateOnly, b3 as hasSubtableBusinessData, b4 as getCopySubMenu, b5 as resolveScanParsedValue, b6 as isProductBatchEmptyRow } from "./dynamic-table-action-ZAmTIvcp.js";
2
+ import { aX as SubTableActionMenuTypeEnum, aY as getMenuByAction, aZ as SubTableActionEnum, a_ as resolveScanFillData, aC as SubTableCore, a$ as getInsertSubMenu, b0 as resolveScanAdjustType, b1 as resolveScanQty, b2 as toDateOnly, b3 as hasSubtableBusinessData, b4 as getCopySubMenu, b5 as resolveScanParsedValue, b6 as isProductBatchEmptyRow } from "./dynamic-table-action-BP2qzgdK.js";
3
3
  import { E as api, cv as F$1, cw as SCAN_ROW_CONTENT_FIELDS, cx as F$2, cy as F$3, cz as runRowHandler, c as getProfileByTableType, b as isBusinessSubTableProfile, cA as F$4, cB as F$5, cC as FILL_FROM_SOURCE_PRODUCT_OPTION, cD as FILL_FROM_TARGET_MATERIAL_NO_OPTION, cE as FILL_FROM_INVENTORY_OPTION, cF as FILL_FROM_PART_OPTION, cG as FILL_FROM_INVENTORY_OPTION$1, cH as TABLE_TYPE, cI as FILL_FROM_INVENTORY_OPTION$2, b3 as F$6, cJ as INVENTORY_BASE_FIELDS, cK as resolveGroupByWarehouse, cL as AUTO_LOAD_READONLY_SELECT_FIELDS, b2 as STOCKTAKE_DIMENSION, a$ as getParseRuleInfo, cM as buildFillFromInventoryOption, bS as calcFillData, cN as resolveStocktakeInventoryApi, b0 as getParseRuleValue, cO as F$7, cP as FILL_FROM_INVENTORY_OPTION$3, bY as extractKeywordFromQueryData, cQ as composeProductionLotListQuery, aH as resolveLotDisplayLabel, cR as F$8, cS as isProductManuallyEditable, cT as applyFillFromMfgOrderOption, cU as applyFillFromOption$1, cV as applyFillFromProductOption, aZ as ProductionIdentificationTypeEnum, cW as mergeQueryFilters, cX as composeMaterialLotListQuery, aR as LOT_CONTAINER_ROLE, cY as MATERIAL_CONTAINER_ID, cZ as F$9, c_ as PRODUCT_QUICK_SEARCH_FIELDS, c$ as PRODUCT_QUICK_SEARCH_EXP, d0 as isProductManuallyEditable$1, d1 as applyFillFromMaterialNoOption, d2 as applyFillFromProductOption$1, d3 as F$a, d4 as FILL_FROM_INVENTORY_OPTION$4, X as FormTypeEnum, d as getBusinessProfileByRefModelType, aC as transformUtils, f as SubTableType } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-DTkBFPUl.js";
4
4
  import { has, merge } from "lodash-es";
5
5
  function isBlank$4(value) {
@@ -3,7 +3,7 @@ import { pick } from "lodash-es";
3
3
  import { Q as PaperWidgeValueType, a7 as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-DTkBFPUl.js";
4
4
  import "dayjs";
5
5
  import "ant-design-vue";
6
- import { u as useSpreadSheet, h as useModelFields } from "./index-DHtjlchw.js";
6
+ import { u as useSpreadSheet, h as useModelFields } from "./index-CbuzkPgj.js";
7
7
  const _hoisted_1 = { class: "ws-pre-wrap" };
8
8
  const _sfc_main = /* @__PURE__ */ defineComponent({
9
9
  __name: "text-design",
@@ -3,7 +3,7 @@ import { F as FIELD_TYPE, a_ as BindCmpStyleEnum } from "./dynamic-table-action.
3
3
  import "vue";
4
4
  import "dayjs";
5
5
  import "ant-design-vue";
6
- import { i as isSterilizationLotField, a as getSterilizationLotDisplayFields, s as showDisplayAndSearchConfig, r as resolveQuickSearchConfig } from "./index-DHtjlchw.js";
6
+ import { i as isSterilizationLotField, a as getSterilizationLotDisplayFields, s as showDisplayAndSearchConfig, r as resolveQuickSearchConfig } from "./index-CbuzkPgj.js";
7
7
  function getTraceLikeSelectProps(data) {
8
8
  const isSubtableMfgOrder = !!data.info.subModelKey && (data.info.bizType === FIELD_TYPE.MFG_ORDER || data.info.fieldType === FIELD_TYPE.MFG_ORDER);
9
9
  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-DHtjlchw.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-CbuzkPgj.js";
4
4
  import { Q as PaperWidgeValueType, aq as ExpressionModeEnum, as as ExpressionTabEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-DTkBFPUl.js";
5
5
  import "dayjs";
6
6
  import "ant-design-vue";
@@ -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-DHtjlchw.js";
3
- import { _ as _sfc_main$1 } from "./value-editor.vue_vue_type_style_index_0_lang-WNhb31ms.js";
2
+ import { u as useSpreadSheet, B as BwipCodeTypeOptions, F as FormItem } from "./index-CbuzkPgj.js";
3
+ import { _ as _sfc_main$1 } from "./value-editor.vue_vue_type_style_index_0_lang-61EKSPm5.js";
4
4
  import { o as PaperWidgeType } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-DTkBFPUl.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-DHtjlchw.js";
2
+ import { F as FormItem, q as SelectEx } from "./index-CbuzkPgj.js";
3
3
  import { defaults } from "lodash-es";
4
4
  import { F as FIELD_TYPE, a7 as _export_sfc, ag as DiagonalDirection, ak as DiagonalVertex, cd as migrateDiagonalDirectionToVertex } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-DTkBFPUl.js";
5
5
  import "dayjs";
6
6
  import { message } from "ant-design-vue";
7
7
  import { a as useNamespace } from "./AntdIcon-DCIaV352.js";
8
- import { S as SingleFieldDrop } from "./single-field-drop-DME3ih-W.js";
8
+ import { S as SingleFieldDrop } from "./single-field-drop-DbtML4gi.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-DHtjlchw.js";
2
+ import { L as LeftOutlined, R as RightOutlined, t as isClient, u as useSpreadSheet, F as FormItem, v as ImgParser } from "./index-CbuzkPgj.js";
3
3
  import { S as SizeEditor } from "./size-editor-BwDIwzDh.js";
4
4
  import { message } from "ant-design-vue";
5
5
  import { ah as WidgetImageSizeMode, a7 as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-DTkBFPUl.js";
@@ -3,7 +3,7 @@ import { ai as LineDirection } from "./dynamic-table-action.vue_vue_type_style_i
3
3
  import "lodash-es";
4
4
  import "dayjs";
5
5
  import "ant-design-vue";
6
- import { F as FormItem, x as LineStyleOptions, C as ColorPicker } from "./index-DHtjlchw.js";
6
+ import { F as FormItem, x as LineStyleOptions, C as ColorPicker } from "./index-CbuzkPgj.js";
7
7
  const _hoisted_1 = { class: "ks-row-middle" };
8
8
  const _sfc_main = /* @__PURE__ */ defineComponent({
9
9
  __name: "widget-line",
@@ -3,10 +3,10 @@ import { P as PaginationFormat } from "./dynamic-table-action.vue_vue_type_style
3
3
  import "lodash-es";
4
4
  import "dayjs";
5
5
  import "ant-design-vue";
6
- import { F as FormItem, y as PaginationFormatOptions } from "./index-DHtjlchw.js";
6
+ import { F as FormItem, y as PaginationFormatOptions } from "./index-CbuzkPgj.js";
7
7
  import { S as SizeEditor } from "./size-editor-BwDIwzDh.js";
8
8
  import { A as AlignEditor } from "./align-editor-CRjMBiv1.js";
9
- import { F as FontEditor } from "./font-editor-C40nR0g-.js";
9
+ import { F as FontEditor } from "./font-editor-CSzJYS59.js";
10
10
  const _hoisted_1 = { class: "pl-6px" };
11
11
  const _hoisted_2 = { class: "pl-6px" };
12
12
  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-DHtjlchw.js";
3
- import { S as SingleFieldDrop } from "./single-field-drop-DME3ih-W.js";
2
+ import { u as useSpreadSheet, E as useReverseModeling, F as FormItem } from "./index-CbuzkPgj.js";
3
+ import { S as SingleFieldDrop } from "./single-field-drop-DbtML4gi.js";
4
4
  import { a as useNamespace } from "./AntdIcon-DCIaV352.js";
5
5
  import { F as FIELD_TYPE, a7 as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-DTkBFPUl.js";
6
6
  import { message } from "ant-design-vue";
@@ -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-DHtjlchw.js";
3
- import { _ as _sfc_main$1 } from "./value-editor.vue_vue_type_style_index_0_lang-WNhb31ms.js";
2
+ import { u as useSpreadSheet, B as BwipCodeTypeOptions, F as FormItem } from "./index-CbuzkPgj.js";
3
+ import { _ as _sfc_main$1 } from "./value-editor.vue_vue_type_style_index_0_lang-61EKSPm5.js";
4
4
  import { o as PaperWidgeType } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-DTkBFPUl.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-DHtjlchw.js";
3
- import { S as SingleFieldDrop } from "./single-field-drop-DME3ih-W.js";
2
+ import { F as FormItem } from "./index-CbuzkPgj.js";
3
+ import { S as SingleFieldDrop } from "./single-field-drop-DbtML4gi.js";
4
4
  import { a as useNamespace } from "./AntdIcon-DCIaV352.js";
5
5
  import { F as FIELD_TYPE, a7 as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-DTkBFPUl.js";
6
6
  import { message } from "ant-design-vue";
@@ -1,5 +1,5 @@
1
1
  import { defineComponent, computed, resolveComponent, openBlock, createElementBlock, Fragment, createVNode, withCtx } from "vue";
2
- import { F as FormItem } from "./index-DHtjlchw.js";
2
+ import { F as FormItem } from "./index-CbuzkPgj.js";
3
3
  const _sfc_main = /* @__PURE__ */ defineComponent({
4
4
  __name: "widget-serialnumber",
5
5
  props: {