@gct-paas/excel 0.1.39-beta.41 → 0.1.39-beta.45
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-hWfUDepU.js → BaseComponent-BcMUXzWr.js} +2 -2
- package/dist/{VueVideoPlayer-CTtss6-e.js → VueVideoPlayer-DM1PzgRY.js} +2 -2
- package/dist/{align-editor-0EJDQ9xk.js → align-editor-CUUJFEyr.js} +1 -1
- package/dist/{barcode-design-CH7C0nTV.js → barcode-design-DCo5X-NW.js} +2 -2
- package/dist/base/index.es.js +64 -64
- package/dist/{diagonal-design-CKLfmzt9.js → diagonal-design-CTC7YZ27.js} +2 -2
- package/dist/{dynamic-table-action-Dhx1ZQSa.js → dynamic-table-action-CTBy77AD.js} +18 -16
- package/dist/{dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-vRTNdchM.js → dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-anSsEnF9.js} +349 -264
- package/dist/{edit.utils-CXmmCnxE-Cj0XviBc.js → edit.utils-CXmmCnxE-BpKbJtJw.js} +1 -1
- package/dist/excel.css +69 -55
- package/dist/{exceljs.min-BNsMIPFn.js → exceljs.min-BHi5L338.js} +2 -2
- package/dist/{font-editor-CHZPtUHX.js → font-editor--mgAlMck.js} +3 -3
- package/dist/{image-design-AOi1nT_M.js → image-design-CvPulfQ5.js} +2 -2
- package/dist/{index-D1bE-oJR.js → index-B2tkugA7.js} +71 -68
- package/dist/{index-BfIS3NOa.js → index-B39BtiX-.js} +3 -3
- package/dist/{index-LVofttI7.js → index-BMEKVMta.js} +3 -3
- package/dist/{index-BeFJ_RCt.js → index-BO1Li3H3.js} +1 -1
- package/dist/{index-n97S5YRD.js → index-BO9uHu6r.js} +1 -1
- package/dist/{index-DR6T7C4O.js → index-B_wIm0c_.js} +2 -2
- package/dist/{index-Cfe2Q-hG.js → index-BaiA-64l.js} +1 -1
- package/dist/{index-2SyQ6xAT.js → index-BjU6Dtry.js} +1 -1
- package/dist/{index-BFhX3ACB.js → index-BmMbk3ux.js} +1 -1
- package/dist/{index-DnM4LcB4.js → index-Bz009Lre.js} +2 -2
- package/dist/{index-Ca0fy776.js → index-CDLTNhDs.js} +2 -2
- package/dist/{index-cnZ4ogvg.js → index-CFZlwM2O.js} +2 -2
- package/dist/{index-SXIZsVts.js → index-CFiTAsPg.js} +1 -1
- package/dist/{index-BZPA_AiO.js → index-CPgE97o3.js} +3 -3
- package/dist/{index-Cy4bHDfG.js → index-CiW7CSPh.js} +2 -2
- package/dist/{index-BTr11l_g.js → index-Cit7v0Sn.js} +2 -2
- package/dist/{index-D7kir0tU.js → index-CizCUtiP.js} +2 -2
- package/dist/{index-BgV92L3Y.js → index-Clecgmwq.js} +2 -2
- package/dist/{index-CfvZdYSY.js → index-CqDSzVbY.js} +2 -2
- package/dist/{index-BVSnhxY1.js → index-CrAk2XO5.js} +2 -2
- package/dist/{index-Cld2wf77.js → index-CwIsdzXH.js} +1 -1
- package/dist/{index-C__SKZMl.js → index-D2OOg_P9.js} +3 -3
- package/dist/{index-Bua1ArJ5.js → index-DAYRbY4X.js} +2 -2
- package/dist/{index-B1JboJFx.js → index-DCjd1J3_.js} +1 -1
- package/dist/{index-B863k7Jl.js → index-DMPLAalb.js} +4 -4
- package/dist/{index-ICNCCzD2.js → index-DOkOt95L.js} +2 -2
- package/dist/{index-DThgFjEo.js → index-DZMdGtEu.js} +2 -2
- package/dist/{index-CiqInN9G.js → index-Des_Z7g-.js} +2 -2
- package/dist/{index-CbXJ1XDJ.js → index-Dig1Y-WI.js} +3 -3
- package/dist/{index-BNKKUueq.js → index-Dnaztyex.js} +2 -2
- package/dist/{index-nl7I1bLi.js → index-Dr-s4BJE.js} +1 -1
- package/dist/{index-CDRNOYDd.js → index-DtpStBfx.js} +3 -3
- package/dist/{index-Bj3c4vZy.js → index-GQjqLjCV.js} +2 -2
- package/dist/{index-DnOwWeey.js → index-_l9ejJci.js} +2 -2
- package/dist/{index-CDhZoiEf.js → index-vFXGFf0u.js} +1 -1
- package/dist/index.es.js +2 -2
- package/dist/{mb-render-FUO_-FXR.js → mb-render-BjNRjLdf.js} +1 -1
- package/dist/{online-form-model-select.vue_vue_type_script_setup_true_name_online-form-model-select_lang-DOYhOffQ.js → online-form-model-select.vue_vue_type_script_setup_true_name_online-form-model-select_lang-CQytxboy.js} +1 -1
- package/dist/{pagination-design-BjxLbj93.js → pagination-design-D8s2QR4I.js} +2 -2
- package/dist/paper-widget-design-CEdEkvnQ.js +4 -0
- package/dist/{print-runtime-instance-THb92xUW.js → print-runtime-instance-DMKmR64C.js} +1 -1
- package/dist/{print-snapshot-renderer-4jQFaAjJ.js → print-snapshot-renderer-Dqh4wq32.js} +3 -3
- package/dist/{qrcode-design-DM9kEawx.js → qrcode-design-CAl6czye.js} +1 -1
- package/dist/{revo-grid.entry-DKvA7bUR.js → revo-grid.entry-XuHRaYLS.js} +1 -1
- package/dist/{revogr-attribution_7.entry-C2PtJ_Tj.js → revogr-attribution_7.entry-Bhe2ZNNx.js} +3 -3
- package/dist/{revogr-clipboard_3.entry-BM7_JY0U.js → revogr-clipboard_3.entry-C-KLXKQp.js} +2 -2
- package/dist/{revogr-data_4.entry-CdMQPL7I.js → revogr-data_4.entry-A-53PNKm.js} +2 -2
- package/dist/{revogr-filter-panel.entry-BJiGVhcw.js → revogr-filter-panel.entry-DLCxVru8.js} +1 -1
- package/dist/seal-design-CWPtNAMf.js +4 -0
- package/dist/{serialnumber-design-QaDIsxYT.js → serialnumber-design-b3PN24Uf.js} +1 -1
- package/dist/shared/index.es.js +9 -9
- package/dist/{single-field-drop-BAiIyb2u.js → single-field-drop-VsopxP2Q.js} +2 -2
- package/dist/{size-editor-BV0KrQ37.js → size-editor-CeDefMAZ.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/shared/utils/lot2sn.d.ts +14 -1
- package/dist/src/shared/utils/query-filter.d.ts +24 -0
- package/dist/{sub-table-factory-_mm1iwau.js → sub-table-factory-Ch6_9YNA.js} +9 -13
- package/dist/{text-design-DfdH_3_b.js → text-design-BhAmwouQ.js} +2 -2
- package/dist/{throttle-Cpk1LoGk-HQvkISS4.js → throttle-Cpk1LoGk-CasAOJ7-.js} +1 -1
- package/dist/{timediff-design-CKjl56qS.js → timediff-design-BLpsTDOD.js} +1 -1
- package/dist/{trace-like-wrapper-D6lJ8e-H.js → trace-like-wrapper-BKilXIvf.js} +2 -2
- package/dist/{value-editor.vue_vue_type_style_index_0_lang-BmQGrlz8.js → value-editor.vue_vue_type_style_index_0_lang-D8HDJ4_Y.js} +2 -2
- package/dist/web-render/index.es.js +3 -3
- package/dist/{widget-barcode-By9P2d-R.js → widget-barcode-BRgk5gJJ.js} +4 -4
- package/dist/{widget-diagonal-DMNfA-Tt.js → widget-diagonal-ZRIIfCLT.js} +3 -3
- package/dist/{widget-image-YM9YaMb-.js → widget-image-BYbhP5K2.js} +5 -5
- package/dist/{widget-line-Dl3TIfBO.js → widget-line-D_AZ1rPP.js} +2 -2
- package/dist/{widget-pagination-9XxvQDIw.js → widget-pagination-a49kG9bb.js} +5 -5
- package/dist/{widget-power-A96VVJDG.js → widget-power-CXpS_5Fa.js} +3 -3
- package/dist/{widget-qrcode-DWseHVIM.js → widget-qrcode-31D-nG6D.js} +3 -3
- package/dist/{widget-rangelimit-DK8oOmC_.js → widget-rangelimit-CbKUOqCH.js} +3 -3
- package/dist/{widget-serialnumber-pue8WfA9.js → widget-serialnumber-Dd3xlWF_.js} +1 -1
- package/dist/{widget-text-B9O9UYK7.js → widget-text-B9Sz6JsF.js} +5 -5
- package/dist/{widget-timediff-PwNxXBrF.js → widget-timediff-DL5l1QV-.js} +2 -2
- package/package.json +1 -1
- package/dist/paper-widget-design-Cy2MxlCk.js +0 -4
- package/dist/seal-design-C5P3oQIa.js +0 -4
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { h as normalizeFieldWidth } from "./dynamic-table-action-
|
|
1
|
+
import { h as normalizeFieldWidth } from "./dynamic-table-action-CTBy77AD.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_53d7e66c_lang-
|
|
3
|
+
import { F as FIELD_TYPE } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-anSsEnF9.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 { M as commonjsGlobal, N as getDefaultExportFromCjs } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-
|
|
3
|
-
import { r as require$$0 } from "./index-
|
|
2
|
+
import { M as commonjsGlobal, N as getDefaultExportFromCjs } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-anSsEnF9.js";
|
|
3
|
+
import { r as require$$0 } from "./index-DZMdGtEu.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 { a7 as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-
|
|
2
|
+
import { a7 as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-anSsEnF9.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 { Q as PaperWidgeValueType, a7 as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-
|
|
3
|
+
import { u as useSpreadSheet, h as useModelFields, l as loadBwip } from "./index-B2tkugA7.js";
|
|
4
|
+
import { Q as PaperWidgeValueType, a7 as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-anSsEnF9.js";
|
|
5
5
|
import "dayjs";
|
|
6
6
|
import "ant-design-vue";
|
|
7
7
|
const _hoisted_1 = { class: "wrapper" };
|
package/dist/base/index.es.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { E as api, _ as PlatformEnum, F as FIELD_TYPE,
|
|
2
|
-
import { aL, aN,
|
|
3
|
-
import { a2 as getRuntimeDataFieldId, O as parseRuntimeFieldPath, a3 as buildRuntimeFieldPath, a4 as resolveRuntimeFieldProps, a5 as resolveRuntimeFieldState, a6 as assembleRules, a7 as isAttachFieldActive, P as calculateFormula, a8 as getRuntimeDependencyOutputKey, a9 as isRowAddedInCurrentFormChange, c as getParseFormulaVarInfos, w as MaterialConsumptionPatternEnum, aa as MaterialConsumeTableController, ab as setFormulaParamsConfig, ac as normalizeRuntime, V as createRuntimeInstanceContext, ad as initializeSealFields, U as RuntimeFormStateStore, ae as RuntimeSheetService, g as getBusinessFieldKey, af as validateObjectBomQtyOnSubmit, ag as areValidationCommentsEqual, ah as closeValidatorPopovers, ai as enrichFormChangeRowDetails, N as NCB_PROVIDE, W as RuntimeInstanceRegistry, aj as useMaterialBalance, ak as collectFormChangeFieldLocations, al as nextFormChangeRowViewHistoryId } from "../dynamic-table-action-
|
|
4
|
-
import { B as B2, am, k, a1 as a12, an as an2, $ as $2, ao, a0 as a02, F, ap, aq, ar, as, at as at2, M, a, au as au2, b, av as av2, aw as aw2, ax, ay, az, aA, aB, aC, C, aD as aD2, t as t2, aE, d, aF, aG, aH, aI, r, E, aJ as aJ2, aK as aK2, aL as aL2, aM as aM2, l, G, j, aN as aN2, aO as aO2, aP as aP2, aQ as aQ2, aR, aS, aT, y as y2, v, aU, z, p as p2, aV as aV2, s, aW as aW2, R, S, u, A as A2, T, o as o2, q, Q as Q2, m, x } from "../dynamic-table-action-
|
|
1
|
+
import { E as api, _ as PlatformEnum, F as FIELD_TYPE, bc as getRowId, bd as findRuntimeTableRow, b5 as RenderModeEnum, C as ComponentTypeEnum, aF as Dependency_ENUM, aE as ASSIGNMENTSTRATEGY_ENUM, bn as fetchHistoryConsume, bo as isBomGranted, aT as renderUtils, bm as uuid2, bp as parseFrontConfig, aI as CheckDsTypeEnum, aC as transformUtils, bq as baseDataUtils, X as FormTypeEnum, br as normalizeToArray, bs as safeParseArray, bt as BpmnNodeTypeEnum, bu as mergeByMultiKey, a7 as _export_sfc, bv as evaluateInspectionDecisionRule, bw as useNocodeEmitter, bx as commonUtils, aG as EntityModelCategoryEnum } from "../dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-anSsEnF9.js";
|
|
2
|
+
import { aL, aN, a_, a0, by, bz, B, bA, y, af, bB, bC, bD, bb, bE, aQ, av, aM, aJ, aK, bF, ag, ak, bG, bH, aD, a2, ae, aw, aO, $, ai, L, bI, bJ, bK, O, p, P, a9, o, Q, A, bL, bM, au, at, a5, a1, a3, a4, a6, f, bN, aj, an, ah, bO, bP, bQ, bR, ba, bS, bT, bU, bV, bW, bX, bY, bZ, b_, b$, be, c0, c1, aW, c2, a$, b0, c3, c4, c5, c6, c7, c8, c9, ca, cb, cc, aV, cd, b1, b8, ce, cf, al, t, aP, cg, ch, bf, aX } from "../dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-anSsEnF9.js";
|
|
3
|
+
import { a2 as getRuntimeDataFieldId, O as parseRuntimeFieldPath, a3 as buildRuntimeFieldPath, a4 as resolveRuntimeFieldProps, a5 as resolveRuntimeFieldState, a6 as assembleRules, a7 as isAttachFieldActive, P as calculateFormula, a8 as getRuntimeDependencyOutputKey, a9 as isRowAddedInCurrentFormChange, c as getParseFormulaVarInfos, w as MaterialConsumptionPatternEnum, aa as MaterialConsumeTableController, ab as setFormulaParamsConfig, ac as normalizeRuntime, V as createRuntimeInstanceContext, ad as initializeSealFields, U as RuntimeFormStateStore, ae as RuntimeSheetService, g as getBusinessFieldKey, af as validateObjectBomQtyOnSubmit, ag as areValidationCommentsEqual, ah as closeValidatorPopovers, ai as enrichFormChangeRowDetails, N as NCB_PROVIDE, W as RuntimeInstanceRegistry, aj as useMaterialBalance, ak as collectFormChangeFieldLocations, al as nextFormChangeRowViewHistoryId } from "../dynamic-table-action-CTBy77AD.js";
|
|
4
|
+
import { B as B2, am, k, a1 as a12, an as an2, $ as $2, ao, a0 as a02, F, ap, aq, ar, as, at as at2, M, a, au as au2, b, av as av2, aw as aw2, ax, ay, az, aA, aB, aC, C, aD as aD2, t as t2, aE, d, aF, aG, aH, aI, r, E, aJ as aJ2, aK as aK2, aL as aL2, aM as aM2, l, G, j, aN as aN2, aO as aO2, aP as aP2, aQ as aQ2, aR, aS, aT, y as y2, v, aU, z, p as p2, aV as aV2, s, aW as aW2, R, S, u, A as A2, T, o as o2, q, Q as Q2, m, x } from "../dynamic-table-action-CTBy77AD.js";
|
|
5
5
|
import { toRaw, watch, toRef, computed, defineComponent, openBlock, createElementBlock, createElementVNode, toDisplayString, ref, provide, onUnmounted, markRaw, reactive, onBeforeUnmount } from "vue";
|
|
6
6
|
import { cloneDeep, defaults, isEmpty, merge } from "lodash-es";
|
|
7
7
|
import "dayjs";
|
|
8
|
-
import { S as SubTableCoreFactory, R as RuntimeInstanceController } from "../sub-table-factory-
|
|
9
|
-
import { A as A3, D, M as M2, a as a7, P as P2, b as b2, c, d as d2, e, W, f as f2, g, h } from "../sub-table-factory-
|
|
10
|
-
import { B as B3, F as F2, M as M3, a as a8, u as u2 } from "../mb-render-
|
|
8
|
+
import { S as SubTableCoreFactory, R as RuntimeInstanceController } from "../sub-table-factory-Ch6_9YNA.js";
|
|
9
|
+
import { A as A3, D, M as M2, a as a7, P as P2, b as b2, c, d as d2, e, W, f as f2, g, h } from "../sub-table-factory-Ch6_9YNA.js";
|
|
10
|
+
import { B as B3, F as F2, M as M3, a as a8, u as u2 } from "../mb-render-BjNRjLdf.js";
|
|
11
11
|
const InstanceStatusValues = {
|
|
12
12
|
/** 作废状态 */
|
|
13
13
|
ABANDON: "ABANDON",
|
|
@@ -3361,23 +3361,23 @@ export {
|
|
|
3361
3361
|
A3 as AllocateTableCore,
|
|
3362
3362
|
B3 as BaseFormModelFetcher,
|
|
3363
3363
|
aN as BinarizeMethodOptions,
|
|
3364
|
-
|
|
3364
|
+
a_ as BindCmpStyleEnum,
|
|
3365
3365
|
a0 as BooleanShowMode,
|
|
3366
3366
|
B2 as BorderTD,
|
|
3367
3367
|
BpmnNodeTypeEnum,
|
|
3368
|
-
|
|
3369
|
-
|
|
3368
|
+
by as BpmnSignatureTypeEnum,
|
|
3369
|
+
bz as ButtonTypeEnum,
|
|
3370
3370
|
B as BwipCodeType,
|
|
3371
|
-
|
|
3371
|
+
bA as CHECK_TABLE_MEDPRO_PROTOCOL_KEY,
|
|
3372
3372
|
y as CellType,
|
|
3373
3373
|
af as CellWidgetViewState,
|
|
3374
3374
|
CheckDsTypeEnum,
|
|
3375
|
-
|
|
3375
|
+
bB as CodeRunner,
|
|
3376
3376
|
ComponentTypeEnum,
|
|
3377
|
-
|
|
3378
|
-
|
|
3379
|
-
|
|
3380
|
-
|
|
3377
|
+
bC as Config_Fields,
|
|
3378
|
+
bD as ControlStatusEnum,
|
|
3379
|
+
bb as DEVICE_GROUP_QUERY_KEY,
|
|
3380
|
+
bE as DEVICE_SEARCH_API,
|
|
3381
3381
|
aQ as DateFormat,
|
|
3382
3382
|
av as DecimalDisplayMode,
|
|
3383
3383
|
aM as DenoiseMethodOptions,
|
|
@@ -3386,7 +3386,7 @@ export {
|
|
|
3386
3386
|
k as DeviceLinkTmplUtil,
|
|
3387
3387
|
aK as DeviceParamsTypeTitle,
|
|
3388
3388
|
D as DevicePartConsumeTableCore,
|
|
3389
|
-
|
|
3389
|
+
bF as DeviceStatus,
|
|
3390
3390
|
ag as DiagonalDirection,
|
|
3391
3391
|
ak as DiagonalVertex,
|
|
3392
3392
|
a12 as DocumentLayout,
|
|
@@ -3394,8 +3394,8 @@ export {
|
|
|
3394
3394
|
$2 as DocumentPaper,
|
|
3395
3395
|
ao as DynamicQuickFillModal,
|
|
3396
3396
|
a02 as DynamicTableAction,
|
|
3397
|
-
|
|
3398
|
-
|
|
3397
|
+
bG as EBR_PROVIDE_ENUM,
|
|
3398
|
+
bH as EFieldBizTypeEnum,
|
|
3399
3399
|
F as EMPTY_PRODUCT_VERSION_ID,
|
|
3400
3400
|
aD as EmptySymbol,
|
|
3401
3401
|
a2 as FallbackSignTypeEnum,
|
|
@@ -3416,7 +3416,7 @@ export {
|
|
|
3416
3416
|
$ as LabelPosition,
|
|
3417
3417
|
ai as LineDirection,
|
|
3418
3418
|
L as LineType,
|
|
3419
|
-
|
|
3419
|
+
bI as MAX_FRONT_ROW_KEY_LENGTH,
|
|
3420
3420
|
M as MAX_RUNTIME_SHEETS,
|
|
3421
3421
|
a as MAX_RUNTIME_SHEET_TITLE_LENGTH,
|
|
3422
3422
|
M3 as MBRender,
|
|
@@ -3428,10 +3428,10 @@ export {
|
|
|
3428
3428
|
M2 as MaterialRequisitionTableCore,
|
|
3429
3429
|
MaterialStatusEnum,
|
|
3430
3430
|
a7 as MaterialSubstitutionTableCore,
|
|
3431
|
-
|
|
3431
|
+
bJ as MobileFillTypeEnum,
|
|
3432
3432
|
NCB_PROVIDE,
|
|
3433
3433
|
av2 as OCR_MODEL_PRECISION_ENUM_KEY,
|
|
3434
|
-
|
|
3434
|
+
bK as OfficeTypeEnum,
|
|
3435
3435
|
O as Orientation,
|
|
3436
3436
|
p as PageSizeEnum,
|
|
3437
3437
|
P as PaginationFormat,
|
|
@@ -3441,10 +3441,10 @@ export {
|
|
|
3441
3441
|
A as ParamModelTypeEnum,
|
|
3442
3442
|
P2 as PartStocktakeTableCore,
|
|
3443
3443
|
PlatformEnum,
|
|
3444
|
-
|
|
3444
|
+
bL as PosEnum,
|
|
3445
3445
|
b2 as PretreatmentListTableCore,
|
|
3446
3446
|
c as ProfileDrivenSubTableCore,
|
|
3447
|
-
|
|
3447
|
+
bM as RUNTIME_COLUMN_ROW_KEY,
|
|
3448
3448
|
au as RangeCompareOp,
|
|
3449
3449
|
at as RangeValidateMode,
|
|
3450
3450
|
RenderModeEnum,
|
|
@@ -3469,7 +3469,7 @@ export {
|
|
|
3469
3469
|
aC as SubTableCore,
|
|
3470
3470
|
SubTableCoreFactory,
|
|
3471
3471
|
f as SubTableType,
|
|
3472
|
-
|
|
3472
|
+
bN as SummaryApproveHisTypeEnum,
|
|
3473
3473
|
aj as TimeDiffFormat,
|
|
3474
3474
|
an as ViewTypeEnum,
|
|
3475
3475
|
W as WarehouseInTableCore,
|
|
@@ -3477,18 +3477,18 @@ export {
|
|
|
3477
3477
|
g as WarehouseOutTableCore,
|
|
3478
3478
|
h as WarehouseOutboundTableCore,
|
|
3479
3479
|
ah as WidgetImageSizeMode,
|
|
3480
|
-
|
|
3480
|
+
bO as applyCheckDsDataToRuntime,
|
|
3481
3481
|
C as applyConsumeObjectTraceChange,
|
|
3482
|
-
|
|
3482
|
+
bP as applyMedProCheckDsDataToRuntime,
|
|
3483
3483
|
baseDataUtils,
|
|
3484
|
-
|
|
3485
|
-
|
|
3486
|
-
|
|
3484
|
+
bQ as bindRuntimeTableColumns,
|
|
3485
|
+
bR as buildDeviceBaseQuery,
|
|
3486
|
+
ba as buildDeviceFilterQuery,
|
|
3487
3487
|
aD2 as buildFormChangeDisplayRows,
|
|
3488
3488
|
t2 as buildObjectLotExtraQuery,
|
|
3489
3489
|
buildRuntimeFieldPath,
|
|
3490
|
-
|
|
3491
|
-
|
|
3490
|
+
bS as calcFillData,
|
|
3491
|
+
bT as calcUtils,
|
|
3492
3492
|
calculateFormula,
|
|
3493
3493
|
collectAnnotationItemsByLocation,
|
|
3494
3494
|
collectFormChangeFieldLocations,
|
|
@@ -3497,65 +3497,65 @@ export {
|
|
|
3497
3497
|
aE as convertV1Runtime,
|
|
3498
3498
|
d as createRuntimeDocumentV2,
|
|
3499
3499
|
createRuntimeInstanceContext,
|
|
3500
|
-
|
|
3500
|
+
bU as decodeTableCellRowKey,
|
|
3501
3501
|
aF as detailsHaveFormChangeRowOps,
|
|
3502
|
-
|
|
3502
|
+
bV as encodeTableCellRowKey,
|
|
3503
3503
|
enrichFormChangeRowDetails,
|
|
3504
|
-
|
|
3505
|
-
|
|
3504
|
+
bW as ensureFrontRowKey,
|
|
3505
|
+
bX as ensureTableRowKeys,
|
|
3506
3506
|
aG as extractFormChangeRowDetails,
|
|
3507
|
-
|
|
3508
|
-
|
|
3509
|
-
|
|
3507
|
+
bY as extractKeywordFromQueryData,
|
|
3508
|
+
bZ as fetchCheckDsDataForTable,
|
|
3509
|
+
b_ as fetchCustomCheckDsData,
|
|
3510
3510
|
fetchHistoryConsume,
|
|
3511
|
-
|
|
3511
|
+
b$ as fetchMedProCheckDsData,
|
|
3512
3512
|
fetchOperationReceiveQty,
|
|
3513
3513
|
fetchUdi,
|
|
3514
3514
|
filterAnnotationItemsUpToCurrent,
|
|
3515
|
-
|
|
3516
|
-
|
|
3515
|
+
be as findRuntimeParentRow,
|
|
3516
|
+
c0 as findRuntimeTableCell,
|
|
3517
3517
|
findRuntimeTableRow,
|
|
3518
3518
|
getAppInfo,
|
|
3519
3519
|
getBusinessFieldKey,
|
|
3520
|
-
|
|
3520
|
+
c1 as getCheckTableSnapshotKey,
|
|
3521
3521
|
aH as getFormChangeRowKey,
|
|
3522
3522
|
aI as getFormChangeRowOp,
|
|
3523
3523
|
aW as getLotLockedReason,
|
|
3524
3524
|
r as getObjectBomMaterialLotQuery,
|
|
3525
3525
|
E as getObjectBomProductQuery,
|
|
3526
3526
|
getParseFormulaVarInfos,
|
|
3527
|
-
|
|
3528
|
-
|
|
3529
|
-
|
|
3530
|
-
|
|
3531
|
-
|
|
3527
|
+
c2 as getParseRuleConfig,
|
|
3528
|
+
a$ as getParseRuleInfo,
|
|
3529
|
+
b0 as getParseRuleValue,
|
|
3530
|
+
c3 as getReinspectionDate,
|
|
3531
|
+
c4 as getRenderedRuntimeTableCell,
|
|
3532
3532
|
getRuntimeDataFieldId,
|
|
3533
3533
|
getRuntimeDependencyOutputKey,
|
|
3534
3534
|
aJ2 as getSubTableQuickFillInfo,
|
|
3535
3535
|
getSuiteKey,
|
|
3536
|
-
|
|
3537
|
-
|
|
3538
|
-
|
|
3539
|
-
|
|
3536
|
+
c5 as handleOldConfig,
|
|
3537
|
+
c6 as hasAnyCheckTableSnapshot,
|
|
3538
|
+
c7 as hasByTableCheckTableSnapshot,
|
|
3539
|
+
c8 as hasSharedCheckTableSnapshot,
|
|
3540
3540
|
aK2 as isAnnLocationSelected,
|
|
3541
3541
|
aL2 as isBlank,
|
|
3542
3542
|
isBomGranted,
|
|
3543
3543
|
isEdhrSuite,
|
|
3544
3544
|
isEqmSuite,
|
|
3545
3545
|
aM2 as isFormChangeGhostRow,
|
|
3546
|
-
|
|
3546
|
+
c9 as isMedProSuite,
|
|
3547
3547
|
isRowAddedInCurrentFormChange,
|
|
3548
|
-
|
|
3549
|
-
|
|
3550
|
-
|
|
3548
|
+
ca as isTableRowKeyMatch,
|
|
3549
|
+
cb as jsonSchemaUtils,
|
|
3550
|
+
cc as judgeUnique,
|
|
3551
3551
|
aV as materialCheck,
|
|
3552
|
-
|
|
3552
|
+
cd as migrateDiagonalDirectionToVertex,
|
|
3553
3553
|
nextFormChangeRowViewHistoryId,
|
|
3554
3554
|
l as normalizeAIOcrTmpl,
|
|
3555
3555
|
G as normalizeHistoricalAutofillRow,
|
|
3556
3556
|
j as normalizeHistoricalBusinessRow,
|
|
3557
3557
|
aN2 as normalizeHistoricalFieldConfig,
|
|
3558
|
-
|
|
3558
|
+
b1 as normalizeRefLoaderResult,
|
|
3559
3559
|
normalizeRuntime,
|
|
3560
3560
|
parseFrontConfig,
|
|
3561
3561
|
parseRuntimeFieldPath,
|
|
@@ -3563,11 +3563,11 @@ export {
|
|
|
3563
3563
|
aO2 as pickObjectFieldKeys,
|
|
3564
3564
|
aP2 as recordSubtableRowAdd,
|
|
3565
3565
|
aQ2 as recordSubtableRowDelete,
|
|
3566
|
-
|
|
3566
|
+
b8 as refUtils,
|
|
3567
3567
|
aR as relocateDeletedRowsToEnd,
|
|
3568
3568
|
renderUtils,
|
|
3569
|
-
|
|
3570
|
-
|
|
3569
|
+
ce as requestMedProCheckDsData,
|
|
3570
|
+
cf as requestNonMedProCheckDsData,
|
|
3571
3571
|
aS as resolveAnnotationFieldLocation,
|
|
3572
3572
|
al as resolveDiagonalVertex,
|
|
3573
3573
|
t as resolveFieldRenderComponent,
|
|
@@ -3581,7 +3581,7 @@ export {
|
|
|
3581
3581
|
aV2 as setSelectMobileTdId,
|
|
3582
3582
|
s as setSelectValidatorId,
|
|
3583
3583
|
aP as sqlUtils,
|
|
3584
|
-
|
|
3584
|
+
cg as stockCheck,
|
|
3585
3585
|
aW2 as stripLegacyFormConfigFromPaper,
|
|
3586
3586
|
transformUtils,
|
|
3587
3587
|
R as useDependency,
|
|
@@ -3592,8 +3592,8 @@ export {
|
|
|
3592
3592
|
useMaterialBalance,
|
|
3593
3593
|
useNocodeEmitter,
|
|
3594
3594
|
A2 as useNocodeFormWidget,
|
|
3595
|
-
|
|
3596
|
-
|
|
3595
|
+
ch as useOnlineFormActionButton,
|
|
3596
|
+
bf as useOnlineFormTransformField2Component,
|
|
3597
3597
|
useRenderPageFactory,
|
|
3598
3598
|
T as useRuntimeEditorFlusher,
|
|
3599
3599
|
o2 as useRuntimeInstanceServices,
|
|
@@ -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 { al as resolveDiagonalVertex, a7 as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-
|
|
2
|
+
import { h as useModelFields, D as Diagonal } from "./index-B2tkugA7.js";
|
|
3
|
+
import { al as resolveDiagonalVertex, a7 as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-anSsEnF9.js";
|
|
4
4
|
import "lodash-es";
|
|
5
5
|
import "dayjs";
|
|
6
6
|
import "ant-design-vue";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { reactive, toRaw, computed, watch, onScopeDispose, inject, h, shallowReactive, markRaw, ref, nextTick, toRef, provide, 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 { af as CellWidgetViewState, F as FIELD_TYPE,
|
|
2
|
+
import { af as CellWidgetViewState, F as FIELD_TYPE, b5 as RenderModeEnum, X as FormTypeEnum, bt as BpmnNodeTypeEnum, ci as getFieldPlaceholder, bJ as MobileFillTypeEnum, C as ComponentTypeEnum, bd as findRuntimeTableRow, aT as renderUtils, _ as PlatformEnum, E as api, bm as uuid2, bT as calcUtils, bX as ensureTableRowKeys, bQ as bindRuntimeTableColumns, bc as getRowId, cj as FRONT_ROW_KEY, ca as isTableRowKeyMatch, au as RangeCompareOp, at as RangeValidateMode, bU as decodeTableCellRowKey, bW as ensureFrontRowKey, a$ as getParseRuleInfo, aC as transformUtils, aV as materialCheck, aW as getLotLockedReason, aX as validateReinspectionDate, bg as FormulaRuleFieldKeyEnum, f as SubTableType, b0 as getParseRuleValue, H as CreateType, be as findRuntimeParentRow, aF as Dependency_ENUM, aE as ASSIGNMENTSTRATEGY_ENUM, bx as commonUtils, aJ as DeviceLink, a7 as _export_sfc, c4 as getRenderedRuntimeTableCell, y as CellType, ck as resetTableRowIdentity, J as useModal, cl as q, cm as QUICK_FILL_ALLOWED_FIELDS, cn as groupFixedTableRows, co as processQuickFillRows, cp as getIsGroupEmpty } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-anSsEnF9.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 { a as useNamespace, I as Icon } from "./AntdIcon-DCIaV352.js";
|
|
6
6
|
import { Modal, message } from "ant-design-vue";
|
|
7
|
-
import { u as useFormModel } from "./mb-render-
|
|
7
|
+
import { u as useFormModel } from "./mb-render-BjNRjLdf.js";
|
|
8
8
|
var MaterialConsumptionPatternEnum = /* @__PURE__ */ ((MaterialConsumptionPatternEnum2) => {
|
|
9
9
|
MaterialConsumptionPatternEnum2["RECORD"] = "record";
|
|
10
10
|
MaterialConsumptionPatternEnum2["BOM"] = "bom";
|
|
@@ -146,7 +146,8 @@ class RuntimeDependencyService {
|
|
|
146
146
|
}
|
|
147
147
|
schedule(change) {
|
|
148
148
|
if (this.disposed) return;
|
|
149
|
-
|
|
149
|
+
const labelsOnly = change.paths.length > 0 && change.paths.every((path) => path.endsWith("_lb_"));
|
|
150
|
+
if (change.source === "restore" && !labelsOnly) change = { ...change, paths: ["*"] };
|
|
150
151
|
this.effects.forEach((effect) => {
|
|
151
152
|
if (this.matches(effect, change.paths)) this.cancelExecution(effect.id);
|
|
152
153
|
});
|
|
@@ -4738,7 +4739,7 @@ class BomEntryValidator {
|
|
|
4738
4739
|
}
|
|
4739
4740
|
/** 需求总量 = 数量倍数 × BOM 单位用量 */
|
|
4740
4741
|
get total() {
|
|
4741
|
-
return this.materialNoNum * this.bomEntry.qty_required_;
|
|
4742
|
+
return this.materialNoNum * Number(this.bomEntry.qty_required_);
|
|
4742
4743
|
}
|
|
4743
4744
|
/**
|
|
4744
4745
|
* 翻译物料的code
|
|
@@ -4892,12 +4893,12 @@ class BomEntryValidator {
|
|
|
4892
4893
|
*/
|
|
4893
4894
|
calcQtyConsumed(arr = this.historyData) {
|
|
4894
4895
|
const groupData = this.filterGroupData(arr);
|
|
4895
|
-
return groupData.reduce((acc, cur) => acc + (cur.qty_ ?? 0), 0);
|
|
4896
|
+
return groupData.reduce((acc, cur) => acc + Number(cur.qty_ ?? 0), 0);
|
|
4896
4897
|
}
|
|
4897
4898
|
/** 上下限校验统一按需求单位口径取转换数量,历史数据未转换时兼容原数量。 */
|
|
4898
4899
|
calcQtyForBounds(arr) {
|
|
4899
4900
|
const groupData = this.filterGroupData(arr);
|
|
4900
|
-
return groupData.reduce((acc, cur) => acc + (cur.qty_transfer_ ?? cur.qty_ ?? 0), 0);
|
|
4901
|
+
return groupData.reduce((acc, cur) => acc + Number(cur.qty_transfer_ ?? cur.qty_ ?? 0), 0);
|
|
4901
4902
|
}
|
|
4902
4903
|
/**
|
|
4903
4904
|
* 计算自定义的数量校验的最大值和最小值
|
|
@@ -4912,9 +4913,10 @@ class BomEntryValidator {
|
|
|
4912
4913
|
try {
|
|
4913
4914
|
const json = JSON.parse(str);
|
|
4914
4915
|
if (json.expr) {
|
|
4915
|
-
|
|
4916
|
-
qty_required_: data.qty_required_
|
|
4916
|
+
const value = await window.gct_expression.execute(json.expr, {
|
|
4917
|
+
qty_required_: data.qty_required_ == null ? data.qty_required_ : Number(data.qty_required_)
|
|
4917
4918
|
});
|
|
4919
|
+
return value == null ? void 0 : Number(value);
|
|
4918
4920
|
} else {
|
|
4919
4921
|
console.warn("没有配置表达式");
|
|
4920
4922
|
}
|
|
@@ -4941,8 +4943,8 @@ class BomEntryValidator {
|
|
|
4941
4943
|
const loaded = this.calcQtyConsumed(arr);
|
|
4942
4944
|
let required4 = this.remainingNum;
|
|
4943
4945
|
if (this.isCustomRequiredQty) {
|
|
4944
|
-
const currentQty = groupData[0]?.qty_required_;
|
|
4945
|
-
if (
|
|
4946
|
+
const currentQty = Number(groupData[0]?.qty_required_);
|
|
4947
|
+
if (!Number.isFinite(currentQty) || currentQty <= 0) {
|
|
4946
4948
|
throw new Error(
|
|
4947
4949
|
groupNo != null && groupNo > 0 ? `序号${groupNo},需求数量必须大于 0` : "需求数量必须大于 0"
|
|
4948
4950
|
);
|
|
@@ -5756,7 +5758,7 @@ function calcGroupRowSpans(rows, validator) {
|
|
|
5756
5758
|
function calcGroupQtyConsumedTotal(entryIdx, tableData, validator) {
|
|
5757
5759
|
if (entryIdx < 0) return 0;
|
|
5758
5760
|
return tableData.reduce((sum, row) => {
|
|
5759
|
-
return validator.resolveEntryIndex(row) === entryIdx ? sum + (row.qty_ ?? 0) : sum;
|
|
5761
|
+
return validator.resolveEntryIndex(row) === entryIdx ? sum + Number(row.qty_ ?? 0) : sum;
|
|
5760
5762
|
}, 0);
|
|
5761
5763
|
}
|
|
5762
5764
|
function syncGroupQtyConsumedTotals(tableData, validator) {
|
|
@@ -6007,7 +6009,7 @@ class MaterialConsumeTableController {
|
|
|
6007
6009
|
return this.actualBomEntries.map((i) => {
|
|
6008
6010
|
return {
|
|
6009
6011
|
product_id_: i.product_id_,
|
|
6010
|
-
...materialNoNum === void 0 ? {} : { qty_required_: i.qty_required_ * materialNoNum },
|
|
6012
|
+
...materialNoNum === void 0 ? {} : { qty_required_: Number(i.qty_required_) * Number(materialNoNum) },
|
|
6011
6013
|
bom_entry_id_: i.id_
|
|
6012
6014
|
};
|
|
6013
6015
|
});
|
|
@@ -6338,7 +6340,7 @@ class MaterialConsumeTableController {
|
|
|
6338
6340
|
const formData = transformFields.reduce((acc, cur) => {
|
|
6339
6341
|
if (!cur.targetField) return acc;
|
|
6340
6342
|
if (cur.sourceField === FormulaRuleFieldKeyEnum.INPUT) {
|
|
6341
|
-
acc[cur.sourceField] = row.qty_;
|
|
6343
|
+
acc[cur.sourceField] = row.qty_ == null ? row.qty_ : Number(row.qty_);
|
|
6342
6344
|
} else if (cur.targetField.includes(".")) {
|
|
6343
6345
|
const fieldKey = cur.targetField.split(".").pop();
|
|
6344
6346
|
acc[cur.sourceField] = row[fieldKey];
|
|
@@ -6350,7 +6352,7 @@ class MaterialConsumeTableController {
|
|
|
6350
6352
|
try {
|
|
6351
6353
|
const res = await calculate(formulaContent, formData);
|
|
6352
6354
|
Object.assign(row, {
|
|
6353
|
-
qty_transfer_: res,
|
|
6355
|
+
qty_transfer_: res == null ? res : Number(res),
|
|
6354
6356
|
qty_transfer_uom_id_: targetUnitId,
|
|
6355
6357
|
transfer_formula_: formulaContent
|
|
6356
6358
|
});
|
|
@@ -6534,7 +6536,7 @@ class MaterialConsumeTableController {
|
|
|
6534
6536
|
const modifySingleRow = (index) => {
|
|
6535
6537
|
const row = this.actualTableData[index];
|
|
6536
6538
|
if (!row.product_id_) {
|
|
6537
|
-
row.qty_consumed_ =
|
|
6539
|
+
row.qty_consumed_ = Number(row.qty_ ?? 0);
|
|
6538
6540
|
return;
|
|
6539
6541
|
}
|
|
6540
6542
|
let total = 0;
|
|
@@ -6543,7 +6545,7 @@ class MaterialConsumeTableController {
|
|
|
6543
6545
|
if (util) {
|
|
6544
6546
|
total += util.hasConsumed;
|
|
6545
6547
|
util.filterGroupData(beforeArr).forEach((i) => {
|
|
6546
|
-
total += i.qty_ ?? 0;
|
|
6548
|
+
total += Number(i.qty_ ?? 0);
|
|
6547
6549
|
});
|
|
6548
6550
|
row.qty_consumed_ = total;
|
|
6549
6551
|
}
|