@gct-paas/excel 0.1.40-beta.11 → 0.1.40-beta.13
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-gj20uBnJ.js → BaseComponent-BNYlBwRp.js} +2 -2
- package/dist/{VueVideoPlayer-BeylL5J6.js → VueVideoPlayer-CA8iKJQb.js} +2 -2
- package/dist/{align-editor-r0dHXFka.js → align-editor-BLoPPjyE.js} +1 -1
- package/dist/{barcode-design-CYvf_EAE.js → barcode-design-Dqvxi5NV.js} +2 -2
- package/dist/base/index.es.js +189 -177
- package/dist/{diagonal-design-oDhnFV7y.js → diagonal-design-DG-Dx4ts.js} +2 -2
- package/dist/{dynamic-table-action-DQwZUD0_.js → dynamic-table-action-Bank1QhA.js} +713 -133
- package/dist/{dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-8yB6zly8.js → dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-CMUJIaqF.js} +507 -1096
- package/dist/{edit.utils-CXmmCnxE-Cu6obgSA.js → edit.utils-CXmmCnxE-CjdKEddt.js} +1 -1
- package/dist/excel.css +127 -84
- package/dist/{exceljs.min-Cw2hDE6L.js → exceljs.min-UvFp3sV4.js} +2 -2
- package/dist/{font-editor-B_0EZdyd.js → font-editor-DnMEr3MH.js} +3 -3
- package/dist/{image-design-FDLY6DFg.js → image-design-CwtJAv3F.js} +2 -2
- package/dist/{index-C4ZaFHIk.js → index-3MWFMn8S.js} +3 -3
- package/dist/{index-D1QJAMGR.js → index-Aza4NNmK.js} +2 -2
- package/dist/{index-DEHsGK91.js → index-B5OUUXeo.js} +1 -1
- package/dist/{index-BdFPuj12.js → index-B9lsZxiJ.js} +1 -1
- package/dist/{index-BuAaPDLl.js → index-BBn6MJSx.js} +2 -2
- package/dist/{index-CRIhEnfm.js → index-BKQuT0fA.js} +1 -1
- package/dist/{index-CQTRWLPa.js → index-BPY-u_dg.js} +3 -2
- package/dist/{index-Go0PUrqy.js → index-BQYnbcBb.js} +1 -1
- package/dist/{index-CFVecFFb.js → index-BVs40sek.js} +2 -2
- package/dist/{index-DcjvPNF5.js → index-B_XnofhV.js} +2 -2
- package/dist/{index-BCsDTwbK.js → index-BeVxjuh9.js} +1 -1
- package/dist/{index-Z9jq6KeM.js → index-BggSZyva.js} +2 -2
- package/dist/{index-KxrgWfEL.js → index-BqKnOPo_.js} +1 -1
- package/dist/{index-B2bvlNJo.js → index-BtRVxr4g.js} +2 -2
- package/dist/{index-BZd3wYPr.js → index-C5Ldbkko.js} +2 -2
- package/dist/{index-D3xW5qOp.js → index-CGZ_QXnT.js} +2 -2
- package/dist/{index-73QPpTaL.js → index-CHKEoI0-.js} +3 -3
- package/dist/{index-C0TsnxJJ.js → index-CJiS8qwY.js} +2 -2
- package/dist/{index-Dyfxs8FQ.js → index-CKRFb60x.js} +2 -2
- package/dist/{index-CxcaWxbW.js → index-C_Yhjehy.js} +2 -2
- package/dist/{index-7u6Pmaax.js → index-CaT3CiHe.js} +1 -1
- package/dist/{index-CdKmjzHb.js → index-Cd_mJxU6.js} +3 -3
- package/dist/{index-DOmpZ2Vn.js → index-Cq-XyRHo.js} +2 -2
- package/dist/{index-DGODLCja.js → index-CszU9umD.js} +1 -1
- package/dist/{index-DgLLlaiF.js → index-CwADS2FU.js} +1 -1
- package/dist/{index-CiCgngBb.js → index-D29NlAJu.js} +2 -2
- package/dist/{index-BtTM4eCk.js → index-D5aotGHm.js} +2 -2
- package/dist/{index-ZJQMS_Ik.js → index-DFSzmsEj.js} +2 -2
- package/dist/{index-xJJRBQFw.js → index-DLjQtnue.js} +1745 -1644
- package/dist/{index-C1EtpaAY.js → index-D_SKDlr_.js} +2 -2
- package/dist/{index-4cLi3g2p.js → index-DyW4nBh7.js} +2 -2
- package/dist/{index-xeRTb7EG.js → index-VbBHe0-r.js} +3 -3
- package/dist/{index-Bh8Vsmje.js → index-XT4AMdYd.js} +4 -4
- package/dist/{index-Cg1LuaLW.js → index-bu7pivuw.js} +2 -2
- package/dist/{index-DJiuJgNx.js → index-d8vCiBu7.js} +1 -1
- package/dist/index.es.js +2 -2
- package/dist/{mb-render-_IUbyYCY.js → mb-render-CAIFQRQe.js} +1 -1
- package/dist/{online-form-model-select.vue_vue_type_script_setup_true_name_online-form-model-select_lang-CnQiVFDN.js → online-form-model-select.vue_vue_type_script_setup_true_name_online-form-model-select_lang-Mtk2wCxy.js} +1 -1
- package/dist/{pagination-design-BpXq_uV5.js → pagination-design-BEykgAvG.js} +2 -2
- package/dist/paper-widget-design-ooxHgZry.js +4 -0
- package/dist/{print-runtime-instance-MOb76qZn.js → print-runtime-instance-4ZDfLM5V.js} +1 -1
- package/dist/{print-snapshot-renderer-oKcwQUgc.js → print-snapshot-renderer-zOa_XHc0.js} +3 -3
- package/dist/{qrcode-design-CkkXDXcD.js → qrcode-design-CvYHvmMW.js} +1 -1
- package/dist/{revo-grid.entry-BZADj2ve.js → revo-grid.entry-CAz8pEMB.js} +1 -1
- package/dist/{revogr-attribution_7.entry-DbQASE7d.js → revogr-attribution_7.entry-RBj_kk6o.js} +3 -3
- package/dist/{revogr-clipboard_3.entry-BUDhUelS.js → revogr-clipboard_3.entry-B_WeVhDK.js} +2 -2
- package/dist/{revogr-data_4.entry-0V57Lz9p.js → revogr-data_4.entry-VaYdG5rT.js} +2 -2
- package/dist/{revogr-filter-panel.entry-BJEYteeW.js → revogr-filter-panel.entry-BCwmMUrv.js} +1 -1
- package/dist/seal-design-CG41_ii2.js +4 -0
- package/dist/{serialnumber-design-BbjW4gnZ.js → serialnumber-design-DHQVyTpR.js} +1 -1
- package/dist/shared/index.es.js +22 -22
- package/dist/{single-field-drop-DBjHYyMO.js → single-field-drop-D9h6cfEW.js} +2 -2
- package/dist/{size-editor-CcYZKUn5.js → size-editor-CYH_vGEJ.js} +1 -1
- package/dist/src/nocode-base/src/hooks/material-consume-object/initialize-autofill.d.ts +3 -1
- package/dist/src/nocode-base/src/runtime/multi-sheet-runtime.d.ts +3 -1
- package/dist/src/nocode-base/src/runtime/runtime-context.d.ts +4 -0
- package/dist/src/online-form/src/views/__cell_widgets__/common/quick-search-editor/quick-search.util.d.ts +8 -0
- package/dist/src/online-form/src/views/designer/hooks/useAllSpreadSheets.d.ts +11 -0
- package/dist/src/online-form/src/views/designer/modules/base/designer-wrapper.vue.d.ts +1 -0
- package/dist/src/online-form/src/views/designer/modules/duplicate-field-notice.vue.d.ts +2 -0
- package/dist/src/online-form/src/views/designer/types/sheets.d.ts +2 -0
- package/dist/{sub-table-factory-CUn9Ys8U.js → sub-table-factory-B0zWW-QG.js} +2 -2
- package/dist/{text-design-CJ-LzwEP.js → text-design-DOQAiCNS.js} +2 -2
- package/dist/{throttle-Cpk1LoGk-BVommE6v.js → throttle-Cpk1LoGk-CMJVKhfH.js} +1 -1
- package/dist/{timediff-design-DLlIUaqv.js → timediff-design-BpVtGq2d.js} +1 -1
- package/dist/{trace-like-wrapper-3MK6tjpN.js → trace-like-wrapper-CfQ-z7OG.js} +2 -2
- package/dist/{value-editor.vue_vue_type_style_index_0_lang-CmqBS9Ol.js → value-editor.vue_vue_type_style_index_0_lang-dI4Svbwa.js} +2 -2
- package/dist/web-render/index.es.js +3 -3
- package/dist/{widget-barcode-BzrOK6u9.js → widget-barcode-Q35uB5iK.js} +4 -4
- package/dist/{widget-diagonal-DXnNY3TR.js → widget-diagonal-DqhdnkvW.js} +3 -3
- package/dist/{widget-image-qlZU5zfL.js → widget-image-BXD0sEE3.js} +5 -5
- package/dist/{widget-line-BkFVTPZE.js → widget-line-DH-692Ln.js} +2 -2
- package/dist/{widget-pagination-BI7Vtnio.js → widget-pagination-fIAO2QPA.js} +5 -5
- package/dist/{widget-power-CQaD6Z_a.js → widget-power-DWVhbXTd.js} +3 -3
- package/dist/{widget-qrcode-DNpnyMCx.js → widget-qrcode-Bo1KSkKG.js} +3 -3
- package/dist/{widget-rangelimit-DE7-MYZD.js → widget-rangelimit-BFKtZq_w.js} +3 -3
- package/dist/{widget-serialnumber-CyMnA-nP.js → widget-serialnumber-DZqKmj9h.js} +1 -1
- package/dist/{widget-text-BpZ7YJtP.js → widget-text-CY_4aox8.js} +5 -5
- package/dist/{widget-timediff-DSEwFrr9.js → widget-timediff-CPMbymXT.js} +2 -2
- package/package.json +2 -2
- package/dist/paper-widget-design-CSOyFSja.js +0 -4
- package/dist/seal-design-BMrCPheX.js +0 -4
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { i as normalizeFieldWidth } from "./dynamic-table-action-Bank1QhA.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-CMUJIaqF.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 { N as commonjsGlobal, Q 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 { N as commonjsGlobal, Q as getDefaultExportFromCjs } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-CMUJIaqF.js";
|
|
3
|
+
import { r as require$$0 } from "./index-BVs40sek.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 {
|
|
2
|
+
import { a8 as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-CMUJIaqF.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 { R as PaperWidgeValueType,
|
|
3
|
+
import { u as useSpreadSheet, h as useModelFields, l as loadBwip } from "./index-DLjQtnue.js";
|
|
4
|
+
import { R as PaperWidgeValueType, a8 as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-CMUJIaqF.js";
|
|
5
5
|
import "dayjs";
|
|
6
6
|
import "@gct-paas/form-base";
|
|
7
7
|
import "ant-design-vue";
|
package/dist/base/index.es.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { p as api,
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import { B as B2,
|
|
1
|
+
import { p as api, $ as PlatformEnum, F as FIELD_TYPE, bb as getRowId, bc as findRuntimeTableRow, bd as RenderModeEnum, C as ComponentTypeEnum, ay as findFieldMain, c as getProfileByTableType, d as getBusinessProfileByRefModelType, b as isBusinessSubTableProfile, au as RangeValidateMode, aH as Dependency_ENUM, aG as ASSIGNMENTSTRATEGY_ENUM, bn as fetchHistoryConsume, bo as isBomGranted, aU as renderUtils, bm as uuid2, bp as parseFrontConfig, aK as CheckDsTypeEnum, aE as transformUtils, bq as baseDataUtils, Y as FormTypeEnum, br as normalizeToArray, bs as safeParseArray, bt as BpmnNodeTypeEnum, bu as mergeByMultiKey, a8 as _export_sfc, bv as evaluateInspectionDecisionRule, bw as useNocodeEmitter, bx as commonUtils, aI as EntityModelCategoryEnum } from "../dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-CMUJIaqF.js";
|
|
2
|
+
import { aN, aP, a_, a1, by, bz, B, bA, A, ag, bB, bC, bD, ba, bE, aQ, az, aO, aL, aM, bF, ah, al, bG, bH, aF, a3, af, aA, bI, a0, aj, L, bJ, bK, bL, O, s, P, aa, q, R, G, bM, bN, av, a6, a2, a4, a5, a7, h, bO, ak, ao, ai, bP, bQ, bR, bS, b9, bT, bU, bV, bW, bX, bY, bZ, b_, b$, c0, be, c1, c2, aX, c3, a$, b0, c4, c5, c6, c7, c8, c9, ca, cb, cc, cd, aW, ce, b1, b7, cf, cg, am, v, ch, ci, cj, bf, aY } from "../dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-CMUJIaqF.js";
|
|
3
|
+
import { a2 as getRuntimeDataFieldId, O as parseRuntimeFieldPath, a3 as buildRuntimeFieldPath, j as findFieldProfile, a4 as resolveRuntimeFieldProps, a5 as resolveRuntimeFieldState, a6 as assembleRules, a7 as isAttachFieldActive, Q as calculateFormula, a8 as getRuntimeDependencyOutputKey, a9 as isRowAddedInCurrentFormChange, g as getParseFormulaVarInfos, x as MaterialConsumptionPatternEnum, aa as MaterialConsumeTableController, ab as setFormulaParamsConfig, ac as normalizeRuntime, W as createRuntimeInstanceContext, ad as initializeSealFields, V as RuntimeFormStateStore, ae as RuntimeSheetService, e as getBusinessFieldKey, af as validateObjectBomQtyOnSubmit, ag as areValidationCommentsEqual, ah as closeValidatorPopovers, ai as enrichFormChangeRowDetails, P as NCB_PROVIDE, X as RuntimeInstanceRegistry, aj as useMaterialBalance, ak as collectFormChangeFieldLocations, al as nextFormChangeRowViewHistoryId } from "../dynamic-table-action-Bank1QhA.js";
|
|
4
|
+
import { B as B2, am as am2, l, a1 as a12, an, $, ao as ao2, a0 as a02, G as G2, ap, aq, ar, as, at, M, a, au, d, av as av2, aw, ax, ay, az as az2, aA as aA2, aB, aC, E, aD, v as v2, aE, f, aF as aF2, aG, aH, aI, t, F, aJ, aK, aL as aL2, aM as aM2, m, H, k, aN as aN2, aO as aO2, aP as aP2, aQ as aQ2, aR, aS, aT, z, w, aU, A as A2, q as q2, aV, s as s2, aW as aW2, S, T, u, C, U, p, r, R as R2, o, y } from "../dynamic-table-action-Bank1QhA.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 A3, D, M as M2, a as
|
|
8
|
+
import { S as SubTableCoreFactory, R as RuntimeInstanceController } from "../sub-table-factory-B0zWW-QG.js";
|
|
9
|
+
import { A as A3, D, M as M2, a as a8, P as P2, b, c, d as d2, e, W, f as f2, g, h as h2 } from "../sub-table-factory-B0zWW-QG.js";
|
|
10
10
|
import { createDataSourceManager, getLegacyFieldFillTargets, createFieldFillRuntime, buildFieldFillRows, isFieldFillTargetProtected, getFieldFillColumn, buildDataSourceContext } from "@gct-paas/form-base";
|
|
11
|
-
import { B as B3, F, M as M3, a as
|
|
11
|
+
import { B as B3, F as F2, M as M3, a as a9, u as u2 } from "../mb-render-CAIFQRQe.js";
|
|
12
12
|
const InstanceStatusValues = {
|
|
13
13
|
/** 作废状态 */
|
|
14
14
|
ABANDON: "ABANDON",
|
|
@@ -1062,7 +1062,8 @@ class FormTmplBomController {
|
|
|
1062
1062
|
async function prepareObjectProductDefaults({
|
|
1063
1063
|
enabled,
|
|
1064
1064
|
fields,
|
|
1065
|
-
objectInitialValues = []
|
|
1065
|
+
objectInitialValues = [],
|
|
1066
|
+
onWarning
|
|
1066
1067
|
}) {
|
|
1067
1068
|
const defaults2 = /* @__PURE__ */ new WeakMap();
|
|
1068
1069
|
if (!enabled) return defaults2;
|
|
@@ -1083,7 +1084,7 @@ async function prepareObjectProductDefaults({
|
|
|
1083
1084
|
);
|
|
1084
1085
|
const product = result?.data;
|
|
1085
1086
|
if (!product || typeof product !== "object" || Array.isArray(product) || Object.keys(product).length === 0) {
|
|
1086
|
-
|
|
1087
|
+
return void 0;
|
|
1087
1088
|
}
|
|
1088
1089
|
return { ...product, _DICT: result?.dict ?? product._DICT };
|
|
1089
1090
|
})();
|
|
@@ -1112,6 +1113,13 @@ async function prepareObjectProductDefaults({
|
|
|
1112
1113
|
tasks.push(
|
|
1113
1114
|
fetchProduct(productId).then(
|
|
1114
1115
|
(sourceData) => {
|
|
1116
|
+
if (!sourceData) {
|
|
1117
|
+
const objectName = configured.objectFieldName || field.belongingObject;
|
|
1118
|
+
onWarning?.(
|
|
1119
|
+
`「数据 → 对象初始化 → ${objectName} → 配置」中的默认物料未查到详情(字段 ${field.fieldId},物料 ${productId}),已跳过自动填充。`
|
|
1120
|
+
);
|
|
1121
|
+
return;
|
|
1122
|
+
}
|
|
1115
1123
|
productDefault.sourceData = sourceData;
|
|
1116
1124
|
},
|
|
1117
1125
|
(error) => {
|
|
@@ -1300,13 +1308,14 @@ function createRuntimeInstanceInitializer(props, payload, getConsumeData) {
|
|
|
1300
1308
|
let runtimeFormStateStore;
|
|
1301
1309
|
let scriptRunner;
|
|
1302
1310
|
try {
|
|
1303
|
-
const normalizedRuntime = normalizeRuntime(selfInfo?.runtimeJson || "{}");
|
|
1311
|
+
const normalizedRuntime = normalizeRuntime(selfInfo?.runtimeJson || "{}", selfInfo.formType);
|
|
1304
1312
|
const tid = result.tid;
|
|
1305
1313
|
const uniqueId = `${tid}_${uuid2(8)}`;
|
|
1306
1314
|
const runtimeContext = createRuntimeInstanceContext({
|
|
1307
1315
|
uniqueId,
|
|
1308
1316
|
instanceId: id,
|
|
1309
1317
|
templateId: tid,
|
|
1318
|
+
formType: selfInfo.formType,
|
|
1310
1319
|
runtime: normalizedRuntime,
|
|
1311
1320
|
defaultData: {}
|
|
1312
1321
|
});
|
|
@@ -1524,7 +1533,10 @@ function createRuntimeInstanceInitializer(props, payload, getConsumeData) {
|
|
|
1524
1533
|
const objectProductDefaults = await prepareObjectProductDefaults({
|
|
1525
1534
|
enabled: fillModeType === RenderModeEnum.FormMode && selfInfo.dataStatus !== "STASH" && selfInfo.dataStatus !== "SUBMIT",
|
|
1526
1535
|
fields: fieldInfoMap.useDefaultValueFields,
|
|
1527
|
-
objectInitialValues: runtimeContext.formConfig.objectInitialValues
|
|
1536
|
+
objectInitialValues: runtimeContext.formConfig.objectInitialValues,
|
|
1537
|
+
onWarning: (content) => {
|
|
1538
|
+
window.NocodeAdapter.openUtil?.message({ type: "warning", content, duration: 8 });
|
|
1539
|
+
}
|
|
1528
1540
|
});
|
|
1529
1541
|
const defaultDataMap = renderUtils.getDefaultValueMapByField({
|
|
1530
1542
|
objectProductDefaults,
|
|
@@ -2630,7 +2642,7 @@ function createRuntimeDataSourceBinding(registry, payload) {
|
|
|
2630
2642
|
record.dataSourceManager = void 0;
|
|
2631
2643
|
fieldFillRuntime?.dispose();
|
|
2632
2644
|
manager.dispose();
|
|
2633
|
-
const { [uniqueId]:
|
|
2645
|
+
const { [uniqueId]: _, ...rest } = dataSourceManagerMap.value;
|
|
2634
2646
|
dataSourceManagerMap.value = rest;
|
|
2635
2647
|
});
|
|
2636
2648
|
await initializeOnce();
|
|
@@ -3014,7 +3026,7 @@ function useEbrWikiFactoryV2(props, payload) {
|
|
|
3014
3026
|
}
|
|
3015
3027
|
watch(
|
|
3016
3028
|
[() => props.materialNo, () => edhrCounter.value],
|
|
3017
|
-
async ([newMaterialNo,
|
|
3029
|
+
async ([newMaterialNo, _]) => {
|
|
3018
3030
|
if (isEmpty(newMaterialNo)) return;
|
|
3019
3031
|
loading.value = true;
|
|
3020
3032
|
clear();
|
|
@@ -3193,7 +3205,7 @@ function useEbrWikiFactoryV2(props, payload) {
|
|
|
3193
3205
|
);
|
|
3194
3206
|
watch(
|
|
3195
3207
|
[() => selectSelfInfo.value, () => instanceCounter.value],
|
|
3196
|
-
([newSelectSelfInfo,
|
|
3208
|
+
([newSelectSelfInfo, _]) => {
|
|
3197
3209
|
if (newSelectSelfInfo && payload.pageType === "record-change") {
|
|
3198
3210
|
emitter.emit(EmitterEnum.__on_select_ebr_doc_instance_id, {
|
|
3199
3211
|
instanceId: newSelectSelfInfo.id
|
|
@@ -3549,9 +3561,9 @@ class FormAnnotationController {
|
|
|
3549
3561
|
const items = this.normalizeAllResponse(res);
|
|
3550
3562
|
this.applyAnnotationItems(items, () => true);
|
|
3551
3563
|
return items;
|
|
3552
|
-
} catch (
|
|
3553
|
-
console.error("加载所有批注信息 error",
|
|
3554
|
-
throw
|
|
3564
|
+
} catch (e2) {
|
|
3565
|
+
console.error("加载所有批注信息 error", e2);
|
|
3566
|
+
throw e2;
|
|
3555
3567
|
}
|
|
3556
3568
|
};
|
|
3557
3569
|
handleOpenAnnotation = async () => {
|
|
@@ -3598,250 +3610,250 @@ function filterAnnotationItemsUpToCurrent(items) {
|
|
|
3598
3610
|
});
|
|
3599
3611
|
}
|
|
3600
3612
|
export {
|
|
3601
|
-
|
|
3613
|
+
aN as AITooltips,
|
|
3602
3614
|
A3 as AllocateTableCore,
|
|
3603
3615
|
B3 as BaseFormModelFetcher,
|
|
3604
|
-
|
|
3605
|
-
|
|
3606
|
-
|
|
3616
|
+
aP as BinarizeMethodOptions,
|
|
3617
|
+
a_ as BindCmpStyleEnum,
|
|
3618
|
+
a1 as BooleanShowMode,
|
|
3607
3619
|
B2 as BorderTD,
|
|
3608
3620
|
BpmnNodeTypeEnum,
|
|
3609
|
-
|
|
3610
|
-
|
|
3621
|
+
by as BpmnSignatureTypeEnum,
|
|
3622
|
+
bz as ButtonTypeEnum,
|
|
3611
3623
|
B as BwipCodeType,
|
|
3612
|
-
|
|
3624
|
+
bA as CHECK_TABLE_MEDPRO_PROTOCOL_KEY,
|
|
3613
3625
|
A as CellType,
|
|
3614
|
-
|
|
3626
|
+
ag as CellWidgetViewState,
|
|
3615
3627
|
CheckDsTypeEnum,
|
|
3616
|
-
|
|
3628
|
+
bB as CodeRunner,
|
|
3617
3629
|
ComponentTypeEnum,
|
|
3618
|
-
|
|
3619
|
-
|
|
3620
|
-
|
|
3621
|
-
|
|
3622
|
-
|
|
3623
|
-
|
|
3624
|
-
|
|
3625
|
-
|
|
3626
|
-
|
|
3627
|
-
|
|
3628
|
-
|
|
3630
|
+
bC as Config_Fields,
|
|
3631
|
+
bD as ControlStatusEnum,
|
|
3632
|
+
ba as DEVICE_GROUP_QUERY_KEY,
|
|
3633
|
+
bE as DEVICE_SEARCH_API,
|
|
3634
|
+
aQ as DateFormat,
|
|
3635
|
+
az as DecimalDisplayMode,
|
|
3636
|
+
aO as DenoiseMethodOptions,
|
|
3637
|
+
am2 as DeviceConnector,
|
|
3638
|
+
aL as DeviceLink,
|
|
3639
|
+
l as DeviceLinkTmplUtil,
|
|
3640
|
+
aM as DeviceParamsTypeTitle,
|
|
3629
3641
|
D as DevicePartConsumeTableCore,
|
|
3630
|
-
|
|
3631
|
-
|
|
3632
|
-
|
|
3633
|
-
|
|
3634
|
-
|
|
3635
|
-
|
|
3636
|
-
|
|
3637
|
-
|
|
3638
|
-
|
|
3639
|
-
|
|
3640
|
-
|
|
3641
|
-
|
|
3642
|
-
|
|
3643
|
-
|
|
3642
|
+
bF as DeviceStatus,
|
|
3643
|
+
ah as DiagonalDirection,
|
|
3644
|
+
al as DiagonalVertex,
|
|
3645
|
+
a12 as DocumentLayout,
|
|
3646
|
+
an as DocumentLoading,
|
|
3647
|
+
$ as DocumentPaper,
|
|
3648
|
+
ao2 as DynamicQuickFillModal,
|
|
3649
|
+
a02 as DynamicTableAction,
|
|
3650
|
+
bG as EBR_PROVIDE_ENUM,
|
|
3651
|
+
bH as EFieldBizTypeEnum,
|
|
3652
|
+
G2 as EMPTY_PRODUCT_VERSION_ID,
|
|
3653
|
+
aF as EmptySymbol,
|
|
3654
|
+
a3 as FallbackSignTypeEnum,
|
|
3655
|
+
af as FieldSysVarDefaultValueEnum,
|
|
3644
3656
|
FillingTypeEnum,
|
|
3645
|
-
|
|
3657
|
+
ap as FixedQuickFillModal,
|
|
3646
3658
|
FormAnnotationController,
|
|
3647
|
-
|
|
3659
|
+
F2 as FormModelController,
|
|
3648
3660
|
FormTmplBomController,
|
|
3649
|
-
|
|
3661
|
+
aq as FormTmplConfigController,
|
|
3650
3662
|
FormTypeEnum,
|
|
3651
|
-
|
|
3663
|
+
aA as ImageDisplayModeEnum,
|
|
3652
3664
|
InstanceStatusValues,
|
|
3653
|
-
|
|
3654
|
-
|
|
3655
|
-
|
|
3656
|
-
|
|
3657
|
-
|
|
3658
|
-
|
|
3665
|
+
bI as JoinModelTypeEum,
|
|
3666
|
+
ar as LEGACY_RUNTIME_FORM_CONFIG_KEYS,
|
|
3667
|
+
as as LEGACY_RUNTIME_SHEET_ID,
|
|
3668
|
+
at as LEGACY_RUNTIME_SHEET_TITLE,
|
|
3669
|
+
a0 as LabelPosition,
|
|
3670
|
+
aj as LineDirection,
|
|
3659
3671
|
L as LineType,
|
|
3660
|
-
|
|
3672
|
+
bJ as MAX_FRONT_ROW_KEY_LENGTH,
|
|
3661
3673
|
M as MAX_RUNTIME_SHEETS,
|
|
3662
3674
|
a as MAX_RUNTIME_SHEET_TITLE_LENGTH,
|
|
3663
3675
|
M3 as MBRender,
|
|
3664
|
-
|
|
3665
|
-
|
|
3676
|
+
au as MCDataUtil,
|
|
3677
|
+
a9 as MCRender,
|
|
3666
3678
|
d as MULTI_SHEET_SCHEMA_VERSION,
|
|
3667
3679
|
MaterialConsumeTableController,
|
|
3668
3680
|
MaterialConsumptionPatternEnum,
|
|
3669
3681
|
M2 as MaterialRequisitionTableCore,
|
|
3670
3682
|
MaterialStatusEnum,
|
|
3671
|
-
|
|
3672
|
-
|
|
3683
|
+
a8 as MaterialSubstitutionTableCore,
|
|
3684
|
+
bK as MobileFillTypeEnum,
|
|
3673
3685
|
NCB_PROVIDE,
|
|
3674
|
-
|
|
3675
|
-
|
|
3686
|
+
av2 as OCR_MODEL_PRECISION_ENUM_KEY,
|
|
3687
|
+
bL as OfficeTypeEnum,
|
|
3676
3688
|
O as Orientation,
|
|
3677
3689
|
s as PageSizeEnum,
|
|
3678
3690
|
P as PaginationFormat,
|
|
3679
|
-
|
|
3691
|
+
aa as PaperSizeMap,
|
|
3680
3692
|
q as PaperWidgeType,
|
|
3681
3693
|
R as PaperWidgeValueType,
|
|
3682
3694
|
G as ParamModelTypeEnum,
|
|
3683
|
-
|
|
3695
|
+
P2 as PartStocktakeTableCore,
|
|
3684
3696
|
PlatformEnum,
|
|
3685
|
-
|
|
3697
|
+
bM as PosEnum,
|
|
3686
3698
|
b as PretreatmentListTableCore,
|
|
3687
3699
|
c as ProfileDrivenSubTableCore,
|
|
3688
|
-
|
|
3689
|
-
|
|
3700
|
+
bN as RUNTIME_COLUMN_ROW_KEY,
|
|
3701
|
+
av as RangeCompareOp,
|
|
3690
3702
|
RangeValidateMode,
|
|
3691
3703
|
RenderModeEnum,
|
|
3692
|
-
|
|
3693
|
-
|
|
3694
|
-
|
|
3704
|
+
aw as RuntimeAsyncTaskCoordinator,
|
|
3705
|
+
ax as RuntimeDependencyService,
|
|
3706
|
+
ay as RuntimeFieldRegistry,
|
|
3695
3707
|
RuntimeFormStateStore,
|
|
3696
3708
|
RuntimeInstanceController,
|
|
3697
|
-
|
|
3709
|
+
az2 as RuntimeInstanceEventBus,
|
|
3698
3710
|
RuntimeInstanceRegistry,
|
|
3699
|
-
|
|
3711
|
+
aA2 as RuntimePersistenceCoordinator,
|
|
3700
3712
|
RuntimeRuleCompiler,
|
|
3701
3713
|
RuntimeSheetService,
|
|
3702
|
-
|
|
3703
|
-
|
|
3704
|
-
|
|
3705
|
-
|
|
3706
|
-
|
|
3707
|
-
|
|
3714
|
+
aB as RuntimeValidationService,
|
|
3715
|
+
a6 as SignShowTypeEnum,
|
|
3716
|
+
a2 as SignatureImageDirectionEnum,
|
|
3717
|
+
a4 as SignatureNumberTypeEnum,
|
|
3718
|
+
a5 as SignatureTimeTypeEnum,
|
|
3719
|
+
a7 as SignatureTypeEnum,
|
|
3708
3720
|
d2 as SterilizeBatchTableCore,
|
|
3709
|
-
|
|
3710
|
-
|
|
3721
|
+
e as StocktakeTableCore,
|
|
3722
|
+
aC as SubTableCore,
|
|
3711
3723
|
SubTableCoreFactory,
|
|
3712
3724
|
h as SubTableType,
|
|
3713
|
-
|
|
3714
|
-
|
|
3715
|
-
|
|
3725
|
+
bO as SummaryApproveHisTypeEnum,
|
|
3726
|
+
ak as TimeDiffFormat,
|
|
3727
|
+
ao as ViewTypeEnum,
|
|
3716
3728
|
W as WarehouseInTableCore,
|
|
3717
|
-
|
|
3729
|
+
f2 as WarehouseInboundTableCore,
|
|
3718
3730
|
g as WarehouseOutTableCore,
|
|
3719
|
-
|
|
3720
|
-
|
|
3721
|
-
|
|
3722
|
-
|
|
3723
|
-
|
|
3731
|
+
h2 as WarehouseOutboundTableCore,
|
|
3732
|
+
ai as WidgetImageSizeMode,
|
|
3733
|
+
bP as applyCheckDsDataToRuntime,
|
|
3734
|
+
E as applyConsumeObjectTraceChange,
|
|
3735
|
+
bQ as applyMedProCheckDsDataToRuntime,
|
|
3724
3736
|
baseDataUtils,
|
|
3725
|
-
|
|
3726
|
-
|
|
3727
|
-
|
|
3728
|
-
|
|
3729
|
-
|
|
3737
|
+
bR as bindRuntimeTableColumns,
|
|
3738
|
+
bS as buildDeviceBaseQuery,
|
|
3739
|
+
b9 as buildDeviceFilterQuery,
|
|
3740
|
+
aD as buildFormChangeDisplayRows,
|
|
3741
|
+
v2 as buildObjectLotExtraQuery,
|
|
3730
3742
|
buildRuntimeFieldPath,
|
|
3731
|
-
|
|
3732
|
-
|
|
3743
|
+
bT as calcFillData,
|
|
3744
|
+
bU as calcUtils,
|
|
3733
3745
|
calculateFormula,
|
|
3734
3746
|
collectAnnotationItemsByLocation,
|
|
3735
3747
|
collectFormChangeFieldLocations,
|
|
3736
3748
|
commonUtils,
|
|
3737
3749
|
convertHistoricalAnnotationLocation,
|
|
3738
|
-
|
|
3739
|
-
|
|
3750
|
+
aE as convertV1Runtime,
|
|
3751
|
+
f as createRuntimeDocumentV2,
|
|
3740
3752
|
createRuntimeInstanceContext,
|
|
3741
|
-
|
|
3742
|
-
|
|
3743
|
-
|
|
3753
|
+
bV as decodeTableCellRowKey,
|
|
3754
|
+
aF2 as detailsHaveFormChangeRowOps,
|
|
3755
|
+
bW as encodeTableCellRowKey,
|
|
3744
3756
|
enrichFormChangeRowDetails,
|
|
3745
|
-
|
|
3746
|
-
|
|
3747
|
-
|
|
3748
|
-
|
|
3749
|
-
|
|
3750
|
-
|
|
3757
|
+
bX as ensureFrontRowKey,
|
|
3758
|
+
bY as ensureTableRowKeys,
|
|
3759
|
+
aG as extractFormChangeRowDetails,
|
|
3760
|
+
bZ as extractKeywordFromQueryData,
|
|
3761
|
+
b_ as fetchCheckDsDataForTable,
|
|
3762
|
+
b$ as fetchCustomCheckDsData,
|
|
3751
3763
|
fetchHistoryConsume,
|
|
3752
|
-
|
|
3764
|
+
c0 as fetchMedProCheckDsData,
|
|
3753
3765
|
fetchOperationReceiveQty,
|
|
3754
3766
|
fetchUdi,
|
|
3755
3767
|
filterAnnotationItemsUpToCurrent,
|
|
3756
|
-
|
|
3757
|
-
|
|
3768
|
+
be as findRuntimeParentRow,
|
|
3769
|
+
c1 as findRuntimeTableCell,
|
|
3758
3770
|
findRuntimeTableRow,
|
|
3759
3771
|
getAppInfo,
|
|
3760
3772
|
getBusinessFieldKey,
|
|
3761
|
-
|
|
3762
|
-
|
|
3763
|
-
|
|
3764
|
-
|
|
3765
|
-
|
|
3766
|
-
|
|
3773
|
+
c2 as getCheckTableSnapshotKey,
|
|
3774
|
+
aH as getFormChangeRowKey,
|
|
3775
|
+
aI as getFormChangeRowOp,
|
|
3776
|
+
aX as getLotLockedReason,
|
|
3777
|
+
t as getObjectBomMaterialLotQuery,
|
|
3778
|
+
F as getObjectBomProductQuery,
|
|
3767
3779
|
getParseFormulaVarInfos,
|
|
3768
|
-
|
|
3769
|
-
|
|
3770
|
-
|
|
3771
|
-
|
|
3772
|
-
|
|
3780
|
+
c3 as getParseRuleConfig,
|
|
3781
|
+
a$ as getParseRuleInfo,
|
|
3782
|
+
b0 as getParseRuleValue,
|
|
3783
|
+
c4 as getReinspectionDate,
|
|
3784
|
+
c5 as getRenderedRuntimeTableCell,
|
|
3773
3785
|
getRuntimeDataFieldId,
|
|
3774
3786
|
getRuntimeDependencyOutputKey,
|
|
3775
|
-
|
|
3787
|
+
aJ as getSubTableQuickFillInfo,
|
|
3776
3788
|
getSuiteKey,
|
|
3777
|
-
|
|
3778
|
-
|
|
3779
|
-
|
|
3780
|
-
|
|
3781
|
-
|
|
3782
|
-
|
|
3789
|
+
c6 as handleOldConfig,
|
|
3790
|
+
c7 as hasAnyCheckTableSnapshot,
|
|
3791
|
+
c8 as hasByTableCheckTableSnapshot,
|
|
3792
|
+
c9 as hasSharedCheckTableSnapshot,
|
|
3793
|
+
aK as isAnnLocationSelected,
|
|
3794
|
+
aL2 as isBlank,
|
|
3783
3795
|
isBomGranted,
|
|
3784
3796
|
isEdhrSuite,
|
|
3785
3797
|
isEqmSuite,
|
|
3786
|
-
|
|
3787
|
-
|
|
3798
|
+
aM2 as isFormChangeGhostRow,
|
|
3799
|
+
ca as isMedProSuite,
|
|
3788
3800
|
isRowAddedInCurrentFormChange,
|
|
3789
|
-
|
|
3790
|
-
|
|
3791
|
-
|
|
3792
|
-
|
|
3793
|
-
|
|
3801
|
+
cb as isTableRowKeyMatch,
|
|
3802
|
+
cc as jsonSchemaUtils,
|
|
3803
|
+
cd as judgeUnique,
|
|
3804
|
+
aW as materialCheck,
|
|
3805
|
+
ce as migrateDiagonalDirectionToVertex,
|
|
3794
3806
|
nextFormChangeRowViewHistoryId,
|
|
3795
|
-
|
|
3796
|
-
|
|
3797
|
-
|
|
3798
|
-
|
|
3799
|
-
|
|
3807
|
+
m as normalizeAIOcrTmpl,
|
|
3808
|
+
H as normalizeHistoricalAutofillRow,
|
|
3809
|
+
k as normalizeHistoricalBusinessRow,
|
|
3810
|
+
aN2 as normalizeHistoricalFieldConfig,
|
|
3811
|
+
b1 as normalizeRefLoaderResult,
|
|
3800
3812
|
normalizeRuntime,
|
|
3801
3813
|
parseFrontConfig,
|
|
3802
3814
|
parseRuntimeFieldPath,
|
|
3803
3815
|
parseUdi,
|
|
3804
|
-
|
|
3805
|
-
|
|
3806
|
-
|
|
3807
|
-
|
|
3808
|
-
|
|
3816
|
+
aO2 as pickObjectFieldKeys,
|
|
3817
|
+
aP2 as recordSubtableRowAdd,
|
|
3818
|
+
aQ2 as recordSubtableRowDelete,
|
|
3819
|
+
b7 as refUtils,
|
|
3820
|
+
aR as relocateDeletedRowsToEnd,
|
|
3809
3821
|
renderUtils,
|
|
3810
|
-
|
|
3811
|
-
|
|
3812
|
-
|
|
3813
|
-
|
|
3822
|
+
cf as requestMedProCheckDsData,
|
|
3823
|
+
cg as requestNonMedProCheckDsData,
|
|
3824
|
+
aS as resolveAnnotationFieldLocation,
|
|
3825
|
+
am as resolveDiagonalVertex,
|
|
3814
3826
|
v as resolveFieldRenderComponent,
|
|
3815
|
-
|
|
3816
|
-
|
|
3817
|
-
|
|
3818
|
-
|
|
3827
|
+
aT as resolveFormChangeRowUi,
|
|
3828
|
+
z as resolveObjectBomEntry,
|
|
3829
|
+
w as resolveObjectFieldKeys,
|
|
3830
|
+
aU as resolveRowFormChangeMark,
|
|
3819
3831
|
resolveUdiQuery,
|
|
3820
|
-
|
|
3821
|
-
|
|
3822
|
-
|
|
3832
|
+
A2 as runWithFillProduct,
|
|
3833
|
+
q2 as setSelectAnnotationId,
|
|
3834
|
+
aV as setSelectMobileTdId,
|
|
3823
3835
|
s2 as setSelectValidatorId,
|
|
3824
|
-
|
|
3825
|
-
|
|
3826
|
-
|
|
3836
|
+
ch as sqlUtils,
|
|
3837
|
+
ci as stockCheck,
|
|
3838
|
+
aW2 as stripLegacyFormConfigFromPaper,
|
|
3827
3839
|
transformUtils,
|
|
3828
|
-
|
|
3840
|
+
S as useDependency,
|
|
3829
3841
|
useEbrWikiFactoryV2,
|
|
3830
|
-
|
|
3842
|
+
T as useFieldPresentation,
|
|
3831
3843
|
u2 as useFormModel,
|
|
3832
3844
|
u as useFormTmplConfig,
|
|
3833
3845
|
useMaterialBalance,
|
|
3834
3846
|
useNocodeEmitter,
|
|
3835
|
-
|
|
3836
|
-
|
|
3837
|
-
|
|
3847
|
+
C as useNocodeFormWidget,
|
|
3848
|
+
cj as useOnlineFormActionButton,
|
|
3849
|
+
bf as useOnlineFormTransformField2Component,
|
|
3838
3850
|
useRenderPageFactory,
|
|
3839
|
-
|
|
3840
|
-
|
|
3841
|
-
|
|
3842
|
-
|
|
3843
|
-
|
|
3844
|
-
|
|
3851
|
+
U as useRuntimeEditorFlusher,
|
|
3852
|
+
p as useRuntimeInstanceServices,
|
|
3853
|
+
r as useRuntimeRowState,
|
|
3854
|
+
R2 as useStyles,
|
|
3855
|
+
o as useWidgetStaticAttrs,
|
|
3856
|
+
y as validateObjectBomForScan,
|
|
3845
3857
|
validateObjectBomQtyOnSubmit,
|
|
3846
|
-
|
|
3858
|
+
aY as validateReinspectionDate
|
|
3847
3859
|
};
|
|
@@ -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 {
|
|
2
|
+
import { h as useModelFields, D as Diagonal } from "./index-DLjQtnue.js";
|
|
3
|
+
import { am as resolveDiagonalVertex, a8 as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-CMUJIaqF.js";
|
|
4
4
|
import "lodash-es";
|
|
5
5
|
import "dayjs";
|
|
6
6
|
import "@gct-paas/form-base";
|