@gct-paas/excel 0.1.28-beta.46 → 0.1.28-beta.48
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-DVCiJW4I.js → BaseComponent-9YPaGJfR.js} +1 -1
- package/dist/{VueVideoPlayer-BGkTYkuv.js → VueVideoPlayer-DDUZu4FR.js} +2 -2
- package/dist/{align-editor-B1ERCuk6.js → align-editor-aEWznFoT.js} +1 -1
- package/dist/{barcode-design-CrQsLOrB.js → barcode-design-D8qzOFjL.js} +2 -2
- package/dist/base/index.es.js +19 -9
- package/dist/{diagonal-design-Bl6FYgSi.js → diagonal-design-Ddv0AJYK.js} +2 -2
- package/dist/{dynamic-table-action-DonOy_qQ.js → dynamic-table-action-DmQ4nVdA.js} +9 -4
- package/dist/{dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-QlZky7LW.js → dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-BviS9x-o.js} +6 -6
- package/dist/{edit.utils-CXmmCnxE-D_ytyr5Z.js → edit.utils-CXmmCnxE-pmY90xaE.js} +1 -1
- package/dist/excel.css +244 -309
- package/dist/{exceljs.min-Cs1eUkib.js → exceljs.min-Dw9VPMtI.js} +2 -2
- package/dist/{font-editor-u1j-csCC.js → font-editor-Bph5pRXS.js} +3 -3
- package/dist/{image-design-CnMLw0Sh.js → image-design-CV8ivT4U.js} +2 -2
- package/dist/{index-yrGyhxWL.js → index-47VsMc1m.js} +3 -3
- package/dist/{index-Bj9H12lw.js → index-B0LpvLV2.js} +3 -3
- package/dist/{index-Bxep2hIY.js → index-B94zjbXB.js} +2 -2
- package/dist/{index-CXWAPauM.js → index-B9hn-Xpy.js} +4 -33
- package/dist/{index-CC1irY5R.js → index-BC4xGA-9.js} +2 -2
- package/dist/{index-C0VZecKI.js → index-BI1w0HuA.js} +2 -2
- package/dist/{index-DGZKox4l.js → index-BIyoFjsu.js} +1 -1
- package/dist/{index-LnCEoUak.js → index-BNdFxtuu.js} +2 -2
- package/dist/{index-DB7_03B2.js → index-BVy2F-LZ.js} +2 -2
- package/dist/{index-BukVvtm1.js → index-BgUSwNSn.js} +1 -1
- package/dist/{index-CpMWqqC7.js → index-BzNleuvF.js} +1 -1
- package/dist/{index-D7NL0XAT.js → index-C2hMgMsL.js} +2 -2
- package/dist/{index-CDiFdV05.js → index-C6wehkmr.js} +3 -3
- package/dist/{index-gOOBeVe8.js → index-CJgeCzTz.js} +1 -1
- package/dist/{index-BChvKDxe.js → index-Co8dy8tY.js} +2 -2
- package/dist/{index-BnsUZd3f.js → index-Cq259FsU.js} +3 -3
- package/dist/{index-adGX9Psy.js → index-CruwJ-da.js} +2 -2
- package/dist/{index-DwQsc3wM.js → index-D3RlguP-.js} +2 -2
- package/dist/{index-DMsn9wUw.js → index-DAokF2RK.js} +2 -2
- package/dist/{index-CM9aENLb.js → index-DUomn6r4.js} +2 -2
- package/dist/{index-jthOQxT5.js → index-DVCumM_5.js} +2 -2
- package/dist/{index-B5iARBiW.js → index-DX2S50Jz.js} +1 -1
- package/dist/{index-DHc4P-VY.js → index-DXutPZQB.js} +1 -1
- package/dist/{index-Bepv_pE9.js → index-DXvugQoP.js} +2 -2
- package/dist/{index-6XxTROGl.js → index-Dxiaj_9W.js} +2 -2
- package/dist/{index-x1freHFU.js → index-DzZ4dTHg.js} +2 -2
- package/dist/{index-DnaDxi1_.js → index-RHv1ncwn.js} +1 -1
- package/dist/{index-DHOnmUjY.js → index-Zdnqq0OL.js} +15 -5
- package/dist/{index-DZQiFTXW.js → index-eaPQQt2I.js} +1 -1
- package/dist/{index-B6J1QwR_.js → index-kZ3vhOMA.js} +2 -2
- package/dist/{index-CFAZovEW.js → index-pNfWY0vL.js} +1518 -1477
- package/dist/{index-BbCaVVwt.js → index-q0gBBMoc.js} +2 -2
- package/dist/{index-67rRdRWW.js → index-s7YNVpgF.js} +1 -1
- package/dist/{index-CdQohyjZ.js → index-zuExIXWU.js} +1 -1
- package/dist/index.es.js +48 -48
- package/dist/{mb-render-BCg2qlPB.js → mb-render-BBRR_byl.js} +1 -1
- package/dist/{online-form-model-select.vue_vue_type_script_setup_true_name_online-form-model-select_lang-DCMQHJ66.js → online-form-model-select.vue_vue_type_script_setup_true_name_online-form-model-select_lang-BGrVMSEF.js} +1 -1
- package/dist/{pagination-design-DIvU26ka.js → pagination-design-BeGQWAaM.js} +2 -2
- package/dist/paper-widget-design-DkcGXm3A.js +4 -0
- package/dist/{qrcode-design-DDeqtWa8.js → qrcode-design-BMcx4192.js} +1 -1
- package/dist/{revo-grid.entry-BFhqenKX.js → revo-grid.entry-DW8yYngF.js} +1 -1
- package/dist/{revogr-attribution_7.entry-Drk06pNL.js → revogr-attribution_7.entry-WnSOjAfL.js} +3 -3
- package/dist/{revogr-clipboard_3.entry-CZB7Xwjr.js → revogr-clipboard_3.entry-5f1ZtJWy.js} +2 -2
- package/dist/{revogr-data_4.entry-_zrg70kF.js → revogr-data_4.entry-BwcXhOPY.js} +2 -2
- package/dist/{revogr-filter-panel.entry-CGQAJHvn.js → revogr-filter-panel.entry-CXpo_Btw.js} +1 -1
- package/dist/{serialnumber-design-DfSLAsc-.js → serialnumber-design-CYdELIDU.js} +1 -1
- package/dist/shared/index.es.js +2 -2
- package/dist/{single-field-drop-BsEtUx_C.js → single-field-drop-C6nOrxrm.js} +2 -2
- package/dist/{size-editor-BkutJl2O.js → size-editor-Dr3sVcUl.js} +1 -1
- package/dist/src/nocode-base/src/hooks/material-consume/bom-validator.d.ts +2 -0
- package/dist/src/online-form/src/views/__cell_widgets__/common/quick-search-editor/quick-search.util.d.ts +2 -0
- package/dist/src/online-form/src/views/__cell_widgets__/common/ref-autofill-editor/autofill-field-utils.d.ts +10 -0
- package/dist/src/online-form/src/views/render/__components__/_field_/_base_/cell/use-select-list-height.d.ts +9 -0
- package/dist/src/online-form/src/views/render/__components__/_field_/trace/composables/usePopoverWrapperHeight.d.ts +8 -2
- package/dist/src/shared/components/Signature/index.d.ts +2 -1
- package/dist/src/shared/components/Signature/types/index.d.ts +4 -0
- package/dist/src/shared/components/Signature/ui/handwriting-signer.vue.d.ts +1 -0
- package/dist/src/shared/components/Signature/ui/password-signer.vue.d.ts +1 -0
- package/dist/src/shared/components/Signature/ui/sign-popover-content.vue.d.ts +122 -0
- package/dist/src/shared/components/Signature/ui/sign-switcher-modal.vue.d.ts +4 -0
- package/dist/src/shared/components/Signature/ui/sign-switcher.vue.d.ts +3 -0
- package/dist/{text-design-_oot0dfy.js → text-design-UCmUQ5-r.js} +2 -2
- package/dist/{throttle-Cpk1LoGk-m5i9Rv6S.js → throttle-Cpk1LoGk-Dkz6zJ8F.js} +1 -1
- package/dist/{timediff-design-DT1krFY7.js → timediff-design-INgy9LDa.js} +1 -1
- package/dist/{trace-like-wrapper-BxAYfclP.js → trace-like-wrapper-D42HNmPl.js} +4 -3
- package/dist/{value-editor.vue_vue_type_style_index_0_lang-CM5gRNY8.js → value-editor.vue_vue_type_style_index_0_lang-BvIiE79G.js} +2 -2
- package/dist/web-render/index.es.js +5 -5
- package/dist/{widget-barcode-YUnyE2uS.js → widget-barcode-CaehS2uX.js} +4 -4
- package/dist/{widget-diagonal-CLmoKJNC.js → widget-diagonal-DwAEuDSa.js} +5 -7
- package/dist/{widget-image-D5ZscHpc.js → widget-image-DhDBdhTo.js} +5 -5
- package/dist/{widget-line-RFHK3Qfv.js → widget-line-B0WrYTEB.js} +2 -2
- package/dist/{widget-pagination-B8AaA7e0.js → widget-pagination-B1fAKVBN.js} +5 -5
- package/dist/{widget-power-I3IAh1zz.js → widget-power-BF2eAPCW.js} +3 -3
- package/dist/{widget-qrcode-CGMAm9gG.js → widget-qrcode-DwfgWr34.js} +3 -3
- package/dist/{widget-rangelimit-VYwbC-Yf.js → widget-rangelimit-CVsl2HaJ.js} +3 -3
- package/dist/{widget-serialnumber-BFE9TUVG.js → widget-serialnumber-DgRdw4M4.js} +1 -1
- package/dist/{widget-text-DFkOV7-Y.js → widget-text-DSxiZsqg.js} +5 -5
- package/dist/{widget-timediff-3kEojaId.js → widget-timediff-Bu8MP6ag.js} +2 -2
- package/package.json +1 -1
- package/dist/paper-widget-design-DQJUBlz2.js +0 -4
- package/dist/src/online-form/src/views/render/__components__/_field_/_base_/cell/cell-select.vue.d.ts +0 -40
- package/dist/src/online-form/src/views/render/__components__/_field_/_base_/cell/cell-tree-select.vue.d.ts +0 -37
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as normalizeFieldWidth } from "./dynamic-table-action-
|
|
1
|
+
import { n as normalizeFieldWidth } from "./dynamic-table-action-DmQ4nVdA.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-BviS9x-o.js";
|
|
3
|
+
import { r as require$$0 } from "./index-B9hn-Xpy.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-BviS9x-o.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-pNfWY0vL.js";
|
|
4
|
+
import { M as PaperWidgeValueType, a4 as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-BviS9x-o.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, 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-
|
|
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-
|
|
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-BviS9x-o.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-BviS9x-o.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-DmQ4nVdA.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-DmQ4nVdA.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-BBRR_byl.js";
|
|
9
9
|
var MaterialStatusEnum = /* @__PURE__ */ ((MaterialStatusEnum2) => {
|
|
10
10
|
MaterialStatusEnum2["LOT"] = "LOT";
|
|
11
11
|
MaterialStatusEnum2["SN"] = "SN";
|
|
@@ -413,7 +413,7 @@ function applyOptionFill(rowData, option, mappings) {
|
|
|
413
413
|
}
|
|
414
414
|
}
|
|
415
415
|
}
|
|
416
|
-
function applyAllocatePartTd(params, partField, mode) {
|
|
416
|
+
function applyAllocatePartTd(params, partField, mode, inventoryBinding) {
|
|
417
417
|
const { field, tdHandler } = params;
|
|
418
418
|
if (field !== partField) return;
|
|
419
419
|
tdHandler.mergeTd({
|
|
@@ -421,6 +421,7 @@ function applyAllocatePartTd(params, partField, mode) {
|
|
|
421
421
|
props: {
|
|
422
422
|
customRenderTag: "allocatePart",
|
|
423
423
|
partSelectMode: mode,
|
|
424
|
+
inventoryBinding,
|
|
424
425
|
newSpecificConfig: {
|
|
425
426
|
newOptions: []
|
|
426
427
|
}
|
|
@@ -445,7 +446,10 @@ class WarehouseOutboundTableCore extends ProfileDrivenSubTableCore {
|
|
|
445
446
|
return this.factory.ctx.paramsConfig?.warehouseId;
|
|
446
447
|
}
|
|
447
448
|
handleFieldTd = (params) => {
|
|
448
|
-
applyAllocatePartTd(params, F$4.part, "inventory"
|
|
449
|
+
applyAllocatePartTd(params, F$4.part, "inventory", {
|
|
450
|
+
formField: F$4.inventory,
|
|
451
|
+
optionField: "id_"
|
|
452
|
+
});
|
|
449
453
|
super.handleFieldTd(params);
|
|
450
454
|
};
|
|
451
455
|
calcFieldQuery = (params) => {
|
|
@@ -465,7 +469,10 @@ class PartStocktakeTableCore extends ProfileDrivenSubTableCore {
|
|
|
465
469
|
return this.factory.ctx.paramsConfig?.warehouseId;
|
|
466
470
|
}
|
|
467
471
|
handleFieldTd = (params) => {
|
|
468
|
-
applyAllocatePartTd(params, F$2.part, "inventory"
|
|
472
|
+
applyAllocatePartTd(params, F$2.part, "inventory", {
|
|
473
|
+
formField: F$2.inventory,
|
|
474
|
+
optionField: "id_"
|
|
475
|
+
});
|
|
469
476
|
super.handleFieldTd(params);
|
|
470
477
|
};
|
|
471
478
|
calcFieldQuery = (params) => {
|
|
@@ -489,7 +496,10 @@ class DevicePartConsumeTableCore extends ProfileDrivenSubTableCore {
|
|
|
489
496
|
return this.factory.ctx.paramsConfig?.warehouseId;
|
|
490
497
|
}
|
|
491
498
|
handleFieldTd = (params) => {
|
|
492
|
-
applyAllocatePartTd(params, F$1.part, "inventory"
|
|
499
|
+
applyAllocatePartTd(params, F$1.part, "inventory", {
|
|
500
|
+
formField: F$1.inventory,
|
|
501
|
+
optionField: "id_"
|
|
502
|
+
});
|
|
493
503
|
super.handleFieldTd(params);
|
|
494
504
|
};
|
|
495
505
|
calcFieldQuery = (params) => {
|
|
@@ -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-pNfWY0vL.js";
|
|
3
|
+
import { ah as resolveDiagonalVertex, a4 as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-BviS9x-o.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-BviS9x-o.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-BBRR_byl.js";
|
|
8
8
|
const InstanceStatusValues = {
|
|
9
9
|
/** 作废状态 */
|
|
10
10
|
ABANDON: "ABANDON",
|
|
@@ -560,6 +560,11 @@ class BomEntryValidator {
|
|
|
560
560
|
const groupData = this.filterGroupData(arr);
|
|
561
561
|
return groupData.reduce((acc, cur) => acc + (cur.qty_ ?? 0), 0);
|
|
562
562
|
}
|
|
563
|
+
/** 上下限校验统一按需求单位口径取转换数量,历史数据未转换时兼容原数量。 */
|
|
564
|
+
calcQtyForBounds(arr) {
|
|
565
|
+
const groupData = this.filterGroupData(arr);
|
|
566
|
+
return groupData.reduce((acc, cur) => acc + (cur.qty_transfer_ ?? cur.qty_ ?? 0), 0);
|
|
567
|
+
}
|
|
563
568
|
/**
|
|
564
569
|
* 计算自定义的数量校验的最大值和最小值
|
|
565
570
|
* @param data
|
|
@@ -622,7 +627,7 @@ class BomEntryValidator {
|
|
|
622
627
|
break;
|
|
623
628
|
case "bounds": {
|
|
624
629
|
const groupData = this.filterGroupData(arr);
|
|
625
|
-
const consumeSum =
|
|
630
|
+
const consumeSum = this.calcQtyForBounds(arr) + this.calcQtyForBounds(this.historyData);
|
|
626
631
|
const { min, max } = await this.calcCustomNumberLimit(groupData[0]);
|
|
627
632
|
if (min !== void 0 && consumeSum < min || max !== void 0 && consumeSum > max) {
|
|
628
633
|
fail($t("sys.qtyValidationRule.bounds", { min, max }));
|
|
@@ -2200,11 +2205,11 @@ class MaterialConsumeTableController {
|
|
|
2200
2205
|
row.material_no_ = void 0;
|
|
2201
2206
|
row.material_no__id_ = void 0;
|
|
2202
2207
|
row.material_no__lb_ = void 0;
|
|
2203
|
-
row.qty_ = void 0;
|
|
2204
2208
|
row.qty_consumed_ = void 0;
|
|
2205
2209
|
row.qty_required_ = void 0;
|
|
2206
2210
|
row.expiration_date_ = void 0;
|
|
2207
2211
|
this.setDefaultValue(row);
|
|
2212
|
+
this.updateDerivedQtyFields();
|
|
2208
2213
|
} else if (field === "material_no_") {
|
|
2209
2214
|
if (option?.is_locked_) {
|
|
2210
2215
|
row.material_no_ = void 0;
|
|
@@ -57065,7 +57065,7 @@ function buildLotLikeQuery(searchFields, keyword, extraQuery = {}) {
|
|
|
57065
57065
|
return { queryData, exp };
|
|
57066
57066
|
}
|
|
57067
57067
|
function buildLotSnListQuery(keyword = "", extraQuery = {}) {
|
|
57068
|
-
return buildLotLikeQuery(["name_", "related_parent_name_"], keyword, {
|
|
57068
|
+
return buildLotLikeQuery(["name_", "related_parent_name_", "product_id_code_", "product_id_name_", "spec_"], keyword, {
|
|
57069
57069
|
"container_role_.ne": LOT_CONTAINER_ROLE.RELATED_PARENT,
|
|
57070
57070
|
...extraQuery
|
|
57071
57071
|
});
|
|
@@ -67867,27 +67867,27 @@ var loadModule = (cmpMeta, hostRef, hmrVersionId) => {
|
|
|
67867
67867
|
case "revo-grid":
|
|
67868
67868
|
return import(
|
|
67869
67869
|
/* webpackMode: "lazy" */
|
|
67870
|
-
"./revo-grid.entry-
|
|
67870
|
+
"./revo-grid.entry-DW8yYngF.js"
|
|
67871
67871
|
).then(processMod, consoleError);
|
|
67872
67872
|
case "revogr-filter-panel":
|
|
67873
67873
|
return import(
|
|
67874
67874
|
/* webpackMode: "lazy" */
|
|
67875
|
-
"./revogr-filter-panel.entry-
|
|
67875
|
+
"./revogr-filter-panel.entry-CXpo_Btw.js"
|
|
67876
67876
|
).then(processMod, consoleError);
|
|
67877
67877
|
case "revogr-attribution_7":
|
|
67878
67878
|
return import(
|
|
67879
67879
|
/* webpackMode: "lazy" */
|
|
67880
|
-
"./revogr-attribution_7.entry-
|
|
67880
|
+
"./revogr-attribution_7.entry-WnSOjAfL.js"
|
|
67881
67881
|
).then(processMod, consoleError);
|
|
67882
67882
|
case "revogr-clipboard_3":
|
|
67883
67883
|
return import(
|
|
67884
67884
|
/* webpackMode: "lazy" */
|
|
67885
|
-
"./revogr-clipboard_3.entry-
|
|
67885
|
+
"./revogr-clipboard_3.entry-5f1ZtJWy.js"
|
|
67886
67886
|
).then(processMod, consoleError);
|
|
67887
67887
|
case "revogr-data_4":
|
|
67888
67888
|
return import(
|
|
67889
67889
|
/* webpackMode: "lazy" */
|
|
67890
|
-
"./revogr-data_4.entry-
|
|
67890
|
+
"./revogr-data_4.entry-BwcXhOPY.js"
|
|
67891
67891
|
).then(processMod, consoleError);
|
|
67892
67892
|
}
|
|
67893
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-BviS9x-o.js";
|
|
2
2
|
function isClear(code) {
|
|
3
3
|
return codesLetter.BACKSPACE === code || codesLetter.DELETE === code;
|
|
4
4
|
}
|