@gct-paas/excel 0.1.40-beta.20 → 0.1.40-beta.22
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.
- package/dist/{BaseComponent-BGVcCPEa.js → BaseComponent-0BP8yUp3.js} +2 -2
- package/dist/{VueVideoPlayer-BjmIFrir.js → VueVideoPlayer-BTRWrHgw.js} +2 -2
- package/dist/{align-editor-C2fibWP5.js → align-editor-ssy7gJsD.js} +1 -1
- package/dist/{barcode-design-CaP1fm0_.js → barcode-design-BOutrCCv.js} +2 -2
- package/dist/base/index.es.js +83 -83
- package/dist/{diagonal-design-hlxcD87A.js → diagonal-design-C8Y7RdW8.js} +2 -2
- package/dist/{dynamic-table-action-Be8JlL37.js → dynamic-table-action-DLctOchz.js} +19 -4
- package/dist/{dynamic-table-action.vue_vue_type_style_index_0_scoped_8710052f_lang-DqGN_0-g.js → dynamic-table-action.vue_vue_type_style_index_0_scoped_8710052f_lang-BsyVWing.js} +375 -290
- package/dist/{edit.utils-CXmmCnxE-BNPHbukz.js → edit.utils-CXmmCnxE-CwPcGg-f.js} +1 -1
- package/dist/excel.css +110 -59
- package/dist/{exceljs.min-W43at4dY.js → exceljs.min-CbCAYZ_e.js} +2 -2
- package/dist/{font-editor-D56ClIpW.js → font-editor-DdR8irtJ.js} +3 -3
- package/dist/{image-design-D0wFVrcv.js → image-design-g9R_z-IY.js} +2 -2
- package/dist/{index-17hYBH0H.js → index-B9hIqELW.js} +1 -1
- package/dist/{index-CjuxT4it.js → index-BIm_YKSw.js} +350 -203
- package/dist/{index-iPetBbbY.js → index-C0riszYt.js} +4 -4
- package/dist/{index-T8osZobv.js → index-C5Z5DcwP.js} +3 -3
- package/dist/{index-DpCJBo9U.js → index-C6oivLbu.js} +1 -1
- package/dist/{index-Cmd9eaD8.js → index-C8vcYrJ2.js} +2 -2
- package/dist/{index-BuT2pRA0.js → index-CBSkF7uO.js} +2 -2
- package/dist/{index-o5rZ0ZDF.js → index-CE0kTBaD.js} +2 -2
- package/dist/{index-BPrRTLOr.js → index-CQxjpFgv.js} +2 -2
- package/dist/{index-BRkEJrpd.js → index-CTHjoZJh.js} +3 -3
- package/dist/{index-BPWqx5U8.js → index-C_Wum5DS.js} +2 -2
- package/dist/{index-CKqEZAs1.js → index-Cek24DHR.js} +2 -2
- package/dist/{index-D0Fb9rtG.js → index-CjjnjV4j.js} +6 -3
- package/dist/{index-DgUdDef6.js → index-Cli4afdv.js} +3 -3
- package/dist/{index-CKCRmqHx.js → index-Cmr9DRpz.js} +1 -1
- package/dist/{index-CToveeX8.js → index-CpQiCEe7.js} +1 -1
- package/dist/{index-Bln92UeX.js → index-CqbuTaGQ.js} +2 -2
- package/dist/{index--BSSsMvy.js → index-D-WSp3EA.js} +1 -1
- package/dist/{index-DK_goJxq.js → index-D3cPbNne.js} +1 -1
- package/dist/{index-BQXA1mwd.js → index-D6dtoM6l.js} +2 -2
- package/dist/{index-CdXeZ5pv.js → index-D9ZmqZVa.js} +2 -2
- package/dist/{index-C4cVVxUT.js → index-DEMinegB.js} +1 -1
- package/dist/{index-QjAhy-KC.js → index-DNc82Cm4.js} +3 -3
- package/dist/{index-CZBPaApP.js → index-Djsed3L4.js} +2 -2
- package/dist/{index-CjK1DtkT.js → index-DozFqpk2.js} +1 -1
- package/dist/{index-2bzUMftk.js → index-DuRfWFNu.js} +3 -3
- package/dist/{index-DE-6ATOb.js → index-JFbTpwJI.js} +2 -2
- package/dist/{index-B2FagfyH.js → index-JOJRN3MY.js} +2 -2
- package/dist/{index-DHBkzfbv.js → index-PUFY8idd.js} +1 -1
- package/dist/{index-C0WZCZCj.js → index-TTjH7nBY.js} +2 -2
- package/dist/{index-BOOwVQlO.js → index-YteSvWxT.js} +1 -1
- package/dist/{index-BqIV-vij.js → index-c69w0WwG.js} +2 -2
- package/dist/{index-CKMx2z9Y.js → index-fTuTQkkK.js} +2 -2
- package/dist/{index-Bi2XvcZ1.js → index-x19gmsid.js} +2 -2
- package/dist/index.es.js +2 -2
- package/dist/{online-form-model-select.vue_vue_type_script_setup_true_name_online-form-model-select_lang-DcYth63e.js → online-form-model-select.vue_vue_type_script_setup_true_name_online-form-model-select_lang-DjI5GeWt.js} +1 -1
- package/dist/{pagination-design-DpqDw6Rf.js → pagination-design-CA-dxfST.js} +2 -2
- package/dist/paper-widget-design-z1CF36U7.js +4 -0
- package/dist/{print-runtime-instance-Dlj6q6O1.js → print-runtime-instance-Df03RTCq.js} +1 -1
- package/dist/{print-snapshot-renderer-CuY9mllK.js → print-snapshot-renderer-CifB67Uu.js} +3 -3
- package/dist/{qrcode-design-C0Vw-EIt.js → qrcode-design-BF9P4MgR.js} +1 -1
- package/dist/{revo-grid.entry-C-HyVU26.js → revo-grid.entry-Bh8ebL13.js} +1 -1
- package/dist/{revogr-attribution_7.entry-ZdEPNmCh.js → revogr-attribution_7.entry-CsJaMH68.js} +3 -3
- package/dist/{revogr-clipboard_3.entry-DtDqwzVE.js → revogr-clipboard_3.entry-DgmZ8Pc0.js} +2 -2
- package/dist/{revogr-data_4.entry-CUTBFvV5.js → revogr-data_4.entry-CPW7BILy.js} +2 -2
- package/dist/{revogr-filter-panel.entry-uExDl-fd.js → revogr-filter-panel.entry-BpIcSbuR.js} +1 -1
- package/dist/seal-design-DNugznsd.js +4 -0
- package/dist/{serialnumber-design-BvJSmeFY.js → serialnumber-design-C92sT5qW.js} +1 -1
- package/dist/shared/index.es.js +12 -12
- package/dist/{single-field-drop-DDAoyRO7.js → single-field-drop-CzMkcDOQ.js} +2 -2
- package/dist/{size-editor-CeB5cXTJ.js → size-editor-JdHGylGx.js} +1 -1
- package/dist/src/nocode-base/src/hooks/material-consume/material-consume-table-controller.d.ts +3 -1
- package/dist/src/nocode-base/src/hooks/material-consume/types.d.ts +2 -0
- package/dist/src/online-form/src/views/designer/hooks/useAllSpreadSheets.d.ts +12 -0
- package/dist/src/online-form/src/views/designer/hooks/useSpreadSheet.d.ts +7 -0
- package/dist/src/online-form/src/views/designer/modules/panel/panel-data-init-config/object-init/hooks/useObjectInit.d.ts +1 -0
- package/dist/src/online-form/src/views/designer/modules/panel/sub-table/comps/use-dynamic-sub-table-panel.d.ts +6 -0
- package/dist/src/online-form/src/views/designer/modules/xlsx-import-summary.vue.d.ts +11 -0
- package/dist/src/online-form/src/views/designer/utils/cell-field-placements.d.ts +12 -0
- package/dist/src/online-form/src/views/designer/utils/xlsx-parser.d.ts +9 -3
- package/dist/src/shared/utils/lot2sn.d.ts +14 -1
- package/dist/src/shared/utils/query-filter.d.ts +24 -0
- package/dist/{sub-table-factory-D3ln_RZX.js → sub-table-factory-BUKjHjsJ.js} +9 -13
- package/dist/{text-design-ZwhuY1Ts.js → text-design-0ye2Qkdm.js} +2 -2
- package/dist/{throttle-Cpk1LoGk-DL2Yq0cn.js → throttle-Cpk1LoGk-DQh0IPeE.js} +1 -1
- package/dist/{timediff-design-CWiKmA7W.js → timediff-design-D84T_Isx.js} +1 -1
- package/dist/{trace-like-wrapper-Dy5yrPBO.js → trace-like-wrapper-B8ZB0cEY.js} +5 -2
- package/dist/{value-editor.vue_vue_type_style_index_0_lang-DapCZObe.js → value-editor.vue_vue_type_style_index_0_lang-C7aAgLHW.js} +2 -2
- package/dist/{widget-barcode-BCcosC1i.js → widget-barcode-D0VKq_RH.js} +4 -4
- package/dist/{widget-diagonal-CdCN3K4_.js → widget-diagonal-B4-YeaS-.js} +3 -3
- package/dist/{widget-image-BUN-gvL5.js → widget-image-CnOxfH66.js} +4 -4
- package/dist/{widget-line-FYyPMMZ4.js → widget-line-C-RWHAjB.js} +2 -2
- package/dist/{widget-pagination-BtYkMtMd.js → widget-pagination-CdkML1ma.js} +5 -5
- package/dist/{widget-power-Cdgzng7w.js → widget-power-CLg0Ov4-.js} +3 -3
- package/dist/{widget-qrcode-D5Og1U4s.js → widget-qrcode-Bo_PZVS3.js} +3 -3
- package/dist/{widget-rangelimit-ByyBW9QW.js → widget-rangelimit-vmFExwlR.js} +3 -3
- package/dist/{widget-serialnumber-DfDvhdgO.js → widget-serialnumber-DUCvkD2p.js} +1 -1
- package/dist/{widget-text-CoskH_Ql.js → widget-text-CwSG4P5w.js} +5 -5
- package/dist/{widget-timediff-CZi5yk7E.js → widget-timediff-CenBgqXn.js} +2 -2
- package/package.json +1 -1
- package/dist/paper-widget-design-C71HXpQm.js +0 -4
- package/dist/seal-design-21xHvKov.js +0 -4
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { j as normalizeFieldWidth } from "./dynamic-table-action-
|
|
1
|
+
import { j as normalizeFieldWidth } from "./dynamic-table-action-DLctOchz.js";
|
|
2
2
|
import { get, pick } from "lodash-es";
|
|
3
|
-
import { F as FIELD_TYPE } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_8710052f_lang-
|
|
3
|
+
import { F as FIELD_TYPE } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_8710052f_lang-BsyVWing.js";
|
|
4
4
|
import { f as fontStyleAttrs } from "./config.enum-B8UZQTON.js";
|
|
5
5
|
const DESIGNER_DEFAULT_TYPES = /* @__PURE__ */ new Set([
|
|
6
6
|
FIELD_TYPE.DEVICE,
|
|
@@ -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
|
-
import { V as commonjsGlobal, W as getDefaultExportFromCjs } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_8710052f_lang-
|
|
3
|
-
import { G as require$$0 } from "./index-
|
|
2
|
+
import { V as commonjsGlobal, W as getDefaultExportFromCjs } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_8710052f_lang-BsyVWing.js";
|
|
3
|
+
import { G as require$$0 } from "./index-BIm_YKSw.js";
|
|
4
4
|
var window_1;
|
|
5
5
|
var hasRequiredWindow;
|
|
6
6
|
function requireWindow() {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, computed, resolveComponent, openBlock, createElementBlock, Fragment, renderList, normalizeClass, createVNode, withCtx, createElementVNode, createTextVNode, toDisplayString } from "vue";
|
|
2
|
-
import { ad as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_8710052f_lang-
|
|
2
|
+
import { ad as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_8710052f_lang-BsyVWing.js";
|
|
3
3
|
const _hoisted_1 = { class: "align-group-box" };
|
|
4
4
|
const _hoisted_2 = ["onClick"];
|
|
5
5
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
@@ -1,7 +1,7 @@
|
|
|
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-
|
|
4
|
-
import { X as PaperWidgeValueType, ad as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_8710052f_lang-
|
|
3
|
+
import { u as useSpreadSheet, h as useModelFields, l as loadBwip } from "./index-BIm_YKSw.js";
|
|
4
|
+
import { X as PaperWidgeValueType, ad as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_8710052f_lang-BsyVWing.js";
|
|
5
5
|
import "dayjs";
|
|
6
6
|
import "@gct-paas/form-base";
|
|
7
7
|
import "ant-design-vue";
|
package/dist/base/index.es.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { p as api, a3 as PlatformEnum, F as FIELD_TYPE,
|
|
2
|
-
import {
|
|
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,
|
|
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
|
|
1
|
+
import { p as api, a3 as PlatformEnum, F as FIELD_TYPE, bk as getRowId, bl as findRuntimeTableRow, bm as RenderModeEnum, C as ComponentTypeEnum, aD as findFieldMain, c as getProfileByTableType, d as getBusinessProfileByRefModelType, b as isBusinessSubTableProfile, az as RangeValidateMode, aP as Dependency_ENUM, aO as ASSIGNMENTSTRATEGY_ENUM, bw as fetchHistoryConsume, bx as isBomGranted, b2 as renderUtils, bv as uuid2, by as parseFrontConfig, aS as CheckDsTypeEnum, aM as transformUtils, bz as baseDataUtils, a0 as FormTypeEnum, bA as normalizeToArray, bB as safeParseArray, bC as BpmnNodeTypeEnum, bD as mergeByMultiKey, ad as _export_sfc, bE as evaluateInspectionDecisionRule, bF as useNocodeEmitter, bG as commonUtils, aQ as EntityModelCategoryEnum } from "../dynamic-table-action.vue_vue_type_style_index_0_scoped_8710052f_lang-BsyVWing.js";
|
|
2
|
+
import { aV, aX, b9, a5, bH, bI, B, bJ, H, al, bK, bL, bM, bj, bN, a_, aE, aW, aT, aU, bO, am, aq, bP, bQ, aN, a7, ak, aF, aY, a4, ao, L, bR, bS, bT, O, t, P, af, q, X, K, bU, bV, aA, aa, a6, a8, a9, ab, h, bW, ap, at, an, bX, bY, bZ, b_, aI, b$, c0, c1, c2, c3, c4, c5, c6, c7, c8, bn, c9, ca, b5, cb, ba, bb, cc, cd, ce, cf, cg, ch, ci, cj, ck, cl, b4, cm, bc, aJ, cn, co, ar, y, aZ, cp, cq, bo, b6 } from "../dynamic-table-action.vue_vue_type_style_index_0_scoped_8710052f_lang-BsyVWing.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, e 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, g 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-DLctOchz.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 as aI2, aJ as aJ2, I, aK, y as y2, aL, f, aM, aN as aN2, aO, aP, x, J, aQ, aR, aS, 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 as aZ2, a_ as a_2, 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-DLctOchz.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-
|
|
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-
|
|
8
|
+
import { S as SubTableCoreFactory, R as RuntimeInstanceController } from "../sub-table-factory-BUKjHjsJ.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-BUKjHjsJ.js";
|
|
10
10
|
import { createDataSourceManager, getLegacyFieldFillTargets, createFieldFillRuntime, buildFieldFillTableRows, buildFieldFillRows, isFieldFillTargetProtected, getFieldFillTable, getFieldFillColumn, buildDataSourceContext } from "@gct-paas/form-base";
|
|
11
11
|
const InstanceStatusValues = {
|
|
12
12
|
/** 作废状态 */
|
|
@@ -3640,36 +3640,36 @@ function filterAnnotationItemsUpToCurrent(items) {
|
|
|
3640
3640
|
});
|
|
3641
3641
|
}
|
|
3642
3642
|
export {
|
|
3643
|
-
|
|
3643
|
+
aV as AITooltips,
|
|
3644
3644
|
A as AllocateTableCore,
|
|
3645
3645
|
as as BaseFormModelFetcher,
|
|
3646
|
-
|
|
3647
|
-
|
|
3646
|
+
aX as BinarizeMethodOptions,
|
|
3647
|
+
b9 as BindCmpStyleEnum,
|
|
3648
3648
|
a5 as BooleanShowMode,
|
|
3649
3649
|
B2 as BorderTD,
|
|
3650
3650
|
BpmnNodeTypeEnum,
|
|
3651
|
-
|
|
3652
|
-
|
|
3651
|
+
bH as BpmnSignatureTypeEnum,
|
|
3652
|
+
bI as ButtonTypeEnum,
|
|
3653
3653
|
B as BwipCodeType,
|
|
3654
|
-
|
|
3654
|
+
bJ as CHECK_TABLE_MEDPRO_PROTOCOL_KEY,
|
|
3655
3655
|
H as CellType,
|
|
3656
3656
|
al as CellWidgetViewState,
|
|
3657
3657
|
CheckDsTypeEnum,
|
|
3658
|
-
|
|
3658
|
+
bK as CodeRunner,
|
|
3659
3659
|
ComponentTypeEnum,
|
|
3660
|
-
|
|
3661
|
-
|
|
3662
|
-
|
|
3663
|
-
|
|
3664
|
-
|
|
3660
|
+
bL as Config_Fields,
|
|
3661
|
+
bM as ControlStatusEnum,
|
|
3662
|
+
bj as DEVICE_GROUP_QUERY_KEY,
|
|
3663
|
+
bN as DEVICE_SEARCH_API,
|
|
3664
|
+
a_ as DateFormat,
|
|
3665
3665
|
aE as DecimalDisplayMode,
|
|
3666
|
-
|
|
3666
|
+
aW as DenoiseMethodOptions,
|
|
3667
3667
|
at2 as DeviceConnector,
|
|
3668
|
-
|
|
3668
|
+
aT as DeviceLink,
|
|
3669
3669
|
p as DeviceLinkTmplUtil,
|
|
3670
|
-
|
|
3670
|
+
aU as DeviceParamsTypeTitle,
|
|
3671
3671
|
D as DevicePartConsumeTableCore,
|
|
3672
|
-
|
|
3672
|
+
bO as DeviceStatus,
|
|
3673
3673
|
am as DiagonalDirection,
|
|
3674
3674
|
aq as DiagonalVertex,
|
|
3675
3675
|
a72 as DocumentLayout,
|
|
@@ -3677,10 +3677,10 @@ export {
|
|
|
3677
3677
|
a52 as DocumentPaper,
|
|
3678
3678
|
av as DynamicQuickFillModal,
|
|
3679
3679
|
a62 as DynamicTableAction,
|
|
3680
|
-
|
|
3681
|
-
|
|
3680
|
+
bP as EBR_PROVIDE_ENUM,
|
|
3681
|
+
bQ as EFieldBizTypeEnum,
|
|
3682
3682
|
K2 as EMPTY_PRODUCT_VERSION_ID,
|
|
3683
|
-
|
|
3683
|
+
aN as EmptySymbol,
|
|
3684
3684
|
a7 as FallbackSignTypeEnum,
|
|
3685
3685
|
ak as FieldSysVarDefaultValueEnum,
|
|
3686
3686
|
FillingTypeEnum,
|
|
@@ -3692,14 +3692,14 @@ export {
|
|
|
3692
3692
|
FormTypeEnum,
|
|
3693
3693
|
aF as ImageDisplayModeEnum,
|
|
3694
3694
|
InstanceStatusValues,
|
|
3695
|
-
|
|
3695
|
+
aY as JoinModelTypeEum,
|
|
3696
3696
|
ay as LEGACY_RUNTIME_FORM_CONFIG_KEYS,
|
|
3697
3697
|
az as LEGACY_RUNTIME_SHEET_ID,
|
|
3698
3698
|
aA2 as LEGACY_RUNTIME_SHEET_TITLE,
|
|
3699
3699
|
a4 as LabelPosition,
|
|
3700
3700
|
ao as LineDirection,
|
|
3701
3701
|
L as LineType,
|
|
3702
|
-
|
|
3702
|
+
bR as MAX_FRONT_ROW_KEY_LENGTH,
|
|
3703
3703
|
M as MAX_RUNTIME_SHEETS,
|
|
3704
3704
|
a as MAX_RUNTIME_SHEET_TITLE_LENGTH,
|
|
3705
3705
|
a2 as MBRender,
|
|
@@ -3711,10 +3711,10 @@ export {
|
|
|
3711
3711
|
M2 as MaterialRequisitionTableCore,
|
|
3712
3712
|
MaterialStatusEnum,
|
|
3713
3713
|
a10 as MaterialSubstitutionTableCore,
|
|
3714
|
-
|
|
3714
|
+
bS as MobileFillTypeEnum,
|
|
3715
3715
|
NCB_PROVIDE,
|
|
3716
3716
|
aC as OCR_MODEL_PRECISION_ENUM_KEY,
|
|
3717
|
-
|
|
3717
|
+
bT as OfficeTypeEnum,
|
|
3718
3718
|
O as Orientation,
|
|
3719
3719
|
t as PageSizeEnum,
|
|
3720
3720
|
P as PaginationFormat,
|
|
@@ -3724,10 +3724,10 @@ export {
|
|
|
3724
3724
|
K as ParamModelTypeEnum,
|
|
3725
3725
|
P2 as PartStocktakeTableCore,
|
|
3726
3726
|
PlatformEnum,
|
|
3727
|
-
|
|
3727
|
+
bU as PosEnum,
|
|
3728
3728
|
b as PretreatmentListTableCore,
|
|
3729
3729
|
c as ProfileDrivenSubTableCore,
|
|
3730
|
-
|
|
3730
|
+
bV as RUNTIME_COLUMN_ROW_KEY,
|
|
3731
3731
|
aA as RangeCompareOp,
|
|
3732
3732
|
RangeValidateMode,
|
|
3733
3733
|
RenderModeEnum,
|
|
@@ -3741,7 +3741,7 @@ export {
|
|
|
3741
3741
|
aH as RuntimePersistenceCoordinator,
|
|
3742
3742
|
RuntimeRuleCompiler,
|
|
3743
3743
|
RuntimeSheetService,
|
|
3744
|
-
|
|
3744
|
+
aI2 as RuntimeValidationService,
|
|
3745
3745
|
aa as SignShowTypeEnum,
|
|
3746
3746
|
a6 as SignatureImageDirectionEnum,
|
|
3747
3747
|
a8 as SignatureNumberTypeEnum,
|
|
@@ -3749,10 +3749,10 @@ export {
|
|
|
3749
3749
|
ab as SignatureTypeEnum,
|
|
3750
3750
|
d2 as SterilizeBatchTableCore,
|
|
3751
3751
|
e as StocktakeTableCore,
|
|
3752
|
-
|
|
3752
|
+
aJ2 as SubTableCore,
|
|
3753
3753
|
SubTableCoreFactory,
|
|
3754
3754
|
h as SubTableType,
|
|
3755
|
-
|
|
3755
|
+
bW as SummaryApproveHisTypeEnum,
|
|
3756
3756
|
ap as TimeDiffFormat,
|
|
3757
3757
|
at as ViewTypeEnum,
|
|
3758
3758
|
W2 as WarehouseInTableCore,
|
|
@@ -3760,85 +3760,85 @@ export {
|
|
|
3760
3760
|
g as WarehouseOutTableCore,
|
|
3761
3761
|
h2 as WarehouseOutboundTableCore,
|
|
3762
3762
|
an as WidgetImageSizeMode,
|
|
3763
|
-
|
|
3763
|
+
bX as applyCheckDsDataToRuntime,
|
|
3764
3764
|
I as applyConsumeObjectTraceChange,
|
|
3765
|
-
|
|
3765
|
+
bY as applyMedProCheckDsDataToRuntime,
|
|
3766
3766
|
baseDataUtils,
|
|
3767
|
-
|
|
3768
|
-
|
|
3769
|
-
|
|
3767
|
+
bZ as bindRuntimeTableColumns,
|
|
3768
|
+
b_ as buildDeviceBaseQuery,
|
|
3769
|
+
aI as buildDeviceFilterQuery,
|
|
3770
3770
|
aK as buildFormChangeDisplayRows,
|
|
3771
3771
|
y2 as buildObjectLotExtraQuery,
|
|
3772
3772
|
buildRuntimeFieldPath,
|
|
3773
|
-
|
|
3774
|
-
|
|
3773
|
+
b$ as calcFillData,
|
|
3774
|
+
c0 as calcUtils,
|
|
3775
3775
|
calculateFormula,
|
|
3776
3776
|
collectAnnotationItemsByLocation,
|
|
3777
3777
|
collectFormChangeFieldLocations,
|
|
3778
3778
|
commonUtils,
|
|
3779
3779
|
convertHistoricalAnnotationLocation,
|
|
3780
|
-
|
|
3780
|
+
aL as convertV1Runtime,
|
|
3781
3781
|
f as createRuntimeDocumentV2,
|
|
3782
3782
|
createRuntimeInstanceContext,
|
|
3783
|
-
|
|
3783
|
+
c1 as decodeTableCellRowKey,
|
|
3784
3784
|
aM as detailsHaveFormChangeRowOps,
|
|
3785
|
-
|
|
3785
|
+
c2 as encodeTableCellRowKey,
|
|
3786
3786
|
enrichFormChangeRowDetails,
|
|
3787
|
-
|
|
3788
|
-
|
|
3789
|
-
|
|
3790
|
-
|
|
3791
|
-
|
|
3792
|
-
|
|
3787
|
+
c3 as ensureFrontRowKey,
|
|
3788
|
+
c4 as ensureTableRowKeys,
|
|
3789
|
+
aN2 as extractFormChangeRowDetails,
|
|
3790
|
+
c5 as extractKeywordFromQueryData,
|
|
3791
|
+
c6 as fetchCheckDsDataForTable,
|
|
3792
|
+
c7 as fetchCustomCheckDsData,
|
|
3793
3793
|
fetchHistoryConsume,
|
|
3794
|
-
|
|
3794
|
+
c8 as fetchMedProCheckDsData,
|
|
3795
3795
|
fetchOperationReceiveQty,
|
|
3796
3796
|
fetchUdi,
|
|
3797
3797
|
filterAnnotationItemsUpToCurrent,
|
|
3798
|
-
|
|
3799
|
-
|
|
3798
|
+
bn as findRuntimeParentRow,
|
|
3799
|
+
c9 as findRuntimeTableCell,
|
|
3800
3800
|
findRuntimeTableRow,
|
|
3801
3801
|
getAppInfo,
|
|
3802
3802
|
getBusinessFieldKey,
|
|
3803
|
-
|
|
3803
|
+
ca as getCheckTableSnapshotKey,
|
|
3804
3804
|
aO as getFormChangeRowKey,
|
|
3805
3805
|
aP as getFormChangeRowOp,
|
|
3806
|
-
|
|
3806
|
+
b5 as getLotLockedReason,
|
|
3807
3807
|
x as getObjectBomMaterialLotQuery,
|
|
3808
3808
|
J as getObjectBomProductQuery,
|
|
3809
3809
|
getParseFormulaVarInfos,
|
|
3810
|
-
|
|
3811
|
-
|
|
3812
|
-
|
|
3813
|
-
|
|
3814
|
-
|
|
3810
|
+
cb as getParseRuleConfig,
|
|
3811
|
+
ba as getParseRuleInfo,
|
|
3812
|
+
bb as getParseRuleValue,
|
|
3813
|
+
cc as getReinspectionDate,
|
|
3814
|
+
cd as getRenderedRuntimeTableCell,
|
|
3815
3815
|
getRuntimeDataFieldId,
|
|
3816
3816
|
getRuntimeDependencyOutputKey,
|
|
3817
3817
|
aQ as getSubTableQuickFillInfo,
|
|
3818
3818
|
getSuiteKey,
|
|
3819
|
-
|
|
3820
|
-
|
|
3821
|
-
|
|
3822
|
-
|
|
3823
|
-
|
|
3824
|
-
|
|
3819
|
+
ce as handleOldConfig,
|
|
3820
|
+
cf as hasAnyCheckTableSnapshot,
|
|
3821
|
+
cg as hasByTableCheckTableSnapshot,
|
|
3822
|
+
ch as hasSharedCheckTableSnapshot,
|
|
3823
|
+
aR as isAnnLocationSelected,
|
|
3824
|
+
aS as isBlank,
|
|
3825
3825
|
isBomGranted,
|
|
3826
3826
|
isEdhrSuite,
|
|
3827
3827
|
isEqmSuite,
|
|
3828
3828
|
aT2 as isFormChangeGhostRow,
|
|
3829
|
-
|
|
3829
|
+
ci as isMedProSuite,
|
|
3830
3830
|
isRowAddedInCurrentFormChange,
|
|
3831
|
-
|
|
3832
|
-
|
|
3833
|
-
|
|
3834
|
-
|
|
3835
|
-
|
|
3831
|
+
cj as isTableRowKeyMatch,
|
|
3832
|
+
ck as jsonSchemaUtils,
|
|
3833
|
+
cl as judgeUnique,
|
|
3834
|
+
b4 as materialCheck,
|
|
3835
|
+
cm as migrateDiagonalDirectionToVertex,
|
|
3836
3836
|
nextFormChangeRowViewHistoryId,
|
|
3837
3837
|
q2 as normalizeAIOcrTmpl,
|
|
3838
3838
|
L2 as normalizeHistoricalAutofillRow,
|
|
3839
3839
|
o as normalizeHistoricalBusinessRow,
|
|
3840
3840
|
aU2 as normalizeHistoricalFieldConfig,
|
|
3841
|
-
|
|
3841
|
+
bc as normalizeRefLoaderResult,
|
|
3842
3842
|
normalizeRuntime,
|
|
3843
3843
|
parseFrontConfig,
|
|
3844
3844
|
parseRuntimeFieldPath,
|
|
@@ -3846,15 +3846,15 @@ export {
|
|
|
3846
3846
|
aV2 as pickObjectFieldKeys,
|
|
3847
3847
|
aW2 as recordSubtableRowAdd,
|
|
3848
3848
|
aX2 as recordSubtableRowDelete,
|
|
3849
|
-
|
|
3849
|
+
aJ as refUtils,
|
|
3850
3850
|
aY2 as relocateDeletedRowsToEnd,
|
|
3851
3851
|
renderUtils,
|
|
3852
|
-
|
|
3853
|
-
|
|
3854
|
-
|
|
3852
|
+
cn as requestMedProCheckDsData,
|
|
3853
|
+
co as requestNonMedProCheckDsData,
|
|
3854
|
+
aZ2 as resolveAnnotationFieldLocation,
|
|
3855
3855
|
ar as resolveDiagonalVertex,
|
|
3856
3856
|
y as resolveFieldRenderComponent,
|
|
3857
|
-
|
|
3857
|
+
a_2 as resolveFormChangeRowUi,
|
|
3858
3858
|
E as resolveObjectBomEntry,
|
|
3859
3859
|
z as resolveObjectFieldKeys,
|
|
3860
3860
|
a$ as resolveRowFormChangeMark,
|
|
@@ -3863,8 +3863,8 @@ export {
|
|
|
3863
3863
|
v as setSelectAnnotationId,
|
|
3864
3864
|
b0 as setSelectMobileTdId,
|
|
3865
3865
|
t2 as setSelectValidatorId,
|
|
3866
|
-
|
|
3867
|
-
|
|
3866
|
+
aZ as sqlUtils,
|
|
3867
|
+
cp as stockCheck,
|
|
3868
3868
|
b1 as stripLegacyFormConfigFromPaper,
|
|
3869
3869
|
transformUtils,
|
|
3870
3870
|
W as useDependency,
|
|
@@ -3875,8 +3875,8 @@ export {
|
|
|
3875
3875
|
useMaterialBalance,
|
|
3876
3876
|
useNocodeEmitter,
|
|
3877
3877
|
H2 as useNocodeFormWidget,
|
|
3878
|
-
|
|
3879
|
-
|
|
3878
|
+
cq as useOnlineFormActionButton,
|
|
3879
|
+
bo as useOnlineFormTransformField2Component,
|
|
3880
3880
|
useRenderPageFactory,
|
|
3881
3881
|
Y as useRuntimeEditorFlusher,
|
|
3882
3882
|
s as useRuntimeInstanceServices,
|
|
@@ -3885,5 +3885,5 @@ export {
|
|
|
3885
3885
|
r as useWidgetStaticAttrs,
|
|
3886
3886
|
C as validateObjectBomForScan,
|
|
3887
3887
|
validateObjectBomQtyOnSubmit,
|
|
3888
|
-
|
|
3888
|
+
b6 as validateReinspectionDate
|
|
3889
3889
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent, computed, openBlock, createBlock } from "vue";
|
|
2
|
-
import { h as useModelFields, D as Diagonal } from "./index-
|
|
3
|
-
import { ar as resolveDiagonalVertex, ad as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_8710052f_lang-
|
|
2
|
+
import { h as useModelFields, D as Diagonal } from "./index-BIm_YKSw.js";
|
|
3
|
+
import { ar as resolveDiagonalVertex, ad as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_8710052f_lang-BsyVWing.js";
|
|
4
4
|
import "lodash-es";
|
|
5
5
|
import "dayjs";
|
|
6
6
|
import "@gct-paas/form-base";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { reactive, toRaw, computed, watch, onScopeDispose, inject, h, shallowReactive, markRaw, ref, provide, nextTick, toRef, defineComponent, openBlock, createElementBlock, mergeProps, unref, createElementVNode, normalizeClass, renderSlot, createCommentVNode, createVNode, toDisplayString, Fragment, renderList, onUnmounted, isVNode, onMounted, onBeforeMount, resolveComponent, createBlock, withCtx, createTextVNode } from "vue";
|
|
2
|
-
import { al as CellWidgetViewState, F as FIELD_TYPE,
|
|
2
|
+
import { al as CellWidgetViewState, F as FIELD_TYPE, bm as RenderModeEnum, a0 as FormTypeEnum, bC as BpmnNodeTypeEnum, cr as getFieldPlaceholder, bS as MobileFillTypeEnum, C as ComponentTypeEnum, bl as findRuntimeTableRow, b2 as renderUtils, a3 as PlatformEnum, p as api, bv as uuid2, c0 as calcUtils, c4 as ensureTableRowKeys, bZ as bindRuntimeTableColumns, bk as getRowId, cs as FRONT_ROW_KEY, cj as isTableRowKeyMatch, aA as RangeCompareOp, az as RangeValidateMode, c1 as decodeTableCellRowKey, c3 as ensureFrontRowKey, ba as getParseRuleInfo, aM as transformUtils, b4 as materialCheck, b5 as getLotLockedReason, b6 as validateReinspectionDate, bp as FormulaRuleFieldKeyEnum, N as CreateType, h as SubTableType, bb as getParseRuleValue, bn as findRuntimeParentRow, aP as Dependency_ENUM, aO as ASSIGNMENTSTRATEGY_ENUM, bG as commonUtils, aT as DeviceLink, ac as useNamespace, ad as _export_sfc, I as Icon, cd as getRenderedRuntimeTableCell, H as CellType, ct as resetTableRowIdentity, R as useModal, cu as q, cv as QUICK_FILL_ALLOWED_FIELDS, cw as groupFixedTableRows, cx as processQuickFillRows, cy as getIsGroupEmpty } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_8710052f_lang-BsyVWing.js";
|
|
3
3
|
import dayjs from "dayjs";
|
|
4
4
|
import { cloneDeep, isEmpty, isNil, pickBy, mergeWith, omit, last, pick, merge } from "lodash-es";
|
|
5
5
|
import "@gct-paas/form-base";
|
|
@@ -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
|
}
|
|
@@ -11264,9 +11279,9 @@ export {
|
|
|
11264
11279
|
isProductBatchEmptyRow as bg,
|
|
11265
11280
|
currentParamsConfig as c,
|
|
11266
11281
|
MULTI_SHEET_SCHEMA_VERSION as d,
|
|
11267
|
-
|
|
11282
|
+
getParseFormulaVarInfos as e,
|
|
11268
11283
|
createRuntimeDocumentV2 as f,
|
|
11269
|
-
|
|
11284
|
+
getBusinessFieldKey as g,
|
|
11270
11285
|
clampSealPosition as h,
|
|
11271
11286
|
normalizeSealDiameter as i,
|
|
11272
11287
|
normalizeFieldWidth as j,
|