@gct-paas/excel 0.1.40-beta.21 → 0.1.40-beta.24
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-CWYhEmYn.js → BaseComponent-9hkBjQjp.js} +2 -2
- package/dist/{VueVideoPlayer-D5zE_mXQ.js → VueVideoPlayer-yISI5amX.js} +2 -2
- package/dist/{align-editor-C2fibWP5.js → align-editor-ssy7gJsD.js} +1 -1
- package/dist/{barcode-design-l3rdfj4B.js → barcode-design-CHbO1c-N.js} +2 -2
- package/dist/base/index.es.js +83 -83
- package/dist/{diagonal-design-BPLxs9ji.js → diagonal-design-CwaKPsqR.js} +2 -2
- package/dist/{dynamic-table-action-D-e5iLib.js → dynamic-table-action-JR8LU5WT.js} +19 -17
- 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 +176 -111
- package/dist/{exceljs.min-CyjI4C57.js → exceljs.min-wPuo8a9q.js} +2 -2
- package/dist/{font-editor-CGSk5kFM.js → font-editor-CGJQio2h.js} +3 -3
- package/dist/{image-design-D0wFVrcv.js → image-design-g9R_z-IY.js} +2 -2
- package/dist/{index-CxthKExE.js → index-37J1K1W1.js} +2 -2
- package/dist/{index-Ddsrowty.js → index-9ipSNY71.js} +2 -2
- package/dist/{index-17hYBH0H.js → index-B9hIqELW.js} +1 -1
- package/dist/{index-BBnCJHvC.js → index-BCpitZ3H.js} +368 -206
- package/dist/{index-SsQpzWJV.js → index-BIitBpK7.js} +3 -3
- package/dist/{index-_lobWWTu.js → index-BX8xuu9v.js} +3 -3
- package/dist/{index-Cbfa0l4P.js → index-B_95dIym.js} +2 -2
- package/dist/{index-WGbD1Pm6.js → index-Bk67ggPI.js} +2 -2
- package/dist/{index-v-rdo6ME.js → index-BoZN_3QI.js} +2 -2
- package/dist/{index-CrNQ4fzl.js → index-BxaqeEUh.js} +3 -3
- package/dist/{index-BCl6C48o.js → index-C1b5ADFV.js} +2 -2
- package/dist/{index-4b7WInws.js → index-C5izC2Mm.js} +3 -3
- package/dist/{index-DpCJBo9U.js → index-C6oivLbu.js} +1 -1
- package/dist/{index-CCAULEff.js → index-CX2lK91Y.js} +2 -2
- package/dist/{index-C03h1mdc.js → index-Cg8xpa-X.js} +4 -4
- package/dist/{index-CKCRmqHx.js → index-Cmr9DRpz.js} +1 -1
- package/dist/{index-CToveeX8.js → index-CpQiCEe7.js} +1 -1
- package/dist/{index-DNODemiT.js → index-CpdA5MDE.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-C4cVVxUT.js → index-DEMinegB.js} +1 -1
- package/dist/{index-DU5m20W6.js → index-DUma1ZGa.js} +3 -3
- package/dist/{index-D6YZXtdZ.js → index-DZb9l6Gw.js} +2 -2
- package/dist/{index-CjK1DtkT.js → index-DozFqpk2.js} +1 -1
- package/dist/{index-BTvFf_Od.js → index-Ds8UpdFP.js} +2 -2
- package/dist/{index-D9jgkb7e.js → index-KMB2TBbZ.js} +2 -2
- package/dist/{index-CJZP3Y8A.js → index-LiOm5nws.js} +2 -2
- package/dist/{index-DHBkzfbv.js → index-PUFY8idd.js} +1 -1
- package/dist/{index-8ar-Bsw7.js → index-PVGqEoN1.js} +2 -2
- package/dist/{index-DOKlk-Nf.js → index-Pgworj4S.js} +2 -2
- package/dist/{index-BOOwVQlO.js → index-YteSvWxT.js} +1 -1
- package/dist/{index-DgcqMrSq.js → index-eLwoxKzH.js} +6 -3
- package/dist/{index-DphJXlye.js → index-sIW7hZFQ.js} +2 -2
- package/dist/{index-DSTGDFEt.js → index-up8dW1VW.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-DGqFvJxx.js → pagination-design-BasHtAud.js} +2 -2
- package/dist/paper-widget-design-BWJtqIvf.js +4 -0
- package/dist/{print-runtime-instance-D4Pj5Qhr.js → print-runtime-instance-OTdo3422.js} +1 -1
- package/dist/{print-snapshot-renderer-De-pf1K_.js → print-snapshot-renderer-ByiTyPun.js} +3 -3
- package/dist/{qrcode-design-Ck2_tB4Q.js → qrcode-design-hSEE0IFK.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-BRJgX3Fr.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-Q1xjuTpb.js → single-field-drop-MFIjdRrG.js} +2 -2
- package/dist/{size-editor-CeB5cXTJ.js → size-editor-JdHGylGx.js} +1 -1
- package/dist/src/nocode-base/src/hooks/material-consume/bom-validator.d.ts +2 -2
- package/dist/src/online-form/src/views/__cell_widgets__/cell-widget-design.vue.d.ts +1 -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-DFQip2cb.js → sub-table-factory-D6MHOXzJ.js} +9 -13
- package/dist/{text-design-CPMzgWXN.js → text-design-DaxQodcl.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-DIsU2-KV.js → trace-like-wrapper-Dc2qmQo_.js} +5 -2
- package/dist/{value-editor.vue_vue_type_style_index_0_lang-Dv47SN2Z.js → value-editor.vue_vue_type_style_index_0_lang-yM2HYifj.js} +2 -2
- package/dist/{widget-barcode-CHBw2stC.js → widget-barcode-CN13ewGl.js} +4 -4
- package/dist/{widget-diagonal-NClGO5Rn.js → widget-diagonal-DMki09VI.js} +3 -3
- package/dist/{widget-image-_Nb1X3Xz.js → widget-image-BP_4rlRW.js} +4 -4
- package/dist/{widget-line-Bipjn0YA.js → widget-line-BkbZEHCt.js} +2 -2
- package/dist/{widget-pagination-B_Pse1Fh.js → widget-pagination-Bo31Q_F-.js} +5 -5
- package/dist/{widget-power-DKccfSH2.js → widget-power-DNaqREkx.js} +3 -3
- package/dist/{widget-qrcode-D-9tBxgw.js → widget-qrcode-DLGoKdnQ.js} +3 -3
- package/dist/{widget-rangelimit-BpOZXTEa.js → widget-rangelimit-CwI-0gsT.js} +3 -3
- package/dist/{widget-serialnumber-zGQ-Z_UV.js → widget-serialnumber-4TPNnZeQ.js} +1 -1
- package/dist/{widget-text-CVJ1-3y3.js → widget-text-kjnijcMF.js} +5 -5
- package/dist/{widget-timediff-CBonTDnJ.js → widget-timediff-CZAMM1f0.js} +2 -2
- package/package.json +1 -1
- package/dist/paper-widget-design-DrRVelBu.js +0 -4
- package/dist/seal-design-DjQNPduq.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-JR8LU5WT.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-BCpitZ3H.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-BCpitZ3H.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-JR8LU5WT.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-JR8LU5WT.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-D6MHOXzJ.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-D6MHOXzJ.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-BCpitZ3H.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";
|
|
@@ -200,7 +200,8 @@ class RuntimeDependencyService {
|
|
|
200
200
|
}
|
|
201
201
|
schedule(change) {
|
|
202
202
|
if (this.disposed) return;
|
|
203
|
-
|
|
203
|
+
const labelsOnly = change.paths.length > 0 && change.paths.every((path) => path.endsWith("_lb_"));
|
|
204
|
+
if (change.source === "restore" && !labelsOnly) change = { ...change, paths: ["*"] };
|
|
204
205
|
this.effects.forEach((effect) => {
|
|
205
206
|
if (this.matches(effect, change.paths)) this.cancelExecution(effect.id);
|
|
206
207
|
});
|
|
@@ -4819,7 +4820,7 @@ class BomEntryValidator {
|
|
|
4819
4820
|
}
|
|
4820
4821
|
/** 需求总量 = 数量倍数 × BOM 单位用量 */
|
|
4821
4822
|
get total() {
|
|
4822
|
-
return this.materialNoNum * this.bomEntry.qty_required_;
|
|
4823
|
+
return this.materialNoNum * Number(this.bomEntry.qty_required_);
|
|
4823
4824
|
}
|
|
4824
4825
|
/**
|
|
4825
4826
|
* 翻译物料的code
|
|
@@ -4973,12 +4974,12 @@ class BomEntryValidator {
|
|
|
4973
4974
|
*/
|
|
4974
4975
|
calcQtyConsumed(arr = this.historyData) {
|
|
4975
4976
|
const groupData = this.filterGroupData(arr);
|
|
4976
|
-
return groupData.reduce((acc, cur) => acc + (cur.qty_ ?? 0), 0);
|
|
4977
|
+
return groupData.reduce((acc, cur) => acc + Number(cur.qty_ ?? 0), 0);
|
|
4977
4978
|
}
|
|
4978
4979
|
/** 上下限校验统一按需求单位口径取转换数量,历史数据未转换时兼容原数量。 */
|
|
4979
4980
|
calcQtyForBounds(arr) {
|
|
4980
4981
|
const groupData = this.filterGroupData(arr);
|
|
4981
|
-
return groupData.reduce((acc, cur) => acc + (cur.qty_transfer_ ?? cur.qty_ ?? 0), 0);
|
|
4982
|
+
return groupData.reduce((acc, cur) => acc + Number(cur.qty_transfer_ ?? cur.qty_ ?? 0), 0);
|
|
4982
4983
|
}
|
|
4983
4984
|
/**
|
|
4984
4985
|
* 计算自定义的数量校验的最大值和最小值
|
|
@@ -4993,9 +4994,10 @@ class BomEntryValidator {
|
|
|
4993
4994
|
try {
|
|
4994
4995
|
const json = JSON.parse(str);
|
|
4995
4996
|
if (json.expr) {
|
|
4996
|
-
|
|
4997
|
-
qty_required_: data.qty_required_
|
|
4997
|
+
const value = await window.gct_expression.execute(json.expr, {
|
|
4998
|
+
qty_required_: data.qty_required_ == null ? data.qty_required_ : Number(data.qty_required_)
|
|
4998
4999
|
});
|
|
5000
|
+
return value == null ? void 0 : Number(value);
|
|
4999
5001
|
} else {
|
|
5000
5002
|
console.warn("没有配置表达式");
|
|
5001
5003
|
}
|
|
@@ -5022,8 +5024,8 @@ class BomEntryValidator {
|
|
|
5022
5024
|
const loaded = this.calcQtyConsumed(arr);
|
|
5023
5025
|
let required4 = this.remainingNum;
|
|
5024
5026
|
if (this.isCustomRequiredQty) {
|
|
5025
|
-
const currentQty = groupData[0]?.qty_required_;
|
|
5026
|
-
if (
|
|
5027
|
+
const currentQty = Number(groupData[0]?.qty_required_);
|
|
5028
|
+
if (!Number.isFinite(currentQty) || currentQty <= 0) {
|
|
5027
5029
|
throw new Error(
|
|
5028
5030
|
groupNo != null && groupNo > 0 ? `序号${groupNo},需求数量必须大于 0` : "需求数量必须大于 0"
|
|
5029
5031
|
);
|
|
@@ -5837,7 +5839,7 @@ function calcGroupRowSpans(rows, validator) {
|
|
|
5837
5839
|
function calcGroupQtyConsumedTotal(entryIdx, tableData, validator) {
|
|
5838
5840
|
if (entryIdx < 0) return 0;
|
|
5839
5841
|
return tableData.reduce((sum, row) => {
|
|
5840
|
-
return validator.resolveEntryIndex(row) === entryIdx ? sum + (row.qty_ ?? 0) : sum;
|
|
5842
|
+
return validator.resolveEntryIndex(row) === entryIdx ? sum + Number(row.qty_ ?? 0) : sum;
|
|
5841
5843
|
}, 0);
|
|
5842
5844
|
}
|
|
5843
5845
|
function syncGroupQtyConsumedTotals(tableData, validator) {
|
|
@@ -6072,7 +6074,7 @@ class MaterialConsumeTableController {
|
|
|
6072
6074
|
return {
|
|
6073
6075
|
product_id_: i.product_id_,
|
|
6074
6076
|
qty_required_uom_id_: i.uom_id_ || void 0,
|
|
6075
|
-
...materialNoNum === void 0 ? {} : { qty_required_: i.qty_required_ * materialNoNum },
|
|
6077
|
+
...materialNoNum === void 0 ? {} : { qty_required_: Number(i.qty_required_) * Number(materialNoNum) },
|
|
6076
6078
|
bom_entry_id_: i.id_
|
|
6077
6079
|
};
|
|
6078
6080
|
});
|
|
@@ -6389,7 +6391,7 @@ class MaterialConsumeTableController {
|
|
|
6389
6391
|
const formData = transformFields.reduce((acc, cur) => {
|
|
6390
6392
|
if (!cur.targetField) return acc;
|
|
6391
6393
|
if (cur.sourceField === FormulaRuleFieldKeyEnum.INPUT) {
|
|
6392
|
-
acc[cur.sourceField] = row.qty_;
|
|
6394
|
+
acc[cur.sourceField] = row.qty_ == null ? row.qty_ : Number(row.qty_);
|
|
6393
6395
|
} else if (cur.targetField.includes(".")) {
|
|
6394
6396
|
const fieldKey = cur.targetField.split(".").pop();
|
|
6395
6397
|
acc[cur.sourceField] = row[fieldKey];
|
|
@@ -6401,7 +6403,7 @@ class MaterialConsumeTableController {
|
|
|
6401
6403
|
try {
|
|
6402
6404
|
const res = await calculate(formulaContent, formData);
|
|
6403
6405
|
Object.assign(row, {
|
|
6404
|
-
qty_transfer_: res,
|
|
6406
|
+
qty_transfer_: res == null ? res : Number(res),
|
|
6405
6407
|
qty_transfer_uom_id_: targetUnitId,
|
|
6406
6408
|
transfer_formula_: formulaContent
|
|
6407
6409
|
});
|
|
@@ -6585,7 +6587,7 @@ class MaterialConsumeTableController {
|
|
|
6585
6587
|
const modifySingleRow = (index) => {
|
|
6586
6588
|
const row = this.actualTableData[index];
|
|
6587
6589
|
if (!row.product_id_) {
|
|
6588
|
-
row.qty_consumed_ =
|
|
6590
|
+
row.qty_consumed_ = Number(row.qty_ ?? 0);
|
|
6589
6591
|
return;
|
|
6590
6592
|
}
|
|
6591
6593
|
let total = 0;
|
|
@@ -6594,7 +6596,7 @@ class MaterialConsumeTableController {
|
|
|
6594
6596
|
if (util) {
|
|
6595
6597
|
total += util.hasConsumed;
|
|
6596
6598
|
util.filterGroupData(beforeArr).forEach((i) => {
|
|
6597
|
-
total += i.qty_ ?? 0;
|
|
6599
|
+
total += Number(i.qty_ ?? 0);
|
|
6598
6600
|
});
|
|
6599
6601
|
row.qty_consumed_ = total;
|
|
6600
6602
|
}
|
|
@@ -11279,9 +11281,9 @@ export {
|
|
|
11279
11281
|
isProductBatchEmptyRow as bg,
|
|
11280
11282
|
currentParamsConfig as c,
|
|
11281
11283
|
MULTI_SHEET_SCHEMA_VERSION as d,
|
|
11282
|
-
|
|
11284
|
+
getParseFormulaVarInfos as e,
|
|
11283
11285
|
createRuntimeDocumentV2 as f,
|
|
11284
|
-
|
|
11286
|
+
getBusinessFieldKey as g,
|
|
11285
11287
|
clampSealPosition as h,
|
|
11286
11288
|
normalizeSealDiameter as i,
|
|
11287
11289
|
normalizeFieldWidth as j,
|