@gct-paas/excel 0.1.40-beta.0 → 0.1.40-beta.3
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-BTolXjlE.js → BaseComponent-B9o59n-h.js} +2 -2
- package/dist/{VueVideoPlayer-Dvf7Ya7H.js → VueVideoPlayer-CAWYWBHi.js} +2 -2
- package/dist/{align-editor-jp0NsOnT.js → align-editor-a4DQt4Un.js} +1 -1
- package/dist/{barcode-design-ClfdoOKn.js → barcode-design-CBqUEPYu.js} +2 -2
- package/dist/base/index.es.js +228 -150
- package/dist/{diagonal-design-Br0xpyqC.js → diagonal-design-u23896Ky.js} +2 -2
- package/dist/{dynamic-table-action-C-HIKtZG.js → dynamic-table-action-BWI4Gaqi.js} +241 -131
- package/dist/{dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-BHExrYFJ.js → dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-BvrrN6te.js} +428 -282
- package/dist/{edit.utils-CXmmCnxE-D4-n_eOM.js → edit.utils-CXmmCnxE-XxpC8ALV.js} +1 -1
- package/dist/excel.css +3098 -4130
- package/dist/{exceljs.min-BH63KI8s.js → exceljs.min-DfbB110X.js} +2 -2
- package/dist/{font-editor-QSpu9bjJ.js → font-editor-BtSCLMrM.js} +3 -3
- package/dist/{image-design-ySQAmnTF.js → image-design-CtE-Lw7N.js} +2 -2
- package/dist/{index-CTO4kNz9.js → index-3WwCV4xR.js} +1 -1
- package/dist/{index-CvDQjwre.js → index-51LtNdZ2.js} +1 -1
- package/dist/{index-DZGqXE3S.js → index-731OYkrc.js} +3 -3
- package/dist/{index-DYxskDRv.js → index-7aS5L4ot.js} +3 -3
- package/dist/{index-CMOvPSr6.js → index-9S48hpoJ.js} +2 -2
- package/dist/{index-C2RMbM6E.js → index-B0cdcIWq.js} +2 -2
- package/dist/{index-4_qe7Eco.js → index-BC8hQ4vo.js} +2 -2
- package/dist/{index-ibQys99q.js → index-BFg5eUdY.js} +1 -1
- package/dist/{index-CN-rY-3F.js → index-BGAcYDx-.js} +1 -1
- package/dist/{index-B6Bs-q34.js → index-BKXb3VJc.js} +2 -2
- package/dist/{index-BXXvFDgt.js → index-BMoz_QhA.js} +1 -1
- package/dist/{index-Cf7KwZfa.js → index-BP-LhXXV.js} +4 -4
- package/dist/{index-BxEjRF0o.js → index-BRQkrFQ9.js} +2 -2
- package/dist/{index-CUrMIr2v.js → index-Bc61F6Hm.js} +2 -2
- package/dist/{index-COx1-SPe.js → index-BfBuxgcp.js} +2 -2
- package/dist/{index-Qf8D5LdT.js → index-Bnb70qEi.js} +3 -3
- package/dist/{index-BOaDYNtp.js → index-CAdDeEzJ.js} +2 -2
- package/dist/{index-BHiNdrGr.js → index-CIa37rQm.js} +2 -2
- package/dist/{index-QTmeSdj9.js → index-CL9K9orM.js} +2 -2
- package/dist/{index-8yhxxqYM.js → index-CPTGioxl.js} +1 -1
- package/dist/{index-FSCxAVGq.js → index-CVsoaxTR.js} +2 -2
- package/dist/{index-dhaw5vxN.js → index-CYLAVQfT.js} +3 -3
- package/dist/{index-Cb-I6DkL.js → index-Ca9TLzUh.js} +1 -1
- package/dist/{index-B3mCVcXB.js → index-CdHVHaxO.js} +2 -2
- package/dist/{index-2FWN7Q91.js → index-CeEhYXl9.js} +2 -2
- package/dist/{index-C7DwXZ-K.js → index-CpPk8P3L.js} +1 -1
- package/dist/{index-nBc_3R3r.js → index-DNj0vFvx.js} +1 -1
- package/dist/{index-DbPA5PUX.js → index-DVEe11uM.js} +1 -1
- package/dist/{index-BJ6ZaX-f.js → index-DdWefZMa.js} +2 -2
- package/dist/{index-uVpJOLb3.js → index-DeHX7rte.js} +5 -4
- package/dist/{index-D9zBCWpE.js → index-Dyomjz3y.js} +2 -2
- package/dist/{index-D3IdoYWe.js → index-I1r5pfu5.js} +2 -2
- package/dist/{index-BJQd1G0r.js → index-IVc1dOet.js} +3 -3
- package/dist/{index-Ca8q7yXC.js → index-aNV9T6LI.js} +2 -2
- package/dist/{index-oOLbaFI8.js → index-ixQwAcB1.js} +18201 -20494
- package/dist/index.es.js +2 -2
- package/dist/{mb-render-BRejJNP-.js → mb-render-Bs9S9oFn.js} +2 -2
- package/dist/{online-form-model-select.vue_vue_type_script_setup_true_name_online-form-model-select_lang-QX4lxsni.js → online-form-model-select.vue_vue_type_script_setup_true_name_online-form-model-select_lang-CRyGHP7k.js} +1 -1
- package/dist/{pagination-design-pTh3Fqbz.js → pagination-design-CmbsdlMe.js} +2 -2
- package/dist/paper-widget-design-DIhsk1I9.js +4 -0
- package/dist/{print-runtime-instance-CBUjws4D.js → print-runtime-instance-DQysbz5n.js} +1 -1
- package/dist/{print-snapshot-renderer-s0IhY_T_.js → print-snapshot-renderer-DWHjMsOC.js} +3 -3
- package/dist/{qrcode-design-CnKOb-s9.js → qrcode-design-CX0_2mLC.js} +1 -1
- package/dist/{revo-grid.entry-BqbaKcyR.js → revo-grid.entry-DbmWFi7p.js} +1 -1
- package/dist/{revogr-attribution_7.entry-jmN78nkb.js → revogr-attribution_7.entry-BWQDu7fq.js} +3 -3
- package/dist/{revogr-clipboard_3.entry-eK74i7_f.js → revogr-clipboard_3.entry-BtTYHFZi.js} +2 -2
- package/dist/{revogr-data_4.entry-D2lAUBEM.js → revogr-data_4.entry-CWPXyZ7g.js} +2 -2
- package/dist/{revogr-filter-panel.entry-C-1WXBDy.js → revogr-filter-panel.entry-5gYct0XI.js} +1 -1
- package/dist/seal-design-BhzgwVju.js +4 -0
- package/dist/{serialnumber-design-DEYD9ku_.js → serialnumber-design-aSqL4gX6.js} +1 -1
- package/dist/shared/index.es.js +9 -9
- package/dist/{single-field-drop-Bd3PcWQF.js → single-field-drop-C67wLHxK.js} +2 -2
- package/dist/{size-editor-DiZ8E2R6.js → size-editor-BHGTPLir.js} +1 -1
- package/dist/src/domain/table/business/material/material-substitution/profile/field-keys.d.ts +21 -0
- package/dist/src/domain/table/business/material/material-substitution/runtime/row-change-handlers.d.ts +3 -0
- package/dist/src/domain/table/business/sterilize/entrust-steril-batch-list/profile/field-keys.d.ts +2 -0
- package/dist/src/nocode-base/src/core/sub-table/pretreatment-list-table-core.d.ts +1 -0
- package/dist/src/nocode-base/src/core/sub-table/profile-driven-sub-table-core.d.ts +2 -2
- package/dist/src/nocode-base/src/core/sub-table/utils/sterilize/field-keys.d.ts +1 -2
- package/dist/src/nocode-base/src/hooks/formula-params-cache.d.ts +15 -0
- package/dist/src/nocode-base/src/hooks/render-page/sterilization-date.d.ts +3 -0
- package/dist/src/nocode-base/src/hooks/useCalcFunction.d.ts +8 -2
- package/dist/src/nocode-base/src/runtime/async-task-coordinator.d.ts +6 -2
- package/dist/src/nocode-base/src/runtime/multi-sheet-runtime.d.ts +2 -0
- package/dist/src/nocode-base/src/runtime/runtime-field-initializer.d.ts +1 -1
- package/dist/src/nocode-base/src/runtime/runtime-form-state-store.d.ts +6 -0
- package/dist/src/nocode-base/src/runtime/runtime-validation-service.d.ts +1 -0
- package/dist/src/nocode-base/src/runtime/table-row-identity.d.ts +11 -2
- package/dist/src/nocode-base/src/types/fields/i-sign.d.ts +1 -1
- package/dist/src/nocode-base/src/types/render/mc-render.d.ts +1 -1
- package/dist/src/nocode-web-render/src/render/sub-table/material-consume/mc-web-render.d.ts +1 -1
- package/dist/src/online-form/src/views/render/__components__/_field_/trace/utils/use-rule-props.d.ts +0 -3
- package/dist/src/online-form/src/views/render/sheet-tab-bar.vue.d.ts +5 -3
- package/dist/src/shared/components/DoubleInput/double-input.vue.d.ts +162 -2
- package/dist/src/shared/components/LimitedNumberInput/limited-number-input.vue.d.ts +41 -0
- package/dist/src/shared/components/LimitedNumberInput/number-input-rules.d.ts +16 -0
- package/dist/src/shared/components/Signature/logic/index.d.ts +1 -1
- package/dist/{sub-table-factory-B6HdlZ7-.js → sub-table-factory-DTtDvr17.js} +34 -19
- package/dist/{text-design-D2IwsbOW.js → text-design-Dz0Qf2O3.js} +2 -2
- package/dist/{throttle-Cpk1LoGk-DRpYOKiV.js → throttle-Cpk1LoGk-CgtsG2CV.js} +1 -1
- package/dist/{timediff-design-Cq3SADlb.js → timediff-design-D9JfNqH8.js} +1 -1
- package/dist/{trace-like-wrapper-Qmczl-Hz.js → trace-like-wrapper-BXgr0Uv3.js} +2 -2
- package/dist/{value-editor.vue_vue_type_style_index_0_lang-UXPOa0Wv.js → value-editor.vue_vue_type_style_index_0_lang-doohzADY.js} +2 -2
- package/dist/web-render/index.es.js +3 -3
- package/dist/{widget-barcode-C7wO0SFO.js → widget-barcode-XF3nCU9v.js} +4 -4
- package/dist/{widget-diagonal-Cbuv8o5A.js → widget-diagonal-DSym7fks.js} +3 -3
- package/dist/{widget-image-4AeqjwGp.js → widget-image-CmjwkVs7.js} +5 -5
- package/dist/{widget-line--RgXiyvO.js → widget-line-BX64xVfU.js} +2 -2
- package/dist/{widget-pagination-jr6bVWPW.js → widget-pagination-BV89Lvjt.js} +5 -5
- package/dist/{widget-power-ptilZfAF.js → widget-power-DoSfQv92.js} +3 -3
- package/dist/{widget-qrcode-DH-1741M.js → widget-qrcode-UGcRLC56.js} +3 -3
- package/dist/{widget-rangelimit-B4yv3Qw3.js → widget-rangelimit-CUHD__1H.js} +3 -3
- package/dist/{widget-serialnumber-AZ2IUJTg.js → widget-serialnumber-CAkZR5Xl.js} +1 -1
- package/dist/{widget-text-CW0A1n16.js → widget-text-DtYVTThu.js} +5 -5
- package/dist/{widget-timediff-C3xTGqfj.js → widget-timediff-DX_IoCMO.js} +2 -2
- package/package.json +2 -2
- package/dist/paper-widget-design-CBI-8vTV.js +0 -4
- package/dist/seal-design-CMJBAfIN.js +0 -4
package/dist/base/index.es.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { aO, aQ,
|
|
3
|
-
import {
|
|
4
|
-
import { B as B2,
|
|
1
|
+
import { o as api, $ as PlatformEnum, F as FIELD_TYPE, bg as getRowId, bh as findRuntimeTableRow, b6 as RenderModeEnum, C as ComponentTypeEnum, bt as assembleRules, bu as isAttachFieldActive, aI as Dependency_ENUM, bi as calculateFormula, aH as ASSIGNMENTSTRATEGY_ENUM, R as getParseFormulaVarInfos, bv as fetchHistoryConsume, bw as isBomGranted, aU as renderUtils, bs as uuid2, bx as parseFrontConfig, aL as CheckDsTypeEnum, aF as transformUtils, by as baseDataUtils, bz as initializeSealFields, Y as FormTypeEnum, bA as normalizeToArray, bB as safeParseArray, bC as BpmnNodeTypeEnum, bD as mergeByMultiKey, a8 as _export_sfc, bE as evaluateInspectionDecisionRule, bF as areValidationCommentsEqual, bG as useNocodeEmitter, bH as commonUtils, aJ as EntityModelCategoryEnum } from "../dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-BvrrN6te.js";
|
|
2
|
+
import { aO, aQ, aZ, a1, bI, bJ, B, bK, z, ai, bL, bM, bN, bf, bO, aR, ay, aP, aM, aN, bP, aj, an, bQ, bR, aG, a3, ah, az, bS, a0, al, L, bT, bU, bV, O, q, P, aa, p, Q, E, bW, bX, ax, aw, a6, a2, a4, a5, a7, f, bY, am, aq, ak, bZ, b_, b$, c0, be, c1, c2, c3, c4, c5, c6, c7, c8, c9, ca, bj, cb, cc, aX, cd, a_, a$, ce, cf, cg, ch, ci, cj, ck, cl, cm, cn, aW, co, b0, bc, cp, cq, cr, ao, u, cs, ct, cu, bk, aY } from "../dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-BvrrN6te.js";
|
|
3
|
+
import { Q as getRuntimeDataFieldId, C as parseRuntimeFieldPath, T as buildRuntimeFieldPath, U as resolveRuntimeFieldProps, V as resolveRuntimeFieldState, W as getRuntimeDependencyOutputKey, X as isRowAddedInCurrentFormChange, q as MaterialConsumptionPatternEnum, Y as MaterialConsumeTableController, Z as setFormulaParamsConfig, $ as normalizeRuntime, J as createRuntimeInstanceContext, R as RuntimeFormStateStore, a0 as RuntimeSheetService, g as getBusinessFieldKey, a1 as validateObjectBomQtyOnSubmit, a2 as closeValidatorPopovers, a3 as enrichFormChangeRowDetails, N as NCB_PROVIDE, K as RuntimeInstanceRegistry, a4 as useMaterialBalance, a5 as collectFormChangeFieldLocations, a6 as nextFormChangeRowViewHistoryId } from "../dynamic-table-action-BWI4Gaqi.js";
|
|
4
|
+
import { B as B2, a7 as a72, h, _, a8, O as O2, a9, P as P2, E as E2, aa as aa2, ab, ac, ad, ae, M, a, af, d, ag, ah as ah2, ai as ai2, aj as aj2, ak as ak2, al as al2, am as am2, an as an2, y, ao as ao2, p as p2, ap, e, aq as aq2, ar, as, at, o, z as z2, au, av, aw as aw2, ax as ax2, i, A, f as f2, ay as ay2, az as az2, aA, aB, aC, aD, t, r, aE, w, l, aF, s, aG as aG2, G, H, u as u2, x, I, k, m, F, j, v } from "../dynamic-table-action-BWI4Gaqi.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 as
|
|
10
|
-
import { createDataSourceManager, getLegacyFieldFillTargets, createFieldFillRuntime, isFieldFillTargetProtected, buildDataSourceContext } from "@gct-paas/form-base";
|
|
11
|
-
import { B as B3, F, M as M3, a as a11, u as
|
|
8
|
+
import { S as SubTableCoreFactory, R as RuntimeInstanceController } from "../sub-table-factory-DTtDvr17.js";
|
|
9
|
+
import { A as A2, D, M as M2, a as a10, P as P3, b, c, d as d2, e as e2, W, f as f3, g, h as h2 } from "../sub-table-factory-DTtDvr17.js";
|
|
10
|
+
import { createDataSourceManager, getLegacyFieldFillTargets, createFieldFillRuntime, buildFieldFillRows, isFieldFillTargetProtected, getFieldFillColumn, buildDataSourceContext } from "@gct-paas/form-base";
|
|
11
|
+
import { B as B3, F as F2, M as M3, a as a11, u as u3 } from "../mb-render-Bs9S9oFn.js";
|
|
12
12
|
const InstanceStatusValues = {
|
|
13
13
|
/** 作废状态 */
|
|
14
14
|
ABANDON: "ABANDON",
|
|
@@ -191,7 +191,7 @@ class RuntimeFieldInitializer {
|
|
|
191
191
|
await Promise.resolve();
|
|
192
192
|
this.scheduled = false;
|
|
193
193
|
if (!signal.aborted && !this.disposed) await this.initialize();
|
|
194
|
-
}).catch((
|
|
194
|
+
}).catch(() => void 0).finally(() => this.tasks.delete("initialize:structure"));
|
|
195
195
|
});
|
|
196
196
|
}
|
|
197
197
|
record;
|
|
@@ -204,7 +204,7 @@ class RuntimeFieldInitializer {
|
|
|
204
204
|
disposed = false;
|
|
205
205
|
scheduled = false;
|
|
206
206
|
unsubscribe;
|
|
207
|
-
/**
|
|
207
|
+
/** 初次加载等待全部目标;默认值请求失败保留在任务中心供诊断,但不阻止提交。 */
|
|
208
208
|
async initialize() {
|
|
209
209
|
if (this.disposed || this.info.renderPurpose || this.info.platformType === PlatformEnum.INTEGRATION_PAAS_DP)
|
|
210
210
|
return;
|
|
@@ -248,7 +248,8 @@ class RuntimeFieldInitializer {
|
|
|
248
248
|
modelKey: props.modelKey,
|
|
249
249
|
subModelKey: props.subModelKey
|
|
250
250
|
},
|
|
251
|
-
sheetId
|
|
251
|
+
sheetId,
|
|
252
|
+
blockOnFailure: false
|
|
252
253
|
}
|
|
253
254
|
).finally(() => this.tasks.delete(key));
|
|
254
255
|
pending.push(task);
|
|
@@ -260,7 +261,7 @@ class RuntimeFieldInitializer {
|
|
|
260
261
|
this.record.asyncTasks.cancel(key);
|
|
261
262
|
this.tasks.delete(key);
|
|
262
263
|
}
|
|
263
|
-
await Promise.
|
|
264
|
+
await Promise.allSettled(pending);
|
|
264
265
|
}
|
|
265
266
|
request(key, fetch) {
|
|
266
267
|
const existing = this.requests.get(key);
|
|
@@ -960,7 +961,7 @@ class FormTmplBomController {
|
|
|
960
961
|
}
|
|
961
962
|
async submitValidate() {
|
|
962
963
|
const results = await Promise.all(
|
|
963
|
-
Object.values(this.tableControllers).map((
|
|
964
|
+
Object.values(this.tableControllers).map((c10) => c10.submitValidate())
|
|
964
965
|
);
|
|
965
966
|
const fields = {};
|
|
966
967
|
let isValid = true;
|
|
@@ -993,6 +994,37 @@ async function getModelQueries(opts) {
|
|
|
993
994
|
console.log("getModelQueries", res);
|
|
994
995
|
return res;
|
|
995
996
|
}
|
|
997
|
+
async function fillSterilizationDate(txnInstId, metadata, formState) {
|
|
998
|
+
if (txnInstId == null || txnInstId === "") return;
|
|
999
|
+
const fields = metadata.fields.filter(({ widget }) => {
|
|
1000
|
+
const props = widget?.props;
|
|
1001
|
+
return props?.fieldType === FIELD_TYPE.STERILIZATION_DATE || props?.bizType === FIELD_TYPE.STERILIZATION_DATE;
|
|
1002
|
+
});
|
|
1003
|
+
if (!fields.length) return;
|
|
1004
|
+
const response = await api.apaas.modelComprehensive.postBizServiceModelCategoryModelKeyBsKey(
|
|
1005
|
+
{ modelCategory: "entity", modelKey: "em_sterilization_list", bsKey: "getOne" },
|
|
1006
|
+
{},
|
|
1007
|
+
{ query: { txn_inst_id_: txnInstId } }
|
|
1008
|
+
);
|
|
1009
|
+
const data = response && "data" in response ? response.data : void 0;
|
|
1010
|
+
const record = Array.isArray(data) ? data[0] : data;
|
|
1011
|
+
const date = record && typeof record === "object" && "sterilization_date_" in record ? record.sterilization_date_ : void 0;
|
|
1012
|
+
if (date == null || date === "") return;
|
|
1013
|
+
fields.forEach(({ widget, subFieldKey }) => {
|
|
1014
|
+
const field = getRuntimeDataFieldId(widget?.props);
|
|
1015
|
+
if (!field) return;
|
|
1016
|
+
if (subFieldKey) {
|
|
1017
|
+
const rows = formState[subFieldKey];
|
|
1018
|
+
if (Array.isArray(rows)) {
|
|
1019
|
+
rows.forEach((row) => {
|
|
1020
|
+
if (row && typeof row === "object") row[field] = date;
|
|
1021
|
+
});
|
|
1022
|
+
}
|
|
1023
|
+
} else {
|
|
1024
|
+
formState[field] = date;
|
|
1025
|
+
}
|
|
1026
|
+
});
|
|
1027
|
+
}
|
|
996
1028
|
function uniqueItems(items, getKey) {
|
|
997
1029
|
return Array.from(new Map(items.map((item) => [getKey(item), item])).values());
|
|
998
1030
|
}
|
|
@@ -1113,7 +1145,8 @@ function createRuntimeInstanceInitializer(props, payload, getConsumeData) {
|
|
|
1113
1145
|
const { selfInfo, paramsConfig, fillModeType } = result || {};
|
|
1114
1146
|
setFormulaParamsConfig({
|
|
1115
1147
|
routingParamList: selfInfo?.routingParamList || [],
|
|
1116
|
-
inspectionParamList: selfInfo?.inspectionParamList || []
|
|
1148
|
+
inspectionParamList: selfInfo?.inspectionParamList || [],
|
|
1149
|
+
deviceParamList: selfInfo?.deviceParamList || []
|
|
1117
1150
|
});
|
|
1118
1151
|
let runtimeFormStateStore;
|
|
1119
1152
|
let scriptRunner;
|
|
@@ -1421,6 +1454,9 @@ function createRuntimeInstanceInitializer(props, payload, getConsumeData) {
|
|
|
1421
1454
|
]
|
|
1422
1455
|
});
|
|
1423
1456
|
if (fillModeType === RenderModeEnum.FormMode) {
|
|
1457
|
+
if (!payload.isMockReport) {
|
|
1458
|
+
await fillSterilizationDate(selfInfo.txnInstId, fieldInfoMap.fieldMetadata, formState);
|
|
1459
|
+
}
|
|
1424
1460
|
const floatingFields = sheetEntries.flatMap((entry) => {
|
|
1425
1461
|
const ids = entry.dataCenter[ComponentTypeEnum.PAPER]?.props?.floatingFieldIds ?? [];
|
|
1426
1462
|
return ids.map((fieldId) => entry.dataCenter[fieldId]).filter(Boolean);
|
|
@@ -1545,6 +1581,18 @@ function bindRuntimeBusinessServices(runtimeRegistry, record, dataStatus) {
|
|
|
1545
1581
|
uniqueId,
|
|
1546
1582
|
() => MaterialConsumeTableController.render?.destroyAllModals(uniqueId)
|
|
1547
1583
|
);
|
|
1584
|
+
runtimeRegistry.registerDisposable(
|
|
1585
|
+
uniqueId,
|
|
1586
|
+
watch(
|
|
1587
|
+
() => record.context.activeSheetId,
|
|
1588
|
+
(next, previous) => {
|
|
1589
|
+
if (next !== previous) {
|
|
1590
|
+
MaterialConsumeTableController.render?.destroyAllModals(uniqueId);
|
|
1591
|
+
}
|
|
1592
|
+
},
|
|
1593
|
+
{ flush: "sync" }
|
|
1594
|
+
)
|
|
1595
|
+
);
|
|
1548
1596
|
if (!mcList.length) return;
|
|
1549
1597
|
const tmplBomC = record.context.services.tmplBomController;
|
|
1550
1598
|
if (!tmplBomC) return;
|
|
@@ -1845,7 +1893,7 @@ function createRuntimePersistenceAccess(runtimeRegistry, props, payload) {
|
|
|
1845
1893
|
if (saveToken ? !runtimeRecord.persistence.completeSave(saveToken) : requestedRevision !== runtimeRecord.formState.revision) {
|
|
1846
1894
|
return false;
|
|
1847
1895
|
}
|
|
1848
|
-
runtimeRecord.formState.
|
|
1896
|
+
runtimeRecord.formState.patchSavedMetadata(idsFormState);
|
|
1849
1897
|
if (!runtimeRecord.formState.dirty) payload.onFormStateReady?.(runtimeRecord.formState);
|
|
1850
1898
|
return true;
|
|
1851
1899
|
};
|
|
@@ -2081,7 +2129,9 @@ function createRuntimeValidationBinding(runtimeRegistry, getInfo, platformType)
|
|
|
2081
2129
|
if (!isCurrent() || runtimeRegistry.get(uniqueId) !== record) return;
|
|
2082
2130
|
await record.validation.settleAfterModeSwitch(mode === RenderModeEnum.FormMode);
|
|
2083
2131
|
}).catch((error) => {
|
|
2084
|
-
if (runtimeRegistry.get(uniqueId)
|
|
2132
|
+
if (runtimeRegistry.get(uniqueId) !== record) return;
|
|
2133
|
+
if (error instanceof Error && error.message.startsWith("以下异步任务执行失败:")) return;
|
|
2134
|
+
console.error("表单模式准备失败", error);
|
|
2085
2135
|
});
|
|
2086
2136
|
}
|
|
2087
2137
|
async function prepareInitialView(record) {
|
|
@@ -2111,14 +2161,14 @@ function createRuntimeValidationBinding(runtimeRegistry, getInfo, platformType)
|
|
|
2111
2161
|
function createRuntimeDataSourceBinding(registry, payload) {
|
|
2112
2162
|
const dataSourceManagerMap = shallowRef({});
|
|
2113
2163
|
async function bindDataSources(record, info, selfInfo) {
|
|
2114
|
-
if (payload.isMockReport || !["instance", "batchInstance"].includes(payload.factoryType))
|
|
2164
|
+
if (payload.isMockReport || !["instance", "batchInstance"].includes(payload.factoryType))
|
|
2165
|
+
return;
|
|
2115
2166
|
const isDetail = () => typeof payload.isDetailPage === "function" ? payload.isDetailPage() : payload.isDetailPage;
|
|
2116
2167
|
if (isDetail()) return;
|
|
2117
2168
|
const { context, formState } = record;
|
|
2118
2169
|
const { uniqueId, formConfig } = context;
|
|
2119
2170
|
const canExecute = () => registry.get(uniqueId) === record && info.renderModeType === RenderModeEnum.FormMode && !isDetail();
|
|
2120
2171
|
const getContext = () => buildDataSourceContext({ parameters: info.paramsConfig ?? {}, instance: selfInfo });
|
|
2121
|
-
let fieldFillRuntime;
|
|
2122
2172
|
const manager = markRaw(
|
|
2123
2173
|
createDataSourceManager({
|
|
2124
2174
|
canExecute,
|
|
@@ -2160,22 +2210,27 @@ function createRuntimeDataSourceBinding(registry, payload) {
|
|
|
2160
2210
|
for (const { widget } of record.fields.allWidgets()) {
|
|
2161
2211
|
const config = widget.props;
|
|
2162
2212
|
const fieldKey = config.field;
|
|
2163
|
-
if (
|
|
2164
|
-
|
|
2213
|
+
if (fieldKey && (config.subFieldKey || !config.subModelKey)) {
|
|
2214
|
+
const key = config.subFieldKey ? `${config.subFieldKey}.${fieldKey}` : fieldKey;
|
|
2215
|
+
targets.set(key, {
|
|
2216
|
+
table: config.subFieldKey,
|
|
2165
2217
|
field: config.isFieldModel ? config.fieldLink || fieldKey : fieldKey,
|
|
2166
2218
|
isFieldModel: !!config.isFieldModel
|
|
2167
2219
|
});
|
|
2168
2220
|
if (config.componentDependency?.configDependency?.assignment?.expression) {
|
|
2169
|
-
protectedTargets.add(
|
|
2221
|
+
protectedTargets.add(key);
|
|
2170
2222
|
}
|
|
2171
2223
|
}
|
|
2172
2224
|
if (config.enableAutofill !== false) {
|
|
2173
2225
|
for (const rule of config.autofillRules ?? []) {
|
|
2174
|
-
if (
|
|
2226
|
+
if (rule.toField)
|
|
2227
|
+
protectedTargets.add(
|
|
2228
|
+
rule.toSubModel && rule.toSubFieldKey ? `${rule.toSubFieldKey}.${rule.toField}` : rule.toField
|
|
2229
|
+
);
|
|
2175
2230
|
}
|
|
2176
2231
|
}
|
|
2177
2232
|
}
|
|
2178
|
-
fieldFillRuntime = markRaw(
|
|
2233
|
+
const fieldFillRuntime = markRaw(
|
|
2179
2234
|
createFieldFillRuntime({
|
|
2180
2235
|
preserveExistingValues: true,
|
|
2181
2236
|
fills: formConfig.fieldFills ?? [],
|
|
@@ -2184,17 +2239,30 @@ function createRuntimeDataSourceBinding(registry, payload) {
|
|
|
2184
2239
|
getForm: () => formState.state,
|
|
2185
2240
|
getFormField: (key) => {
|
|
2186
2241
|
const target = targets.get(key);
|
|
2242
|
+
if (target?.table)
|
|
2243
|
+
return getFieldFillColumn(
|
|
2244
|
+
formState.state[target.table],
|
|
2245
|
+
target.isFieldModel ? `_OPCT.${target.field}` : target.field
|
|
2246
|
+
);
|
|
2187
2247
|
return target?.isFieldModel ? formState.state._OPCT?.[target.field] : get(formState.state, key);
|
|
2188
2248
|
},
|
|
2189
2249
|
hasTargetField: (key) => targets.has(key),
|
|
2190
2250
|
canWrite: (key) => canExecute() && targets.has(key) && !isFieldFillTargetProtected(key, protectedTargets, (field) => {
|
|
2191
2251
|
const target = targets.get(field);
|
|
2192
|
-
|
|
2252
|
+
const path = target?.isFieldModel ? `_OPCT.${target.field}` : target?.field ?? field;
|
|
2253
|
+
return target?.table ? `${target.table}.${path}` : path;
|
|
2193
2254
|
}),
|
|
2194
|
-
setField: (key, value) => {
|
|
2255
|
+
setField: (key, value, collection) => {
|
|
2195
2256
|
if (registry.get(uniqueId) !== record) throw new Error(`字段填充实例已释放:${uniqueId}`);
|
|
2196
2257
|
const target = targets.get(key);
|
|
2197
|
-
if (target.
|
|
2258
|
+
if (target.table) {
|
|
2259
|
+
const field = target.isFieldModel ? `_OPCT.${target.field}` : target.field;
|
|
2260
|
+
formState.setField(
|
|
2261
|
+
target.table,
|
|
2262
|
+
buildFieldFillRows(formState.state[target.table], field, value, collection),
|
|
2263
|
+
"async"
|
|
2264
|
+
);
|
|
2265
|
+
} else if (target.isFieldModel) {
|
|
2198
2266
|
if (!formState.state._OPCT) formState.setField("_OPCT", { _DICT: {} }, "async");
|
|
2199
2267
|
formState.setObjectField(
|
|
2200
2268
|
formState.state._OPCT,
|
|
@@ -2220,9 +2288,13 @@ function createRuntimeDataSourceBinding(registry, payload) {
|
|
|
2220
2288
|
throw error;
|
|
2221
2289
|
}
|
|
2222
2290
|
}
|
|
2223
|
-
const stopModeWatch = watch(
|
|
2224
|
-
|
|
2225
|
-
|
|
2291
|
+
const stopModeWatch = watch(
|
|
2292
|
+
canExecute,
|
|
2293
|
+
(enabled) => {
|
|
2294
|
+
if (enabled) void initializeOnce().catch(() => void 0);
|
|
2295
|
+
},
|
|
2296
|
+
{ flush: "sync" }
|
|
2297
|
+
);
|
|
2226
2298
|
record.dataSourceManager = exposedManager;
|
|
2227
2299
|
dataSourceManagerMap.value = { ...dataSourceManagerMap.value, [uniqueId]: exposedManager };
|
|
2228
2300
|
registry.registerDisposable(uniqueId, () => {
|
|
@@ -3199,68 +3271,71 @@ function filterAnnotationItemsUpToCurrent(items) {
|
|
|
3199
3271
|
}
|
|
3200
3272
|
export {
|
|
3201
3273
|
aO as AITooltips,
|
|
3202
|
-
|
|
3274
|
+
A2 as AllocateTableCore,
|
|
3203
3275
|
B3 as BaseFormModelFetcher,
|
|
3204
3276
|
aQ as BinarizeMethodOptions,
|
|
3205
|
-
|
|
3277
|
+
aZ as BindCmpStyleEnum,
|
|
3206
3278
|
a1 as BooleanShowMode,
|
|
3207
3279
|
B2 as BorderTD,
|
|
3208
3280
|
BpmnNodeTypeEnum,
|
|
3209
|
-
|
|
3210
|
-
|
|
3281
|
+
bI as BpmnSignatureTypeEnum,
|
|
3282
|
+
bJ as ButtonTypeEnum,
|
|
3211
3283
|
B as BwipCodeType,
|
|
3212
|
-
|
|
3213
|
-
|
|
3284
|
+
bK as CHECK_TABLE_MEDPRO_PROTOCOL_KEY,
|
|
3285
|
+
z as CellType,
|
|
3214
3286
|
ai as CellWidgetViewState,
|
|
3215
3287
|
CheckDsTypeEnum,
|
|
3216
|
-
|
|
3288
|
+
bL as CodeRunner,
|
|
3217
3289
|
ComponentTypeEnum,
|
|
3218
|
-
|
|
3219
|
-
|
|
3220
|
-
|
|
3221
|
-
|
|
3222
|
-
|
|
3290
|
+
bM as Config_Fields,
|
|
3291
|
+
bN as ControlStatusEnum,
|
|
3292
|
+
bf as DEVICE_GROUP_QUERY_KEY,
|
|
3293
|
+
bO as DEVICE_SEARCH_API,
|
|
3294
|
+
aR as DateFormat,
|
|
3223
3295
|
ay as DecimalDisplayMode,
|
|
3224
3296
|
aP as DenoiseMethodOptions,
|
|
3225
|
-
|
|
3297
|
+
a72 as DeviceConnector,
|
|
3226
3298
|
aM as DeviceLink,
|
|
3227
|
-
|
|
3299
|
+
h as DeviceLinkTmplUtil,
|
|
3228
3300
|
aN as DeviceParamsTypeTitle,
|
|
3229
3301
|
D as DevicePartConsumeTableCore,
|
|
3230
|
-
|
|
3302
|
+
bP as DeviceStatus,
|
|
3231
3303
|
aj as DiagonalDirection,
|
|
3232
3304
|
an as DiagonalVertex,
|
|
3233
3305
|
_ as DocumentLayout,
|
|
3234
|
-
|
|
3235
|
-
|
|
3236
|
-
|
|
3237
|
-
|
|
3238
|
-
|
|
3239
|
-
|
|
3240
|
-
|
|
3306
|
+
a8 as DocumentLoading,
|
|
3307
|
+
O2 as DocumentPaper,
|
|
3308
|
+
a9 as DynamicQuickFillModal,
|
|
3309
|
+
P2 as DynamicTableAction,
|
|
3310
|
+
bQ as EBR_PROVIDE_ENUM,
|
|
3311
|
+
bR as EFieldBizTypeEnum,
|
|
3312
|
+
E2 as EMPTY_PRODUCT_VERSION_ID,
|
|
3241
3313
|
aG as EmptySymbol,
|
|
3242
3314
|
a3 as FallbackSignTypeEnum,
|
|
3243
3315
|
ah as FieldSysVarDefaultValueEnum,
|
|
3244
3316
|
FillingTypeEnum,
|
|
3245
|
-
|
|
3317
|
+
aa2 as FixedQuickFillModal,
|
|
3246
3318
|
FormAnnotationController,
|
|
3247
|
-
|
|
3319
|
+
F2 as FormModelController,
|
|
3248
3320
|
FormTmplBomController,
|
|
3249
|
-
|
|
3321
|
+
ab as FormTmplConfigController,
|
|
3250
3322
|
FormTypeEnum,
|
|
3251
3323
|
az as ImageDisplayModeEnum,
|
|
3252
3324
|
InstanceStatusValues,
|
|
3253
|
-
|
|
3254
|
-
|
|
3255
|
-
|
|
3256
|
-
|
|
3325
|
+
bS as JoinModelTypeEum,
|
|
3326
|
+
ac as LEGACY_RUNTIME_FORM_CONFIG_KEYS,
|
|
3327
|
+
ad as LEGACY_RUNTIME_SHEET_ID,
|
|
3328
|
+
ae as LEGACY_RUNTIME_SHEET_TITLE,
|
|
3257
3329
|
a0 as LabelPosition,
|
|
3258
3330
|
al as LineDirection,
|
|
3259
3331
|
L as LineType,
|
|
3332
|
+
bT as MAX_FRONT_ROW_KEY_LENGTH,
|
|
3333
|
+
M as MAX_RUNTIME_SHEETS,
|
|
3334
|
+
a as MAX_RUNTIME_SHEET_TITLE_LENGTH,
|
|
3260
3335
|
M3 as MBRender,
|
|
3261
|
-
|
|
3336
|
+
af as MCDataUtil,
|
|
3262
3337
|
a11 as MCRender,
|
|
3263
|
-
|
|
3338
|
+
d as MULTI_SHEET_SCHEMA_VERSION,
|
|
3264
3339
|
MaterialConsumeTableController,
|
|
3265
3340
|
MaterialConsumptionPatternEnum,
|
|
3266
3341
|
M2 as MaterialRequisitionTableCore,
|
|
@@ -3268,35 +3343,35 @@ export {
|
|
|
3268
3343
|
a10 as MaterialSubstitutionTableCore,
|
|
3269
3344
|
bU as MobileFillTypeEnum,
|
|
3270
3345
|
NCB_PROVIDE,
|
|
3271
|
-
|
|
3346
|
+
ag as OCR_MODEL_PRECISION_ENUM_KEY,
|
|
3272
3347
|
bV as OfficeTypeEnum,
|
|
3273
3348
|
O as Orientation,
|
|
3274
|
-
|
|
3349
|
+
q as PageSizeEnum,
|
|
3275
3350
|
P as PaginationFormat,
|
|
3276
3351
|
aa as PaperSizeMap,
|
|
3277
|
-
|
|
3352
|
+
p as PaperWidgeType,
|
|
3278
3353
|
Q as PaperWidgeValueType,
|
|
3279
|
-
|
|
3280
|
-
|
|
3354
|
+
E as ParamModelTypeEnum,
|
|
3355
|
+
P3 as PartStocktakeTableCore,
|
|
3281
3356
|
PlatformEnum,
|
|
3282
3357
|
bW as PosEnum,
|
|
3283
|
-
|
|
3284
|
-
|
|
3358
|
+
b as PretreatmentListTableCore,
|
|
3359
|
+
c as ProfileDrivenSubTableCore,
|
|
3285
3360
|
bX as RUNTIME_COLUMN_ROW_KEY,
|
|
3286
3361
|
ax as RangeCompareOp,
|
|
3287
3362
|
aw as RangeValidateMode,
|
|
3288
3363
|
RenderModeEnum,
|
|
3289
|
-
|
|
3290
|
-
|
|
3291
|
-
|
|
3364
|
+
ah2 as RuntimeAsyncTaskCoordinator,
|
|
3365
|
+
ai2 as RuntimeDependencyService,
|
|
3366
|
+
aj2 as RuntimeFieldRegistry,
|
|
3292
3367
|
RuntimeFormStateStore,
|
|
3293
3368
|
RuntimeInstanceController,
|
|
3294
|
-
|
|
3369
|
+
ak2 as RuntimeInstanceEventBus,
|
|
3295
3370
|
RuntimeInstanceRegistry,
|
|
3296
|
-
|
|
3371
|
+
al2 as RuntimePersistenceCoordinator,
|
|
3297
3372
|
RuntimeRuleCompiler,
|
|
3298
3373
|
RuntimeSheetService,
|
|
3299
|
-
|
|
3374
|
+
am2 as RuntimeValidationService,
|
|
3300
3375
|
a6 as SignShowTypeEnum,
|
|
3301
3376
|
a2 as SignatureImageDirectionEnum,
|
|
3302
3377
|
a4 as SignatureNumberTypeEnum,
|
|
@@ -3304,7 +3379,7 @@ export {
|
|
|
3304
3379
|
a7 as SignatureTypeEnum,
|
|
3305
3380
|
d2 as SterilizeBatchTableCore,
|
|
3306
3381
|
e2 as StocktakeTableCore,
|
|
3307
|
-
|
|
3382
|
+
an2 as SubTableCore,
|
|
3308
3383
|
SubTableCoreFactory,
|
|
3309
3384
|
f as SubTableType,
|
|
3310
3385
|
bY as SummaryApproveHisTypeEnum,
|
|
@@ -3316,14 +3391,14 @@ export {
|
|
|
3316
3391
|
h2 as WarehouseOutboundTableCore,
|
|
3317
3392
|
ak as WidgetImageSizeMode,
|
|
3318
3393
|
bZ as applyCheckDsDataToRuntime,
|
|
3319
|
-
|
|
3394
|
+
y as applyConsumeObjectTraceChange,
|
|
3320
3395
|
b_ as applyMedProCheckDsDataToRuntime,
|
|
3321
3396
|
baseDataUtils,
|
|
3322
3397
|
b$ as bindRuntimeTableColumns,
|
|
3323
3398
|
c0 as buildDeviceBaseQuery,
|
|
3324
|
-
|
|
3325
|
-
|
|
3326
|
-
|
|
3399
|
+
be as buildDeviceFilterQuery,
|
|
3400
|
+
ao2 as buildFormChangeDisplayRows,
|
|
3401
|
+
p2 as buildObjectLotExtraQuery,
|
|
3327
3402
|
buildRuntimeFieldPath,
|
|
3328
3403
|
c1 as calcFillData,
|
|
3329
3404
|
c2 as calcUtils,
|
|
@@ -3332,110 +3407,113 @@ export {
|
|
|
3332
3407
|
collectFormChangeFieldLocations,
|
|
3333
3408
|
commonUtils,
|
|
3334
3409
|
convertHistoricalAnnotationLocation,
|
|
3335
|
-
|
|
3336
|
-
|
|
3410
|
+
ap as convertV1Runtime,
|
|
3411
|
+
e as createRuntimeDocumentV2,
|
|
3337
3412
|
createRuntimeInstanceContext,
|
|
3338
|
-
|
|
3413
|
+
c3 as decodeTableCellRowKey,
|
|
3414
|
+
aq2 as detailsHaveFormChangeRowOps,
|
|
3415
|
+
c4 as encodeTableCellRowKey,
|
|
3339
3416
|
enrichFormChangeRowDetails,
|
|
3340
|
-
|
|
3341
|
-
|
|
3342
|
-
|
|
3343
|
-
|
|
3344
|
-
|
|
3345
|
-
|
|
3417
|
+
c5 as ensureFrontRowKey,
|
|
3418
|
+
c6 as ensureTableRowKeys,
|
|
3419
|
+
ar as extractFormChangeRowDetails,
|
|
3420
|
+
c7 as extractKeywordFromQueryData,
|
|
3421
|
+
c8 as fetchCheckDsDataForTable,
|
|
3422
|
+
c9 as fetchCustomCheckDsData,
|
|
3346
3423
|
fetchHistoryConsume,
|
|
3347
|
-
|
|
3424
|
+
ca as fetchMedProCheckDsData,
|
|
3348
3425
|
fetchOperationReceiveQty,
|
|
3349
3426
|
fetchUdi,
|
|
3350
3427
|
filterAnnotationItemsUpToCurrent,
|
|
3351
|
-
|
|
3352
|
-
|
|
3428
|
+
bj as findRuntimeParentRow,
|
|
3429
|
+
cb as findRuntimeTableCell,
|
|
3353
3430
|
findRuntimeTableRow,
|
|
3354
3431
|
getAppInfo,
|
|
3355
3432
|
getBusinessFieldKey,
|
|
3356
|
-
|
|
3357
|
-
|
|
3358
|
-
|
|
3359
|
-
|
|
3360
|
-
|
|
3361
|
-
|
|
3433
|
+
cc as getCheckTableSnapshotKey,
|
|
3434
|
+
as as getFormChangeRowKey,
|
|
3435
|
+
at as getFormChangeRowOp,
|
|
3436
|
+
aX as getLotLockedReason,
|
|
3437
|
+
o as getObjectBomMaterialLotQuery,
|
|
3438
|
+
z2 as getObjectBomProductQuery,
|
|
3362
3439
|
getParseFormulaVarInfos,
|
|
3363
|
-
|
|
3364
|
-
|
|
3365
|
-
|
|
3366
|
-
|
|
3367
|
-
|
|
3440
|
+
cd as getParseRuleConfig,
|
|
3441
|
+
a_ as getParseRuleInfo,
|
|
3442
|
+
a$ as getParseRuleValue,
|
|
3443
|
+
ce as getReinspectionDate,
|
|
3444
|
+
cf as getRenderedRuntimeTableCell,
|
|
3368
3445
|
getRuntimeDataFieldId,
|
|
3369
3446
|
getRuntimeDependencyOutputKey,
|
|
3370
|
-
|
|
3447
|
+
au as getSubTableQuickFillInfo,
|
|
3371
3448
|
getSuiteKey,
|
|
3372
|
-
|
|
3373
|
-
|
|
3374
|
-
|
|
3375
|
-
|
|
3376
|
-
|
|
3377
|
-
|
|
3449
|
+
cg as handleOldConfig,
|
|
3450
|
+
ch as hasAnyCheckTableSnapshot,
|
|
3451
|
+
ci as hasByTableCheckTableSnapshot,
|
|
3452
|
+
cj as hasSharedCheckTableSnapshot,
|
|
3453
|
+
av as isAnnLocationSelected,
|
|
3454
|
+
aw2 as isBlank,
|
|
3378
3455
|
isBomGranted,
|
|
3379
3456
|
isEdhrSuite,
|
|
3380
3457
|
isEqmSuite,
|
|
3381
|
-
|
|
3382
|
-
|
|
3458
|
+
ax2 as isFormChangeGhostRow,
|
|
3459
|
+
ck as isMedProSuite,
|
|
3383
3460
|
isRowAddedInCurrentFormChange,
|
|
3384
|
-
|
|
3385
|
-
|
|
3386
|
-
|
|
3387
|
-
|
|
3461
|
+
cl as isTableRowKeyMatch,
|
|
3462
|
+
cm as jsonSchemaUtils,
|
|
3463
|
+
cn as judgeUnique,
|
|
3464
|
+
aW as materialCheck,
|
|
3465
|
+
co as migrateDiagonalDirectionToVertex,
|
|
3388
3466
|
nextFormChangeRowViewHistoryId,
|
|
3389
|
-
|
|
3390
|
-
|
|
3391
|
-
|
|
3392
|
-
|
|
3393
|
-
|
|
3467
|
+
i as normalizeAIOcrTmpl,
|
|
3468
|
+
A as normalizeHistoricalAutofillRow,
|
|
3469
|
+
f2 as normalizeHistoricalBusinessRow,
|
|
3470
|
+
ay2 as normalizeHistoricalFieldConfig,
|
|
3471
|
+
b0 as normalizeRefLoaderResult,
|
|
3394
3472
|
normalizeRuntime,
|
|
3395
3473
|
parseFrontConfig,
|
|
3396
3474
|
parseRuntimeFieldPath,
|
|
3397
3475
|
parseUdi,
|
|
3398
|
-
|
|
3399
|
-
|
|
3400
|
-
|
|
3401
|
-
|
|
3402
|
-
|
|
3476
|
+
az2 as pickObjectFieldKeys,
|
|
3477
|
+
aA as recordSubtableRowAdd,
|
|
3478
|
+
aB as recordSubtableRowDelete,
|
|
3479
|
+
bc as refUtils,
|
|
3480
|
+
cp as relocateDeletedRowsToEnd,
|
|
3403
3481
|
renderUtils,
|
|
3404
|
-
|
|
3405
|
-
|
|
3406
|
-
|
|
3482
|
+
cq as requestMedProCheckDsData,
|
|
3483
|
+
cr as requestNonMedProCheckDsData,
|
|
3484
|
+
aC as resolveAnnotationFieldLocation,
|
|
3407
3485
|
ao as resolveDiagonalVertex,
|
|
3408
|
-
|
|
3409
|
-
|
|
3410
|
-
|
|
3486
|
+
u as resolveFieldRenderComponent,
|
|
3487
|
+
aD as resolveFormChangeRowUi,
|
|
3488
|
+
t as resolveObjectBomEntry,
|
|
3411
3489
|
r as resolveObjectFieldKeys,
|
|
3412
|
-
|
|
3490
|
+
aE as resolveRowFormChangeMark,
|
|
3413
3491
|
resolveUdiQuery,
|
|
3414
|
-
|
|
3415
|
-
|
|
3416
|
-
|
|
3492
|
+
w as runWithFillProduct,
|
|
3493
|
+
l as setSelectAnnotationId,
|
|
3494
|
+
aF as setSelectMobileTdId,
|
|
3417
3495
|
s as setSelectValidatorId,
|
|
3418
|
-
|
|
3419
|
-
|
|
3420
|
-
|
|
3496
|
+
cs as sqlUtils,
|
|
3497
|
+
ct as stockCheck,
|
|
3498
|
+
aG2 as stripLegacyFormConfigFromPaper,
|
|
3421
3499
|
transformUtils,
|
|
3422
|
-
|
|
3500
|
+
G as useDependency,
|
|
3423
3501
|
useEbrWikiFactoryV2,
|
|
3424
|
-
|
|
3425
|
-
|
|
3426
|
-
|
|
3502
|
+
H as useFieldPresentation,
|
|
3503
|
+
u3 as useFormModel,
|
|
3504
|
+
u2 as useFormTmplConfig,
|
|
3427
3505
|
useMaterialBalance,
|
|
3428
3506
|
useNocodeEmitter,
|
|
3429
|
-
|
|
3430
|
-
|
|
3431
|
-
|
|
3507
|
+
x as useNocodeFormWidget,
|
|
3508
|
+
cu as useOnlineFormActionButton,
|
|
3509
|
+
bk as useOnlineFormTransformField2Component,
|
|
3432
3510
|
useRenderPageFactory,
|
|
3433
|
-
|
|
3434
|
-
|
|
3435
|
-
|
|
3436
|
-
|
|
3437
|
-
|
|
3511
|
+
I as useRuntimeEditorFlusher,
|
|
3512
|
+
k as useRuntimeInstanceServices,
|
|
3513
|
+
m as useRuntimeRowState,
|
|
3514
|
+
F as useStyles,
|
|
3515
|
+
j as useWidgetStaticAttrs,
|
|
3438
3516
|
v as validateObjectBomForScan,
|
|
3439
3517
|
validateObjectBomQtyOnSubmit,
|
|
3440
|
-
|
|
3518
|
+
aY as validateReinspectionDate
|
|
3441
3519
|
};
|
|
@@ -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-ixQwAcB1.js";
|
|
3
|
+
import { ao as resolveDiagonalVertex, a8 as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-BvrrN6te.js";
|
|
4
4
|
import "lodash-es";
|
|
5
5
|
import "dayjs";
|
|
6
6
|
import "@gct-paas/form-base";
|