@gct-paas/excel 0.1.40-beta.7 → 0.1.40-beta.9
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-ByKSQlX5.js → BaseComponent-DKaXUiq4.js} +2 -2
- package/dist/{VueVideoPlayer-D9kpfmiz.js → VueVideoPlayer-BeylL5J6.js} +2 -2
- package/dist/{align-editor-lWVPNKlR.js → align-editor-r0dHXFka.js} +1 -1
- package/dist/{barcode-design-zpWBlelw.js → barcode-design-BTNQYLEC.js} +2 -2
- package/dist/base/index.es.js +10 -10
- package/dist/{diagonal-design-CzRKVjcY.js → diagonal-design-ByuNrPs-.js} +2 -2
- package/dist/{dynamic-table-action-DkHb1ST4.js → dynamic-table-action-CHY5xNLE.js} +14 -8
- package/dist/{dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-CAg9oyuD.js → dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-8yB6zly8.js} +94 -61
- package/dist/{edit.utils-CXmmCnxE-DIhkrimt.js → edit.utils-CXmmCnxE-Cu6obgSA.js} +1 -1
- package/dist/excel.css +134 -137
- package/dist/{exceljs.min-DoNsTxQp.js → exceljs.min-BAX9-ZsR.js} +2 -2
- package/dist/{font-editor-N7060zuX.js → font-editor-DiFflAdU.js} +3 -3
- package/dist/{image-design-fXKNGIm3.js → image-design-FDLY6DFg.js} +2 -2
- package/dist/{index-pSRRsoDQ.js → index-2WkF904L.js} +5 -4
- package/dist/{index-BXxzWXS4.js → index-7u6Pmaax.js} +1 -1
- package/dist/{index-Bh-tmh-F.js → index-AGp5c3cl.js} +2 -2
- package/dist/{index-Bgh8yfAl.js → index-B-hfUWEs.js} +2 -2
- package/dist/{index-CfY2WTcN.js → index-B8pwnxas.js} +2 -2
- package/dist/{index-DSUDSbPf.js → index-BCsDTwbK.js} +1 -1
- package/dist/{index-Xx36PP2U.js → index-BIeu5JwZ.js} +2 -2
- package/dist/{index-DGyygsxH.js → index-BTfYHAPC.js} +2 -2
- package/dist/{index-CCw8gM1y.js → index-BdFPuj12.js} +1 -1
- package/dist/{index-B6fCHnZl.js → index-C3SyXJii.js} +2 -2
- package/dist/{index-CbeaPNDv.js → index-C6jVSwAq.js} +2 -2
- package/dist/{index-CtHy6vBq.js → index-C8LoodYv.js} +3 -3
- package/dist/{index-DnHsEIgl.js → index-CFVecFFb.js} +2 -2
- package/dist/{index-C6STl6m-.js → index-CRIhEnfm.js} +1 -1
- package/dist/{index-a0vY4sVG.js → index-CbmHekMw.js} +2 -2
- package/dist/{index-yf50oYV1.js → index-ChINVccu.js} +3 -3
- package/dist/{index-Cza077GN.js → index-D3s4H_1P.js} +6 -3
- package/dist/{index-tjo9dn4X.js → index-DDvfW5-d.js} +2 -2
- package/dist/{index-8BLKPnwH.js → index-DEHsGK91.js} +1 -1
- package/dist/{index-C4Mlck0_.js → index-DGODLCja.js} +1 -1
- package/dist/{index-DgbgqO-w.js → index-DJiuJgNx.js} +1 -1
- package/dist/{index-7J6OP2x9.js → index-DXNSTk5n.js} +2 -2
- package/dist/{index-CuHKZOUw.js → index-De6oWEZJ.js} +2 -2
- package/dist/{index-CaojJi0S.js → index-DgLLlaiF.js} +1 -1
- package/dist/{index-CZIuP6b-.js → index-DkYlfWLa.js} +2 -2
- package/dist/{index-B5FuofNW.js → index-Dl_ZgCRB.js} +2 -2
- package/dist/{index-BDRyjPGr.js → index-Dlihqay0.js} +430 -459
- package/dist/{index-BJA3YJns.js → index-DsQp4UCs.js} +3 -3
- package/dist/{index-gEI8m-b5.js → index-Go0PUrqy.js} +1 -1
- package/dist/{index-bRZUDA7R.js → index-KxrgWfEL.js} +1 -1
- package/dist/{index-DeEz6LI3.js → index-dXOMuxrp.js} +2 -2
- package/dist/{index-BA4zmgdk.js → index-gGYvWSjX.js} +2 -2
- package/dist/{index-C5IwDker.js → index-hllsJVUF.js} +6 -5
- package/dist/{index-BEX6lJX9.js → index-jkltWTT1.js} +2 -2
- package/dist/{index-8A45IOjw.js → index-rZVFumSM.js} +2 -2
- package/dist/index.es.js +2 -2
- package/dist/{mb-render-BCtvoXM-.js → mb-render-_IUbyYCY.js} +1 -1
- package/dist/{online-form-model-select.vue_vue_type_script_setup_true_name_online-form-model-select_lang-DbNfQIzD.js → online-form-model-select.vue_vue_type_script_setup_true_name_online-form-model-select_lang-CnQiVFDN.js} +1 -1
- package/dist/{pagination-design-BLhJhoHb.js → pagination-design-BPbb9CiE.js} +2 -2
- package/dist/paper-widget-design-BBuWfCac.js +4 -0
- package/dist/{print-runtime-instance-v1jzD3oO.js → print-runtime-instance-BmJ9GNr2.js} +1 -1
- package/dist/{print-snapshot-renderer-BSf76qD7.js → print-snapshot-renderer-NCND8gig.js} +3 -3
- package/dist/{qrcode-design-D9f0hRKd.js → qrcode-design-00WrOrbQ.js} +1 -1
- package/dist/{revo-grid.entry-NMojEZjd.js → revo-grid.entry-BZADj2ve.js} +1 -1
- package/dist/{revogr-attribution_7.entry-jR0LwEie.js → revogr-attribution_7.entry-DbQASE7d.js} +3 -3
- package/dist/{revogr-clipboard_3.entry-DMQ65QLh.js → revogr-clipboard_3.entry-BUDhUelS.js} +2 -2
- package/dist/{revogr-data_4.entry-Buvf7dRf.js → revogr-data_4.entry-0V57Lz9p.js} +2 -2
- package/dist/{revogr-filter-panel.entry-TLjszdsH.js → revogr-filter-panel.entry-BJEYteeW.js} +1 -1
- package/dist/seal-design-CJuuDF64.js +4 -0
- package/dist/{serialnumber-design-DsSZwN3t.js → serialnumber-design-BbjW4gnZ.js} +1 -1
- package/dist/shared/index.es.js +2 -2
- package/dist/{single-field-drop-DRMCsh_s.js → single-field-drop-CZmE1hGc.js} +2 -2
- package/dist/{size-editor-m8uyQ1bU.js → size-editor-CcYZKUn5.js} +1 -1
- package/dist/src/domain/table/business/preprocess/pretreatment-list/profile/field-keys.d.ts +1 -7
- package/dist/src/domain/table/business/sterilize/entrust-steril-batch-list/profile/fields.d.ts +2 -0
- package/dist/src/nocode-base/src/core/sub-table/allocate-table-core.d.ts +2 -1
- package/dist/src/nocode-base/src/hooks/material-consume-object/bom-validator.d.ts +4 -3
- package/dist/src/online-form/src/views/__cell_widgets__/common/display-fields-editor/display-fields.util.d.ts +2 -2
- package/dist/src/online-form/src/views/render/__components__/_field_/seal/component/seal-floating-field.vue.d.ts +0 -1
- package/dist/src/online-form/src/views/render/__components__/_field_/seal/component/seal-runtime-layer.vue.d.ts +0 -1
- package/dist/src/online-form/src/views/render/__components__/_field_/seal/component/use-seal-stamp.d.ts +1 -4
- package/dist/src/shared/enum/field-type.d.ts +2 -0
- package/dist/{sub-table-factory-BxxIXXCZ.js → sub-table-factory-B0YWwWSA.js} +8 -2
- package/dist/{text-design-DgOV0ZhV.js → text-design-BjtdVSoz.js} +2 -2
- package/dist/{throttle-Cpk1LoGk-Dj14U5ox.js → throttle-Cpk1LoGk-BVommE6v.js} +1 -1
- package/dist/{timediff-design-C0zYdIQI.js → timediff-design-DLlIUaqv.js} +1 -1
- package/dist/{trace-like-wrapper-XB73ltP9.js → trace-like-wrapper-D91DvdFd.js} +2 -2
- package/dist/{value-editor.vue_vue_type_style_index_0_lang-CRFXw695.js → value-editor.vue_vue_type_style_index_0_lang-CoD8ISWI.js} +2 -2
- package/dist/web-render/index.es.js +3 -3
- package/dist/{widget-barcode-BLKBY_Dh.js → widget-barcode-BYiE3tsx.js} +4 -4
- package/dist/{widget-diagonal-LVxcpB3b.js → widget-diagonal-DHQFi6CR.js} +3 -3
- package/dist/{widget-image-Cch0ImSI.js → widget-image-id71BcU3.js} +5 -5
- package/dist/{widget-line-CUSNrxgG.js → widget-line-Cp0b7r3U.js} +2 -2
- package/dist/{widget-pagination-CM1S6Ytp.js → widget-pagination-BtlUxqBg.js} +5 -5
- package/dist/{widget-power-DQJ8F2R7.js → widget-power-DHRfJ48L.js} +3 -3
- package/dist/{widget-qrcode-BmnaFfc4.js → widget-qrcode-DNCRxnIr.js} +3 -3
- package/dist/{widget-rangelimit-Db0ZX6Fb.js → widget-rangelimit-BSSBKq1C.js} +3 -3
- package/dist/{widget-serialnumber-BEOWsFs1.js → widget-serialnumber-CUluNTQw.js} +1 -1
- package/dist/{widget-text-DZFAhPxy.js → widget-text-BdzPeniw.js} +5 -5
- package/dist/{widget-timediff-C_Nh7uw-.js → widget-timediff-DerdwjRU.js} +2 -2
- package/package.json +1 -1
- package/dist/paper-widget-design-B8gKgZep.js +0 -4
- package/dist/seal-design-B80mv8SJ.js +0 -4
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { n as normalizeFieldWidth } from "./dynamic-table-action-
|
|
1
|
+
import { n as normalizeFieldWidth } from "./dynamic-table-action-CHY5xNLE.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-8yB6zly8.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-8yB6zly8.js";
|
|
3
|
+
import { r as require$$0 } from "./index-CFVecFFb.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 { a9 as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-
|
|
2
|
+
import { a9 as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-8yB6zly8.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, a9 as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-
|
|
3
|
+
import { u as useSpreadSheet, h as useModelFields, l as loadBwip } from "./index-Dlihqay0.js";
|
|
4
|
+
import { R as PaperWidgeValueType, a9 as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-8yB6zly8.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, a0 as PlatformEnum, F as FIELD_TYPE,
|
|
2
|
-
import { aQ, aS, b1, a2, bM, bN, B, bO, A, aj, bP, bQ, bR,
|
|
3
|
-
import { T as getRuntimeDataFieldId, F as parseRuntimeFieldPath, U as buildRuntimeFieldPath, f as findFieldProfile, V as resolveRuntimeFieldProps, W as resolveRuntimeFieldState, X as getRuntimeDependencyOutputKey, Y as isRowAddedInCurrentFormChange, t as MaterialConsumptionPatternEnum, Z as MaterialConsumeTableController, $ as setFormulaParamsConfig, a0 as normalizeRuntime, K as createRuntimeInstanceContext, R as RuntimeFormStateStore, a1 as RuntimeSheetService, g as getBusinessFieldKey, a2 as validateObjectBomQtyOnSubmit, a3 as closeValidatorPopovers, a4 as enrichFormChangeRowDetails, N as NCB_PROVIDE, L as RuntimeInstanceRegistry, a5 as useMaterialBalance, a6 as collectFormChangeFieldLocations, a7 as nextFormChangeRowViewHistoryId } from "../dynamic-table-action-
|
|
4
|
-
import { B as B2, a8 as a82, i, _, a9, P as P2, aa, Q, E, ab as ab2, ac, ad, ae, af, M, a, ag, d, ah, ai as ai2, aj as aj2, ak as ak2, al as al2, am as am2, an as an2, ao as ao2, z, ap as ap2, q as q2, aq, e, ar as ar2, as, at, au, p, A as A2, av, aw, ax, ay as ay2, j, C, h as h2, az, aA, aB, aC as aC2, aD as aD2, aE, w, r, aF, x, m, aG, s as s2, aH, H, I, u, y, J, l, o, G as G2, k, v as v2 } from "../dynamic-table-action-
|
|
1
|
+
import { p as api, a0 as PlatformEnum, F as FIELD_TYPE, bj as getRowId, bk as findRuntimeTableRow, bm as RenderModeEnum, C as ComponentTypeEnum, aB as findFieldMain, c as getProfileByTableType, d as getBusinessProfileByRefModelType, b as isBusinessSubTableProfile, ax as RangeValidateMode, bx as assembleRules, by as isAttachFieldActive, aK as Dependency_ENUM, bl as calculateFormula, aJ as ASSIGNMENTSTRATEGY_ENUM, U as getParseFormulaVarInfos, bz as fetchHistoryConsume, bA as isBomGranted, aX as renderUtils, bw as uuid2, bB as parseFrontConfig, aN as CheckDsTypeEnum, aH as transformUtils, bC as baseDataUtils, bD as initializeSealFields, Z as FormTypeEnum, bE as normalizeToArray, bF as safeParseArray, bG as BpmnNodeTypeEnum, bH as mergeByMultiKey, a9 as _export_sfc, bI as evaluateInspectionDecisionRule, bJ as areValidationCommentsEqual, bK as useNocodeEmitter, bL as commonUtils, aL as EntityModelCategoryEnum } from "../dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-8yB6zly8.js";
|
|
2
|
+
import { aQ, aS, b1, a2, bM, bN, B, bO, A, aj, bP, bQ, bR, bi, bS, aT, aC, aR, aO, aP, bT, ak, ao, bU, bV, aI, a4, ai, aD, bW, a1, am, L, bX, bY, bZ, O, s, P, ab, q, R, G, b_, b$, ay, a7, a3, a5, a6, a8, h, c0, an, ar, al, c1, c2, c3, c4, bh, c5, c6, c7, c8, c9, ca, cb, cc, cd, ce, bn, cf, cg, a_, ch, b2, b3, ci, cj, ck, cl, cm, cn, co, cp, cq, cr, aZ, cs, b4, bf, ct, cu, cv, ap, v, cw, cx, cy, bo, a$ } from "../dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-8yB6zly8.js";
|
|
3
|
+
import { T as getRuntimeDataFieldId, F as parseRuntimeFieldPath, U as buildRuntimeFieldPath, f as findFieldProfile, V as resolveRuntimeFieldProps, W as resolveRuntimeFieldState, X as getRuntimeDependencyOutputKey, Y as isRowAddedInCurrentFormChange, t as MaterialConsumptionPatternEnum, Z as MaterialConsumeTableController, $ as setFormulaParamsConfig, a0 as normalizeRuntime, K as createRuntimeInstanceContext, R as RuntimeFormStateStore, a1 as RuntimeSheetService, g as getBusinessFieldKey, a2 as validateObjectBomQtyOnSubmit, a3 as closeValidatorPopovers, a4 as enrichFormChangeRowDetails, N as NCB_PROVIDE, L as RuntimeInstanceRegistry, a5 as useMaterialBalance, a6 as collectFormChangeFieldLocations, a7 as nextFormChangeRowViewHistoryId } from "../dynamic-table-action-CHY5xNLE.js";
|
|
4
|
+
import { B as B2, a8 as a82, i, _, a9, P as P2, aa, Q, E, ab as ab2, ac, ad, ae, af, M, a, ag, d, ah, ai as ai2, aj as aj2, ak as ak2, al as al2, am as am2, an as an2, ao as ao2, z, ap as ap2, q as q2, aq, e, ar as ar2, as, at, au, p, A as A2, av, aw, ax, ay as ay2, j, C, h as h2, az, aA, aB, aC as aC2, aD as aD2, aE, w, r, aF, x, m, aG, s as s2, aH, H, I, u, y, J, l, o, G as G2, k, v as v2 } from "../dynamic-table-action-CHY5xNLE.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 a10, P as P3, b, c, d as d2, e as e2, W, f, g, h as h3 } from "../sub-table-factory-
|
|
8
|
+
import { S as SubTableCoreFactory, R as RuntimeInstanceController } from "../sub-table-factory-B0YWwWSA.js";
|
|
9
|
+
import { A as A3, D, M as M2, a as a10, P as P3, b, c, d as d2, e as e2, W, f, g, h as h3 } from "../sub-table-factory-B0YWwWSA.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 a11, u as u2 } from "../mb-render-
|
|
11
|
+
import { B as B3, F, M as M3, a as a11, u as u2 } from "../mb-render-_IUbyYCY.js";
|
|
12
12
|
const InstanceStatusValues = {
|
|
13
13
|
/** 作废状态 */
|
|
14
14
|
ABANDON: "ABANDON",
|
|
@@ -3617,7 +3617,7 @@ export {
|
|
|
3617
3617
|
ComponentTypeEnum,
|
|
3618
3618
|
bQ as Config_Fields,
|
|
3619
3619
|
bR as ControlStatusEnum,
|
|
3620
|
-
|
|
3620
|
+
bi as DEVICE_GROUP_QUERY_KEY,
|
|
3621
3621
|
bS as DEVICE_SEARCH_API,
|
|
3622
3622
|
aT as DateFormat,
|
|
3623
3623
|
aC as DecimalDisplayMode,
|
|
@@ -3724,7 +3724,7 @@ export {
|
|
|
3724
3724
|
baseDataUtils,
|
|
3725
3725
|
c3 as bindRuntimeTableColumns,
|
|
3726
3726
|
c4 as buildDeviceBaseQuery,
|
|
3727
|
-
|
|
3727
|
+
bh as buildDeviceFilterQuery,
|
|
3728
3728
|
ap2 as buildFormChangeDisplayRows,
|
|
3729
3729
|
q2 as buildObjectLotExtraQuery,
|
|
3730
3730
|
buildRuntimeFieldPath,
|
|
@@ -3804,7 +3804,7 @@ export {
|
|
|
3804
3804
|
aA as pickObjectFieldKeys,
|
|
3805
3805
|
aB as recordSubtableRowAdd,
|
|
3806
3806
|
aC2 as recordSubtableRowDelete,
|
|
3807
|
-
|
|
3807
|
+
bf as refUtils,
|
|
3808
3808
|
ct as relocateDeletedRowsToEnd,
|
|
3809
3809
|
renderUtils,
|
|
3810
3810
|
cu as requestMedProCheckDsData,
|
|
@@ -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 { ap as resolveDiagonalVertex, a9 as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-
|
|
2
|
+
import { h as useModelFields, D as Diagonal } from "./index-Dlihqay0.js";
|
|
3
|
+
import { ap as resolveDiagonalVertex, a9 as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-8yB6zly8.js";
|
|
4
4
|
import "lodash-es";
|
|
5
5
|
import "dayjs";
|
|
6
6
|
import "@gct-paas/form-base";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { reactive, toRaw, computed, watch, onScopeDispose, inject, h, shallowReactive, markRaw, ref, nextTick, toRef, provide, defineComponent, openBlock, createElementBlock, mergeProps, unref, createElementVNode, normalizeClass, renderSlot, createCommentVNode, createVNode, toDisplayString, Fragment, renderList, onUnmounted, isVNode, onMounted, onBeforeMount, resolveComponent, createBlock, withCtx, createTextVNode } from "vue";
|
|
2
|
-
import { aj as CellWidgetViewState, F as FIELD_TYPE,
|
|
2
|
+
import { aj as CellWidgetViewState, F as FIELD_TYPE, bm as RenderModeEnum, Z as FormTypeEnum, bG as BpmnNodeTypeEnum, cz as getFieldPlaceholder, bY as MobileFillTypeEnum, C as ComponentTypeEnum, a0 as PlatformEnum, cA as isReferenceOptionActive, p as api, bw as uuid2, c6 as calcUtils, bk as findRuntimeTableRow, ca as ensureTableRowKeys, c3 as bindRuntimeTableColumns, bj as getRowId, cB as FRONT_ROW_KEY, cp as isTableRowKeyMatch, by as isAttachFieldActive, cC as filterRulesByTrigger, cD as isEmptyValue$1, c7 as decodeTableCellRowKey, c9 as ensureFrontRowKey, b2 as getParseRuleInfo, aH as transformUtils, aZ as materialCheck, a_ as getLotLockedReason, a$ as validateReinspectionDate, bp as FormulaRuleFieldKeyEnum, h as SubTableType, b3 as getParseRuleValue, cE as buildError, I as CreateType, bn as findRuntimeParentRow, aK as Dependency_ENUM, aJ as ASSIGNMENTSTRATEGY_ENUM, bL as commonUtils, aO as DeviceLink, a9 as _export_sfc, cj as getRenderedRuntimeTableCell, A as CellType, ct as relocateDeletedRowsToEnd, cF as resetTableRowIdentity, K as useModal, cG as q, cH as QUICK_FILL_ALLOWED_FIELDS, cI as groupFixedTableRows, cJ as processQuickFillRows, cK as getIsGroupEmpty } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-8yB6zly8.js";
|
|
3
3
|
import { cloneDeep, isEmpty, has, pickBy, isNil, mergeWith, omit, last, pick, merge } from "lodash-es";
|
|
4
4
|
import dayjs from "dayjs";
|
|
5
5
|
import { a as useNamespace, I as Icon } from "./AntdIcon-DCIaV352.js";
|
|
6
6
|
import "@gct-paas/form-base";
|
|
7
7
|
import { Modal, message } from "ant-design-vue";
|
|
8
|
-
import { u as useFormModel } from "./mb-render-
|
|
8
|
+
import { u as useFormModel } from "./mb-render-_IUbyYCY.js";
|
|
9
9
|
var MaterialConsumptionPatternEnum = /* @__PURE__ */ ((MaterialConsumptionPatternEnum2) => {
|
|
10
10
|
MaterialConsumptionPatternEnum2["RECORD"] = "record";
|
|
11
11
|
MaterialConsumptionPatternEnum2["BOM"] = "bom";
|
|
@@ -7065,7 +7065,7 @@ async function validateObjectBomQtyOnSubmit(opts) {
|
|
|
7065
7065
|
for (const obj of objectFieldList) {
|
|
7066
7066
|
if (!obj?.objectField) continue;
|
|
7067
7067
|
const objectBom = findObjectBom(formInstBom, obj.objectField);
|
|
7068
|
-
if (objectBom?.material_consumption_pattern_ === MaterialConsumptionPatternEnum.RECORD) {
|
|
7068
|
+
if (objectBom?.material_consumption_pattern_ === MaterialConsumptionPatternEnum.RECORD && !objectBom.personal_bom_enabled_) {
|
|
7069
7069
|
continue;
|
|
7070
7070
|
}
|
|
7071
7071
|
const { productKey, productFieldName, qtyKey, qtyRequiredKey, qtyFieldName } = pickObjectFieldKeys(obj.subFields, obj.objectField);
|
|
@@ -8342,6 +8342,7 @@ const DocumentSubTable = /* @__PURE__ */ defineComponent({
|
|
|
8342
8342
|
showDisplayStatus,
|
|
8343
8343
|
dataRelationShip
|
|
8344
8344
|
} = useWidgetStaticAttrs(props.widget);
|
|
8345
|
+
const isMockMaterialConsume = computed(() => !!dataRelationShip?.isMockReport && !!props.widget.props.isMaterialConsumeTable);
|
|
8345
8346
|
const sheetId = () => fields.value?.findWidgetById(props.widget.id)?.sheetId;
|
|
8346
8347
|
const subTableCore = props.subTableCore;
|
|
8347
8348
|
provide(NCB_PROVIDE.SUB_TABLE_CORE, subTableCore);
|
|
@@ -8482,6 +8483,9 @@ const DocumentSubTable = /* @__PURE__ */ defineComponent({
|
|
|
8482
8483
|
key,
|
|
8483
8484
|
actionValue
|
|
8484
8485
|
}) => {
|
|
8486
|
+
if (isMockMaterialConsume.value && (key === SubTableActionEnum.SCAN || key === SubTableActionEnum.Insert1GroupAfter)) {
|
|
8487
|
+
return;
|
|
8488
|
+
}
|
|
8485
8489
|
switch (key) {
|
|
8486
8490
|
case "insertRowBefore":
|
|
8487
8491
|
handleAddRow({
|
|
@@ -8575,10 +8579,11 @@ const DocumentSubTable = /* @__PURE__ */ defineComponent({
|
|
|
8575
8579
|
showRowWatermark,
|
|
8576
8580
|
rowGroupKey
|
|
8577
8581
|
}) => {
|
|
8578
|
-
const
|
|
8582
|
+
const baseMenus = subTableCore?.calcSubTableActionMenu({
|
|
8579
8583
|
rowData,
|
|
8580
8584
|
showDelBtn
|
|
8581
8585
|
});
|
|
8586
|
+
const menus = isMockMaterialConsume.value ? [getMenuByAction(SubTableActionEnum.SCAN), getMenuByAction(SubTableActionEnum.Insert1GroupAfter), ...baseMenus ?? []] : baseMenus;
|
|
8582
8587
|
const annRowDetails = dataRelationShip?.annRowDetails;
|
|
8583
8588
|
const rowMark = dataIdx !== -1 && annRowDetails?.length ? resolveRowFormChangeMark(field, rowData, annRowDetails) : null;
|
|
8584
8589
|
const rowUi = resolveFormChangeRowUi(rowData, rowMark);
|
|
@@ -10251,7 +10256,7 @@ const DocumentPaper = /* @__PURE__ */ defineComponent({
|
|
|
10251
10256
|
}) : null,
|
|
10252
10257
|
// 在[固定表]顶部的可见单元格上加装操作按钮
|
|
10253
10258
|
tableAction: (() => {
|
|
10254
|
-
const fixedTableActionVisible = fixedTableInfo?.quickFillVisible && !filledFixedTableKeys.value.includes(fixedTableInfo.subFieldKey);
|
|
10259
|
+
const fixedTableActionVisible = props.basicInfo.renderModeType !== RenderModeEnum.ViewMode && fixedTableInfo?.quickFillVisible && !filledFixedTableKeys.value.includes(fixedTableInfo.subFieldKey);
|
|
10255
10260
|
return () => fixedTableActionVisible ? createVNode(_sfc_main$2, {
|
|
10256
10261
|
"tdId": tdId,
|
|
10257
10262
|
"formState": formState.value,
|
|
@@ -10484,9 +10489,10 @@ export {
|
|
|
10484
10489
|
resolveScanAdjustType as aQ,
|
|
10485
10490
|
resolveScanQty as aR,
|
|
10486
10491
|
toDateOnly as aS,
|
|
10487
|
-
|
|
10488
|
-
|
|
10489
|
-
|
|
10492
|
+
hasSubtableBusinessData as aT,
|
|
10493
|
+
getCopySubMenu as aU,
|
|
10494
|
+
resolveScanParsedValue as aV,
|
|
10495
|
+
isProductBatchEmptyRow as aW,
|
|
10490
10496
|
DynamicQuickFillModal as aa,
|
|
10491
10497
|
FixedQuickFillModal as ab,
|
|
10492
10498
|
FormTmplConfigController as ac,
|
|
@@ -1527,6 +1527,14 @@ const FieldIconMap = {
|
|
|
1527
1527
|
"qty"
|
|
1528
1528
|
/* QTY */
|
|
1529
1529
|
]: "icon-shuliang",
|
|
1530
|
+
[
|
|
1531
|
+
"object_type"
|
|
1532
|
+
/* OBJECT_TYPE */
|
|
1533
|
+
]: "icon-duixiang bd-iconfont",
|
|
1534
|
+
[
|
|
1535
|
+
"material_consume"
|
|
1536
|
+
/* MATERIAL_CONSUME */
|
|
1537
|
+
]: "icon-field-product",
|
|
1530
1538
|
[
|
|
1531
1539
|
"model_relation"
|
|
1532
1540
|
/* MODEL_RELATION */
|
|
@@ -1954,7 +1962,7 @@ const PRODUCT_QUICK_SEARCH_FIELDS = [
|
|
|
1954
1962
|
"spec_.like"
|
|
1955
1963
|
];
|
|
1956
1964
|
const PRODUCT_QUICK_SEARCH_EXP = `OR(${PRODUCT_QUICK_SEARCH_FIELDS.join(",")})`;
|
|
1957
|
-
const fields$
|
|
1965
|
+
const fields$g = [
|
|
1958
1966
|
{
|
|
1959
1967
|
match: { fieldKey: F$c.product },
|
|
1960
1968
|
defaultProps: {
|
|
@@ -2015,7 +2023,7 @@ const profile$h = {
|
|
|
2015
2023
|
refModelType: "WAREHOUSE_IN",
|
|
2016
2024
|
tableType: SubTableType.WAREHOUSE_IN
|
|
2017
2025
|
},
|
|
2018
|
-
fields: fields$
|
|
2026
|
+
fields: fields$g,
|
|
2019
2027
|
contextAssignments: [
|
|
2020
2028
|
{ when: "onRowInit", fieldKey: F$c.warehouse, paramKey: "warehouseId", onlyIfEmpty: true },
|
|
2021
2029
|
{ when: "onRowInit", fieldKey: F$c.mfgOrder, paramKey: "mfgOrderId", onlyIfEmpty: true },
|
|
@@ -2132,7 +2140,7 @@ const FILL_FROM_INVENTORY_OPTION$4 = [
|
|
|
2132
2140
|
{ optionField: "validate_", toField: F$b.validity },
|
|
2133
2141
|
{ optionField: "re_inspection_date_", toField: F$b.reInspectionDate }
|
|
2134
2142
|
];
|
|
2135
|
-
const fields$
|
|
2143
|
+
const fields$f = [
|
|
2136
2144
|
{
|
|
2137
2145
|
match: { fieldKey: [...DISABLED_INPUT_FIELDS$8] },
|
|
2138
2146
|
defaultProps: {
|
|
@@ -2165,7 +2173,7 @@ const profile$g = {
|
|
|
2165
2173
|
refModelType: "WAREHOUSE_OUT",
|
|
2166
2174
|
tableType: SubTableType.WAREHOUSE_OUT
|
|
2167
2175
|
},
|
|
2168
|
-
fields: fields$
|
|
2176
|
+
fields: fields$f,
|
|
2169
2177
|
contextAssignments: [
|
|
2170
2178
|
{ when: "onRowInit", fieldKey: F$b.warehouse, paramKey: "warehouseId", onlyIfEmpty: true },
|
|
2171
2179
|
{ when: "onRowInit", fieldKey: F$b.mfgOrder, paramKey: "mfgOrderId", onlyIfEmpty: true },
|
|
@@ -2247,7 +2255,7 @@ const FILL_FROM_PART_OPTION = [
|
|
|
2247
2255
|
{ optionField: "unit_", toField: F$a.qtyUom }
|
|
2248
2256
|
];
|
|
2249
2257
|
const PART_QUICK_SEARCH_FIELDS = ["part_code_.iLike", "part_name_.iLike"];
|
|
2250
|
-
const fields$
|
|
2258
|
+
const fields$e = [
|
|
2251
2259
|
{
|
|
2252
2260
|
match: { fieldKey: F$a.part },
|
|
2253
2261
|
defaultProps: {
|
|
@@ -2294,7 +2302,7 @@ const profile$f = {
|
|
|
2294
2302
|
refModelType: "WAREHOUSE_INBOUND",
|
|
2295
2303
|
tableType: SubTableType.WAREHOUSE_INBOUND
|
|
2296
2304
|
},
|
|
2297
|
-
fields: fields$
|
|
2305
|
+
fields: fields$e,
|
|
2298
2306
|
contextAssignments: [
|
|
2299
2307
|
{ when: "onRowInit", fieldKey: F$a.warehouse, paramKey: "warehouseId", onlyIfEmpty: true }
|
|
2300
2308
|
],
|
|
@@ -2381,7 +2389,7 @@ const FILL_FROM_INVENTORY_OPTION$3 = [
|
|
|
2381
2389
|
{ optionField: "uom_id_", toField: F$9.qtyUom },
|
|
2382
2390
|
{ optionField: "validate_", toField: F$9.validity }
|
|
2383
2391
|
];
|
|
2384
|
-
const fields$
|
|
2392
|
+
const fields$d = [
|
|
2385
2393
|
{
|
|
2386
2394
|
match: { fieldKey: F$9.part },
|
|
2387
2395
|
autofillTemplates: FILL_FROM_INVENTORY_OPTION$3.map(({ optionField, toField }) => ({
|
|
@@ -2424,7 +2432,7 @@ const profile$e = {
|
|
|
2424
2432
|
refModelType: "WAREHOUSE_OUTBOUND",
|
|
2425
2433
|
tableType: SubTableType.WAREHOUSE_OUTBOUND
|
|
2426
2434
|
},
|
|
2427
|
-
fields: fields$
|
|
2435
|
+
fields: fields$d,
|
|
2428
2436
|
rowHandlers: [{ when: "onFieldChange", watch: [F$9.part], handler: "on-part-id-change" }],
|
|
2429
2437
|
runtimeRules: [
|
|
2430
2438
|
{
|
|
@@ -2566,7 +2574,7 @@ const INVENTORY_BASE_FIELDS = [
|
|
|
2566
2574
|
F$8.productSpec,
|
|
2567
2575
|
F$8.warehouse
|
|
2568
2576
|
];
|
|
2569
|
-
const fields$
|
|
2577
|
+
const fields$c = [
|
|
2570
2578
|
{
|
|
2571
2579
|
match: { fieldKey: [...DESIGN_DISABLED_INPUT_FIELDS] },
|
|
2572
2580
|
defaultProps: {
|
|
@@ -2621,7 +2629,7 @@ const profile$d = {
|
|
|
2621
2629
|
/** 默认按库位精细 */
|
|
2622
2630
|
stocktakeDimension: STOCKTAKE_DIMENSION.locationDetail
|
|
2623
2631
|
},
|
|
2624
|
-
fields: fields$
|
|
2632
|
+
fields: fields$c,
|
|
2625
2633
|
contextAssignments: [
|
|
2626
2634
|
{ when: "onRowInit", fieldKey: F$8.warehouse, paramKey: "warehouseId", onlyIfEmpty: true }
|
|
2627
2635
|
],
|
|
@@ -2811,7 +2819,7 @@ const FILL_FROM_INVENTORY_OPTION$2 = [
|
|
|
2811
2819
|
{ optionField: "stock_num_", toField: F$7.stock },
|
|
2812
2820
|
{ optionField: "uom_id_", toField: F$7.qtyUom }
|
|
2813
2821
|
];
|
|
2814
|
-
const fields$
|
|
2822
|
+
const fields$b = [
|
|
2815
2823
|
{
|
|
2816
2824
|
match: { fieldKey: F$7.part },
|
|
2817
2825
|
autofillTemplates: FILL_FROM_INVENTORY_OPTION$2.map(({ optionField, toField }) => ({
|
|
@@ -2853,7 +2861,7 @@ const profile$c = {
|
|
|
2853
2861
|
refModelType: "PART_STOCKTAKE",
|
|
2854
2862
|
tableType: SubTableType.PART_STOCKTAKE
|
|
2855
2863
|
},
|
|
2856
|
-
fields: fields$
|
|
2864
|
+
fields: fields$b,
|
|
2857
2865
|
rowHandlers: [
|
|
2858
2866
|
{ when: "onFieldChange", watch: [F$7.part], handler: "on-part-id-change" },
|
|
2859
2867
|
{
|
|
@@ -2978,7 +2986,7 @@ const FILL_FROM_INVENTORY_OPTION$1 = [
|
|
|
2978
2986
|
{ optionField: "storage_zone_id_", toField: F$6.storageZone },
|
|
2979
2987
|
{ optionField: "location_id_", toField: F$6.location }
|
|
2980
2988
|
];
|
|
2981
|
-
const fields$
|
|
2989
|
+
const fields$a = [
|
|
2982
2990
|
{
|
|
2983
2991
|
match: { fieldKey: F$6.part },
|
|
2984
2992
|
autofillTemplates: FILL_FROM_INVENTORY_OPTION$1.map(({ optionField, toField }) => ({
|
|
@@ -3020,7 +3028,7 @@ const profile$b = {
|
|
|
3020
3028
|
refModelType: "DEVICE_PART_CONSUME",
|
|
3021
3029
|
tableType: SubTableType.DEVICE_PART_CONSUME
|
|
3022
3030
|
},
|
|
3023
|
-
fields: fields$
|
|
3031
|
+
fields: fields$a,
|
|
3024
3032
|
rowHandlers: [{ when: "onFieldChange", watch: [F$6.part], handler: "on-part-id-change" }],
|
|
3025
3033
|
runtimeRules: [
|
|
3026
3034
|
{
|
|
@@ -3126,7 +3134,7 @@ const FILL_FROM_INVENTORY_OPTION = [
|
|
|
3126
3134
|
{ optionField: "validate_", toField: F$5.validity },
|
|
3127
3135
|
{ optionField: "re_inspection_date_", toField: F$5.reInspectionDate }
|
|
3128
3136
|
];
|
|
3129
|
-
const fields$
|
|
3137
|
+
const fields$9 = [
|
|
3130
3138
|
{
|
|
3131
3139
|
match: { fieldKey: [...DISABLED_INPUT_FIELDS$3] },
|
|
3132
3140
|
defaultProps: {
|
|
@@ -3159,7 +3167,7 @@ const profile$a = {
|
|
|
3159
3167
|
refModelType: "ALLOCATE",
|
|
3160
3168
|
tableType: SubTableType.ALLOCATE
|
|
3161
3169
|
},
|
|
3162
|
-
fields: fields$
|
|
3170
|
+
fields: fields$9,
|
|
3163
3171
|
contextAssignments: [
|
|
3164
3172
|
{ when: "onRowInit", fieldKey: F$5.originWarehouse, paramKey: "warehouseId", onlyIfEmpty: true },
|
|
3165
3173
|
{ when: "onRowInit", fieldKey: F$5.mfgOrder, paramKey: "mfgOrderId", onlyIfEmpty: true },
|
|
@@ -3190,7 +3198,7 @@ function handleProductIdChange$1(ctx) {
|
|
|
3190
3198
|
registerRowHandler(TABLE_TYPE$9, "on-product-id-change", ({ rowData }) => {
|
|
3191
3199
|
handleProductIdChange$1({ rowData });
|
|
3192
3200
|
});
|
|
3193
|
-
const fields$
|
|
3201
|
+
const fields$8 = [
|
|
3194
3202
|
{
|
|
3195
3203
|
match: { fieldKey: ["qty_", "qty_required_"] },
|
|
3196
3204
|
defaultProps: {
|
|
@@ -3215,14 +3223,14 @@ const profile$9 = {
|
|
|
3215
3223
|
refModelType: "MATERIAL_CONSUME",
|
|
3216
3224
|
tableType: SubTableType.MATERIAL_CONSUMPTION
|
|
3217
3225
|
},
|
|
3218
|
-
fields: fields$
|
|
3226
|
+
fields: fields$8,
|
|
3219
3227
|
theme: {
|
|
3220
3228
|
color: "#4891B3",
|
|
3221
3229
|
background: "rgba(72,145,179,0.2)",
|
|
3222
3230
|
labelBjColor: "rgba(72,145,179,0.8)"
|
|
3223
3231
|
}
|
|
3224
3232
|
};
|
|
3225
|
-
const fields$
|
|
3233
|
+
const fields$7 = [
|
|
3226
3234
|
{
|
|
3227
3235
|
match: {
|
|
3228
3236
|
fieldKey: ["amount_received_qty_", "actual_output_qty_", "loss_amount_qty_", "consume_qty_"]
|
|
@@ -3232,6 +3240,14 @@ const fields$6 = [
|
|
|
3232
3240
|
minValidateMode: RangeValidateMode.Fixed_Number,
|
|
3233
3241
|
minValue: 0
|
|
3234
3242
|
}
|
|
3243
|
+
},
|
|
3244
|
+
{
|
|
3245
|
+
match: { fieldKey: ["material_id_", "material_balance_percent_"] },
|
|
3246
|
+
defaultProps: {
|
|
3247
|
+
disabled: true,
|
|
3248
|
+
fieldDisabled: true,
|
|
3249
|
+
required: false
|
|
3250
|
+
}
|
|
3235
3251
|
}
|
|
3236
3252
|
];
|
|
3237
3253
|
const TABLE_TYPE$7 = "material-balance";
|
|
@@ -3249,7 +3265,7 @@ const profile$8 = {
|
|
|
3249
3265
|
refModelType: "MATERIAL_BALANCE",
|
|
3250
3266
|
tableType: SubTableType.MATERIAL_BALANCE
|
|
3251
3267
|
},
|
|
3252
|
-
fields: fields$
|
|
3268
|
+
fields: fields$7,
|
|
3253
3269
|
theme: {
|
|
3254
3270
|
color: "#6FB38B",
|
|
3255
3271
|
background: "rgba(111,179,139,0.2)",
|
|
@@ -3274,7 +3290,7 @@ const F$4 = {
|
|
|
3274
3290
|
};
|
|
3275
3291
|
const DISABLED_INPUT_FIELDS$2 = [F$4.productName, F$4.productCode, F$4.productSpec];
|
|
3276
3292
|
const CLEAR_ON_PRODUCT_EMPTY$1 = [F$4.productName, F$4.productCode, F$4.productSpec];
|
|
3277
|
-
const fields$
|
|
3293
|
+
const fields$6 = [
|
|
3278
3294
|
{
|
|
3279
3295
|
match: { fieldKey: F$4.product },
|
|
3280
3296
|
autofillTemplates: [
|
|
@@ -3327,7 +3343,7 @@ const profile$7 = {
|
|
|
3327
3343
|
refModelType: "MATERIAL_REQUISITION",
|
|
3328
3344
|
tableType: SubTableType.MATERIAL_REQUISITION
|
|
3329
3345
|
},
|
|
3330
|
-
fields: fields$
|
|
3346
|
+
fields: fields$6,
|
|
3331
3347
|
contextAssignments: [
|
|
3332
3348
|
{ when: "onRowInit", fieldKey: F$4.mfgOrder, paramKey: "mfgOrderId", onlyIfEmpty: true },
|
|
3333
3349
|
{ when: "onRowInit", fieldKey: F$4.lotSn, paramKey: "lotSnId", onlyIfEmpty: true }
|
|
@@ -3458,7 +3474,7 @@ const CLEAR_ON_TARGET_PRODUCT_EMPTY = [
|
|
|
3458
3474
|
F$3.targetProductSpec,
|
|
3459
3475
|
F$3.targetQtyConsumed
|
|
3460
3476
|
];
|
|
3461
|
-
const fields$
|
|
3477
|
+
const fields$5 = [
|
|
3462
3478
|
{
|
|
3463
3479
|
match: { fieldKey: F$3.targetProduct },
|
|
3464
3480
|
autofillTemplates: FILL_FROM_TARGET_PRODUCT_OPTION.map(({ optionField, toField, name: name2 }) => ({
|
|
@@ -3529,7 +3545,7 @@ const profile$6 = {
|
|
|
3529
3545
|
refModelType: "MATERIAL_SUBSTITUTION",
|
|
3530
3546
|
tableType: SubTableType.MATERIAL_SUBSTITUTION
|
|
3531
3547
|
},
|
|
3532
|
-
fields: fields$
|
|
3548
|
+
fields: fields$5,
|
|
3533
3549
|
rowHandlers: [
|
|
3534
3550
|
{
|
|
3535
3551
|
when: "onFieldChange",
|
|
@@ -3601,7 +3617,7 @@ const F$2 = {
|
|
|
3601
3617
|
/** 复核人 */
|
|
3602
3618
|
reviewer: "reviewer_"
|
|
3603
3619
|
};
|
|
3604
|
-
const fields$
|
|
3620
|
+
const fields$4 = [
|
|
3605
3621
|
{
|
|
3606
3622
|
match: { fieldKey: F$2.inspectionDate },
|
|
3607
3623
|
defaultProps: {
|
|
@@ -3636,7 +3652,7 @@ const profile$5 = {
|
|
|
3636
3652
|
refModelType: onlineFormMasterModelTypeEnum.POINT_INSPECTION,
|
|
3637
3653
|
tableType: SubTableType.FIXED
|
|
3638
3654
|
},
|
|
3639
|
-
fields: fields$
|
|
3655
|
+
fields: fields$4
|
|
3640
3656
|
};
|
|
3641
3657
|
const F$1 = {
|
|
3642
3658
|
/** 点检日期 */
|
|
@@ -3646,7 +3662,7 @@ const F$1 = {
|
|
|
3646
3662
|
/** 复核人 */
|
|
3647
3663
|
reviewer: "reviewer_"
|
|
3648
3664
|
};
|
|
3649
|
-
const fields$
|
|
3665
|
+
const fields$3 = [
|
|
3650
3666
|
{
|
|
3651
3667
|
match: { fieldKey: F$1.inspectionDate },
|
|
3652
3668
|
defaultProps: {
|
|
@@ -3681,7 +3697,7 @@ const profile$4 = {
|
|
|
3681
3697
|
refModelType: onlineFormMasterModelTypeEnum.MAINTENANCE,
|
|
3682
3698
|
tableType: SubTableType.FIXED
|
|
3683
3699
|
},
|
|
3684
|
-
fields: fields$
|
|
3700
|
+
fields: fields$3
|
|
3685
3701
|
};
|
|
3686
3702
|
const LOCKED_INPUT_FIELDS = [
|
|
3687
3703
|
"product_id_",
|
|
@@ -3691,6 +3707,37 @@ const LOCKED_INPUT_FIELDS = [
|
|
|
3691
3707
|
"mfg_order_code_",
|
|
3692
3708
|
"mfg_order_id_"
|
|
3693
3709
|
];
|
|
3710
|
+
const fields$2 = [
|
|
3711
|
+
{
|
|
3712
|
+
match: {
|
|
3713
|
+
fieldKey: [
|
|
3714
|
+
"product_id_",
|
|
3715
|
+
"product_id_name_",
|
|
3716
|
+
"product_id_code_",
|
|
3717
|
+
"product_id_spec_",
|
|
3718
|
+
"mfg_order_id_",
|
|
3719
|
+
"mfg_order_code_"
|
|
3720
|
+
]
|
|
3721
|
+
},
|
|
3722
|
+
defaultProps: {
|
|
3723
|
+
disabled: true,
|
|
3724
|
+
fieldDisabled: true,
|
|
3725
|
+
required: false
|
|
3726
|
+
}
|
|
3727
|
+
},
|
|
3728
|
+
{
|
|
3729
|
+
match: { fieldKey: "qty_" },
|
|
3730
|
+
defaultProps: {
|
|
3731
|
+
enableRangeValidate: true,
|
|
3732
|
+
minValidateMode: RangeValidateMode.Fixed_Number,
|
|
3733
|
+
minValue: 0
|
|
3734
|
+
}
|
|
3735
|
+
},
|
|
3736
|
+
{
|
|
3737
|
+
match: { fieldKey: [...LOCKED_INPUT_FIELDS] },
|
|
3738
|
+
defaultProps: { required: true, disabled: true, fieldDisabled: true }
|
|
3739
|
+
}
|
|
3740
|
+
];
|
|
3694
3741
|
const TABLE_TYPE$2 = "entrust-steril-batch-list";
|
|
3695
3742
|
const profile$3 = {
|
|
3696
3743
|
type: TABLE_TYPE$2,
|
|
@@ -3707,20 +3754,7 @@ const profile$3 = {
|
|
|
3707
3754
|
refModelType: "PRODUCTION_CONTAINER_LIST_4_STERILIZATION",
|
|
3708
3755
|
tableType: SubTableType.STERILIZE_BATCH
|
|
3709
3756
|
},
|
|
3710
|
-
fields:
|
|
3711
|
-
{
|
|
3712
|
-
match: { fieldKey: "qty_" },
|
|
3713
|
-
defaultProps: {
|
|
3714
|
-
enableRangeValidate: true,
|
|
3715
|
-
minValidateMode: RangeValidateMode.Fixed_Number,
|
|
3716
|
-
minValue: 0
|
|
3717
|
-
}
|
|
3718
|
-
},
|
|
3719
|
-
{
|
|
3720
|
-
match: { fieldKey: [...LOCKED_INPUT_FIELDS] },
|
|
3721
|
-
defaultProps: { required: true, disabled: true, fieldDisabled: true }
|
|
3722
|
-
}
|
|
3723
|
-
],
|
|
3757
|
+
fields: fields$2,
|
|
3724
3758
|
theme: {
|
|
3725
3759
|
color: "#2196D5",
|
|
3726
3760
|
background: "rgba(33,150,213,0.2)",
|
|
@@ -3807,7 +3841,6 @@ const FILL_FROM_CONTAINER_OPTION = [
|
|
|
3807
3841
|
{ optionField: F.productName, toField: F.productName },
|
|
3808
3842
|
{ optionField: F.productCode, toField: F.productCode },
|
|
3809
3843
|
{ optionField: F.productSpec, toField: F.productSpec },
|
|
3810
|
-
{ optionField: F.mfgOrder, toField: F.mfgOrder },
|
|
3811
3844
|
{ optionField: F.mfgOrderCode, toField: F.mfgOrderCode },
|
|
3812
3845
|
{ optionField: "real_start_date_", toField: F.productionDate },
|
|
3813
3846
|
{ optionField: F.qty, toField: F.qty }
|
|
@@ -67523,27 +67556,27 @@ var loadModule = (cmpMeta, hostRef, hmrVersionId) => {
|
|
|
67523
67556
|
case "revo-grid":
|
|
67524
67557
|
return import(
|
|
67525
67558
|
/* webpackMode: "lazy" */
|
|
67526
|
-
"./revo-grid.entry-
|
|
67559
|
+
"./revo-grid.entry-BZADj2ve.js"
|
|
67527
67560
|
).then(processMod, consoleError);
|
|
67528
67561
|
case "revogr-filter-panel":
|
|
67529
67562
|
return import(
|
|
67530
67563
|
/* webpackMode: "lazy" */
|
|
67531
|
-
"./revogr-filter-panel.entry-
|
|
67564
|
+
"./revogr-filter-panel.entry-BJEYteeW.js"
|
|
67532
67565
|
).then(processMod, consoleError);
|
|
67533
67566
|
case "revogr-attribution_7":
|
|
67534
67567
|
return import(
|
|
67535
67568
|
/* webpackMode: "lazy" */
|
|
67536
|
-
"./revogr-attribution_7.entry-
|
|
67569
|
+
"./revogr-attribution_7.entry-DbQASE7d.js"
|
|
67537
67570
|
).then(processMod, consoleError);
|
|
67538
67571
|
case "revogr-clipboard_3":
|
|
67539
67572
|
return import(
|
|
67540
67573
|
/* webpackMode: "lazy" */
|
|
67541
|
-
"./revogr-clipboard_3.entry-
|
|
67574
|
+
"./revogr-clipboard_3.entry-BUDhUelS.js"
|
|
67542
67575
|
).then(processMod, consoleError);
|
|
67543
67576
|
case "revogr-data_4":
|
|
67544
67577
|
return import(
|
|
67545
67578
|
/* webpackMode: "lazy" */
|
|
67546
|
-
"./revogr-data_4.entry-
|
|
67579
|
+
"./revogr-data_4.entry-0V57Lz9p.js"
|
|
67547
67580
|
).then(processMod, consoleError);
|
|
67548
67581
|
}
|
|
67549
67582
|
}
|
|
@@ -77911,19 +77944,19 @@ export {
|
|
|
77911
77944
|
MobileFillTypeEnum as bY,
|
|
77912
77945
|
OfficeTypeEnum as bZ,
|
|
77913
77946
|
PosEnum as b_,
|
|
77914
|
-
|
|
77915
|
-
|
|
77916
|
-
|
|
77917
|
-
|
|
77918
|
-
|
|
77919
|
-
|
|
77920
|
-
|
|
77921
|
-
|
|
77922
|
-
|
|
77923
|
-
|
|
77924
|
-
|
|
77925
|
-
|
|
77926
|
-
|
|
77947
|
+
stampSealValue as ba,
|
|
77948
|
+
isValidSealValue as bb,
|
|
77949
|
+
clearSealValue as bc,
|
|
77950
|
+
normalizeProductionContainerOptions as bd,
|
|
77951
|
+
buildProductionLotListQuery as be,
|
|
77952
|
+
refUtils as bf,
|
|
77953
|
+
buildInspectionLotListQuery as bg,
|
|
77954
|
+
buildDeviceFilterQuery as bh,
|
|
77955
|
+
DEVICE_GROUP_QUERY_KEY as bi,
|
|
77956
|
+
getRowId as bj,
|
|
77957
|
+
findRuntimeTableRow as bk,
|
|
77958
|
+
calculateFormula as bl,
|
|
77959
|
+
RenderModeEnum as bm,
|
|
77927
77960
|
findRuntimeParentRow as bn,
|
|
77928
77961
|
useOnlineFormTransformField2Component as bo,
|
|
77929
77962
|
FormulaRuleFieldKeyEnum as bp,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { el as EDIT_INPUT_WR, em as keyValues, ed as codesLetter } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-
|
|
1
|
+
import { el as EDIT_INPUT_WR, em as keyValues, ed as codesLetter } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-8yB6zly8.js";
|
|
2
2
|
function isClear(code) {
|
|
3
3
|
return codesLetter.BACKSPACE === code || codesLetter.DELETE === code;
|
|
4
4
|
}
|