@gct-paas/excel 0.1.28-beta.45 → 0.1.28-beta.46
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-MIpuRa5M.js → BaseComponent-DVCiJW4I.js} +1 -1
- package/dist/{VueVideoPlayer-bL-759JT.js → VueVideoPlayer-BGkTYkuv.js} +2 -2
- package/dist/{align-editor-aMcnPmPo.js → align-editor-B1ERCuk6.js} +1 -1
- package/dist/{barcode-design-PS-YQvcp.js → barcode-design-CrQsLOrB.js} +2 -2
- package/dist/base/index.es.js +25 -24
- package/dist/{diagonal-design-CN17ZUXL.js → diagonal-design-Bl6FYgSi.js} +2 -2
- package/dist/{dynamic-table-action-Z0deHcA_.js → dynamic-table-action-DonOy_qQ.js} +68 -39
- package/dist/{dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-YMRTuHK2.js → dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-QlZky7LW.js} +6 -5
- package/dist/{edit.utils-CXmmCnxE-BoqmodX_.js → edit.utils-CXmmCnxE-D_ytyr5Z.js} +1 -1
- package/dist/excel.css +95 -93
- package/dist/{exceljs.min-DV6kk4h6.js → exceljs.min-Cs1eUkib.js} +2 -2
- package/dist/{font-editor-Z1fmVVVg.js → font-editor-u1j-csCC.js} +3 -3
- package/dist/{image-design-CkY80jXJ.js → image-design-CnMLw0Sh.js} +2 -2
- package/dist/{index-LF1i8KsZ.js → index-67rRdRWW.js} +1 -1
- package/dist/{index-wo7PBItc.js → index-6XxTROGl.js} +2 -2
- package/dist/{index-qx_0UcPX.js → index-B5iARBiW.js} +1 -1
- package/dist/{index-D5WsWxYq.js → index-B6J1QwR_.js} +2 -2
- package/dist/{index-7KCrabTt.js → index-BChvKDxe.js} +2 -2
- package/dist/{index-BmeMaYeR.js → index-BbCaVVwt.js} +2 -2
- package/dist/{index-Co_pxQ-O.js → index-Bepv_pE9.js} +2 -2
- package/dist/{index-u9Wa4QsM.js → index-Bj9H12lw.js} +3 -3
- package/dist/{index-CC5nq3pk.js → index-BnsUZd3f.js} +3 -3
- package/dist/{index-IWi70xhS.js → index-BukVvtm1.js} +1 -1
- package/dist/{index-Ci7VoYkE.js → index-Bxep2hIY.js} +2 -2
- package/dist/{index-CY91EfSP.js → index-C0VZecKI.js} +2 -2
- package/dist/{index-9KmVo5zZ.js → index-CC1irY5R.js} +2 -2
- package/dist/{index-CAtkSg7n.js → index-CDiFdV05.js} +3 -3
- package/dist/{index-C7rqTlv6.js → index-CFAZovEW.js} +244 -77
- package/dist/{index-cVhNJPBL.js → index-CM9aENLb.js} +2 -2
- package/dist/{index-LTMTotfl.js → index-CXWAPauM.js} +2 -2
- package/dist/{index-DoshGbJs.js → index-CdQohyjZ.js} +1 -1
- package/dist/{index-wm2Kudk_.js → index-CpMWqqC7.js} +1 -1
- package/dist/{index-e2k3nxZ4.js → index-D7NL0XAT.js} +2 -2
- package/dist/{index-BaVCKvJ7.js → index-DB7_03B2.js} +2 -2
- package/dist/{index-C_UiZ3IO.js → index-DGZKox4l.js} +1 -1
- package/dist/{index-C68--obK.js → index-DHOnmUjY.js} +3 -3
- package/dist/{index-CCU1lW7P.js → index-DHc4P-VY.js} +1 -1
- package/dist/{index-BJcFTAtP.js → index-DMsn9wUw.js} +2 -2
- package/dist/{index-9z5IuLT7.js → index-DZQiFTXW.js} +1 -1
- package/dist/{index-FlTquzh3.js → index-DnaDxi1_.js} +1 -1
- package/dist/{index-0C-Lr25B.js → index-DwQsc3wM.js} +2 -2
- package/dist/{index-BflkkVFJ.js → index-LnCEoUak.js} +2 -2
- package/dist/{index-DxlHzBrj.js → index-adGX9Psy.js} +2 -2
- package/dist/{index-FNy8jRtO.js → index-gOOBeVe8.js} +1 -1
- package/dist/{index-BklFNHBQ.js → index-jthOQxT5.js} +2 -2
- package/dist/{index-CBqexEj3.js → index-x1freHFU.js} +2 -2
- package/dist/{index-CSFvg-Kf.js → index-yrGyhxWL.js} +3 -3
- package/dist/index.es.js +2 -2
- package/dist/{mb-render-DL5qUcdf.js → mb-render-BCg2qlPB.js} +1 -1
- package/dist/{online-form-model-select.vue_vue_type_script_setup_true_name_online-form-model-select_lang-DjNuq03g.js → online-form-model-select.vue_vue_type_script_setup_true_name_online-form-model-select_lang-DCMQHJ66.js} +1 -1
- package/dist/{pagination-design-DUiYwQzf.js → pagination-design-DIvU26ka.js} +2 -2
- package/dist/paper-widget-design-DQJUBlz2.js +4 -0
- package/dist/{qrcode-design-B5a3GKaP.js → qrcode-design-DDeqtWa8.js} +1 -1
- package/dist/{revo-grid.entry-BA8_qj5x.js → revo-grid.entry-BFhqenKX.js} +1 -1
- package/dist/{revogr-attribution_7.entry-XltfRJI8.js → revogr-attribution_7.entry-Drk06pNL.js} +3 -3
- package/dist/{revogr-clipboard_3.entry-B6zsfQaI.js → revogr-clipboard_3.entry-CZB7Xwjr.js} +2 -2
- package/dist/{revogr-data_4.entry-AtKKG-Lz.js → revogr-data_4.entry-_zrg70kF.js} +2 -2
- package/dist/{revogr-filter-panel.entry-WO9KMgIK.js → revogr-filter-panel.entry-CGQAJHvn.js} +1 -1
- package/dist/{serialnumber-design-4tUnYxU4.js → serialnumber-design-DfSLAsc-.js} +1 -1
- package/dist/shared/index.es.js +2 -2
- package/dist/{single-field-drop-CprUqW5f.js → single-field-drop-BsEtUx_C.js} +2 -2
- package/dist/{size-editor-BsCdhLbQ.js → size-editor-BkutJl2O.js} +1 -1
- package/dist/src/nocode-base/src/hooks/material-consume-object/bom-validator.d.ts +8 -0
- package/dist/src/nocode-base/src/hooks/material-consume-object/product-lot-link.d.ts +3 -0
- package/dist/src/shared/enum/field-type.d.ts +4 -0
- package/dist/{text-design-CkUwKQpu.js → text-design-_oot0dfy.js} +2 -2
- package/dist/{throttle-Cpk1LoGk-CUzpS2Me.js → throttle-Cpk1LoGk-m5i9Rv6S.js} +1 -1
- package/dist/{timediff-design-BI8cue4g.js → timediff-design-DT1krFY7.js} +1 -1
- package/dist/{trace-like-wrapper-BlTEl9wL.js → trace-like-wrapper-BxAYfclP.js} +2 -2
- package/dist/{value-editor.vue_vue_type_style_index_0_lang-CNytr-oK.js → value-editor.vue_vue_type_style_index_0_lang-CM5gRNY8.js} +2 -2
- package/dist/web-render/index.es.js +3 -3
- package/dist/{widget-barcode-kQ5I73nH.js → widget-barcode-YUnyE2uS.js} +4 -4
- package/dist/{widget-diagonal-DJkE5f1q.js → widget-diagonal-CLmoKJNC.js} +3 -3
- package/dist/{widget-image-BxMpG7AG.js → widget-image-D5ZscHpc.js} +5 -5
- package/dist/{widget-line-DEIbatwF.js → widget-line-RFHK3Qfv.js} +2 -2
- package/dist/{widget-pagination-LtXxJDi_.js → widget-pagination-B8AaA7e0.js} +5 -5
- package/dist/{widget-power-C0D9l-mU.js → widget-power-I3IAh1zz.js} +3 -3
- package/dist/{widget-qrcode-CEYBJx8m.js → widget-qrcode-CGMAm9gG.js} +3 -3
- package/dist/{widget-rangelimit-Dyo7VU7a.js → widget-rangelimit-VYwbC-Yf.js} +3 -3
- package/dist/{widget-serialnumber-DZsIfuWJ.js → widget-serialnumber-BFE9TUVG.js} +1 -1
- package/dist/{widget-text-BJSdxi7B.js → widget-text-DFkOV7-Y.js} +5 -5
- package/dist/{widget-timediff-DdXgo21I.js → widget-timediff-3kEojaId.js} +2 -2
- package/package.json +2 -2
- package/dist/paper-widget-design-DR3gV1Hv.js +0 -4
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as normalizeFieldWidth } from "./dynamic-table-action-
|
|
1
|
+
import { n as normalizeFieldWidth } from "./dynamic-table-action-DonOy_qQ.js";
|
|
2
2
|
import { get, pick } from "lodash-es";
|
|
3
3
|
import { f as fontStyleAttrs } from "./config.enum-B8UZQTON.js";
|
|
4
4
|
class BaseComponent {
|
|
@@ -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 { I as commonjsGlobal, J 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 { I as commonjsGlobal, J as getDefaultExportFromCjs } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-QlZky7LW.js";
|
|
3
|
+
import { r as require$$0 } from "./index-CXWAPauM.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 { a4 as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-
|
|
2
|
+
import { a4 as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-QlZky7LW.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, a as useModelFields, l as loadBwip } from "./index-
|
|
4
|
-
import { M as PaperWidgeValueType, a4 as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-
|
|
3
|
+
import { u as useSpreadSheet, a as useModelFields, l as loadBwip } from "./index-CFAZovEW.js";
|
|
4
|
+
import { M as PaperWidgeValueType, a4 as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-QlZky7LW.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,11 +1,11 @@
|
|
|
1
|
-
import { bp as fetchHistoryConsume, bq as isBomGranted, F as FIELD_TYPE, z as api, br as F$1, bs as F$2, bt as runRowHandler, h as getProfileByTableType, f as isBusinessSubTableProfile, bu as F$3, bv as F$4, bw as FILL_FROM_INVENTORY_OPTION, bx as FILL_FROM_PART_OPTION, by as FILL_FROM_INVENTORY_OPTION$1, bz as TABLE_TYPE, bA as FILL_FROM_INVENTORY_OPTION$2, b5 as F$5, bB as INVENTORY_BASE_FIELDS, bC as resolveGroupByWarehouse, bD as AUTO_LOAD_READONLY_SELECT_FIELDS, b4 as STOCKTAKE_DIMENSION, b1 as getParseRuleInfo, bE as buildFillFromInventoryOption, bF as calcFillData, bG as resolveStocktakeInventoryApi, b2 as getParseRuleValue, bH as F$6, bI as FILL_FROM_INVENTORY_OPTION$3, bJ as extractKeywordFromQueryData, bK as composeProductionLotListQuery, aF as resolveLotDisplayLabel, bL as F$7, bM as isProductManuallyEditable, bN as applyFillFromMfgOrderOption, bO as applyFillFromOption$1, bP as applyFillFromProductOption, aT as LOT_CONTAINER_ROLE, bQ as MATERIAL_CONTAINER_ID, bR as F$8, bS as PRODUCT_QUICK_SEARCH_FIELDS, bT as PRODUCT_QUICK_SEARCH_EXP, bU as isProductManuallyEditable$1, bV as applyFillFromMaterialNoOption, bW as applyFillFromProductOption$1, bX as F$9, bY as FILL_FROM_INVENTORY_OPTION$4, V as FormTypeEnum, bb as transformUtils, l as SubTableType, aW as NCB_PROVIDE, bZ as settleAndValidateDisplay, b_ as unregisterValidationContext, b$ as clearFormRules, c0 as registerValidationContext, C as ComponentTypeEnum, bf as RenderModeEnum, c1 as requestFullValidation, c2 as requestDisplayValidation, aV as renderUtils, c3 as closeValidatorPopovers, c4 as baseDataUtils, c5 as getRawFormRuleMeta, c6 as enrichFormChangeRowDetails, c7 as settleAfterModeSwitch, c8 as calcUtils, aG as CheckDsTypeEnum, Z as PlatformEnum, c9 as uuid2, ca as normalizeToArray, cb as safeParseArray, cc as BpmnNodeTypeEnum, cd as mergeByMultiKey, bo as useNocodeEmitter, ce as commonUtils, aB as EntityModelCategoryEnum, cf as getRowId, cg as collectFormChangeFieldLocations, ch as nextFormChangeRowViewHistoryId } from "../dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-
|
|
2
|
-
import { aJ, aL, b0, $, ci, cj, B, ck, x, ab, cl, cm, cn, bd, co, aS, au, aK, aH, aI, cp, ac, ag, cq, cr, aC, aa, av, aN, _, ae, L, cs, ct, O, o, P, a5, n, M, aM, cu, at, as, a2, a0, a1, a3, cv, af, aj, ad, cw, cx, cy, bc, cz, cA, cB, cC, cD, cE, cF, cG, cH, cI, cJ, aZ, cK, cL, cM, cN, cO, cP, cQ, cR, cS, cT, cU, cV, cW, cX, aY, cY, b7, cZ, c_, c$, ba, d0, d1, d2, d3, ah, q, d4, d5, aR, d6, aQ, aO, d7, N, b3, bg, a$, d8, be, aP, a_ } from "../dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-
|
|
3
|
-
import { M as MaterialConsumptionPatternEnum,
|
|
4
|
-
import { B as B2,
|
|
1
|
+
import { bp as fetchHistoryConsume, bq as isBomGranted, F as FIELD_TYPE, z as api, br as F$1, bs as F$2, bt as runRowHandler, h as getProfileByTableType, f as isBusinessSubTableProfile, bu as F$3, bv as F$4, bw as FILL_FROM_INVENTORY_OPTION, bx as FILL_FROM_PART_OPTION, by as FILL_FROM_INVENTORY_OPTION$1, bz as TABLE_TYPE, bA as FILL_FROM_INVENTORY_OPTION$2, b5 as F$5, bB as INVENTORY_BASE_FIELDS, bC as resolveGroupByWarehouse, bD as AUTO_LOAD_READONLY_SELECT_FIELDS, b4 as STOCKTAKE_DIMENSION, b1 as getParseRuleInfo, bE as buildFillFromInventoryOption, bF as calcFillData, bG as resolveStocktakeInventoryApi, b2 as getParseRuleValue, bH as F$6, bI as FILL_FROM_INVENTORY_OPTION$3, bJ as extractKeywordFromQueryData, bK as composeProductionLotListQuery, aF as resolveLotDisplayLabel, bL as F$7, bM as isProductManuallyEditable, bN as applyFillFromMfgOrderOption, bO as applyFillFromOption$1, bP as applyFillFromProductOption, aT as LOT_CONTAINER_ROLE, bQ as MATERIAL_CONTAINER_ID, bR as F$8, bS as PRODUCT_QUICK_SEARCH_FIELDS, bT as PRODUCT_QUICK_SEARCH_EXP, bU as isProductManuallyEditable$1, bV as applyFillFromMaterialNoOption, bW as applyFillFromProductOption$1, bX as F$9, bY as FILL_FROM_INVENTORY_OPTION$4, V as FormTypeEnum, bb as transformUtils, l as SubTableType, aW as NCB_PROVIDE, bZ as settleAndValidateDisplay, b_ as unregisterValidationContext, b$ as clearFormRules, c0 as registerValidationContext, C as ComponentTypeEnum, bf as RenderModeEnum, c1 as requestFullValidation, c2 as requestDisplayValidation, aV as renderUtils, c3 as closeValidatorPopovers, c4 as baseDataUtils, c5 as getRawFormRuleMeta, c6 as enrichFormChangeRowDetails, c7 as settleAfterModeSwitch, c8 as calcUtils, aG as CheckDsTypeEnum, Z as PlatformEnum, c9 as uuid2, ca as normalizeToArray, cb as safeParseArray, cc as BpmnNodeTypeEnum, cd as mergeByMultiKey, bo as useNocodeEmitter, ce as commonUtils, aB as EntityModelCategoryEnum, cf as getRowId, cg as collectFormChangeFieldLocations, ch as nextFormChangeRowViewHistoryId } from "../dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-QlZky7LW.js";
|
|
2
|
+
import { aJ, aL, b0, $, ci, cj, B, ck, x, ab, cl, cm, cn, bd, co, aS, au, aK, aH, aI, cp, ac, ag, cq, cr, aC, aa, av, aN, _, ae, L, cs, ct, O, o, P, a5, n, M, aM, cu, at, as, a2, a0, a1, a3, cv, af, aj, ad, cw, cx, cy, bc, cz, cA, cB, cC, cD, cE, cF, cG, cH, cI, cJ, aZ, cK, cL, cM, cN, cO, cP, cQ, cR, cS, cT, cU, cV, cW, cX, aY, cY, b7, cZ, c_, c$, ba, d0, d1, d2, d3, ah, q, d4, d5, aR, d6, aQ, aO, d7, N, b3, bg, a$, d8, be, aP, a_ } from "../dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-QlZky7LW.js";
|
|
3
|
+
import { M as MaterialConsumptionPatternEnum, o as MaterialConsumeTableController, i as isEdhrSuite, p as SubTableCore, q as SubTableActionMenuTypeEnum, s as getMenuByAction, t as SubTableActionEnum, w as getInsertSubMenu, x as resolveScanAdjustType, y as resolveScanQty, z as toDateOnly, A as getCopySubMenu, C as resolveScanParsedValue, F as resolveScanFillData, G as isProductBatchEmptyRow, H as useMaterialBalance, J as validate, K as validateObjectBomQtyOnSubmit } from "../dynamic-table-action-DonOy_qQ.js";
|
|
4
|
+
import { B as B2, L as L2, D, _ as _2, N as N2, l, O as O2, m, E, P as P2, Q, I, T, U, e, b, f, V, g, h, W, X, Y, Z, c, r, d, u, j, a, k, v } from "../dynamic-table-action-DonOy_qQ.js";
|
|
5
5
|
import { ref, provide, watch, computed, onUnmounted, onBeforeMount } from "vue";
|
|
6
6
|
import { defaults, has, merge, isEmpty, cloneDeep, debounce } from "lodash-es";
|
|
7
7
|
import "dayjs";
|
|
8
|
-
import { B as B3, F, M as M2, a as a4, u as u2 } from "../mb-render-
|
|
8
|
+
import { B as B3, F, M as M2, a as a4, u as u2 } from "../mb-render-BCg2qlPB.js";
|
|
9
9
|
var MaterialStatusEnum = /* @__PURE__ */ ((MaterialStatusEnum2) => {
|
|
10
10
|
MaterialStatusEnum2["LOT"] = "LOT";
|
|
11
11
|
MaterialStatusEnum2["SN"] = "SN";
|
|
@@ -3753,7 +3753,7 @@ export {
|
|
|
3753
3753
|
aS as DateFormat,
|
|
3754
3754
|
au as DecimalDisplayMode,
|
|
3755
3755
|
aK as DenoiseMethodOptions,
|
|
3756
|
-
|
|
3756
|
+
L2 as DeviceConnector,
|
|
3757
3757
|
aH as DeviceLink,
|
|
3758
3758
|
D as DeviceLinkTmplUtil,
|
|
3759
3759
|
aI as DeviceParamsTypeTitle,
|
|
@@ -3762,21 +3762,21 @@ export {
|
|
|
3762
3762
|
ac as DiagonalDirection,
|
|
3763
3763
|
ag as DiagonalVertex,
|
|
3764
3764
|
_2 as DocumentLayout,
|
|
3765
|
-
|
|
3766
|
-
|
|
3767
|
-
|
|
3768
|
-
|
|
3765
|
+
N2 as DocumentLoading,
|
|
3766
|
+
l as DocumentPaper,
|
|
3767
|
+
O2 as DynamicQuickFillModal,
|
|
3768
|
+
m as DynamicTableAction,
|
|
3769
3769
|
cq as EBR_PROVIDE_ENUM,
|
|
3770
3770
|
cr as EFieldBizTypeEnum,
|
|
3771
3771
|
E as EMPTY_PRODUCT_VERSION_ID,
|
|
3772
3772
|
aC as EmptySymbol,
|
|
3773
3773
|
aa as FieldSysVarDefaultValueEnum,
|
|
3774
3774
|
FillingTypeEnum,
|
|
3775
|
-
|
|
3775
|
+
P2 as FixedQuickFillModal,
|
|
3776
3776
|
FormAnnotationController,
|
|
3777
3777
|
F as FormModelController,
|
|
3778
3778
|
FormTmplBomController,
|
|
3779
|
-
|
|
3779
|
+
Q as FormTmplConfigController,
|
|
3780
3780
|
FormTypeEnum,
|
|
3781
3781
|
av as ImageDisplayModeEnum,
|
|
3782
3782
|
I as InstanceStatusValues,
|
|
@@ -3785,7 +3785,7 @@ export {
|
|
|
3785
3785
|
ae as LineDirection,
|
|
3786
3786
|
L as LineType,
|
|
3787
3787
|
M2 as MBRender,
|
|
3788
|
-
|
|
3788
|
+
T as MCDataUtil,
|
|
3789
3789
|
a4 as MCRender,
|
|
3790
3790
|
MaterialConsumeTableController,
|
|
3791
3791
|
MaterialConsumptionPatternEnum,
|
|
@@ -3793,7 +3793,7 @@ export {
|
|
|
3793
3793
|
MaterialStatusEnum,
|
|
3794
3794
|
cs as MobileFillTypeEnum,
|
|
3795
3795
|
NCB_PROVIDE,
|
|
3796
|
-
|
|
3796
|
+
U as OCR_MODEL_PRECISION_ENUM_KEY,
|
|
3797
3797
|
ct as OfficeTypeEnum,
|
|
3798
3798
|
O as Orientation,
|
|
3799
3799
|
o as PageSizeEnum,
|
|
@@ -3828,7 +3828,7 @@ export {
|
|
|
3828
3828
|
WarehouseOutboundTableCore,
|
|
3829
3829
|
ad as WidgetImageSizeMode,
|
|
3830
3830
|
cw as applyCheckDsDataToRuntime,
|
|
3831
|
-
|
|
3831
|
+
e as applyConsumeObjectTraceChange,
|
|
3832
3832
|
cx as applyMedProCheckDsDataToRuntime,
|
|
3833
3833
|
baseDataUtils,
|
|
3834
3834
|
cy as buildDeviceBaseQuery,
|
|
@@ -3853,29 +3853,29 @@ export {
|
|
|
3853
3853
|
cG as fetchMedProCheckDsData,
|
|
3854
3854
|
f as fetchOperationReceiveQty,
|
|
3855
3855
|
filterAnnotationItemsUpToCurrent,
|
|
3856
|
-
|
|
3856
|
+
V as getAppInfo,
|
|
3857
3857
|
cH as getCheckTableSnapshotKey,
|
|
3858
3858
|
cI as getFormChangeRowKey,
|
|
3859
3859
|
cJ as getFormChangeRowOp,
|
|
3860
3860
|
aZ as getLotLockedReason,
|
|
3861
3861
|
g as getObjectBomMaterialLotQuery,
|
|
3862
|
-
|
|
3862
|
+
h as getObjectBomProductQuery,
|
|
3863
3863
|
cK as getParseRuleConfig,
|
|
3864
3864
|
getParseRuleInfo,
|
|
3865
3865
|
getParseRuleValue,
|
|
3866
3866
|
cL as getReinspectionDate,
|
|
3867
3867
|
cM as getSubTableQuickFillInfo,
|
|
3868
|
-
|
|
3868
|
+
W as getSuiteKey,
|
|
3869
3869
|
cN as handleOldConfig,
|
|
3870
3870
|
cO as hasAnyCheckTableSnapshot,
|
|
3871
3871
|
cP as hasByTableCheckTableSnapshot,
|
|
3872
3872
|
cQ as hasSharedCheckTableSnapshot,
|
|
3873
3873
|
cR as insertSubtableRows,
|
|
3874
3874
|
cS as isAnnLocationSelected,
|
|
3875
|
-
|
|
3875
|
+
X as isBlank,
|
|
3876
3876
|
isBomGranted,
|
|
3877
3877
|
isEdhrSuite,
|
|
3878
|
-
|
|
3878
|
+
Y as isEqmSuite,
|
|
3879
3879
|
cT as isFormChangeGhostRow,
|
|
3880
3880
|
cU as isMedProSuite,
|
|
3881
3881
|
cV as isRowAddedInCurrentFormChange,
|
|
@@ -3886,7 +3886,7 @@ export {
|
|
|
3886
3886
|
nextFormChangeRowViewHistoryId,
|
|
3887
3887
|
b7 as normalizeRefLoaderResult,
|
|
3888
3888
|
cZ as parseFrontConfig,
|
|
3889
|
-
|
|
3889
|
+
Z as pickObjectFieldKeys,
|
|
3890
3890
|
c_ as recordSubtableRowAdd,
|
|
3891
3891
|
c$ as recordSubtableRowDelete,
|
|
3892
3892
|
ba as refUtils,
|
|
@@ -3901,9 +3901,10 @@ export {
|
|
|
3901
3901
|
ah as resolveDiagonalVertex,
|
|
3902
3902
|
q as resolveFieldRenderComponent,
|
|
3903
3903
|
d4 as resolveFormChangeRowUi,
|
|
3904
|
+
c as resolveObjectBomEntry,
|
|
3904
3905
|
r as resolveObjectFieldKeys,
|
|
3905
3906
|
d5 as resolveRowFormChangeMark,
|
|
3906
|
-
|
|
3907
|
+
d as runWithFillProduct,
|
|
3907
3908
|
aR as setSelectAnnotationId,
|
|
3908
3909
|
d6 as setSelectMobileTdId,
|
|
3909
3910
|
aQ as setSelectValidatorId,
|
|
@@ -3925,9 +3926,9 @@ export {
|
|
|
3925
3926
|
d8 as useOnlineFormActionButton,
|
|
3926
3927
|
be as useOnlineFormTransformField2Component,
|
|
3927
3928
|
useRenderPageFactory,
|
|
3928
|
-
|
|
3929
|
+
j as useStyles,
|
|
3929
3930
|
a as useTmplBom,
|
|
3930
|
-
|
|
3931
|
+
k as useValidator,
|
|
3931
3932
|
aP as useWidgetStaticAttrs,
|
|
3932
3933
|
validate,
|
|
3933
3934
|
v as validateObjectBomForScan,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent, computed, openBlock, createBlock } from "vue";
|
|
2
|
-
import { a as useModelFields, D as Diagonal } from "./index-
|
|
3
|
-
import { ah as resolveDiagonalVertex, a4 as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-
|
|
2
|
+
import { a as useModelFields, D as Diagonal } from "./index-CFAZovEW.js";
|
|
3
|
+
import { ah as resolveDiagonalVertex, a4 as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-QlZky7LW.js";
|
|
4
4
|
import "lodash-es";
|
|
5
5
|
import "dayjs";
|
|
6
6
|
import "ant-design-vue";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { computed, watch, toRaw, onUnmounted, markRaw, ref, inject, unref, provide, nextTick, reactive, defineComponent, openBlock, createElementBlock, mergeProps, createElementVNode, normalizeClass, renderSlot, createCommentVNode, createVNode, toDisplayString, toRef, isVNode, h, onMounted, onBeforeMount, resolveComponent, createBlock, withCtx, Fragment, renderList, createTextVNode } from "vue";
|
|
2
|
-
import { C as ComponentTypeEnum, aP as useWidgetStaticAttrs, Z as PlatformEnum, d9 as assembleRules, da as deleteFormRule, db as setFormRule, c2 as requestDisplayValidation, dc as isReferenceOptionActive, dd as validateAllFields, de as runValidation, df as ensureFrontRowKey, dg as FRONT_ROW_KEY, cf as getRowId, b1 as getParseRuleInfo, bb as transformUtils, aY as materialCheck, aZ as getLotLockedReason, a_ as validateReinspectionDate, bh as FormulaRuleFieldKeyEnum, aW as NCB_PROVIDE, F as FIELD_TYPE, dh as buildError, z as api, l as SubTableType, b2 as getParseRuleValue, c9 as uuid2, aH as DeviceLink, a4 as _export_sfc, cz as buildFormChangeDisplayRows, d5 as resolveRowFormChangeMark, d4 as resolveFormChangeRowUi, cS as isAnnLocationSelected, d6 as setSelectMobileTdId, cT as isFormChangeGhostRow, x as CellType, aR as setSelectAnnotationId, c$ as recordSubtableRowDelete, cB as deleteSubtableRow, d0 as relocateDeletedRowsToEnd, cR as insertSubtableRows, c_ as recordSubtableRowAdd, G as useModal, di as q, dj as groupFixedTableRows, dk as QUICK_FILL_ALLOWED_FIELDS, dl as processQuickFillRows, dm as getIsGroupEmpty, bf as RenderModeEnum, cM as getSubTableQuickFillInfo } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-
|
|
2
|
+
import { C as ComponentTypeEnum, aP as useWidgetStaticAttrs, Z as PlatformEnum, d9 as assembleRules, da as deleteFormRule, db as setFormRule, c2 as requestDisplayValidation, dc as isReferenceOptionActive, dd as validateAllFields, de as runValidation, df as ensureFrontRowKey, dg as FRONT_ROW_KEY, cf as getRowId, b1 as getParseRuleInfo, bb as transformUtils, aY as materialCheck, aZ as getLotLockedReason, a_ as validateReinspectionDate, bh as FormulaRuleFieldKeyEnum, aW as NCB_PROVIDE, F as FIELD_TYPE, dh as buildError, z as api, l as SubTableType, b2 as getParseRuleValue, c9 as uuid2, aH as DeviceLink, a4 as _export_sfc, cz as buildFormChangeDisplayRows, d5 as resolveRowFormChangeMark, d4 as resolveFormChangeRowUi, cS as isAnnLocationSelected, d6 as setSelectMobileTdId, cT as isFormChangeGhostRow, x as CellType, aR as setSelectAnnotationId, c$ as recordSubtableRowDelete, cB as deleteSubtableRow, d0 as relocateDeletedRowsToEnd, cR as insertSubtableRows, c_ as recordSubtableRowAdd, G as useModal, di as q, dj as groupFixedTableRows, dk as QUICK_FILL_ALLOWED_FIELDS, dl as processQuickFillRows, dm as getIsGroupEmpty, bf as RenderModeEnum, cM as getSubTableQuickFillInfo } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-QlZky7LW.js";
|
|
3
3
|
import { isNil, cloneDeep, merge, pickBy, mergeWith, omit, last, pick } from "lodash-es";
|
|
4
4
|
import dayjs from "dayjs";
|
|
5
5
|
import { u as useNamespace } from "./use-namespace-BxkK4ofX.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-BCg2qlPB.js";
|
|
8
8
|
const InstanceStatusValues = {
|
|
9
9
|
/** 作废状态 */
|
|
10
10
|
ABANDON: "ABANDON",
|
|
@@ -2052,6 +2052,9 @@ class MaterialConsumeTableController {
|
|
|
2052
2052
|
if (this.isOnlyEmptyRow()) {
|
|
2053
2053
|
return { isValid: true };
|
|
2054
2054
|
}
|
|
2055
|
+
for (const row of this.actualTableData) {
|
|
2056
|
+
await this.applyUnitConversionRules(row);
|
|
2057
|
+
}
|
|
2055
2058
|
if (this.mcPattern === MaterialConsumptionPatternEnum.RECORD && !this.tmplBom.personal_bom_enabled_) {
|
|
2056
2059
|
return { isValid: true };
|
|
2057
2060
|
}
|
|
@@ -2231,6 +2234,7 @@ class MaterialConsumeTableController {
|
|
|
2231
2234
|
} else if (field === "qty_") {
|
|
2232
2235
|
this.updateDerivedQtyFields();
|
|
2233
2236
|
}
|
|
2237
|
+
await this.applyUnitConversionRules(row);
|
|
2234
2238
|
}
|
|
2235
2239
|
}
|
|
2236
2240
|
const FormTmplBomControllerKey = "GctFormTmplBomController";
|
|
@@ -2330,7 +2334,8 @@ function pickObjectFieldKeys(subFields, belongingObject, options) {
|
|
|
2330
2334
|
materialNoFieldName: materialNoField?.name,
|
|
2331
2335
|
qtyKey: qtyField?.key,
|
|
2332
2336
|
qtyRequiredKey: byBiz(FIELD_TYPE.QTY_REQUIRED)?.key,
|
|
2333
|
-
qtyFieldName: qtyField?.name
|
|
2337
|
+
qtyFieldName: qtyField?.name,
|
|
2338
|
+
bomEntryIdKey: byBiz(FIELD_TYPE.BOM_ENTRY_ID)?.key
|
|
2334
2339
|
};
|
|
2335
2340
|
}
|
|
2336
2341
|
function hasRequiredQtyValue(value) {
|
|
@@ -2518,7 +2523,8 @@ function resolveObjectFieldKeys(opts) {
|
|
|
2518
2523
|
materialNoFieldName: fromList.materialNoFieldName ?? fromFallback.materialNoFieldName,
|
|
2519
2524
|
qtyKey: pickPresent(fromList.qtyKey, fromFallback.qtyKey),
|
|
2520
2525
|
qtyRequiredKey: pickPresent(fromList.qtyRequiredKey, fromFallback.qtyRequiredKey),
|
|
2521
|
-
qtyFieldName: fromList.qtyFieldName ?? fromFallback.qtyFieldName
|
|
2526
|
+
qtyFieldName: fromList.qtyFieldName ?? fromFallback.qtyFieldName,
|
|
2527
|
+
bomEntryIdKey: pickPresent(fromList.bomEntryIdKey, fromFallback.bomEntryIdKey)
|
|
2522
2528
|
};
|
|
2523
2529
|
}
|
|
2524
2530
|
function buildObjectLotExtraQuery(productId) {
|
|
@@ -2584,6 +2590,17 @@ async function applyConsumeObjectTraceChange(opts) {
|
|
|
2584
2590
|
})) {
|
|
2585
2591
|
clearObjectLotFields(formData, keys.materialNoKey);
|
|
2586
2592
|
}
|
|
2593
|
+
if (keys.bomEntryIdKey) {
|
|
2594
|
+
formData[keys.bomEntryIdKey] = null;
|
|
2595
|
+
if (!isBlank$1(opts.nextValue) && opts.formInstBom) {
|
|
2596
|
+
const entry = resolveObjectBomEntry({
|
|
2597
|
+
formInstBom: opts.formInstBom,
|
|
2598
|
+
belongingObject,
|
|
2599
|
+
productId: String(opts.nextValue)
|
|
2600
|
+
});
|
|
2601
|
+
if (entry) formData[keys.bomEntryIdKey] = entry.id_;
|
|
2602
|
+
}
|
|
2603
|
+
}
|
|
2587
2604
|
const lotValue = keys.materialNoKey ? formData[keys.materialNoKey] : void 0;
|
|
2588
2605
|
if (!isBlank$1(opts.nextValue) && !isBlank$1(lotValue)) {
|
|
2589
2606
|
try {
|
|
@@ -2616,6 +2633,17 @@ async function applyConsumeObjectTraceChange(opts) {
|
|
|
2616
2633
|
productKey: keys.productKey,
|
|
2617
2634
|
option: opts.option
|
|
2618
2635
|
});
|
|
2636
|
+
if (keys.bomEntryIdKey && opts.formInstBom) {
|
|
2637
|
+
const productId = opts.option?.product_id_ ?? opts.option?._item?.product_id_;
|
|
2638
|
+
if (!isBlank$1(productId)) {
|
|
2639
|
+
const entry = resolveObjectBomEntry({
|
|
2640
|
+
formInstBom: opts.formInstBom,
|
|
2641
|
+
belongingObject,
|
|
2642
|
+
productId: String(productId)
|
|
2643
|
+
});
|
|
2644
|
+
if (entry) formData[keys.bomEntryIdKey] = entry.id_;
|
|
2645
|
+
}
|
|
2646
|
+
}
|
|
2619
2647
|
return {};
|
|
2620
2648
|
}
|
|
2621
2649
|
return {};
|
|
@@ -6009,56 +6037,57 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
6009
6037
|
});
|
|
6010
6038
|
const DynamicTableAction = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-53d7e66c"]]);
|
|
6011
6039
|
export {
|
|
6012
|
-
|
|
6040
|
+
getCopySubMenu as A,
|
|
6013
6041
|
BorderTD as B,
|
|
6014
|
-
|
|
6042
|
+
resolveScanParsedValue as C,
|
|
6015
6043
|
DeviceLinkTmplUtil as D,
|
|
6016
6044
|
EMPTY_PRODUCT_VERSION_ID as E,
|
|
6017
|
-
|
|
6018
|
-
|
|
6019
|
-
|
|
6045
|
+
resolveScanFillData as F,
|
|
6046
|
+
isProductBatchEmptyRow as G,
|
|
6047
|
+
useMaterialBalance as H,
|
|
6020
6048
|
InstanceStatusValues as I,
|
|
6021
|
-
|
|
6022
|
-
|
|
6023
|
-
|
|
6049
|
+
validate as J,
|
|
6050
|
+
validateObjectBomQtyOnSubmit as K,
|
|
6051
|
+
DeviceConnector as L,
|
|
6024
6052
|
MaterialConsumptionPatternEnum as M,
|
|
6025
|
-
|
|
6026
|
-
|
|
6027
|
-
|
|
6028
|
-
|
|
6053
|
+
DocumentLoading as N,
|
|
6054
|
+
DynamicQuickFillModal as O,
|
|
6055
|
+
FixedQuickFillModal as P,
|
|
6056
|
+
FormTmplConfigController as Q,
|
|
6029
6057
|
RequiredQtyCalcRule as R,
|
|
6030
6058
|
ScanParamType as S,
|
|
6031
|
-
|
|
6032
|
-
|
|
6033
|
-
|
|
6034
|
-
|
|
6035
|
-
|
|
6036
|
-
|
|
6059
|
+
MCDataUtil as T,
|
|
6060
|
+
OCR_MODEL_PRECISION_ENUM_KEY as U,
|
|
6061
|
+
getAppInfo as V,
|
|
6062
|
+
getSuiteKey as W,
|
|
6063
|
+
isBlank$1 as X,
|
|
6064
|
+
isEqmSuite as Y,
|
|
6065
|
+
pickObjectFieldKeys as Z,
|
|
6037
6066
|
_sfc_main$5 as _,
|
|
6038
6067
|
useTmplBom as a,
|
|
6039
6068
|
buildObjectLotExtraQuery as b,
|
|
6040
|
-
|
|
6041
|
-
|
|
6042
|
-
|
|
6069
|
+
resolveObjectBomEntry as c,
|
|
6070
|
+
runWithFillProduct as d,
|
|
6071
|
+
applyConsumeObjectTraceChange as e,
|
|
6043
6072
|
fetchOperationReceiveQty as f,
|
|
6044
6073
|
getObjectBomMaterialLotQuery as g,
|
|
6045
|
-
|
|
6074
|
+
getObjectBomProductQuery as h,
|
|
6046
6075
|
isEdhrSuite as i,
|
|
6047
|
-
|
|
6048
|
-
|
|
6049
|
-
|
|
6050
|
-
|
|
6076
|
+
useStyles as j,
|
|
6077
|
+
useValidator as k,
|
|
6078
|
+
DocumentPaper as l,
|
|
6079
|
+
DynamicTableAction as m,
|
|
6051
6080
|
normalizeFieldWidth as n,
|
|
6052
|
-
|
|
6053
|
-
|
|
6054
|
-
|
|
6081
|
+
MaterialConsumeTableController as o,
|
|
6082
|
+
SubTableCore as p,
|
|
6083
|
+
SubTableActionMenuTypeEnum as q,
|
|
6055
6084
|
resolveObjectFieldKeys as r,
|
|
6056
|
-
|
|
6057
|
-
|
|
6085
|
+
getMenuByAction as s,
|
|
6086
|
+
SubTableActionEnum as t,
|
|
6058
6087
|
useFormTmplConfig as u,
|
|
6059
6088
|
validateObjectBomForScan as v,
|
|
6060
|
-
|
|
6061
|
-
|
|
6062
|
-
|
|
6063
|
-
|
|
6089
|
+
getInsertSubMenu as w,
|
|
6090
|
+
resolveScanAdjustType as x,
|
|
6091
|
+
resolveScanQty as y,
|
|
6092
|
+
toDateOnly as z
|
|
6064
6093
|
};
|
|
@@ -857,6 +857,7 @@ var FIELD_TYPE = /* @__PURE__ */ ((FIELD_TYPE2) => {
|
|
|
857
857
|
FIELD_TYPE2["EXTERNAL_REF_NO"] = "external_reference_no";
|
|
858
858
|
FIELD_TYPE2["OBJECT_TYPE"] = "object_type";
|
|
859
859
|
FIELD_TYPE2["MATERIAL_CONSUME"] = "material_consume";
|
|
860
|
+
FIELD_TYPE2["BOM_ENTRY_ID"] = "bom_entry_id";
|
|
860
861
|
FIELD_TYPE2["DATE_OBJECT"] = "date_object";
|
|
861
862
|
FIELD_TYPE2["VALIDITY"] = "validity";
|
|
862
863
|
FIELD_TYPE2["RE_INSPECTION_DATE"] = "re_inspection_date";
|
|
@@ -67866,27 +67867,27 @@ var loadModule = (cmpMeta, hostRef, hmrVersionId) => {
|
|
|
67866
67867
|
case "revo-grid":
|
|
67867
67868
|
return import(
|
|
67868
67869
|
/* webpackMode: "lazy" */
|
|
67869
|
-
"./revo-grid.entry-
|
|
67870
|
+
"./revo-grid.entry-BFhqenKX.js"
|
|
67870
67871
|
).then(processMod, consoleError);
|
|
67871
67872
|
case "revogr-filter-panel":
|
|
67872
67873
|
return import(
|
|
67873
67874
|
/* webpackMode: "lazy" */
|
|
67874
|
-
"./revogr-filter-panel.entry-
|
|
67875
|
+
"./revogr-filter-panel.entry-CGQAJHvn.js"
|
|
67875
67876
|
).then(processMod, consoleError);
|
|
67876
67877
|
case "revogr-attribution_7":
|
|
67877
67878
|
return import(
|
|
67878
67879
|
/* webpackMode: "lazy" */
|
|
67879
|
-
"./revogr-attribution_7.entry-
|
|
67880
|
+
"./revogr-attribution_7.entry-Drk06pNL.js"
|
|
67880
67881
|
).then(processMod, consoleError);
|
|
67881
67882
|
case "revogr-clipboard_3":
|
|
67882
67883
|
return import(
|
|
67883
67884
|
/* webpackMode: "lazy" */
|
|
67884
|
-
"./revogr-clipboard_3.entry-
|
|
67885
|
+
"./revogr-clipboard_3.entry-CZB7Xwjr.js"
|
|
67885
67886
|
).then(processMod, consoleError);
|
|
67886
67887
|
case "revogr-data_4":
|
|
67887
67888
|
return import(
|
|
67888
67889
|
/* webpackMode: "lazy" */
|
|
67889
|
-
"./revogr-data_4.entry-
|
|
67890
|
+
"./revogr-data_4.entry-_zrg70kF.js"
|
|
67890
67891
|
).then(processMod, consoleError);
|
|
67891
67892
|
}
|
|
67892
67893
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { et as EDIT_INPUT_WR, eu as keyValues, el as codesLetter } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-
|
|
1
|
+
import { et as EDIT_INPUT_WR, eu as keyValues, el as codesLetter } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-QlZky7LW.js";
|
|
2
2
|
function isClear(code) {
|
|
3
3
|
return codesLetter.BACKSPACE === code || codesLetter.DELETE === code;
|
|
4
4
|
}
|