@gct-paas/excel 0.1.39-beta.15 → 0.1.39-beta.16
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-l0nid3jb.js → BaseComponent-BukKy-Ta.js} +2 -2
- package/dist/{VueVideoPlayer-rLEjwJD1.js → VueVideoPlayer-IeaDX9ln.js} +2 -2
- package/dist/{align-editor-CThA5sqY.js → align-editor-wPpZ_4zH.js} +1 -1
- package/dist/{barcode-design-sl71IZAh.js → barcode-design-CHZzFsEC.js} +2 -2
- package/dist/base/index.es.js +85 -8
- package/dist/{diagonal-design-fvV8Eqv9.js → diagonal-design-OOMfRYA4.js} +2 -2
- package/dist/{dynamic-table-action-CB1iBpyr.js → dynamic-table-action-B-Tw4RYj.js} +2 -2
- package/dist/{dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-DZTbBLX8.js → dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-BmECtuSE.js} +30 -29
- package/dist/{edit.utils-CXmmCnxE-wVxZBX2T.js → edit.utils-CXmmCnxE-CQiGidG5.js} +1 -1
- package/dist/{exceljs.min-D5juKAwL.js → exceljs.min-qTeeIg1c.js} +2 -2
- package/dist/{font-editor-Bk29ABZ6.js → font-editor-DxwZPPcW.js} +3 -3
- package/dist/{image-design-CEQehKo3.js → image-design-DVq9O1ZF.js} +2 -2
- package/dist/{index-C8xKDyeD.js → index-B4LBLC9w.js} +1 -1
- package/dist/{index-SAxvmqYI.js → index-BAHY8J4O.js} +3 -3
- package/dist/{index-DGG9f-bH.js → index-BDal31rR.js} +2 -2
- package/dist/{index-DxyFvOfR.js → index-BEVwLj0C.js} +2 -2
- package/dist/{index-RBXxr4Qh.js → index-BHXvTfAC.js} +2 -2
- package/dist/{index-DJRMAb-S.js → index-BLfLEJTY.js} +47 -46
- package/dist/{index-DGGJRR4E.js → index-BQ7NWxQc.js} +2 -2
- package/dist/{index-ZauIkvFj.js → index-BzWTFxln.js} +2 -2
- package/dist/{index-C_9ArFTt.js → index-C-urdRZ2.js} +1 -1
- package/dist/{index-DZZnfG6h.js → index-C2tzE0Pa.js} +3 -3
- package/dist/{index-Cr7QXLLQ.js → index-CBZ8lhDg.js} +2 -2
- package/dist/{index-CswmgeN8.js → index-CKqMs7mS.js} +2 -2
- package/dist/{index-CdIEzrgB.js → index-CLE6hZJS.js} +2 -2
- package/dist/{index-BI8BFTVe.js → index-CPQNMrdO.js} +1 -1
- package/dist/{index-otXN6GGD.js → index-CSlejyqH.js} +1 -1
- package/dist/{index-DUkOUXvm.js → index-CiRn_aRr.js} +2 -2
- package/dist/{index-CxLCSrXd.js → index-Cis2UVwi.js} +2 -2
- package/dist/{index-_ezdUnRi.js → index-CuNImaHo.js} +2 -2
- package/dist/{index-DDm5el4N.js → index-CvPWXCmn.js} +1 -1
- package/dist/{index-BxBjo_MG.js → index-CyX1kNkY.js} +1 -1
- package/dist/{index-CshDRgUb.js → index-CzQ0z_Gd.js} +2 -2
- package/dist/{index-XpLSF1_s.js → index-CzmRYqq8.js} +4 -4
- package/dist/{index-BWBOM-o3.js → index-DNTr3TAQ.js} +2 -2
- package/dist/{index-Da8VYng5.js → index-DP10nlTM.js} +2 -2
- package/dist/{index-JGcv_SyH.js → index-DU9LUfhQ.js} +2 -2
- package/dist/{index-D988RFRH.js → index-DaYPI9DA.js} +1 -1
- package/dist/{index-BloYiyGP.js → index-Dq8DSt0w.js} +1 -1
- package/dist/{index-Cpjc72Wh.js → index-HLHblia-.js} +3 -3
- package/dist/{index-CeQoHTEw.js → index-Jq1d5kcw.js} +3 -3
- package/dist/{index-GnYi1hwL.js → index-N2ZMSuL6.js} +1 -1
- package/dist/{index-CR7GrAch.js → index-ZYhlGCsX.js} +2 -2
- package/dist/{index-VH3XbUxT.js → index-cd2rFLa1.js} +2 -2
- package/dist/{index-CXQRI3Yu.js → index-haSf7Cn8.js} +1 -1
- package/dist/{index-V3wyDGwq.js → index-oPtrKoRH.js} +2 -2
- package/dist/{index-CR8lFjT1.js → index-xEEcgELT.js} +2 -2
- package/dist/index.es.js +2 -2
- package/dist/{mb-render-BqkWBMtI.js → mb-render-DjXYXimz.js} +1 -1
- package/dist/{online-form-model-select.vue_vue_type_script_setup_true_name_online-form-model-select_lang-B9dH3NoS.js → online-form-model-select.vue_vue_type_script_setup_true_name_online-form-model-select_lang-CtYTpCF6.js} +1 -1
- package/dist/{pagination-design-ztn5CKGM.js → pagination-design-CrHZBsDW.js} +2 -2
- package/dist/paper-widget-design-CRwvgntz.js +4 -0
- package/dist/{print-runtime-instance-q9U9m7kZ.js → print-runtime-instance-Bvde5aY8.js} +1 -1
- package/dist/{print-snapshot-renderer-BL9gSLhH.js → print-snapshot-renderer-RSs6kMHp.js} +3 -3
- package/dist/{qrcode-design-yuG7ZadI.js → qrcode-design-CHT6_pT-.js} +1 -1
- package/dist/{revo-grid.entry-D1QKkvpp.js → revo-grid.entry-DORNB4cp.js} +1 -1
- package/dist/{revogr-attribution_7.entry-CRCtX47l.js → revogr-attribution_7.entry-CrdX04rF.js} +3 -3
- package/dist/{revogr-clipboard_3.entry-elrA4DUz.js → revogr-clipboard_3.entry-CWLVEZnP.js} +2 -2
- package/dist/{revogr-data_4.entry-bZYGKHyL.js → revogr-data_4.entry-Bs8mqW3y.js} +2 -2
- package/dist/{revogr-filter-panel.entry-B_d9G-hl.js → revogr-filter-panel.entry-CTN0T0tx.js} +1 -1
- package/dist/seal-design-O8r6naAH.js +4 -0
- package/dist/{serialnumber-design-MJSy7jsx.js → serialnumber-design-BSgTQN0r.js} +1 -1
- package/dist/shared/index.es.js +2 -2
- package/dist/{single-field-drop-BpOEtHNr.js → single-field-drop-CpKHTM2p.js} +2 -2
- package/dist/{size-editor-6IH71VxK.js → size-editor-DQJIuZCE.js} +1 -1
- package/dist/src/nocode-base/src/hooks/material-consume-object/initialize-autofill.d.ts +17 -0
- package/dist/src/nocode-base/src/interface/render.d.ts +3 -1
- package/dist/src/nocode-base/src/interface/transform.d.ts +1 -1
- package/dist/{sub-table-factory-g6wNeE0J.js → sub-table-factory-DtG-HO2a.js} +2 -2
- package/dist/{text-design-DpeHIj-K.js → text-design-Yi24e6iF.js} +2 -2
- package/dist/{throttle-Cpk1LoGk-mAa23iVE.js → throttle-Cpk1LoGk-w1fTQ4cj.js} +1 -1
- package/dist/{timediff-design-svW4L_Q7.js → timediff-design-BIyHZKid.js} +1 -1
- package/dist/{trace-like-wrapper-CyNhKXCr.js → trace-like-wrapper-DayZkwvZ.js} +2 -2
- package/dist/{value-editor.vue_vue_type_style_index_0_lang-BtYBXBJ9.js → value-editor.vue_vue_type_style_index_0_lang-EiOW4b3N.js} +2 -2
- package/dist/web-render/index.es.js +3 -3
- package/dist/{widget-barcode-BzWlJVh7.js → widget-barcode-BrN3dVIE.js} +4 -4
- package/dist/{widget-diagonal-ZuqfaeSd.js → widget-diagonal-DKD-DBzk.js} +3 -3
- package/dist/{widget-image-DnWSsHBe.js → widget-image-CgaOXQWN.js} +5 -5
- package/dist/{widget-line-BZxumyVs.js → widget-line-DMT-WUJa.js} +2 -2
- package/dist/{widget-pagination-c8I62Pn2.js → widget-pagination-G1-plSoL.js} +5 -5
- package/dist/{widget-power-BUxzDToN.js → widget-power-4broQpTr.js} +3 -3
- package/dist/{widget-qrcode-BNK4xrRv.js → widget-qrcode-GQ83IJo5.js} +3 -3
- package/dist/{widget-rangelimit-B6rJ9V0I.js → widget-rangelimit-CoDlaJyU.js} +3 -3
- package/dist/{widget-serialnumber-YjUhKx9-.js → widget-serialnumber-CUYfiN4D.js} +1 -1
- package/dist/{widget-text-Bpz7TEX4.js → widget-text-BTh60jMy.js} +5 -5
- package/dist/{widget-timediff-DFCvDygV.js → widget-timediff-3Xg2As8I.js} +2 -2
- package/package.json +2 -2
- package/dist/paper-widget-design-oWHXl2z7.js +0 -4
- package/dist/seal-design-D6lnj8jJ.js +0 -4
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { n as normalizeFieldWidth } from "./dynamic-table-action-
|
|
1
|
+
import { n as normalizeFieldWidth } from "./dynamic-table-action-B-Tw4RYj.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-BmECtuSE.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-BmECtuSE.js";
|
|
3
|
+
import { r as require$$0 } from "./index-BHXvTfAC.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 { a8 as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-
|
|
2
|
+
import { a8 as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-BmECtuSE.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, a8 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-BLfLEJTY.js";
|
|
4
|
+
import { Q as PaperWidgeValueType, a8 as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-BmECtuSE.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, bj as getRowId, bk as findRuntimeTableRow, b9 as RenderModeEnum, C as ComponentTypeEnum, bw as assembleRules, bx as isAttachFieldActive, aI as Dependency_ENUM, bl as calculateFormula, aH as ASSIGNMENTSTRATEGY_ENUM, R as getParseFormulaVarInfos, by as fetchHistoryConsume, bz as isBomGranted, aW as renderUtils, bv as uuid2, bA as parseFrontConfig, aL as CheckDsTypeEnum, aF as transformUtils, bB as baseDataUtils, bC as initializeSealFields, Y as FormTypeEnum, bD as normalizeToArray, bE as safeParseArray, bF as BpmnNodeTypeEnum, bG as mergeByMultiKey, a8 as _export_sfc, bH as evaluateInspectionDecisionRule, bI as areValidationCommentsEqual, bJ as useNocodeEmitter, bK as commonUtils, aJ as EntityModelCategoryEnum } from "../dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-
|
|
2
|
-
import { aO, aQ, b0, a1, bL, bM, B, bN, y, ai, bO, bP, bQ, bi, bR, aT, ay, aP, aM, aN, bS, aj, an, bT, bU, aG, a3, ah, az, aR, a0, al, L, bV, bW, bX, O, p, P, aa, o, Q, A, bY, bZ, ax, aw, a6, a2, a4, a5, a7, f, b_, am, aq, ak, b$, c0, c1, c2, bh, c3, c4, c5, c6, c7, c8, c9, ca, cb, cc, bm, cd, ce, aZ, cf, b1, b2, cg, ch, ci, cj, ck, cl, cm, cn, co, cp, aY, cq, b3, bf, cr, cs, ct, ao, t, aS, cu, cv, bn, a_ } from "../dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-
|
|
3
|
-
import { P as getRuntimeDataFieldId, z as parseRuntimeFieldPath, Q as buildRuntimeFieldPath, T as resolveRuntimeFieldProps, U as resolveRuntimeFieldState, V as getRuntimeDependencyOutputKey, W as isRowAddedInCurrentFormChange, o as MaterialConsumptionPatternEnum, X as MaterialConsumeTableController, Y as setFormulaParamsConfig, Z as normalizeRuntime, H as createRuntimeInstanceContext, R as RuntimeFormStateStore, $ as RuntimeSheetService, g as getBusinessFieldKey, a0 as validateObjectBomQtyOnSubmit, a1 as closeValidatorPopovers, a2 as enrichFormChangeRowDetails, N as NCB_PROVIDE, I as RuntimeInstanceRegistry, a3 as useMaterialBalance, a4 as collectFormChangeFieldLocations, a5 as nextFormChangeRowViewHistoryId } from "../dynamic-table-action-
|
|
4
|
-
import { B as B2, a6 as a62, e, _, a7 as a72, L as L2, a8, O as O2, E, a9, aa as aa2, ab, ac, ad, M, a, ae, b, af, ag, ah as ah2, ai as ai2, aj as aj2, ak as ak2, al as al2, am as am2, w, an as an2, m, ao as ao2, c, ap, aq as aq2, ar, as, l, x, at, au, av, aw as aw2, f as f2, y as y2, d, ax as ax2, ay as ay2, az as az2, aA, aB, aC, p as p2, r, aD, q, j, aE, s, aF, C, F, u, t as t2, G, i, k, A as A2, h, v } from "../dynamic-table-action-
|
|
1
|
+
import { E as api, $ as PlatformEnum, F as FIELD_TYPE, bj as getRowId, bk as findRuntimeTableRow, b9 as RenderModeEnum, C as ComponentTypeEnum, bw as assembleRules, bx as isAttachFieldActive, aI as Dependency_ENUM, bl as calculateFormula, aH as ASSIGNMENTSTRATEGY_ENUM, R as getParseFormulaVarInfos, by as fetchHistoryConsume, bz as isBomGranted, aW as renderUtils, bv as uuid2, bA as parseFrontConfig, aL as CheckDsTypeEnum, aF as transformUtils, bB as baseDataUtils, bC as initializeSealFields, Y as FormTypeEnum, bD as normalizeToArray, bE as safeParseArray, bF as BpmnNodeTypeEnum, bG as mergeByMultiKey, a8 as _export_sfc, bH as evaluateInspectionDecisionRule, bI as areValidationCommentsEqual, bJ as useNocodeEmitter, bK as commonUtils, aJ as EntityModelCategoryEnum } from "../dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-BmECtuSE.js";
|
|
2
|
+
import { aO, aQ, b0, a1, bL, bM, B, bN, y, ai, bO, bP, bQ, bi, bR, aT, ay, aP, aM, aN, bS, aj, an, bT, bU, aG, a3, ah, az, aR, a0, al, L, bV, bW, bX, O, p, P, aa, o, Q, A, bY, bZ, ax, aw, a6, a2, a4, a5, a7, f, b_, am, aq, ak, b$, c0, c1, c2, bh, c3, c4, c5, c6, c7, c8, c9, ca, cb, cc, bm, cd, ce, aZ, cf, b1, b2, cg, ch, ci, cj, ck, cl, cm, cn, co, cp, aY, cq, b3, bf, cr, cs, ct, ao, t, aS, cu, cv, bn, a_ } from "../dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-BmECtuSE.js";
|
|
3
|
+
import { P as getRuntimeDataFieldId, z as parseRuntimeFieldPath, Q as buildRuntimeFieldPath, T as resolveRuntimeFieldProps, U as resolveRuntimeFieldState, V as getRuntimeDependencyOutputKey, W as isRowAddedInCurrentFormChange, o as MaterialConsumptionPatternEnum, X as MaterialConsumeTableController, Y as setFormulaParamsConfig, Z as normalizeRuntime, H as createRuntimeInstanceContext, R as RuntimeFormStateStore, $ as RuntimeSheetService, g as getBusinessFieldKey, a0 as validateObjectBomQtyOnSubmit, a1 as closeValidatorPopovers, a2 as enrichFormChangeRowDetails, N as NCB_PROVIDE, I as RuntimeInstanceRegistry, a3 as useMaterialBalance, a4 as collectFormChangeFieldLocations, a5 as nextFormChangeRowViewHistoryId } from "../dynamic-table-action-B-Tw4RYj.js";
|
|
4
|
+
import { B as B2, a6 as a62, e, _, a7 as a72, L as L2, a8, O as O2, E, a9, aa as aa2, ab, ac, ad, M, a, ae, b, af, ag, ah as ah2, ai as ai2, aj as aj2, ak as ak2, al as al2, am as am2, w, an as an2, m, ao as ao2, c, ap, aq as aq2, ar, as, l, x, at, au, av, aw as aw2, f as f2, y as y2, d, ax as ax2, ay as ay2, az as az2, aA, aB, aC, p as p2, r, aD, q, j, aE, s, aF, C, F, u, t as t2, G, i, k, A as A2, h, v } from "../dynamic-table-action-B-Tw4RYj.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 a10, P as P2, b as b4, c as c10, d as d2, e as e2, W, f as f3, g, h as h2 } from "../sub-table-factory-
|
|
10
|
-
import { B as B3, F as F2, M as M3, a as a11, u as u2 } from "../mb-render-
|
|
8
|
+
import { S as SubTableCoreFactory, R as RuntimeInstanceController } from "../sub-table-factory-DtG-HO2a.js";
|
|
9
|
+
import { A as A3, D, M as M2, a as a10, P as P2, b as b4, c as c10, d as d2, e as e2, W, f as f3, g, h as h2 } from "../sub-table-factory-DtG-HO2a.js";
|
|
10
|
+
import { B as B3, F as F2, M as M3, a as a11, u as u2 } from "../mb-render-DjXYXimz.js";
|
|
11
11
|
const InstanceStatusValues = {
|
|
12
12
|
/** 作废状态 */
|
|
13
13
|
ABANDON: "ABANDON",
|
|
@@ -1003,6 +1003,71 @@ class FormTmplBomController {
|
|
|
1003
1003
|
};
|
|
1004
1004
|
}
|
|
1005
1005
|
}
|
|
1006
|
+
async function prepareObjectProductDefaults({
|
|
1007
|
+
enabled,
|
|
1008
|
+
fields,
|
|
1009
|
+
objectInitialValues = []
|
|
1010
|
+
}) {
|
|
1011
|
+
const defaults2 = /* @__PURE__ */ new WeakMap();
|
|
1012
|
+
if (!enabled) return defaults2;
|
|
1013
|
+
const requests = /* @__PURE__ */ new Map();
|
|
1014
|
+
const tasks = [];
|
|
1015
|
+
function fetchProduct(productId) {
|
|
1016
|
+
const existing = requests.get(productId);
|
|
1017
|
+
if (existing) return existing;
|
|
1018
|
+
const request = (async () => {
|
|
1019
|
+
const result = await api.apaas.modelComprehensive.getBizServiceModelCategoryModelKeyBsKey(
|
|
1020
|
+
{
|
|
1021
|
+
modelCategory: "entity",
|
|
1022
|
+
modelKey: "em_product",
|
|
1023
|
+
bsKey: "rdoGetVersionById"
|
|
1024
|
+
},
|
|
1025
|
+
// 沿用现有接口约定,传完整默认值,不拆分版本 ID。
|
|
1026
|
+
{ id: productId }
|
|
1027
|
+
);
|
|
1028
|
+
const product = result?.data;
|
|
1029
|
+
if (!product || typeof product !== "object" || Array.isArray(product) || Object.keys(product).length === 0) {
|
|
1030
|
+
throw new Error(`未找到默认物料详情:${productId}`);
|
|
1031
|
+
}
|
|
1032
|
+
return { ...product, _DICT: result?.dict ?? product._DICT };
|
|
1033
|
+
})();
|
|
1034
|
+
requests.set(productId, request);
|
|
1035
|
+
return request;
|
|
1036
|
+
}
|
|
1037
|
+
for (const entry of fields) {
|
|
1038
|
+
if (!entry || typeof entry !== "object") continue;
|
|
1039
|
+
const field = entry;
|
|
1040
|
+
if (typeof field.fieldId !== "string" || !field.belongingObject || field.fieldType !== FIELD_TYPE.PRODUCT || field.isFieldModel || field.subFieldKey || field.subModelKey) {
|
|
1041
|
+
continue;
|
|
1042
|
+
}
|
|
1043
|
+
const configured = objectInitialValues.find(
|
|
1044
|
+
(item) => item.objectField === field.belongingObject
|
|
1045
|
+
);
|
|
1046
|
+
if (!configured?.values || !Object.prototype.hasOwnProperty.call(configured.values, field.fieldId)) {
|
|
1047
|
+
continue;
|
|
1048
|
+
}
|
|
1049
|
+
const productDefault = {
|
|
1050
|
+
value: configured.values[field.fieldId]
|
|
1051
|
+
};
|
|
1052
|
+
defaults2.set(entry, productDefault);
|
|
1053
|
+
const productId = productDefault.value;
|
|
1054
|
+
const needsAutofill = field.enableAutofill !== false && field.autofillRules?.some((rule) => !!rule.toField);
|
|
1055
|
+
if (!needsAutofill || typeof productId !== "string" || productId === "") continue;
|
|
1056
|
+
tasks.push(
|
|
1057
|
+
fetchProduct(productId).then(
|
|
1058
|
+
(sourceData) => {
|
|
1059
|
+
productDefault.sourceData = sourceData;
|
|
1060
|
+
},
|
|
1061
|
+
(error) => {
|
|
1062
|
+
const reason = error instanceof Error ? error.message : String(error);
|
|
1063
|
+
throw new Error(`对象初始化数据填充失败,字段 ${field.fieldId}:${reason}`);
|
|
1064
|
+
}
|
|
1065
|
+
)
|
|
1066
|
+
);
|
|
1067
|
+
}
|
|
1068
|
+
await Promise.all(tasks);
|
|
1069
|
+
return defaults2;
|
|
1070
|
+
}
|
|
1006
1071
|
async function getModelQueries(opts) {
|
|
1007
1072
|
const isEdhr = await isEdhrSuite();
|
|
1008
1073
|
if (!isEdhr || !opts.mainMaterialNo) {
|
|
@@ -1368,7 +1433,13 @@ function createRuntimeInstanceInitializer(props, payload, getConsumeData) {
|
|
|
1368
1433
|
params: { id: paramsConfig?.warehouseId }
|
|
1369
1434
|
}
|
|
1370
1435
|
]);
|
|
1436
|
+
const objectProductDefaults = await prepareObjectProductDefaults({
|
|
1437
|
+
enabled: fillModeType === RenderModeEnum.FormMode && selfInfo.dataStatus !== "STASH" && selfInfo.dataStatus !== "SUBMIT",
|
|
1438
|
+
fields: fieldInfoMap.useDefaultValueFields,
|
|
1439
|
+
objectInitialValues: runtimeContext.formConfig.objectInitialValues
|
|
1440
|
+
});
|
|
1371
1441
|
const defaultDataMap = renderUtils.getDefaultValueMapByField({
|
|
1442
|
+
objectProductDefaults,
|
|
1372
1443
|
defaultValueFields: fieldInfoMap.useDefaultValueFields,
|
|
1373
1444
|
mainMaterialNo: paramsConfig?.materialNo || selfInfo.materialNo,
|
|
1374
1445
|
mainRelatedLotNo: paramsConfig?.relatedLotNo,
|
|
@@ -1893,7 +1964,13 @@ function createRuntimePersistenceAccess(runtimeRegistry, props, payload) {
|
|
|
1893
1964
|
const signatureKeys = (runtimeRecord.context.businessIndex.useSignatureFields || []).map(
|
|
1894
1965
|
(item) => item.fieldId
|
|
1895
1966
|
);
|
|
1896
|
-
const idsFormState = transformUtils.getFormDataIdsMap(
|
|
1967
|
+
const idsFormState = transformUtils.getFormDataIdsMap(
|
|
1968
|
+
newFormState,
|
|
1969
|
+
signatureKeys,
|
|
1970
|
+
(path) => runtimeRecord.fields.findByPath(path).some(
|
|
1971
|
+
({ widget, subFieldKey }) => subFieldKey !== path && [FIELD_TYPE.DATE, FIELD_TYPE.DATE_TIME].includes(widget?.props.fieldType)
|
|
1972
|
+
)
|
|
1973
|
+
);
|
|
1897
1974
|
if (saveToken ? !runtimeRecord.persistence.completeSave(saveToken) : requestedRevision !== runtimeRecord.formState.revision) {
|
|
1898
1975
|
return false;
|
|
1899
1976
|
}
|
|
@@ -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 { ao as resolveDiagonalVertex, a8 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-BLfLEJTY.js";
|
|
3
|
+
import { ao as resolveDiagonalVertex, a8 as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-BmECtuSE.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 { ai as CellWidgetViewState, F as FIELD_TYPE, b9 as RenderModeEnum, Y as FormTypeEnum, bF as BpmnNodeTypeEnum, cw as getFieldPlaceholder, bW as MobileFillTypeEnum, C as ComponentTypeEnum, $ as PlatformEnum, cx as isReferenceOptionActive, E as api, bv as uuid2, c4 as calcUtils, bk as findRuntimeTableRow, c8 as ensureTableRowKeys, c1 as bindRuntimeTableColumns, bj as getRowId, cy as FRONT_ROW_KEY, cn as isTableRowKeyMatch, bx as isAttachFieldActive, cz as filterRulesByTrigger, cA as isEmptyValue$1, c5 as decodeTableCellRowKey, c7 as ensureFrontRowKey, b1 as getParseRuleInfo, aF as transformUtils, aY as materialCheck, aZ as getLotLockedReason, a_ as validateReinspectionDate, bo as FormulaRuleFieldKeyEnum, f as SubTableType, b2 as getParseRuleValue, cB as buildError, H as CreateType, bm as findRuntimeParentRow, aI as Dependency_ENUM, aH as ASSIGNMENTSTRATEGY_ENUM, bK as commonUtils, aM as DeviceLink, a8 as _export_sfc, ch as getRenderedRuntimeTableCell, y as CellType, cr as relocateDeletedRowsToEnd, cC as resetTableRowIdentity, J as useModal, cD as q, cE as QUICK_FILL_ALLOWED_FIELDS, cF as groupFixedTableRows, cG as processQuickFillRows, cH as getIsGroupEmpty } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-
|
|
2
|
+
import { ai as CellWidgetViewState, F as FIELD_TYPE, b9 as RenderModeEnum, Y as FormTypeEnum, bF as BpmnNodeTypeEnum, cw as getFieldPlaceholder, bW as MobileFillTypeEnum, C as ComponentTypeEnum, $ as PlatformEnum, cx as isReferenceOptionActive, E as api, bv as uuid2, c4 as calcUtils, bk as findRuntimeTableRow, c8 as ensureTableRowKeys, c1 as bindRuntimeTableColumns, bj as getRowId, cy as FRONT_ROW_KEY, cn as isTableRowKeyMatch, bx as isAttachFieldActive, cz as filterRulesByTrigger, cA as isEmptyValue$1, c5 as decodeTableCellRowKey, c7 as ensureFrontRowKey, b1 as getParseRuleInfo, aF as transformUtils, aY as materialCheck, aZ as getLotLockedReason, a_ as validateReinspectionDate, bo as FormulaRuleFieldKeyEnum, f as SubTableType, b2 as getParseRuleValue, cB as buildError, H as CreateType, bm as findRuntimeParentRow, aI as Dependency_ENUM, aH as ASSIGNMENTSTRATEGY_ENUM, bK as commonUtils, aM as DeviceLink, a8 as _export_sfc, ch as getRenderedRuntimeTableCell, y as CellType, cr as relocateDeletedRowsToEnd, cC as resetTableRowIdentity, J as useModal, cD as q, cE as QUICK_FILL_ALLOWED_FIELDS, cF as groupFixedTableRows, cG as processQuickFillRows, cH as getIsGroupEmpty } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-BmECtuSE.js";
|
|
3
3
|
import { cloneDeep, isEmpty, has, pickBy, isNil, mergeWith, omit, last, pick, merge } from "lodash-es";
|
|
4
4
|
import dayjs from "dayjs";
|
|
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-DjXYXimz.js";
|
|
8
8
|
var MaterialConsumptionPatternEnum = /* @__PURE__ */ ((MaterialConsumptionPatternEnum2) => {
|
|
9
9
|
MaterialConsumptionPatternEnum2["RECORD"] = "record";
|
|
10
10
|
MaterialConsumptionPatternEnum2["BOM"] = "bom";
|
|
@@ -60539,12 +60539,11 @@ const transformUtils = {
|
|
|
60539
60539
|
console.log("0506 数据转成真实提交数据(二维表要平铺)", realFormData);
|
|
60540
60540
|
return omit(realFormData, filterKeys);
|
|
60541
60541
|
},
|
|
60542
|
-
getFormDataIdsMap: (formData, preserveKeys = []) => {
|
|
60542
|
+
getFormDataIdsMap: (formData, preserveKeys = [], shouldPreserveField) => {
|
|
60543
60543
|
const preserveKeySet = /* @__PURE__ */ new Set([FRONT_ROW_KEY, "group_", ...preserveKeys.filter(Boolean)]);
|
|
60544
|
-
const
|
|
60545
|
-
const processEntry = (entry, isFirstLevel = false) => {
|
|
60544
|
+
const processEntry = (entry, isFirstLevel = false, path = "") => {
|
|
60546
60545
|
if (Array.isArray(entry)) {
|
|
60547
|
-
const processed = entry.map((item) => processEntry(item, false)).filter(Boolean);
|
|
60546
|
+
const processed = entry.map((item, index2) => processEntry(item, false, `${path}.${index2}`)).filter(Boolean);
|
|
60548
60547
|
return processed.length ? processed : void 0;
|
|
60549
60548
|
}
|
|
60550
60549
|
if (entry && typeof entry === "object") {
|
|
@@ -60552,23 +60551,15 @@ const transformUtils = {
|
|
|
60552
60551
|
if ("id_" in entry) {
|
|
60553
60552
|
result.id_ = entry.id_;
|
|
60554
60553
|
}
|
|
60555
|
-
if (isFirstLevel) {
|
|
60556
|
-
for (const [key, value] of Object.entries(entry)) {
|
|
60557
|
-
if (key.startsWith("record_no_")) {
|
|
60558
|
-
result[key] = value;
|
|
60559
|
-
}
|
|
60560
|
-
}
|
|
60561
|
-
}
|
|
60562
60554
|
for (const [key, value] of Object.entries(entry)) {
|
|
60563
|
-
|
|
60555
|
+
const fieldPath = path ? `${path}.${key}` : key;
|
|
60556
|
+
if (key === "id_" || isFirstLevel && key.startsWith("record_no_") || preserveKeySet.has(key) || shouldPreserveField?.(fieldPath)) {
|
|
60564
60557
|
result[key] = value;
|
|
60565
|
-
}
|
|
60566
|
-
|
|
60567
|
-
|
|
60568
|
-
|
|
60569
|
-
|
|
60570
|
-
if (processed !== void 0) {
|
|
60571
|
-
result[key] = processed;
|
|
60558
|
+
} else {
|
|
60559
|
+
const processed = processEntry(value, false, fieldPath);
|
|
60560
|
+
if (processed !== void 0) {
|
|
60561
|
+
result[key] = processed;
|
|
60562
|
+
}
|
|
60572
60563
|
}
|
|
60573
60564
|
}
|
|
60574
60565
|
return Object.keys(result).length ? result : void 0;
|
|
@@ -62621,6 +62612,7 @@ const renderUtils = {
|
|
|
62621
62612
|
/** 获取默认值集合 */
|
|
62622
62613
|
getDefaultValueMapByField: ({
|
|
62623
62614
|
defaultValueFields,
|
|
62615
|
+
objectProductDefaults = /* @__PURE__ */ new WeakMap(),
|
|
62624
62616
|
mainMaterialNo = void 0,
|
|
62625
62617
|
mainRelatedLotNo = void 0,
|
|
62626
62618
|
mainProductName = void 0,
|
|
@@ -62656,7 +62648,10 @@ const renderUtils = {
|
|
|
62656
62648
|
};
|
|
62657
62649
|
const getDefaultValue = (field) => {
|
|
62658
62650
|
const { fieldType, timeType, dateType, defaultValue, belongingObject, bizType } = field;
|
|
62659
|
-
if (belongingObject &&
|
|
62651
|
+
if (belongingObject && fieldType === FIELD_TYPE.PRODUCT) {
|
|
62652
|
+
return objectProductDefaults.get(field)?.value;
|
|
62653
|
+
}
|
|
62654
|
+
if (belongingObject && fieldType === FIELD_TYPE.MATERIAL_NO) {
|
|
62660
62655
|
return void 0;
|
|
62661
62656
|
}
|
|
62662
62657
|
if (bizType === FIELD_TYPE.WAREHOUSE || fieldType === FIELD_TYPE.WAREHOUSE) {
|
|
@@ -62724,6 +62719,7 @@ const renderUtils = {
|
|
|
62724
62719
|
assignValue(key, `${fieldId}_id_`, mainSterilizationLotId);
|
|
62725
62720
|
}
|
|
62726
62721
|
if (!configuredDefaultFields.has(field) && enableAutofill !== false && Array.isArray(autofillRules) && autofillRules.length > 0) {
|
|
62722
|
+
const isObjectProduct = !!field.belongingObject && fieldType === FIELD_TYPE.PRODUCT;
|
|
62727
62723
|
let sourceData = fieldType === FIELD_TYPE.PRODUCT ? productData : fieldType === FIELD_TYPE.ROUTING_OPERATION ? operationData : null;
|
|
62728
62724
|
if (fieldType === FIELD_TYPE.MFG_ORDER) {
|
|
62729
62725
|
sourceData = mfgOrderData;
|
|
@@ -62743,14 +62739,19 @@ const renderUtils = {
|
|
|
62743
62739
|
if (bizType === FIELD_TYPE.WAREHOUSE) {
|
|
62744
62740
|
sourceData = warehouseData;
|
|
62745
62741
|
}
|
|
62742
|
+
if (isObjectProduct) {
|
|
62743
|
+
sourceData = objectProductDefaults.get(field)?.sourceData;
|
|
62744
|
+
}
|
|
62746
62745
|
if (sourceData) {
|
|
62747
|
-
autofillRules.forEach(({ fromField, toField, toFieldType }) => {
|
|
62746
|
+
autofillRules.forEach(({ fromField, toField, toFieldType, fromSubTableField }) => {
|
|
62747
|
+
if (!toField) return;
|
|
62748
|
+
const targetKey = isObjectProduct ? fromSubTableField || key : key;
|
|
62748
62749
|
if (fromField === "uom_id_" && sourceData?.[fromField] && toFieldType !== FIELD_TYPE.REF) {
|
|
62749
|
-
const dictVal = sourceData?._DICT?.[fromField][sourceData?.[fromField]];
|
|
62750
|
+
const dictVal = sourceData?._DICT?.[fromField]?.[sourceData?.[fromField]];
|
|
62750
62751
|
const val = Array.isArray(dictVal) ? dictVal[0] : dictVal || sourceData?.[fromField];
|
|
62751
|
-
assignValue(
|
|
62752
|
+
assignValue(targetKey, toField, val);
|
|
62752
62753
|
} else {
|
|
62753
|
-
assignValue(
|
|
62754
|
+
assignValue(targetKey, toField, sourceData?.[fromField]);
|
|
62754
62755
|
}
|
|
62755
62756
|
});
|
|
62756
62757
|
}
|
|
@@ -67188,27 +67189,27 @@ var loadModule = (cmpMeta, hostRef, hmrVersionId) => {
|
|
|
67188
67189
|
case "revo-grid":
|
|
67189
67190
|
return import(
|
|
67190
67191
|
/* webpackMode: "lazy" */
|
|
67191
|
-
"./revo-grid.entry-
|
|
67192
|
+
"./revo-grid.entry-DORNB4cp.js"
|
|
67192
67193
|
).then(processMod, consoleError);
|
|
67193
67194
|
case "revogr-filter-panel":
|
|
67194
67195
|
return import(
|
|
67195
67196
|
/* webpackMode: "lazy" */
|
|
67196
|
-
"./revogr-filter-panel.entry-
|
|
67197
|
+
"./revogr-filter-panel.entry-CTN0T0tx.js"
|
|
67197
67198
|
).then(processMod, consoleError);
|
|
67198
67199
|
case "revogr-attribution_7":
|
|
67199
67200
|
return import(
|
|
67200
67201
|
/* webpackMode: "lazy" */
|
|
67201
|
-
"./revogr-attribution_7.entry-
|
|
67202
|
+
"./revogr-attribution_7.entry-CrdX04rF.js"
|
|
67202
67203
|
).then(processMod, consoleError);
|
|
67203
67204
|
case "revogr-clipboard_3":
|
|
67204
67205
|
return import(
|
|
67205
67206
|
/* webpackMode: "lazy" */
|
|
67206
|
-
"./revogr-clipboard_3.entry-
|
|
67207
|
+
"./revogr-clipboard_3.entry-CWLVEZnP.js"
|
|
67207
67208
|
).then(processMod, consoleError);
|
|
67208
67209
|
case "revogr-data_4":
|
|
67209
67210
|
return import(
|
|
67210
67211
|
/* webpackMode: "lazy" */
|
|
67211
|
-
"./revogr-data_4.entry-
|
|
67212
|
+
"./revogr-data_4.entry-Bs8mqW3y.js"
|
|
67212
67213
|
).then(processMod, consoleError);
|
|
67213
67214
|
}
|
|
67214
67215
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { eg as EDIT_INPUT_WR, eh as keyValues, e8 as codesLetter } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-
|
|
1
|
+
import { eg as EDIT_INPUT_WR, eh as keyValues, e8 as codesLetter } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-BmECtuSE.js";
|
|
2
2
|
function isClear(code) {
|
|
3
3
|
return codesLetter.BACKSPACE === code || codesLetter.DELETE === code;
|
|
4
4
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { M as commonjsGlobal, N as getDefaultExportFromCjs } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-
|
|
2
|
-
import { c as commonjsRequire } from "./index-
|
|
1
|
+
import { M as commonjsGlobal, N as getDefaultExportFromCjs } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-BmECtuSE.js";
|
|
2
|
+
import { c as commonjsRequire } from "./index-BLfLEJTY.js";
|
|
3
3
|
function _mergeNamespaces(n, m) {
|
|
4
4
|
for (var i = 0; i < m.length; i++) {
|
|
5
5
|
const e = m[i];
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { defineComponent, computed, resolveComponent, openBlock, createElementBlock, createElementVNode, createVNode, unref, normalizeClass, withCtx, normalizeStyle } from "vue";
|
|
2
|
-
import { A as AlignEditor } from "./align-editor-
|
|
2
|
+
import { A as AlignEditor } from "./align-editor-wPpZ_4zH.js";
|
|
3
3
|
import { pick } from "lodash-es";
|
|
4
|
-
import { z as _sfc_main$1, C as ColorPicker } from "./index-
|
|
5
|
-
import { a8 as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-
|
|
4
|
+
import { z as _sfc_main$1, C as ColorPicker } from "./index-BLfLEJTY.js";
|
|
5
|
+
import { a8 as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-BmECtuSE.js";
|
|
6
6
|
const _hoisted_1 = { class: "ks-row-middle mb-6px" };
|
|
7
7
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
8
8
|
__name: "font-editor",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent, openBlock, createElementBlock, normalizeClass, createElementVNode, unref, normalizeStyle } from "vue";
|
|
2
|
-
import { u as useWebUpload } from "./index-
|
|
2
|
+
import { u as useWebUpload } from "./index-BHXvTfAC.js";
|
|
3
3
|
import "ant-design-vue";
|
|
4
|
-
import { a8 as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-
|
|
4
|
+
import { a8 as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-BmECtuSE.js";
|
|
5
5
|
import "@gct-paas/form-base";
|
|
6
6
|
import "lodash-es";
|
|
7
7
|
import "dayjs";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { C as ComponentTypeEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-
|
|
1
|
+
import { C as ComponentTypeEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-BmECtuSE.js";
|
|
2
2
|
import "vue";
|
|
3
3
|
import { pick } from "lodash-es";
|
|
4
4
|
import "dayjs";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { C as ComponentTypeEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-
|
|
1
|
+
import { C as ComponentTypeEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-BmECtuSE.js";
|
|
2
2
|
import "vue";
|
|
3
3
|
import "lodash-es";
|
|
4
4
|
import "dayjs";
|
|
5
5
|
import "ant-design-vue";
|
|
6
|
-
import { B as BaseComponent } from "./BaseComponent-
|
|
7
|
-
import { g as getTraceLikeSelectProps } from "./trace-like-wrapper-
|
|
6
|
+
import { B as BaseComponent } from "./BaseComponent-BukKy-Ta.js";
|
|
7
|
+
import { g as getTraceLikeSelectProps } from "./trace-like-wrapper-DayZkwvZ.js";
|
|
8
8
|
class RdoSelect extends BaseComponent {
|
|
9
9
|
component = ComponentTypeEnum.RdoSelect;
|
|
10
10
|
wrapperCmpConfig({ data }) {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { f as fontStyleAttrs } from "./config.enum-B8UZQTON.js";
|
|
2
|
-
import { C as ComponentTypeEnum, o as PaperWidgeType } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-
|
|
2
|
+
import { C as ComponentTypeEnum, o as PaperWidgeType } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-BmECtuSE.js";
|
|
3
3
|
import "vue";
|
|
4
4
|
import { pick } from "lodash-es";
|
|
5
5
|
import "dayjs";
|
|
6
6
|
import "ant-design-vue";
|
|
7
|
-
import { n as normalizeSpacerWidth, g as getFieldWidget } from "./index-
|
|
7
|
+
import { n as normalizeSpacerWidth, g as getFieldWidget } from "./index-BLfLEJTY.js";
|
|
8
8
|
class CombineFields {
|
|
9
9
|
component = ComponentTypeEnum.CombineFields;
|
|
10
10
|
wrapperCmpConfig({ data }) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { pick, isEmpty, has, cloneDeep, get } from "lodash-es";
|
|
2
|
-
import { A as AsyncGctOnlineComponents, g as getFieldWidget } from "./index-
|
|
3
|
-
import { C as ComponentTypeEnum, y as CellType, o as PaperWidgeType } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-
|
|
2
|
+
import { A as AsyncGctOnlineComponents, g as getFieldWidget } from "./index-BLfLEJTY.js";
|
|
3
|
+
import { C as ComponentTypeEnum, y as CellType, o as PaperWidgeType } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-BmECtuSE.js";
|
|
4
4
|
import "vue";
|
|
5
5
|
import "dayjs";
|
|
6
6
|
import "ant-design-vue";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { E as api, a8 as _export_sfc, cI as getAugmentedNamespace, M as commonjsGlobal, N as getDefaultExportFromCjs, cf as getParseRuleConfig, bv as uuid2 } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-
|
|
1
|
+
import { E as api, a8 as _export_sfc, cI as getAugmentedNamespace, M as commonjsGlobal, N as getDefaultExportFromCjs, cf as getParseRuleConfig, bv as uuid2 } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-BmECtuSE.js";
|
|
2
2
|
import { message, Modal, Form } from "ant-design-vue";
|
|
3
3
|
import { defineComponent, inject, computed, watch, resolveComponent, openBlock, createElementBlock, normalizeClass, createElementVNode, renderSlot, createBlock, withCtx, createTextVNode, toDisplayString, createCommentVNode, getCurrentScope, onScopeDispose, getCurrentInstance, onMounted, nextTick, unref, ref as ref$1, onUnmounted, createVNode, h, mergeProps, reactive, Fragment, renderList, toRaw, toRef, watchEffect } from "vue";
|
|
4
4
|
import { debounce, cloneDeep } from "lodash-es";
|
|
5
5
|
import "dayjs";
|
|
6
|
-
import { u as useFormModel, M as MBRender, a as MCRender } from "./mb-render-
|
|
6
|
+
import { u as useFormModel, M as MBRender, a as MCRender } from "./mb-render-DjXYXimz.js";
|
|
7
7
|
import { useFormBaseModal, closeAllFormBaseModal } from "@gct-paas/form-base";
|
|
8
8
|
import { VxeGrid } from "vxe-table";
|
|
9
9
|
const uploadApis = {
|