@gct-paas/excel 0.1.28-beta.21 → 0.1.28-beta.23
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/{VueVideoPlayer-DCU2I_H7.js → VueVideoPlayer-CjwaFHHX.js} +2 -2
- package/dist/{agg-design-RbW6fgNa.js → agg-design-Dhwx3iIe.js} +1 -1
- package/dist/{agg-props-CfoEBrRu.js → agg-props-Dzh3LlnL.js} +1 -1
- package/dist/{agg-style-CgbQAKr0.js → agg-style-2zYm-piX.js} +1 -1
- package/dist/{align-editor-B80IEr3w.js → align-editor-BKp0BWVV.js} +1 -1
- package/dist/{attach-fields-editor-BIiVvohl.js → attach-fields-editor-BYy5kaIL.js} +2 -2
- package/dist/{barcode-design-DOLYhwbG.js → barcode-design-DU6JglYw.js} +2 -2
- package/dist/base/index.es.js +123 -78
- package/dist/{base-font-editor-e9sd4IkJ.js → base-font-editor-DnxM0DmI.js} +2 -2
- package/dist/{boolean-design-Dlu6lW8d.js → boolean-design-CbeVxDgS.js} +2 -2
- package/dist/{boolean-props-s96hsuRe.js → boolean-props-5N05X2u0.js} +3 -3
- package/dist/{boolean-style-f5mMhRME.js → boolean-style-DQblrTND.js} +4 -4
- package/dist/{cell-upload-DYgGT9In.js → cell-upload-DBTWKIVz.js} +2 -2
- package/dist/{date-range-editor-BUGosnLi.js → date-range-editor-6cAbv3B1.js} +2 -2
- package/dist/{date-time-design-BdZ_d-PG.js → date-time-design-Des2BEGG.js} +2 -2
- package/dist/{date-time-props-tlQ_cWpv.js → date-time-props-D7pwNLEY.js} +3 -3
- package/dist/{date-time-style--7vBwDaL.js → date-time-style-frGaaQd7.js} +1 -1
- package/dist/{decimal-design-C0K5wkAw.js → decimal-design-9Kc4ODP3.js} +1 -1
- package/dist/{decimal-display-mode-C3qGt4Zt.js → decimal-display-mode-C2bZg46c.js} +2 -2
- package/dist/{decimal-props-PGR7K6rT.js → decimal-props-Ky0di95I.js} +4 -4
- package/dist/{decimal-style-D2u4XTHf.js → decimal-style-C8R__F2V.js} +1 -1
- package/dist/{default-value-editor.vue_vue_type_script_setup_true_name_default-value-editor_lang-BWpYVxPc.js → default-value-editor.vue_vue_type_script_setup_true_name_default-value-editor_lang-COexxwJn.js} +2 -2
- package/dist/{diagonal-design-BrGfDqGb.js → diagonal-design-D1h8ocMl.js} +2 -2
- package/dist/{double-design-B1Uiy26Z.js → double-design-n6onlWq1.js} +1 -1
- package/dist/{double-props-yH1fU0x4.js → double-props-DfbO72Py.js} +4 -4
- package/dist/{double-style-BVx9woku.js → double-style-ox04qUyU.js} +1 -1
- package/dist/{dynamic-table-action-Bg2X8eeh.js → dynamic-table-action-C8He8bkE.js} +16 -7
- package/dist/{dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-B-KhKgs2.js → dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-KsGMmLaJ.js} +335 -244
- package/dist/{edit.utils-CXmmCnxE-C46O9P-0.js → edit.utils-CXmmCnxE-UHNJK-s6.js} +1 -1
- package/dist/{enum-design-D7-yLeJb.js → enum-design-DgSmNQh7.js} +2 -2
- package/dist/{enum-props-COQQfulB.js → enum-props-BiCEZ8tC.js} +3 -3
- package/dist/{enum-style-CcebnktY.js → enum-style-DDXlgEBZ.js} +3 -3
- package/dist/excel.css +84 -96
- package/dist/{exceljs.min-Muu74e_A.js → exceljs.min-z9OrZgyH.js} +2 -2
- package/dist/{expression-design-DIJRzVab.js → expression-design-BElbfk_V.js} +1 -1
- package/dist/{expression-props-Dd1_kGVD.js → expression-props-CgRjPGAE.js} +1 -1
- package/dist/{expression-style-Bp-2sfOx.js → expression-style-Bo-wcn7H.js} +1 -1
- package/dist/{file-design-DLIY-29d.js → file-design-f_7WnWPX.js} +1 -1
- package/dist/{file-props-QGxoOGHI.js → file-props-Barl3BQE.js} +2 -2
- package/dist/{file-style-CQZsWmvF.js → file-style-DqI6_YwG.js} +1 -1
- package/dist/{font-editor-DyrF1wB8.js → font-editor-58Iorx84.js} +3 -3
- package/dist/{image-design-eVwFd3tD.js → image-design-BM7BQp7K.js} +1 -1
- package/dist/{image-design-4odCIiI7.js → image-design-qdMxhDOL.js} +2 -2
- package/dist/{image-props-cT1RL-gD.js → image-props-NzNWX4eJ.js} +1 -1
- package/dist/{image-style-MnNoeDW2.js → image-style-DLU2_MKB.js} +1 -1
- package/dist/{index-C-e2nOug.js → index-9LbMRweK.js} +1 -1
- package/dist/{index-CRbhhL-C.js → index-B-mve-u8.js} +1 -1
- package/dist/{index-CMN7FUpJ.js → index-BBlHhFjs.js} +1 -1
- package/dist/{index-3JgiYInP.js → index-BRwJqT0u.js} +8 -5
- package/dist/{index-bk4bX2Xm.js → index-BXeQvuVT.js} +1 -1
- package/dist/{index-QFP7aiss.js → index-BhJsvk7G.js} +560 -309
- package/dist/{index-Bn9kqGy7.js → index-C4tLy2t0.js} +1 -1
- package/dist/{index-2I_EN7Yx.js → index-CR8AB6gv.js} +2 -2
- package/dist/{index-CO1k5u4I.js → index-C_dexMuc.js} +1 -1
- package/dist/{index-BEKNxaNo.js → index-Cs_fFwsH.js} +1 -1
- package/dist/{index-BcLaruk3.js → index-D4T--Otg.js} +1 -1
- package/dist/{index-BBnBDqub.js → index-DKsozXvi.js} +1 -1
- package/dist/{index-DW9FL8UO.js → index-DSvR6DB0.js} +2 -2
- package/dist/{index-CBIz0i4u.js → index-DUe8I_xh.js} +1 -1
- package/dist/{index-DlGnj7bK.js → index-DV6lzIzA.js} +1 -1
- package/dist/{index-Cjfws4Sx.js → index-DYeQhuL4.js} +1 -1
- package/dist/{index-DJRgFTjP.js → index-D_QFUhoC.js} +1 -1
- package/dist/{index-2gNIJ0-V.js → index-DfsW-h-x.js} +2 -2
- package/dist/{index-BC-6IALL.js → index-Dj6veJ8i.js} +1 -1
- package/dist/{index-CnH58RKA.js → index-DjMesa9b.js} +1 -1
- package/dist/{index-BITMorpM.js → index-DpovRczF.js} +2 -2
- package/dist/{index-BeFplGKa.js → index-DuhizsdR.js} +41 -109
- package/dist/{index-CEa50csS.js → index-HMB_I8Vg.js} +1 -1
- package/dist/{index-oabZhVuL.js → index-VSgZjGeR.js} +1 -1
- package/dist/{index-BidsDLhX.js → index-Ykjb1k7r.js} +1 -1
- package/dist/{index-kCtDgCx3.js → index-b6BcV4jG.js} +1 -1
- package/dist/{index-CaNmok7V.js → index-eoLtVYi1.js} +1 -1
- package/dist/{index-DS3Z0wlu.js → index-i23hJsQ0.js} +2 -2
- package/dist/{index-CLKf0Gla.js → index-iLPErenr.js} +2 -2
- package/dist/{index-islXi0nD.js → index-lG0q2Gjq.js} +2 -2
- package/dist/{index-BhgnUKpp.js → index-oJANdB7y.js} +1 -1
- package/dist/{index-DCucm9qw.js → index-vGnzGoa0.js} +1 -1
- package/dist/{index-tWQfSOrQ.js → index-zVOUJ9GR.js} +1 -1
- package/dist/index.es.js +46 -46
- package/dist/{integer-design-BD-LDEV_.js → integer-design-Br7uEUaS.js} +1 -1
- package/dist/{integer-props-DZvJ_bdU.js → integer-props-Z3B2pD3V.js} +4 -4
- package/dist/{integer-style-CxTdmZsN.js → integer-style-ubcVrP9I.js} +1 -1
- package/dist/{mb-render-B9PVK2lM.js → mb-render-DegdDw53.js} +2 -2
- package/dist/{number-input-ex-BpIoI25j.js → number-input-ex--bfJfCIF.js} +1 -1
- package/dist/{org-props-D0D94kmP.js → org-props-CI-ETWqf.js} +2 -2
- package/dist/{org-style-B_7Bhmgz.js → org-style-Uxhnssaf.js} +1 -1
- package/dist/{pagination-design-CWNP4U9A.js → pagination-design-Bu2Nirai.js} +2 -2
- package/dist/paper-widget-design-DBD1bJj0.js +4 -0
- package/dist/{qrcode-design-DeCNb5kH.js → qrcode-design-Blkq-uiY.js} +1 -1
- package/dist/{ref-autofill-editor-DQnrKJfB.js → ref-autofill-editor-BmwJedGI.js} +19 -6
- package/dist/{ref-props-BnrWZt61.js → ref-props-BPJ72A6r.js} +3 -4
- package/dist/{ref-style-BHBHe1mo.js → ref-style-BlLKh5s4.js} +1 -1
- package/dist/{regex-editor-ChABNYS9.js → regex-editor-BHDmkbmh.js} +2 -2
- package/dist/{revo-grid.entry-DIdL7jYD.js → revo-grid.entry-BVQqHvhJ.js} +1 -1
- package/dist/{revogr-attribution_7.entry-DBPjWGup.js → revogr-attribution_7.entry-C_L6Ub2O.js} +3 -3
- package/dist/{revogr-clipboard_3.entry-MYdZD9tl.js → revogr-clipboard_3.entry-B0wfOrAp.js} +2 -2
- package/dist/{revogr-data_4.entry-C4rrqPT4.js → revogr-data_4.entry-9DDnrh2u.js} +2 -2
- package/dist/{revogr-filter-panel.entry-BAU18Dos.js → revogr-filter-panel.entry-B5L1pkI1.js} +1 -1
- package/dist/{select-render-type-editor.vue_vue_type_script_setup_true_lang-D_WfbMb1.js → select-render-type-editor.vue_vue_type_script_setup_true_lang-tDvuq_Jl.js} +2 -2
- package/dist/{serialnumber-design-CckdQzWc.js → serialnumber-design-D_lZB-8S.js} +1 -1
- package/dist/shared/index.es.js +16 -16
- package/dist/{signature-design-TKvCOON-.js → signature-design-BGYPdXbh.js} +1 -1
- package/dist/{signature-props-D1pC6hm4.js → signature-props-DHySruEo.js} +3 -3
- package/dist/{signature-style-BLrwnz_M.js → signature-style-C7rq3uVZ.js} +1 -1
- package/dist/{single-field-drop-C-PadB1d.js → single-field-drop-N-GY2I9-.js} +2 -2
- package/dist/{size-editor-szo7icZ-.js → size-editor-CzN6kaKV.js} +1 -1
- package/dist/src/adapter/adapter.d.ts +12 -0
- package/dist/src/domain/table/business/warehouse/warehouse-in/profile/field-keys.d.ts +3 -0
- package/dist/src/domain/table/business/warehouse/warehouse-inventory/index.d.ts +3 -0
- package/dist/src/domain/table/business/warehouse/warehouse-inventory/profile/api.d.ts +14 -0
- package/dist/src/domain/table/business/warehouse/warehouse-inventory/runtime/stocktake-dimension.d.ts +13 -0
- package/dist/src/domain/table/business/warehouse/warehouse-inventory/types.d.ts +20 -0
- package/dist/src/domain/table/design/panel-features.d.ts +1 -0
- package/dist/src/nocode-base/src/core/sub-table/warehouse-in-table-core.d.ts +2 -0
- package/dist/src/nocode-base/src/types/business/stocktake.d.ts +2 -0
- package/dist/src/nocode-web-render/src/render/sub-table/stocktake/stocktake-web-render.d.ts +1 -1
- package/dist/src/online-form/src/views/__cell_widgets__/common/quick-search-editor/quick-search.util.d.ts +6 -1
- package/dist/src/online-form/src/views/designer/hooks/useAllSpreadSheets.d.ts +8 -0
- package/dist/src/online-form/src/views/designer/hooks/useSpreadSheet.d.ts +11 -0
- package/dist/src/online-form/src/views/designer/modules/panel/sub-table/comps/use-dynamic-sub-table-panel.d.ts +6 -0
- package/dist/src/online-form/src/views/designer/modules/toolkit/model-field/add-field-btn.vue.d.ts +1 -3
- package/dist/src/online-form/src/views/render/__components__/_field_/trace/utils/columns.d.ts +11 -0
- package/dist/{text-design-C8gY_Ud0.js → text-design-BpPxexKK.js} +2 -2
- package/dist/{text-design-DUOCvsW-.js → text-design-DwWukZGC.js} +2 -2
- package/dist/{text-props-D-KBRHkK.js → text-props-BXvVHG8g.js} +4 -4
- package/dist/{text-style-D75O3cAI.js → text-style-CAgyMYMu.js} +1 -1
- package/dist/{throttle-Cpk1LoGk-D40m8Nov.js → throttle-Cpk1LoGk-DKrjcLNl.js} +1 -1
- package/dist/{timediff-design-Brg2Aoo2.js → timediff-design-CuI1JWPw.js} +1 -1
- package/dist/{trace-design-Bphl0RjB.js → trace-design-C8WBib6t.js} +2 -2
- package/dist/{trace-props-DkH0QJYT.js → trace-props-BKT7775q.js} +6 -7
- package/dist/{trace-style-DZx1slRE.js → trace-style-DarmMb5_.js} +1 -1
- package/dist/{user-props-u0p3vKkm.js → user-props-teArZ8A7.js} +2 -2
- package/dist/{user-style-dhqwLgPW.js → user-style-CTjTvf7t.js} +1 -1
- package/dist/{value-editor.vue_vue_type_style_index_0_lang-C1Y-__ux.js → value-editor.vue_vue_type_style_index_0_lang-XnDvNJM8.js} +2 -2
- package/dist/{version-select-Cx1oBH6h.js → version-select-DQB1KlvG.js} +1 -1
- package/dist/web-render/index.es.js +3 -3
- package/dist/{widget-barcode-D8F4NNVm.js → widget-barcode-91cO00WO.js} +4 -4
- package/dist/{widget-diagonal-DxWX94Uz.js → widget-diagonal-CdDw67VC.js} +3 -3
- package/dist/{widget-image-BZQOltF7.js → widget-image-BZaaF0mt.js} +5 -5
- package/dist/{widget-line-DrYIib_u.js → widget-line-BmrfDdni.js} +2 -2
- package/dist/{widget-pagination-M80nEc3Z.js → widget-pagination-uNTLMC_O.js} +5 -5
- package/dist/{widget-power-D7jJhsVT.js → widget-power-BMjxdjyu.js} +3 -3
- package/dist/{widget-qrcode-CY6qnSPs.js → widget-qrcode-BGdaEHNc.js} +3 -3
- package/dist/{widget-rangelimit-CZ6cWnwZ.js → widget-rangelimit-SrRX8w-h.js} +3 -3
- package/dist/{widget-serialnumber-DHmkrctf.js → widget-serialnumber-BbQaJ0tk.js} +1 -1
- package/dist/{widget-text-C4e7Ec_2.js → widget-text-DPU46N4G.js} +5 -5
- package/dist/{widget-timediff-B4JkGADo.js → widget-timediff-DnrDyQFq.js} +2 -2
- package/package.json +2 -2
- package/dist/paper-widget-design-CMzzcWw8.js +0 -4
- package/dist/quick-search.util-DbpUfahg.js +0 -77
- package/dist/src/nocode-web-render/src/render/sub-table/stocktake/scan-modal.vue.d.ts +0 -5
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import * as Vue from "vue";
|
|
2
2
|
import { computed, unref, ref, defineComponent, onMounted, resolveComponent, openBlock, createElementBlock, createVNode, withCtx, watch, toRaw, inject, reactive, createBlock, Fragment, renderList, createTextVNode, toDisplayString as toDisplayString$1, createCommentVNode, createElementVNode, defineAsyncComponent, normalizeClass, normalizeStyle, watchEffect, renderSlot, shallowRef, resolveDynamicComponent, mergeProps, normalizeProps, guardReactiveProps, onUnmounted, h, Text, nextTick, onBeforeUnmount, withModifiers, withDirectives, vShow, withKeys, vModelText, isRef, provide, isVNode as isVNode$1, createApp, Teleport, TransitionGroup, getCurrentInstance as getCurrentInstance$1, onActivated, onDeactivated, render, toRef, mergeDefaults, createSlots, useCssVars, onBeforeMount, toHandlers, useAttrs, onScopeDispose, toRefs, useModel, mergeModels as mergeModels$1 } from "vue";
|
|
3
|
-
import { g as getAllDataProfiles, i as isDataTableProfile, a as getProfile, b as isBusinessSubTableProfile, c as getProfileByTableType, r as resolveCreateTargetByTableType, S as SUB_TABLE_PANEL_TYPE_NAME, e as expandAutofillTemplates, d as SubTableType, f as getAllBusinessRefModelTypes, P as PaginationFormat, h as PaperWidgeType, B as BwipCodeType, L as LineType, j as PageSizeEnum, O as Orientation, F as FIELD_TYPE, k as FIELD_TYPE_TRACE, l as FIELD_TYPE_BUSINESS, s as src, C as CreateType, m as ComponentTypeEnum, u as useOnlineFormTransformField2Component, p as parse$1, n as estraverse, o as Syntax, q as isDynamicCreateTarget, t as CellType, v as isDynamicCellSubTable, w as api, x as FieldTypeToJs, y as useModal, z as requireEstraverse, A as commonjsGlobal, D as getDefaultExportFromCjs, E as uuid2, G as PaperWidgeValueType, H as useCalculateFormula, I as onlineFormMasterModelTypeEnum, J as FIELD_TYPE_WAREHOUSE, U as UniqueConstraintType, K as FieldDefaultValueTypeEnum, M as FormTypeEnum, N as mitt, Q as PlatformEnum, R as LabelPosition, T as BooleanShowMode, V as SignatureNumberTypeEnum, W as SignatureTimeTypeEnum, X as SignShowTypeEnum, Y as SignatureTypeEnum, _ as _export_sfc, Z as PaperSizeMap, $ as buildUUID, a0 as FieldIconMap, a1 as CellWidgetViewState, a2 as DiagonalDirection, a3 as WidgetImageSizeMode, a4 as LineDirection, a5 as TimeDiffFormat, a6 as DiagonalVertex, a7 as resolveDiagonalVertex, a8 as getThemeColorByTableType, a9 as ViewTypeEnum, aa as useThrottleFn, ab as noop, ac as isIOS, ad as isDynamicSubTablePanelType, ae as isFixedSubTablePanelType, af as EmptySymbol, ag as ASSIGNMENTSTRATEGY_ENUM, ah as Dependency_ENUM, ai as ExpressionModeEnum, aj as ExpressionTabEnum, ak as ReturnTypeEnum, al as ImageDisplayModeEnum, am as EntityModelCategoryEnum, an as resolveLotDisplayLabel, ao as CheckDsTypeEnum, ap as DeviceLink, aq as DeviceParamsTypeTitle, ar as AITooltips, as as DenoiseMethodOptions, at as BinarizeMethodOptions, au as ParamModelTypeEnum, av as JoinModelTypeEum, aw as sqlUtils, ax as useWidgetStaticAttrs, ay as setSelectValidatorId, az as setSelectAnnotationId, aA as useNocodeFormWidget, aB as DateFormat, aC as renderUtils, aD as BindCmpStyleEnum, aE as DecimalDisplayMode, aF as NCB_PROVIDE, aG as normalizeRefLoaderResult, aH as normalizeProductionContainerOptions, aI as refUtils, aJ as LOT_CONTAINER_ROLE, aK as resolveLotRecordByValue, aL as getParseRuleInfo, aM as getParseRuleValue, aN as useCurrentPageFormState, aO as materialCheck, aP as getLotLockedReason, aQ as buildDeviceFilterQuery, aR as
|
|
3
|
+
import { g as getAllDataProfiles, i as isDataTableProfile, a as getProfile, b as isBusinessSubTableProfile, c as getProfileByTableType, r as resolveCreateTargetByTableType, S as SUB_TABLE_PANEL_TYPE_NAME, e as expandAutofillTemplates, d as SubTableType, f as getAllBusinessRefModelTypes, P as PaginationFormat, h as PaperWidgeType, B as BwipCodeType, L as LineType, j as PageSizeEnum, O as Orientation, F as FIELD_TYPE, k as FIELD_TYPE_TRACE, l as FIELD_TYPE_BUSINESS, s as src, C as CreateType, m as ComponentTypeEnum, u as useOnlineFormTransformField2Component, p as parse$1, n as estraverse, o as Syntax, q as isDynamicCreateTarget, t as CellType, v as isDynamicCellSubTable, w as api, x as FieldTypeToJs, y as useModal, z as requireEstraverse, A as commonjsGlobal, D as getDefaultExportFromCjs, E as uuid2, G as PaperWidgeValueType, H as useCalculateFormula, I as onlineFormMasterModelTypeEnum, J as FIELD_TYPE_WAREHOUSE, U as UniqueConstraintType, K as FieldDefaultValueTypeEnum, M as FormTypeEnum, N as mitt, Q as PlatformEnum, R as LabelPosition, T as BooleanShowMode, V as SignatureNumberTypeEnum, W as SignatureTimeTypeEnum, X as SignShowTypeEnum, Y as SignatureTypeEnum, _ as _export_sfc, Z as PaperSizeMap, $ as buildUUID, a0 as FieldIconMap, a1 as CellWidgetViewState, a2 as DiagonalDirection, a3 as WidgetImageSizeMode, a4 as LineDirection, a5 as TimeDiffFormat, a6 as DiagonalVertex, a7 as resolveDiagonalVertex, a8 as getThemeColorByTableType, a9 as ViewTypeEnum, aa as useThrottleFn, ab as noop, ac as isIOS, ad as isDynamicSubTablePanelType, ae as isFixedSubTablePanelType, af as EmptySymbol, ag as ASSIGNMENTSTRATEGY_ENUM, ah as Dependency_ENUM, ai as ExpressionModeEnum, aj as ExpressionTabEnum, ak as ReturnTypeEnum, al as ImageDisplayModeEnum, am as EntityModelCategoryEnum, an as resolveLotDisplayLabel, ao as CheckDsTypeEnum, ap as DeviceLink, aq as DeviceParamsTypeTitle, ar as AITooltips, as as DenoiseMethodOptions, at as BinarizeMethodOptions, au as ParamModelTypeEnum, av as JoinModelTypeEum, aw as sqlUtils, ax as useWidgetStaticAttrs, ay as setSelectValidatorId, az as setSelectAnnotationId, aA as useNocodeFormWidget, aB as DateFormat, aC as renderUtils, aD as BindCmpStyleEnum, aE as DecimalDisplayMode, aF as NCB_PROVIDE, aG as normalizeRefLoaderResult, aH as normalizeProductionContainerOptions, aI as refUtils, aJ as LOT_CONTAINER_ROLE, aK as resolveLotRecordByValue, aL as getParseRuleInfo, aM as getParseRuleValue, aN as useCurrentPageFormState, aO as materialCheck, aP as getLotLockedReason, aQ as buildDeviceFilterQuery, aR as STOCKTAKE_DIMENSION, aS as resolveStocktakeSelectApi, aT as RangeValidateMode, aU as RenderModeEnum, aV as useDependency, aW as FormulaRuleFieldKeyEnum, aX as formulaRuleFieldDict, aY as resolveDesignPanelFeatures, aZ as BIZ_TABLE_CONFIG_SEED_TYPES, a_ as STOCKTAKE_DIMENSION_OPTIONS, a$ as getAllTableProfiles, b0 as isRepeatingSubTablePanelType, b1 as useNocodeEmitter } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-KsGMmLaJ.js";
|
|
4
4
|
import { range, cloneDeep, get as get$3, merge, isEmpty, zip, pick, debounce, omit, has, isNil, times, last, mapValues, set as set$2, hasIn, isEqual } from "lodash-es";
|
|
5
5
|
import dayjs from "dayjs";
|
|
6
6
|
import * as Antd from "ant-design-vue";
|
|
7
7
|
import { message, Modal, Empty, InputSearch, Cascader, ConfigProvider, Tooltip as Tooltip$1, DatePicker, TreeSelect, CheckboxGroup, Checkbox, Radio, Select, Input, Textarea, AutoComplete, RadioGroup, TimePicker } from "ant-design-vue";
|
|
8
|
-
import { S as SEARCH_SEVICE, I as Icon$2, w as warning, u as useInsertStyles, s as svgBaseProps, C as CloseOutlined, E as EmptyImg$2, _ as _sfc_main$4H, a as SignatureTypeEnum$1 } from "./version-select-
|
|
8
|
+
import { S as SEARCH_SEVICE, I as Icon$2, w as warning, u as useInsertStyles, s as svgBaseProps, C as CloseOutlined, E as EmptyImg$2, _ as _sfc_main$4H, a as SignatureTypeEnum$1 } from "./version-select-DQB1KlvG.js";
|
|
9
9
|
import { u as useNamespace } from "./use-namespace-BxkK4ofX.js";
|
|
10
|
-
import { B as BorderTD, u as useFormTmplConfig, D as DeviceLinkTmplUtil, I as InstanceStatusValues, a as useTmplBom, M as MaterialConsumptionPatternEnum, v as validateObjectBomForScan, g as getObjectBomMaterialLotQuery, b as useStyles, c as useValidator, S as ScanParamType, R as RequiredQtyCalcRule, _ as _sfc_main$4J, d as DocumentPaper, e as DynamicTableAction } from "./dynamic-table-action-
|
|
11
|
-
import { u as useWebUpload, i as initWebPaasUploadApis, d as defaultWindow, a as useEventListener, b as unrefElement, M as ModalWrapper, F as FormFieldSelect, c as useWindowSize, r as require$$0, U as Uploader, o as onClickOutside$1, A as AddRuleBtn, _ as _sfc_main$4I, e as initWebNocodeAdapter } from "./index-
|
|
10
|
+
import { B as BorderTD, u as useFormTmplConfig, D as DeviceLinkTmplUtil, I as InstanceStatusValues, a as useTmplBom, M as MaterialConsumptionPatternEnum, v as validateObjectBomForScan, g as getObjectBomMaterialLotQuery, b as useStyles, c as useValidator, S as ScanParamType, R as RequiredQtyCalcRule, _ as _sfc_main$4J, d as DocumentPaper, e as DynamicTableAction } from "./dynamic-table-action-C8He8bkE.js";
|
|
11
|
+
import { u as useWebUpload, i as initWebPaasUploadApis, d as defaultWindow, a as useEventListener, b as unrefElement, M as ModalWrapper, F as FormFieldSelect, c as useWindowSize, r as require$$0, U as Uploader, o as onClickOutside$1, A as AddRuleBtn, _ as _sfc_main$4I, e as initWebNocodeAdapter } from "./index-DuhizsdR.js";
|
|
12
12
|
import { useFormBaseModal, FormBaseModalPlugin } from "@gct-paas/form-base";
|
|
13
|
-
import { u as useFormModel, F as FormModelController } from "./mb-render-
|
|
13
|
+
import { u as useFormModel, F as FormModelController } from "./mb-render-DegdDw53.js";
|
|
14
14
|
import { useRoute } from "vue-router";
|
|
15
15
|
import "@gct-paas/form-base/style.css";
|
|
16
16
|
const TABLE_HEADER_MENU_ITEM = {
|
|
@@ -1077,7 +1077,7 @@ const FieldTypeLabels = Object.entries(FIELD_TYPE_LABEL_MAP);
|
|
|
1077
1077
|
const TRACE_FIELDS = Object.values(FIELD_TYPE_TRACE);
|
|
1078
1078
|
const BUSINESS_FIELDS = Object.values(FIELD_TYPE_BUSINESS);
|
|
1079
1079
|
async function createWorkbook() {
|
|
1080
|
-
const ExcelJs = (await import("./exceljs.min-
|
|
1080
|
+
const ExcelJs = (await import("./exceljs.min-z9OrZgyH.js").then((n) => n.e)).default;
|
|
1081
1081
|
return new ExcelJs.Workbook();
|
|
1082
1082
|
}
|
|
1083
1083
|
class XlsxParser {
|
|
@@ -1364,37 +1364,37 @@ class XlsxParser {
|
|
|
1364
1364
|
}
|
|
1365
1365
|
function asyncImportClassModules() {
|
|
1366
1366
|
const modules = /* @__PURE__ */ Object.assign({
|
|
1367
|
-
"./_field_/datepicker/index.ts": () => import("./index-
|
|
1368
|
-
"./_field_/datetimepicker/index.ts": () => import("./index-
|
|
1369
|
-
"./_field_/department/index.ts": () => import("./index-
|
|
1370
|
-
"./_field_/enum-select/index.ts": () => import("./index-
|
|
1371
|
-
"./_field_/input/index.ts": () => import("./index-
|
|
1372
|
-
"./_field_/inputdouble/index.ts": () => import("./index-
|
|
1373
|
-
"./_field_/inputnumber/index.ts": () => import("./index-
|
|
1374
|
-
"./_field_/select/index.ts": () => import("./index-
|
|
1375
|
-
"./_field_/sign/index.ts": () => import("./index-
|
|
1376
|
-
"./_field_/switch/index.ts": () => import("./index-
|
|
1377
|
-
"./_field_/textarea/index.ts": () => import("./index-
|
|
1378
|
-
"./_field_/timepicker/index.ts": () => import("./index-
|
|
1379
|
-
"./_field_/trace/index.ts": () => import("./index-
|
|
1380
|
-
"./_field_/upload-file/index.ts": () => import("./index-
|
|
1381
|
-
"./_field_/upload-image/index.ts": () => import("./index-
|
|
1382
|
-
"./_field_/userpicker/index.ts": () => import("./index-
|
|
1383
|
-
"./_widget_/barcode/index.ts": () => import("./index-
|
|
1384
|
-
"./_widget_/combine-fields/index.ts": () => import("./index-
|
|
1385
|
-
"./_widget_/diagonal/index.ts": () => import("./index-
|
|
1386
|
-
"./_widget_/dyn-value/index.ts": () => import("./index-
|
|
1387
|
-
"./_widget_/image/index.ts": () => import("./index-
|
|
1388
|
-
"./_widget_/line/index.ts": () => import("./index-
|
|
1389
|
-
"./_widget_/power/index.ts": () => import("./index-
|
|
1390
|
-
"./_widget_/qrcode/index.ts": () => import("./index-
|
|
1391
|
-
"./_widget_/ro/index.ts": () => import("./index-
|
|
1392
|
-
"./_widget_/serialnumber/index.ts": () => import("./index-
|
|
1393
|
-
"./_widget_/sub-table/index.ts": () => import("./index-
|
|
1394
|
-
"./_widget_/timediff/index.ts": () => import("./index-
|
|
1395
|
-
"./paper/index.ts": () => import("./index-
|
|
1396
|
-
"./td/index.ts": () => import("./index-
|
|
1397
|
-
"./tr/index.ts": () => import("./index-
|
|
1367
|
+
"./_field_/datepicker/index.ts": () => import("./index-Ykjb1k7r.js").then((m) => m["default"]),
|
|
1368
|
+
"./_field_/datetimepicker/index.ts": () => import("./index-Cs_fFwsH.js").then((m) => m["default"]),
|
|
1369
|
+
"./_field_/department/index.ts": () => import("./index-C4tLy2t0.js").then((m) => m["default"]),
|
|
1370
|
+
"./_field_/enum-select/index.ts": () => import("./index-DpovRczF.js").then((m) => m["default"]),
|
|
1371
|
+
"./_field_/input/index.ts": () => import("./index-D4T--Otg.js").then((m) => m["default"]),
|
|
1372
|
+
"./_field_/inputdouble/index.ts": () => import("./index-B-mve-u8.js").then((m) => m["default"]),
|
|
1373
|
+
"./_field_/inputnumber/index.ts": () => import("./index-VSgZjGeR.js").then((m) => m["default"]),
|
|
1374
|
+
"./_field_/select/index.ts": () => import("./index-CR8AB6gv.js").then((m) => m["default"]),
|
|
1375
|
+
"./_field_/sign/index.ts": () => import("./index-oJANdB7y.js").then((m) => m["default"]),
|
|
1376
|
+
"./_field_/switch/index.ts": () => import("./index-DSvR6DB0.js").then((m) => m["default"]),
|
|
1377
|
+
"./_field_/textarea/index.ts": () => import("./index-Dj6veJ8i.js").then((m) => m["default"]),
|
|
1378
|
+
"./_field_/timepicker/index.ts": () => import("./index-DYeQhuL4.js").then((m) => m["default"]),
|
|
1379
|
+
"./_field_/trace/index.ts": () => import("./index-iLPErenr.js").then((m) => m["default"]),
|
|
1380
|
+
"./_field_/upload-file/index.ts": () => import("./index-vGnzGoa0.js").then((m) => m["default"]),
|
|
1381
|
+
"./_field_/upload-image/index.ts": () => import("./index-D_QFUhoC.js").then((m) => m["default"]),
|
|
1382
|
+
"./_field_/userpicker/index.ts": () => import("./index-DKsozXvi.js").then((m) => m["default"]),
|
|
1383
|
+
"./_widget_/barcode/index.ts": () => import("./index-zVOUJ9GR.js").then((m) => m["default"]),
|
|
1384
|
+
"./_widget_/combine-fields/index.ts": () => import("./index-i23hJsQ0.js").then((m) => m["default"]),
|
|
1385
|
+
"./_widget_/diagonal/index.ts": () => import("./index-C_dexMuc.js").then((m) => m["default"]),
|
|
1386
|
+
"./_widget_/dyn-value/index.ts": () => import("./index-DjMesa9b.js").then((m) => m["default"]),
|
|
1387
|
+
"./_widget_/image/index.ts": () => import("./index-BXeQvuVT.js").then((m) => m["default"]),
|
|
1388
|
+
"./_widget_/line/index.ts": () => import("./index-9LbMRweK.js").then((m) => m["default"]),
|
|
1389
|
+
"./_widget_/power/index.ts": () => import("./index-eoLtVYi1.js").then((m) => m["default"]),
|
|
1390
|
+
"./_widget_/qrcode/index.ts": () => import("./index-b6BcV4jG.js").then((m) => m["default"]),
|
|
1391
|
+
"./_widget_/ro/index.ts": () => import("./index-DUe8I_xh.js").then((m) => m["default"]),
|
|
1392
|
+
"./_widget_/serialnumber/index.ts": () => import("./index-BBlHhFjs.js").then((m) => m["default"]),
|
|
1393
|
+
"./_widget_/sub-table/index.ts": () => import("./index-BRwJqT0u.js").then((m) => m["default"]),
|
|
1394
|
+
"./_widget_/timediff/index.ts": () => import("./index-HMB_I8Vg.js").then((m) => m["default"]),
|
|
1395
|
+
"./paper/index.ts": () => import("./index-DV6lzIzA.js").then((m) => m["default"]),
|
|
1396
|
+
"./td/index.ts": () => import("./index-lG0q2Gjq.js").then((m) => m["default"]),
|
|
1397
|
+
"./tr/index.ts": () => import("./index-DfsW-h-x.js").then((m) => m["default"])
|
|
1398
1398
|
});
|
|
1399
1399
|
return modules;
|
|
1400
1400
|
}
|
|
@@ -9285,6 +9285,8 @@ const useAllSpreadSheets = () => {
|
|
|
9285
9285
|
};
|
|
9286
9286
|
const deleteSheet = async (sheet) => {
|
|
9287
9287
|
Modal.confirm({
|
|
9288
|
+
okText: $t("sys.confirm"),
|
|
9289
|
+
cancelText: $t("sys.cancel"),
|
|
9288
9290
|
title: $t("sys.onlineForm.deleteSheetConfirmTip", { name: sheet.title }),
|
|
9289
9291
|
content: $t("sys.onlineForm.deletedConfirmTip"),
|
|
9290
9292
|
zIndex: 1040,
|
|
@@ -9486,6 +9488,8 @@ const useAllSpreadSheets = () => {
|
|
|
9486
9488
|
return;
|
|
9487
9489
|
}
|
|
9488
9490
|
Modal.confirm({
|
|
9491
|
+
okText: $t("sys.confirm"),
|
|
9492
|
+
cancelText: $t("sys.cancel"),
|
|
9489
9493
|
title: $t("sys.confirmDel", {
|
|
9490
9494
|
sth: $t("sys.field")
|
|
9491
9495
|
}),
|
|
@@ -10230,7 +10234,7 @@ function asyncImportWidgetConfig() {
|
|
|
10230
10234
|
}
|
|
10231
10235
|
const widgetConfigMap = asyncImportWidgetConfig();
|
|
10232
10236
|
function asyncImportWidgetDesign$1() {
|
|
10233
|
-
const modules = /* @__PURE__ */ Object.assign({ "./agg/agg-design.vue": () => import("./agg-design-
|
|
10237
|
+
const modules = /* @__PURE__ */ Object.assign({ "./agg/agg-design.vue": () => import("./agg-design-Dhwx3iIe.js"), "./boolean/boolean-design.vue": () => import("./boolean-design-CbeVxDgS.js"), "./cell-widget-design.vue": () => Promise.resolve().then(() => cellWidgetDesign), "./date-time/date-time-design.vue": () => import("./date-time-design-Des2BEGG.js"), "./decimal/decimal-design.vue": () => import("./decimal-design-9Kc4ODP3.js"), "./double/double-design.vue": () => import("./double-design-n6onlWq1.js"), "./enum/enum-design.vue": () => import("./enum-design-DgSmNQh7.js"), "./expression/expression-design.vue": () => import("./expression-design-BElbfk_V.js"), "./file/file-design.vue": () => import("./file-design-f_7WnWPX.js"), "./image/image-design.vue": () => import("./image-design-BM7BQp7K.js"), "./integer/integer-design.vue": () => import("./integer-design-Br7uEUaS.js"), "./org/org-design.vue": () => import("./org-design-DWZI8xev.js"), "./ref/ref-design.vue": () => import("./ref-design-BQ8o1gKm.js"), "./signature/signature-design.vue": () => import("./signature-design-BGYPdXbh.js"), "./text/text-design.vue": () => import("./text-design-BpPxexKK.js"), "./trace/trace-design.vue": () => import("./trace-design-C8WBib6t.js"), "./user/user-design.vue": () => import("./user-design-fMF_h4IG.js") });
|
|
10234
10238
|
const widgetDesignMap = Object.keys(modules).reduce((map2, path) => {
|
|
10235
10239
|
const mKey = path.match(/\/([a-z-]+)-design\.vue$/)?.[1];
|
|
10236
10240
|
if (mKey) {
|
|
@@ -10241,7 +10245,7 @@ function asyncImportWidgetDesign$1() {
|
|
|
10241
10245
|
return widgetDesignMap;
|
|
10242
10246
|
}
|
|
10243
10247
|
function asyncImportWidgetProps() {
|
|
10244
|
-
const modules = /* @__PURE__ */ Object.assign({ "./agg/agg-props.vue": () => import("./agg-props-
|
|
10248
|
+
const modules = /* @__PURE__ */ Object.assign({ "./agg/agg-props.vue": () => import("./agg-props-Dzh3LlnL.js"), "./boolean/boolean-props.vue": () => import("./boolean-props-5N05X2u0.js"), "./cell-widget-props.vue": () => Promise.resolve().then(() => cellWidgetProps), "./date-time/date-time-props.vue": () => import("./date-time-props-D7pwNLEY.js"), "./decimal/decimal-props.vue": () => import("./decimal-props-Ky0di95I.js"), "./double/double-props.vue": () => import("./double-props-DfbO72Py.js"), "./enum/enum-props.vue": () => import("./enum-props-BiCEZ8tC.js"), "./expression/expression-props.vue": () => import("./expression-props-CgRjPGAE.js"), "./file/file-props.vue": () => import("./file-props-Barl3BQE.js"), "./image/image-props.vue": () => import("./image-props-NzNWX4eJ.js"), "./integer/integer-props.vue": () => import("./integer-props-Z3B2pD3V.js"), "./org/org-props.vue": () => import("./org-props-CI-ETWqf.js"), "./ref/ref-props.vue": () => import("./ref-props-BPJ72A6r.js"), "./signature/signature-props.vue": () => import("./signature-props-DHySruEo.js"), "./text/text-props.vue": () => import("./text-props-BXvVHG8g.js"), "./trace/trace-props.vue": () => import("./trace-props-BKT7775q.js"), "./user/user-props.vue": () => import("./user-props-teArZ8A7.js") });
|
|
10245
10249
|
const widgetPropsMap = Object.keys(modules).reduce((map2, path) => {
|
|
10246
10250
|
const mKey = path.match(/\/([a-z-]+)-props\.vue$/)?.[1];
|
|
10247
10251
|
if (mKey) {
|
|
@@ -10253,7 +10257,7 @@ function asyncImportWidgetProps() {
|
|
|
10253
10257
|
return widgetPropsMap;
|
|
10254
10258
|
}
|
|
10255
10259
|
function asyncImportWidgetStyle() {
|
|
10256
|
-
const modules = /* @__PURE__ */ Object.assign({ "./agg/agg-style.vue": () => import("./agg-style-
|
|
10260
|
+
const modules = /* @__PURE__ */ Object.assign({ "./agg/agg-style.vue": () => import("./agg-style-2zYm-piX.js"), "./boolean/boolean-style.vue": () => import("./boolean-style-DQblrTND.js"), "./cell-widget-style.vue": () => Promise.resolve().then(() => cellWidgetStyle), "./date-time/date-time-style.vue": () => import("./date-time-style-frGaaQd7.js"), "./decimal/decimal-style.vue": () => import("./decimal-style-C8R__F2V.js"), "./double/double-style.vue": () => import("./double-style-ox04qUyU.js"), "./enum/enum-style.vue": () => import("./enum-style-DDXlgEBZ.js"), "./expression/expression-style.vue": () => import("./expression-style-Bo-wcn7H.js"), "./file/file-style.vue": () => import("./file-style-DqI6_YwG.js"), "./image/image-style.vue": () => import("./image-style-DLU2_MKB.js"), "./integer/integer-style.vue": () => import("./integer-style-ubcVrP9I.js"), "./org/org-style.vue": () => import("./org-style-Uxhnssaf.js"), "./ref/ref-style.vue": () => import("./ref-style-BlLKh5s4.js"), "./signature/signature-style.vue": () => import("./signature-style-C7rq3uVZ.js"), "./text/text-style.vue": () => import("./text-style-CAgyMYMu.js"), "./trace/trace-style.vue": () => import("./trace-style-DarmMb5_.js"), "./user/user-style.vue": () => import("./user-style-CTjTvf7t.js") });
|
|
10257
10261
|
const widgetStyleMap = Object.keys(modules).reduce((map2, path) => {
|
|
10258
10262
|
const mKey = path.match(/\/([a-z-]+)-style\.vue$/)?.[1];
|
|
10259
10263
|
if (mKey) {
|
|
@@ -10511,6 +10515,117 @@ function usePublishVersion() {
|
|
|
10511
10515
|
loadTableData
|
|
10512
10516
|
};
|
|
10513
10517
|
}
|
|
10518
|
+
const DEFAULT_SEARCHABLE_FIELDS = [
|
|
10519
|
+
FIELD_TYPE.PRODUCT,
|
|
10520
|
+
FIELD_TYPE.SCRAP_MATERIAL,
|
|
10521
|
+
FIELD_TYPE.DEVICE,
|
|
10522
|
+
FIELD_TYPE.MATERIAL_NO,
|
|
10523
|
+
FIELD_TYPE.RELATED_LOT_NO,
|
|
10524
|
+
FIELD_TYPE.SCRAP_MATERIAL_NO,
|
|
10525
|
+
FIELD_TYPE.MATERIAL_CONTAINER
|
|
10526
|
+
];
|
|
10527
|
+
const INVENTORY_MODEL_KEY = "em_inventory";
|
|
10528
|
+
const SEARCHABLE_FIELDS = [
|
|
10529
|
+
...DEFAULT_SEARCHABLE_FIELDS,
|
|
10530
|
+
FIELD_TYPE.REF,
|
|
10531
|
+
FIELD_TYPE.MFG_ORDER,
|
|
10532
|
+
FIELD_TYPE.ROUTING_OPERATION,
|
|
10533
|
+
FIELD_TYPE.NOT_GOOD_GROUP,
|
|
10534
|
+
FIELD_TYPE.NOT_GOOD_REASON,
|
|
10535
|
+
FIELD_TYPE.SCRAP_GROUP,
|
|
10536
|
+
FIELD_TYPE.SCRAP_REASON,
|
|
10537
|
+
FIELD_TYPE.SHOPFLOOR,
|
|
10538
|
+
FIELD_TYPE.MODEL_RELATION,
|
|
10539
|
+
FIELD_TYPE.WAREHOUSE,
|
|
10540
|
+
FIELD_TYPE.PRODUCTION_CONTAINER,
|
|
10541
|
+
FIELD_TYPE.STERILIZATION_CONTAINER,
|
|
10542
|
+
FIELD_TYPE.STERILIZE_BATCH
|
|
10543
|
+
];
|
|
10544
|
+
const SEARCHABLE_FIELD_DEFAULT_FIELDS_MAP = {
|
|
10545
|
+
material: ["code_.like", "version_.like", "name_.like", "spec_.like"],
|
|
10546
|
+
warehouseMaterial: ["material_no_.like", "product_id_code_.like", "product_id_name_.like"],
|
|
10547
|
+
device: ["name_.like", "code_.like"],
|
|
10548
|
+
batch: ["name_.like", "product_code_.like", "product_name_.like", "spec_.like"]
|
|
10549
|
+
};
|
|
10550
|
+
const BATCH_QUICK_SEARCH_FIELD_LABELS = {
|
|
10551
|
+
"name_.like": "批次/SN",
|
|
10552
|
+
"product_code_.like": "产品编码",
|
|
10553
|
+
"product_name_.like": "产品名称",
|
|
10554
|
+
"spec_.like": "规格型号"
|
|
10555
|
+
};
|
|
10556
|
+
const getRealFieldType = (fieldMeta) => {
|
|
10557
|
+
const { fieldType, bizType } = fieldMeta;
|
|
10558
|
+
if (bizType === FIELD_TYPE_TRACE.STERILIZATION_CONTAINER) {
|
|
10559
|
+
return FIELD_TYPE.STERILIZATION_CONTAINER;
|
|
10560
|
+
}
|
|
10561
|
+
if (bizType && DEFAULT_SEARCHABLE_FIELDS.includes(bizType)) {
|
|
10562
|
+
return bizType;
|
|
10563
|
+
}
|
|
10564
|
+
return fieldType;
|
|
10565
|
+
};
|
|
10566
|
+
const isInventoryMaterialField = (fieldMeta) => fieldMeta.refModelKey === INVENTORY_MODEL_KEY;
|
|
10567
|
+
const getIsSearchableField = (fieldMeta) => {
|
|
10568
|
+
const type = getRealFieldType(fieldMeta);
|
|
10569
|
+
return SEARCHABLE_FIELDS.includes(type) || isInventoryMaterialField(fieldMeta);
|
|
10570
|
+
};
|
|
10571
|
+
const getSearchableFieldIsDefaultOpen = (fieldMeta) => {
|
|
10572
|
+
const type = getRealFieldType(fieldMeta);
|
|
10573
|
+
return DEFAULT_SEARCHABLE_FIELDS.includes(type) || isInventoryMaterialField(fieldMeta);
|
|
10574
|
+
};
|
|
10575
|
+
const getDefaultQuickSearchFields = (fieldMeta) => {
|
|
10576
|
+
const type = getRealFieldType(fieldMeta);
|
|
10577
|
+
if (isInventoryMaterialField(fieldMeta)) {
|
|
10578
|
+
return [...SEARCHABLE_FIELD_DEFAULT_FIELDS_MAP.warehouseMaterial];
|
|
10579
|
+
}
|
|
10580
|
+
if ([FIELD_TYPE.PRODUCT, FIELD_TYPE.SCRAP_MATERIAL].includes(type)) {
|
|
10581
|
+
return [...SEARCHABLE_FIELD_DEFAULT_FIELDS_MAP.material];
|
|
10582
|
+
}
|
|
10583
|
+
if (type === FIELD_TYPE.DEVICE) {
|
|
10584
|
+
return [...SEARCHABLE_FIELD_DEFAULT_FIELDS_MAP.device];
|
|
10585
|
+
}
|
|
10586
|
+
if ([
|
|
10587
|
+
FIELD_TYPE.MATERIAL_NO,
|
|
10588
|
+
FIELD_TYPE.RELATED_LOT_NO,
|
|
10589
|
+
FIELD_TYPE.SCRAP_MATERIAL_NO,
|
|
10590
|
+
FIELD_TYPE.MATERIAL_CONTAINER
|
|
10591
|
+
].includes(type)) {
|
|
10592
|
+
return [...SEARCHABLE_FIELD_DEFAULT_FIELDS_MAP.batch];
|
|
10593
|
+
}
|
|
10594
|
+
return [];
|
|
10595
|
+
};
|
|
10596
|
+
const getBatchQuickSearchFieldOptions = (fieldMeta) => {
|
|
10597
|
+
const type = getRealFieldType(fieldMeta);
|
|
10598
|
+
if (![
|
|
10599
|
+
FIELD_TYPE.MATERIAL_NO,
|
|
10600
|
+
FIELD_TYPE.RELATED_LOT_NO,
|
|
10601
|
+
FIELD_TYPE.SCRAP_MATERIAL_NO,
|
|
10602
|
+
FIELD_TYPE.MATERIAL_CONTAINER
|
|
10603
|
+
].includes(type)) {
|
|
10604
|
+
return [];
|
|
10605
|
+
}
|
|
10606
|
+
return SEARCHABLE_FIELD_DEFAULT_FIELDS_MAP.batch.map((key) => ({
|
|
10607
|
+
key,
|
|
10608
|
+
name: BATCH_QUICK_SEARCH_FIELD_LABELS[key] || key
|
|
10609
|
+
}));
|
|
10610
|
+
};
|
|
10611
|
+
const resolveQuickSearchConfig = (fieldMeta) => {
|
|
10612
|
+
const searchable = fieldMeta.searchable;
|
|
10613
|
+
const hasConfiguredFields = Boolean(fieldMeta.searchField?.length);
|
|
10614
|
+
const defaultOpen = getSearchableFieldIsDefaultOpen(fieldMeta);
|
|
10615
|
+
let resolvedSearchable = defaultOpen;
|
|
10616
|
+
if (hasConfiguredFields && typeof searchable === "boolean") {
|
|
10617
|
+
resolvedSearchable = searchable;
|
|
10618
|
+
} else if (searchable === true) {
|
|
10619
|
+
resolvedSearchable = true;
|
|
10620
|
+
}
|
|
10621
|
+
if (hasConfiguredFields) {
|
|
10622
|
+
return { searchable: resolvedSearchable, fields: fieldMeta.searchField };
|
|
10623
|
+
}
|
|
10624
|
+
return {
|
|
10625
|
+
searchable: resolvedSearchable,
|
|
10626
|
+
fields: resolvedSearchable ? getDefaultQuickSearchFields(fieldMeta) : []
|
|
10627
|
+
};
|
|
10628
|
+
};
|
|
10514
10629
|
const {
|
|
10515
10630
|
setSheetMaps: setSheetMaps$1,
|
|
10516
10631
|
setSheetsCallback,
|
|
@@ -11912,6 +12027,12 @@ function useSpreadSheet() {
|
|
|
11912
12027
|
const fieldWidget = cloneDeep(
|
|
11913
12028
|
widgetConfigMap[FieldTypeToCellWidgetMap[data.fieldType]].config
|
|
11914
12029
|
);
|
|
12030
|
+
const quickSearchWidget = fieldWidget;
|
|
12031
|
+
const defaultQuickSearchFields = getDefaultQuickSearchFields(data);
|
|
12032
|
+
if (defaultQuickSearchFields.length && !quickSearchWidget.searchField?.length) {
|
|
12033
|
+
quickSearchWidget.searchable = true;
|
|
12034
|
+
quickSearchWidget.searchField = defaultQuickSearchFields;
|
|
12035
|
+
}
|
|
11915
12036
|
if (fieldWidget && fieldWidget.placeholder === void 0) {
|
|
11916
12037
|
fieldWidget.placeholder = getDefaultPlaceholder(data.fieldType);
|
|
11917
12038
|
}
|
|
@@ -13087,7 +13208,7 @@ const _hoisted_1$2E = {
|
|
|
13087
13208
|
class: "prefix"
|
|
13088
13209
|
};
|
|
13089
13210
|
const _hoisted_2$1P = { key: 1 };
|
|
13090
|
-
const _hoisted_3$
|
|
13211
|
+
const _hoisted_3$1s = {
|
|
13091
13212
|
key: 3,
|
|
13092
13213
|
class: "suffix"
|
|
13093
13214
|
};
|
|
@@ -13169,7 +13290,7 @@ const _sfc_main$4y = /* @__PURE__ */ defineComponent({
|
|
|
13169
13290
|
class: "cell-widget-design__component",
|
|
13170
13291
|
style: compSizeStyle.value
|
|
13171
13292
|
}, _ctx.$props, { disabled: disabled.value }), null, 16, ["style", "disabled"])),
|
|
13172
|
-
showOuterAffix.value && __props.fieldWidget.suffix ? (openBlock(), createElementBlock("span", _hoisted_3$
|
|
13293
|
+
showOuterAffix.value && __props.fieldWidget.suffix ? (openBlock(), createElementBlock("span", _hoisted_3$1s, toDisplayString$1(__props.fieldWidget.suffix), 1)) : createCommentVNode("", true)
|
|
13173
13294
|
], 4);
|
|
13174
13295
|
};
|
|
13175
13296
|
}
|
|
@@ -13508,7 +13629,7 @@ const __vite_glob_3_0 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.def
|
|
|
13508
13629
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
13509
13630
|
const _hoisted_1$2C = { class: "column-name column-name--top" };
|
|
13510
13631
|
const _hoisted_2$1N = { class: "column-name column-name--bottom" };
|
|
13511
|
-
const _hoisted_3$
|
|
13632
|
+
const _hoisted_3$1r = ["x1", "y1", "x2", "y2"];
|
|
13512
13633
|
const _hoisted_4$$ = {
|
|
13513
13634
|
key: 0,
|
|
13514
13635
|
class: "column-name column-name--middle"
|
|
@@ -13579,7 +13700,7 @@ const _sfc_main$4w = /* @__PURE__ */ defineComponent({
|
|
|
13579
13700
|
y2: line.y2,
|
|
13580
13701
|
stroke: "black",
|
|
13581
13702
|
"stroke-width": "1"
|
|
13582
|
-
}, null, 8, _hoisted_3$
|
|
13703
|
+
}, null, 8, _hoisted_3$1r);
|
|
13583
13704
|
}), 128))
|
|
13584
13705
|
], 2)),
|
|
13585
13706
|
__props.size === 3 ? (openBlock(), createElementBlock("span", _hoisted_4$$, toDisplayString$1(__props.value[1]), 1)) : createCommentVNode("", true)
|
|
@@ -14192,7 +14313,7 @@ function asyncImportWidgetConfigList() {
|
|
|
14192
14313
|
return widgetConfigList;
|
|
14193
14314
|
}
|
|
14194
14315
|
function asyncImportWidgetDesign() {
|
|
14195
|
-
const modules = /* @__PURE__ */ Object.assign({ "../__cell_widgets__/agg/agg-design.vue": () => import("./agg-design-
|
|
14316
|
+
const modules = /* @__PURE__ */ Object.assign({ "../__cell_widgets__/agg/agg-design.vue": () => import("./agg-design-Dhwx3iIe.js"), "../__cell_widgets__/boolean/boolean-design.vue": () => import("./boolean-design-CbeVxDgS.js"), "../__cell_widgets__/cell-widget-design.vue": () => Promise.resolve().then(() => cellWidgetDesign), "../__cell_widgets__/date-time/date-time-design.vue": () => import("./date-time-design-Des2BEGG.js"), "../__cell_widgets__/decimal/decimal-design.vue": () => import("./decimal-design-9Kc4ODP3.js"), "../__cell_widgets__/double/double-design.vue": () => import("./double-design-n6onlWq1.js"), "../__cell_widgets__/enum/enum-design.vue": () => import("./enum-design-DgSmNQh7.js"), "../__cell_widgets__/expression/expression-design.vue": () => import("./expression-design-BElbfk_V.js"), "../__cell_widgets__/file/file-design.vue": () => import("./file-design-f_7WnWPX.js"), "../__cell_widgets__/image/image-design.vue": () => import("./image-design-BM7BQp7K.js"), "../__cell_widgets__/integer/integer-design.vue": () => import("./integer-design-Br7uEUaS.js"), "../__cell_widgets__/org/org-design.vue": () => import("./org-design-DWZI8xev.js"), "../__cell_widgets__/ref/ref-design.vue": () => import("./ref-design-BQ8o1gKm.js"), "../__cell_widgets__/signature/signature-design.vue": () => import("./signature-design-BGYPdXbh.js"), "../__cell_widgets__/text/text-design.vue": () => import("./text-design-BpPxexKK.js"), "../__cell_widgets__/trace/trace-design.vue": () => import("./trace-design-C8WBib6t.js"), "../__cell_widgets__/user/user-design.vue": () => import("./user-design-fMF_h4IG.js"), "./barcode/barcode-design.vue": () => import("./barcode-design-DU6JglYw.js"), "./diagonal/diagonal-design.vue": () => import("./diagonal-design-D1h8ocMl.js"), "./image/image-design.vue": () => import("./image-design-qdMxhDOL.js"), "./line/line-design.vue": () => Promise.resolve().then(() => lineDesign), "./pagination/pagination-design.vue": () => import("./pagination-design-Bu2Nirai.js"), "./paper-widget-design.vue": () => import("./paper-widget-design-DBD1bJj0.js"), "./power/power-design.vue": () => Promise.resolve().then(() => powerDesign), "./qrcode/qrcode-design.vue": () => import("./qrcode-design-Blkq-uiY.js"), "./rangelimit/rangelimit-design.vue": () => Promise.resolve().then(() => rangelimitDesign), "./serialnumber/serialnumber-design.vue": () => import("./serialnumber-design-D_lZB-8S.js"), "./text/text-design.vue": () => import("./text-design-DwWukZGC.js"), "./timediff/timediff-design.vue": () => import("./timediff-design-CuI1JWPw.js") });
|
|
14196
14317
|
const widgetDesignMap = Object.keys(modules).reduce((map2, path) => {
|
|
14197
14318
|
const mKey = path.match(/\/([a-z]+)-design\.vue$/)?.[1];
|
|
14198
14319
|
if (mKey) {
|
|
@@ -14872,7 +14993,7 @@ const _hoisted_2$1K = {
|
|
|
14872
14993
|
key: 0,
|
|
14873
14994
|
class: "inline-cell-content__text"
|
|
14874
14995
|
};
|
|
14875
|
-
const _hoisted_3$
|
|
14996
|
+
const _hoisted_3$1q = ["src", "alt", "title"];
|
|
14876
14997
|
const _sfc_main$4h = /* @__PURE__ */ defineComponent({
|
|
14877
14998
|
__name: "inline-cell-content",
|
|
14878
14999
|
props: {
|
|
@@ -14899,7 +15020,7 @@ const _sfc_main$4h = /* @__PURE__ */ defineComponent({
|
|
|
14899
15020
|
alt: mediaName(item),
|
|
14900
15021
|
title: __props.showMediaTitle ? mediaName(item) : void 0,
|
|
14901
15022
|
draggable: "false"
|
|
14902
|
-
}, null, 8, _hoisted_3$
|
|
15023
|
+
}, null, 8, _hoisted_3$1q)) : createCommentVNode("", true)
|
|
14903
15024
|
], 64);
|
|
14904
15025
|
}), 128))
|
|
14905
15026
|
]);
|
|
@@ -19271,7 +19392,7 @@ if (process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__) {
|
|
|
19271
19392
|
if (process.env.NODE_ENV !== "production") ;
|
|
19272
19393
|
const _hoisted_1$2s = ["aria-label"];
|
|
19273
19394
|
const _hoisted_2$1J = { class: "inline-icon-suggestions__list" };
|
|
19274
|
-
const _hoisted_3$
|
|
19395
|
+
const _hoisted_3$1p = {
|
|
19275
19396
|
key: 0,
|
|
19276
19397
|
class: "inline-icon-suggestions__group"
|
|
19277
19398
|
};
|
|
@@ -19952,7 +20073,7 @@ const _sfc_main$4g = /* @__PURE__ */ defineComponent({
|
|
|
19952
20073
|
return openBlock(), createElementBlock(Fragment, {
|
|
19953
20074
|
key: row.key
|
|
19954
20075
|
}, [
|
|
19955
|
-
row.type === "group" ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
20076
|
+
row.type === "group" ? (openBlock(), createElementBlock("div", _hoisted_3$1p, toDisplayString$1(row.name), 1)) : withDirectives((openBlock(), createElementBlock("button", {
|
|
19956
20077
|
key: 1,
|
|
19957
20078
|
type: "button",
|
|
19958
20079
|
class: normalizeClass(["inline-icon-suggestions__item", row.index === activeSuggestionIndex.value && "inline-icon-suggestions__item--active"]),
|
|
@@ -21699,7 +21820,7 @@ const _hoisted_2$1H = {
|
|
|
21699
21820
|
cellpadding: "0",
|
|
21700
21821
|
cellspacing: "0"
|
|
21701
21822
|
};
|
|
21702
|
-
const _hoisted_3$
|
|
21823
|
+
const _hoisted_3$1o = ["data-x", "width"];
|
|
21703
21824
|
const _sfc_main$41 = /* @__PURE__ */ defineComponent({
|
|
21704
21825
|
__name: "paper-content",
|
|
21705
21826
|
setup(__props) {
|
|
@@ -21715,7 +21836,7 @@ const _sfc_main$41 = /* @__PURE__ */ defineComponent({
|
|
|
21715
21836
|
key: colIndex + 1,
|
|
21716
21837
|
"data-x": colIndex + 1,
|
|
21717
21838
|
width: col.width
|
|
21718
|
-
}, null, 8, _hoisted_3$
|
|
21839
|
+
}, null, 8, _hoisted_3$1o);
|
|
21719
21840
|
}), 128))
|
|
21720
21841
|
]),
|
|
21721
21842
|
createElementVNode("tbody", null, [
|
|
@@ -21957,7 +22078,7 @@ const _hoisted_1$2l = {
|
|
|
21957
22078
|
class: "table-x__table"
|
|
21958
22079
|
};
|
|
21959
22080
|
const _hoisted_2$1G = ["data-x", "width"];
|
|
21960
|
-
const _hoisted_3$
|
|
22081
|
+
const _hoisted_3$1n = ["data-x"];
|
|
21961
22082
|
const _hoisted_4$Z = ["onMouseenter"];
|
|
21962
22083
|
const _hoisted_5$L = ["onClick"];
|
|
21963
22084
|
const _hoisted_6$B = ["data-x"];
|
|
@@ -22047,7 +22168,7 @@ const _sfc_main$3$ = /* @__PURE__ */ defineComponent({
|
|
|
22047
22168
|
onClick: (e) => addCol(e, colIndex + 1)
|
|
22048
22169
|
}, null, 8, _hoisted_5$L)
|
|
22049
22170
|
], 42, _hoisted_4$Z)
|
|
22050
|
-
], 8, _hoisted_3$
|
|
22171
|
+
], 8, _hoisted_3$1n);
|
|
22051
22172
|
}), 128))
|
|
22052
22173
|
]),
|
|
22053
22174
|
createElementVNode("tr", {
|
|
@@ -22084,7 +22205,7 @@ const _hoisted_2$1F = {
|
|
|
22084
22205
|
cellspacing: "0",
|
|
22085
22206
|
class: "table-y__table"
|
|
22086
22207
|
};
|
|
22087
|
-
const _hoisted_3$
|
|
22208
|
+
const _hoisted_3$1m = ["width"];
|
|
22088
22209
|
const _hoisted_4$Y = ["data-y", "height"];
|
|
22089
22210
|
const _hoisted_5$K = { style: { "position": "relative" } };
|
|
22090
22211
|
const _hoisted_6$A = ["onMouseenter"];
|
|
@@ -22133,7 +22254,7 @@ const _sfc_main$3_ = /* @__PURE__ */ defineComponent({
|
|
|
22133
22254
|
_cache[2] || (_cache[2] = createElementVNode("col", { width: 20 }, null, -1)),
|
|
22134
22255
|
createElementVNode("col", {
|
|
22135
22256
|
width: hoverLineIndex.value !== -1 ? tableWidth.value : 0
|
|
22136
|
-
}, null, 8, _hoisted_3$
|
|
22257
|
+
}, null, 8, _hoisted_3$1m)
|
|
22137
22258
|
]),
|
|
22138
22259
|
createElementVNode("tbody", null, [
|
|
22139
22260
|
(openBlock(true), createElementBlock(Fragment, null, renderList(unref(paper2).rows, (row, rowIndex) => {
|
|
@@ -22264,7 +22385,7 @@ function _sfc_render$6(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
22264
22385
|
const SvgIcon = /* @__PURE__ */ _export_sfc(_sfc_main$3Y, [["render", _sfc_render$6], ["__scopeId", "data-v-8cce78a3"]]);
|
|
22265
22386
|
const _hoisted_1$2i = { class: "file-form-upload-wrapper" };
|
|
22266
22387
|
const _hoisted_2$1E = { class: "file-form-upload-design" };
|
|
22267
|
-
const _hoisted_3$
|
|
22388
|
+
const _hoisted_3$1l = { style: { "pointer-events": "none" } };
|
|
22268
22389
|
const _hoisted_4$X = { class: "file-form-upload-text" };
|
|
22269
22390
|
const _hoisted_5$J = { class: "file-form-hint" };
|
|
22270
22391
|
const _sfc_main$3X = /* @__PURE__ */ defineComponent({
|
|
@@ -22274,7 +22395,7 @@ const _sfc_main$3X = /* @__PURE__ */ defineComponent({
|
|
|
22274
22395
|
const _component_a_upload_dragger = resolveComponent("a-upload-dragger");
|
|
22275
22396
|
return openBlock(), createElementBlock("div", _hoisted_1$2i, [
|
|
22276
22397
|
createElementVNode("div", _hoisted_2$1E, [
|
|
22277
|
-
createElementVNode("div", _hoisted_3$
|
|
22398
|
+
createElementVNode("div", _hoisted_3$1l, [
|
|
22278
22399
|
createVNode(_component_a_upload_dragger, {
|
|
22279
22400
|
fileList: [],
|
|
22280
22401
|
class: "file-form-upload-dragger"
|
|
@@ -22301,7 +22422,7 @@ const FileView = /* @__PURE__ */ _export_sfc(_sfc_main$3X, [["__scopeId", "data-
|
|
|
22301
22422
|
const NoDataSvg = "data:image/svg+xml,%3csvg%20width='202'%20height='201'%20viewBox='0%200%20202%20201'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_4030_503)'%3e%3cpath%20d='M33.1006%20149.25L101%20128.18V43.0892L33.1006%2062.667V149.25Z'%20fill='%23CED3DE'/%3e%3cpath%20opacity='0.4'%20d='M168.899%20149.25L101%20128.18V43.0892L168.899%2062.667V149.25Z'%20fill='%236D7C9A'/%3e%3cpath%20d='M33.9172%20147.467L100.513%20126.491V42.9001L33.9172%2061.2689V147.467Z'%20fill='%23CED3DC'/%3e%3cpath%20d='M167.11%20147.467L100.513%20126.491V42.9001L167.11%2061.2689V147.467Z'%20fill='%23D8DCE3'/%3e%3cpath%20d='M101%20169.25L33.1006%20148.161V61.7499L101%2082.8384V169.25Z'%20fill='url(%23paint0_linear_4030_503)'/%3e%3cpath%20d='M101%20169.25L168.899%20148.161V61.7499L101%2082.8384V169.25Z'%20fill='url(%23paint1_linear_4030_503)'/%3e%3cpath%20opacity='0.09'%20d='M85.616%20154.25L33.1006%20148.386V61.7499L101%2082.8934L85.616%20154.25Z'%20fill='url(%23paint2_linear_4030_503)'/%3e%3cpath%20opacity='0.2'%20d='M116.384%20140.012L168.899%20149.25V64.25L101%2084.994L116.384%20140.012Z'%20fill='url(%23paint3_linear_4030_503)'/%3e%3cpath%20d='M101%2043.1346L69.1919%2019.25L0.408264%2042.4808L33.3468%2064.25L101%2043.1346Z'%20fill='url(%23paint4_linear_4030_503)'/%3e%3cpath%20d='M101%2043.1346L132.808%2019.25L201.592%2042.4808L168.653%2064.25L101%2043.1346Z'%20fill='url(%23paint5_linear_4030_503)'/%3e%3cpath%20d='M33.3468%2061.7499L101%2082.8474L67.2529%20104.25L0.408264%2082.1995L33.3468%2061.7499Z'%20fill='%23FBFCFE'/%3e%3cpath%20d='M168.653%2061.7499L101%2082.8474L134.745%20104.25L201.592%2082.1995L168.653%2061.7499Z'%20fill='%23F8FAFC'/%3e%3c/g%3e%3cdefs%3e%3clinearGradient%20id='paint0_linear_4030_503'%20x1='5178.17'%20y1='9713.97'%20x2='-861.592'%20y2='3305.18'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23DCE2EC'/%3e%3cstop%20offset='1'%20stop-color='%23EEF1F5'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint1_linear_4030_503'%20x1='5246.07'%20y1='9713.97'%20x2='-793.693'%20y2='3305.18'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23DCE2EC'/%3e%3cstop%20offset='1'%20stop-color='%23EEF1F5'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint2_linear_4030_503'%20x1='1956.77'%20y1='4686.76'%20x2='3998.32'%20y2='2007.13'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23DCE2EC'%20stop-opacity='0'/%3e%3cstop%20offset='1'%20stop-color='%23DCE2EC'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint3_linear_4030_503'%20x1='3666.16'%20y1='7091.76'%20x2='3792.54'%20y2='1412.6'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23DCE0E9'/%3e%3cstop%20offset='1'%20stop-color='%23DCE0E9'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint4_linear_4030_503'%20x1='11606.1'%20y1='2631.82'%20x2='-183.957'%20y2='-903.086'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23FCFCFC'/%3e%3cstop%20offset='1'%20stop-color='%23EFF2F6'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint5_linear_4030_503'%20x1='1214.91'%20y1='2824.87'%20x2='7446.56'%20y2='-1433.95'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23F8FAFC'/%3e%3cstop%20offset='1'%20stop-color='%23DEE4ED'/%3e%3c/linearGradient%3e%3cclipPath%20id='clip0_4030_503'%3e%3crect%20width='201.183'%20height='200'%20fill='white'%20transform='translate(0.408264%200.5)'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e";
|
|
22302
22423
|
const _hoisted_1$2h = { class: "swapper" };
|
|
22303
22424
|
const _hoisted_2$1D = { class: "item-box" };
|
|
22304
|
-
const _hoisted_3$
|
|
22425
|
+
const _hoisted_3$1k = ["onClick"];
|
|
22305
22426
|
const _hoisted_4$W = ["onClick"];
|
|
22306
22427
|
const _hoisted_5$I = ["onClick"];
|
|
22307
22428
|
const _hoisted_6$z = {
|
|
@@ -22412,7 +22533,7 @@ const _sfc_main$3W = /* @__PURE__ */ defineComponent({
|
|
|
22412
22533
|
]),
|
|
22413
22534
|
_: 2
|
|
22414
22535
|
}, 1032, ["onVisibleChange"])
|
|
22415
|
-
], 10, _hoisted_3$
|
|
22536
|
+
], 10, _hoisted_3$1k);
|
|
22416
22537
|
}), 128))
|
|
22417
22538
|
])
|
|
22418
22539
|
], 512),
|
|
@@ -22433,7 +22554,7 @@ const _sfc_main$3W = /* @__PURE__ */ defineComponent({
|
|
|
22433
22554
|
const SheetsSwapper = /* @__PURE__ */ _export_sfc(_sfc_main$3W, [["__scopeId", "data-v-3f173078"]]);
|
|
22434
22555
|
const _hoisted_1$2g = { class: "sheets" };
|
|
22435
22556
|
const _hoisted_2$1C = { class: "sheets-btns" };
|
|
22436
|
-
const _hoisted_3$
|
|
22557
|
+
const _hoisted_3$1j = ["title", "onClick"];
|
|
22437
22558
|
const _sfc_main$3V = /* @__PURE__ */ defineComponent({
|
|
22438
22559
|
__name: "index",
|
|
22439
22560
|
props: {
|
|
@@ -22466,7 +22587,7 @@ const _sfc_main$3V = /* @__PURE__ */ defineComponent({
|
|
|
22466
22587
|
class: normalizeClass(["sheet-item ell", [unref(activeSheetId2) === item.sheetId && "active"]]),
|
|
22467
22588
|
title: item.title,
|
|
22468
22589
|
onClick: ($event) => unref(changeActiveSheet2)(item)
|
|
22469
|
-
}, toDisplayString$1(item.title), 11, _hoisted_3$
|
|
22590
|
+
}, toDisplayString$1(item.title), 11, _hoisted_3$1j);
|
|
22470
22591
|
}), 128))
|
|
22471
22592
|
]),
|
|
22472
22593
|
default: withCtx(() => [
|
|
@@ -22490,7 +22611,7 @@ const _hoisted_1$2f = {
|
|
|
22490
22611
|
class: "h-full w-full flex items-center justify-center"
|
|
22491
22612
|
};
|
|
22492
22613
|
const _hoisted_2$1B = { class: "spread-sheet__canvas" };
|
|
22493
|
-
const _hoisted_3$
|
|
22614
|
+
const _hoisted_3$1i = { key: 4 };
|
|
22494
22615
|
const _sfc_main$3U = /* @__PURE__ */ defineComponent({
|
|
22495
22616
|
__name: "sheet-view",
|
|
22496
22617
|
props: {
|
|
@@ -22534,7 +22655,7 @@ const _sfc_main$3U = /* @__PURE__ */ defineComponent({
|
|
|
22534
22655
|
}))
|
|
22535
22656
|
])
|
|
22536
22657
|
], 4)),
|
|
22537
|
-
!__props.loading && !__props.sheetNull && unref(doc2).formType !== unref(FormTypeEnum).FILE && !__props.isRecord ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
22658
|
+
!__props.loading && !__props.sheetNull && unref(doc2).formType !== unref(FormTypeEnum).FILE && !__props.isRecord ? (openBlock(), createElementBlock("div", _hoisted_3$1i, [
|
|
22538
22659
|
createVNode(SheetsComp, { readonly: true })
|
|
22539
22660
|
])) : createCommentVNode("", true),
|
|
22540
22661
|
!__props.loading && !__props.sheetNull ? renderSlot(_ctx.$slots, "logbookFormConfig", {}, void 0, true, 5) : createCommentVNode("", true)
|
|
@@ -22785,7 +22906,7 @@ const _hoisted_2$1A = {
|
|
|
22785
22906
|
cellpadding: "0",
|
|
22786
22907
|
cellspacing: "0"
|
|
22787
22908
|
};
|
|
22788
|
-
const _hoisted_3$
|
|
22909
|
+
const _hoisted_3$1h = ["data-x", "width"];
|
|
22789
22910
|
const _hoisted_4$V = ["data-x"];
|
|
22790
22911
|
const _hoisted_5$H = { class: "title-x" };
|
|
22791
22912
|
const _sfc_main$3R = /* @__PURE__ */ defineComponent({
|
|
@@ -22840,7 +22961,7 @@ const _sfc_main$3R = /* @__PURE__ */ defineComponent({
|
|
|
22840
22961
|
key: colIndex + 1,
|
|
22841
22962
|
"data-x": colIndex + 1,
|
|
22842
22963
|
width: col.width
|
|
22843
|
-
}, null, 8, _hoisted_3$
|
|
22964
|
+
}, null, 8, _hoisted_3$1h);
|
|
22844
22965
|
}), 128))
|
|
22845
22966
|
]),
|
|
22846
22967
|
createElementVNode("thead", null, [
|
|
@@ -22882,7 +23003,7 @@ const _hoisted_1$2d = {
|
|
|
22882
23003
|
cellspacing: "0"
|
|
22883
23004
|
};
|
|
22884
23005
|
const _hoisted_2$1z = ["data-y", "height"];
|
|
22885
|
-
const _hoisted_3$
|
|
23006
|
+
const _hoisted_3$1g = ["data-y"];
|
|
22886
23007
|
const _hoisted_4$U = { class: "title-y" };
|
|
22887
23008
|
const _sfc_main$3Q = /* @__PURE__ */ defineComponent({
|
|
22888
23009
|
__name: "sheet-y",
|
|
@@ -22953,7 +23074,7 @@ const _sfc_main$3Q = /* @__PURE__ */ defineComponent({
|
|
|
22953
23074
|
["stop"]
|
|
22954
23075
|
))
|
|
22955
23076
|
}, null, 32)
|
|
22956
|
-
], 42, _hoisted_3$
|
|
23077
|
+
], 42, _hoisted_3$1g)
|
|
22957
23078
|
], 8, _hoisted_2$1z);
|
|
22958
23079
|
}), 128))
|
|
22959
23080
|
])
|
|
@@ -23409,7 +23530,7 @@ const _hoisted_1$2b = {
|
|
|
23409
23530
|
class: "component"
|
|
23410
23531
|
};
|
|
23411
23532
|
const _hoisted_2$1y = { class: "box" };
|
|
23412
|
-
const _hoisted_3$
|
|
23533
|
+
const _hoisted_3$1f = { style: {
|
|
23413
23534
|
borderRadius: "4px"
|
|
23414
23535
|
} };
|
|
23415
23536
|
const _hoisted_4$T = { class: "color-picker-middle" };
|
|
@@ -23926,7 +24047,7 @@ const _sfc_main$3N = /* @__PURE__ */ defineComponent({
|
|
|
23926
24047
|
default: withCtx(() => [
|
|
23927
24048
|
__props.useTrigger ? renderSlot(_ctx.$slots, "trigger", {}, void 0, true, 0) : (openBlock(), createElementBlock("div", _hoisted_1$2b, [
|
|
23928
24049
|
createElementVNode("div", _hoisted_2$1y, [
|
|
23929
|
-
createElementVNode("div", _hoisted_3$
|
|
24050
|
+
createElementVNode("div", _hoisted_3$1f, [
|
|
23930
24051
|
renderSlot(_ctx.$slots, "icon", {}, void 0, true)
|
|
23931
24052
|
])
|
|
23932
24053
|
])
|
|
@@ -24120,7 +24241,7 @@ const UploadPlaceholderIcon = "data:image/svg+xml,%3csvg%20width='48'%20height='
|
|
|
24120
24241
|
const UploadStageBackground = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAASwAAAEsCAYAAAB5fY51AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAOdEVYdFNvZnR3YXJlAEZpZ21hnrGWYwAAB7JJREFUeAHt3UFPW1cax+HDARklAkcqbEIWKZ1WYdHSRdvv/wGSLApZANEIMp04i8JoxkaamsB4OI6IvGtkd3H+0vNsuDmKhBJfvbmvfwTWbm9vZ7NZKb9f/l7++dtv5f7X5eneXtnbe1aa0eh9+TAaza8Xzy8uzsvV5eX8+vn+ftnd2V3q/OzstEzG4/n1dwcHZbi1vdT58fFRuZlO59ffHx6WzcHmUuevX70sD376+ZfP18ueDwaD8sPhj/Pr9vna513mfGt7u7x4cTC/nkwm5ez0ZKnznZ2d8vX+N/Pr9nq012WZ8y+5R77kfJV7Z/F8lXtn8XyVe2fx/K+4dxbPV7l3Fs9XuXcWz1e5dxbPv+QeOWiv1XA4v177+PHj7H/3A+vuflDN1tbKxvp6AejB7d3d/GObS3Xt/uP4/l+WR48fl/WNjQLQk4cHqLv7wfWv//y71NPT0wLQtfv3rf7x7l2p7Xp93dMV0K+2AbanrNre6ALoXZtVa9Obj7MCEKAWgBC1fb0DQO/arKoPX5wF0LM2q6yEQAyVEIigEgJRrIRAjPrwP6gBetZmVX349hwAPWuzykoIxKjtG6IB9K7NKpUQiGElBGKohEAElRCIoRICUVRCIIJKCESxEgIxVEIggkoIxFAJgSgqIRBBJQSiWAmBGPXs9KQA9K7NqjqZTApA79qsshICMdYur65m29vDAtCzyWSsEgI5rIRADJUQiKASAjFUQiCKSghEUAmBKFZCIIZKCERQCYEYKiEQRSUEIqiEQBQrIRCjvjk+KgC9a7OqTqfTAtC7NqushECMtfH19WxzsFkAeja9maqEQA4rIRBDJQQiqIRADJUQiKISAhFUQiCKlRCIoRICEVRCIIZKCERRCYEIKiEQxUoIxKivX70sAL1rs8oTFhDDwAJieNMdiOEJC4hhYAExVEIggkoIRDGwgBgqIRDDExYQw8ACYqiEQASVEIhiYAExVEIghicsIIaBBcRQCYEIKiEQpQ42/YgvoH9tVqmEQAwrIRCjTm9uCkDv2qyqb45+LQC9a7PKSgjEUAmBCCohEMVKCMRQCYEIKiEQQyUEoqiEQASVEIhiJQRiqIRABJUQiKESAlHq1nBYAHrXZpVKCMSwEgIx6vh6UgB612ZVfXtyUgB612aVlRCIoRICEVRCIIqVEIihEgIRVEIghkoIRFEJgQgqIRDFSgjEUAmBCCohEEMlBKLUr3Z3C0Dv2qxSCYEYVkIgRr28uiwAvWuzqr47Py8AvWuzykoIxFAJgQgqIRDFSgjEUAmBCCohEEMlBKKohEAElRCIYiUEYqiEQASVEIihEgJR6tO9vQLQuzarVEIghpUQiFFHo/cFoHdtVtUPo1EB6F2bVVZCIIZKCERQCYEoVkIghkoIRFAJgRgqIRBFJQQiqIRAFCshEEMlBCKohEAMlRCIUp/v7xeA3rVZpRICMayEQIx6ceHHfAH9a7OqXl36QapA/9qsshICMVRCIIJKCESxEgIxVEIggkoIxFAJgSgqIRBBJQSiWAmBGCohEEElBGKohECUtcurq9n29rAA9GwyGauEQA4rIRCjnp2eFIDetVlVJ5NJAehdm1VWQiCGSghEUAmBKFZCIIZKCERQCYEYKiEQRSUEIqiEQBQrIRBDJQQiqIRADJUQiLI2vr6ebQ42C0DPpjdTlRDIYSUEYtQ3x0cFoHdtVtXpdFoAetdmlZUQiKESAhFUQiCKlRCIoRICEVRCIIZKCERRCYEIKiEQxUoIxFAJgQgqIRBDJQSieNMdiOEJC4hhYAEx6utXLwtA79qs8oQFxDCwgBgqIRDDExYQw8ACYqiEQASVEIhiYAExVEIghicsIIaBBcRQCYEIKiEQxcACYqiEQAxPWECMOr25KQC9a7Oqvjn6tQD0rs0qKyEQow42NwtA79qsUgmBGFZCIIZKCERQCYEYKiEQRSUEIqiEQBQrIRBDJQQiqIRADJUQiKISAhFUQiCKlRCIUcfXkwLQuzar6tuTkwLQuzarrIRAjLo1HBaA3rVZpRICMayEQAyVEIigEgIxVEIgikoIRFAJgShWQiCGSghEUAmBGCohEEUlBCKohEAUKyEQo15eXRaA3rVZVd+dnxeA3rVZZSUEYtSvdncLQO/arFIJgRhWQiCGSghEUAmBGCohEEUlBCKohEAUKyEQQyUEIqiEQAyVEIiiEgIRVEIgipUQiFFHo/cFoHdtVtUPo1EB6F2bVVZCIEZ9urdXAHrXZpVKCMSwEgIxVEIggkoIxJhXwvX19XJ3d1sAenV3+2lG1WfPnpVZWSsAPfvbt9+WjeFwWNbX6/1T1t38sD1xAfTg01ya3a+CG+Xxo0dlox3e/PFH+e90Wv7+9u38N7Wvd9jbeza/bm90PbzPtXh+cXFeri4/ffO/5/v7ZXdnd6nzs7PTMhmP59ffHRyU4db2UufHx0fl5v7P0Hx/eFg2B5tLnb9+9fLzX9ZPP//y+XrZ88FgUH44/HF+3T5f+7zLnG9tb5cXLw7m15PJpJydnix1vrOzU77e/2Z+3V6P9rosc/4l98iXnK9y7yyer3LvLJ6vcu8snv8V987i+Sr3zuL5KvfO4vkq987i+Z/dI+0Bqm2BT548mZ//H2CpcUjZauYfAAAAAElFTkSuQmCC";
|
|
24121
24242
|
const _hoisted_1$2a = ["aria-label"];
|
|
24122
24243
|
const _hoisted_2$1x = { class: "inline-media-modal__header" };
|
|
24123
|
-
const _hoisted_3$
|
|
24244
|
+
const _hoisted_3$1e = ["aria-label"];
|
|
24124
24245
|
const _hoisted_4$S = ["aria-selected"];
|
|
24125
24246
|
const _hoisted_5$F = ["aria-selected"];
|
|
24126
24247
|
const _hoisted_6$x = {
|
|
@@ -24403,7 +24524,7 @@ const _sfc_main$3I = /* @__PURE__ */ defineComponent({
|
|
|
24403
24524
|
class: normalizeClass([activeTab.value === "image" && "inline-media-modal__tab--active", "inline-media-modal__tab"]),
|
|
24404
24525
|
onClick: _cache[1] || (_cache[1] = ($event) => activeTab.value = "image")
|
|
24405
24526
|
}, toDisplayString$1(_ctx.$t("sys.image")), 11, _hoisted_5$F)
|
|
24406
|
-
], 8, _hoisted_3$
|
|
24527
|
+
], 8, _hoisted_3$1e)
|
|
24407
24528
|
]),
|
|
24408
24529
|
activeTab.value === "icon" ? (openBlock(), createElementBlock("div", _hoisted_6$x, [
|
|
24409
24530
|
createElementVNode("aside", {
|
|
@@ -24700,7 +24821,7 @@ function resolveTableSvg(key) {
|
|
|
24700
24821
|
}
|
|
24701
24822
|
const _hoisted_1$29 = { class: "designer__toolbar" };
|
|
24702
24823
|
const _hoisted_2$1w = { class: "designer__toolbar__left" };
|
|
24703
|
-
const _hoisted_3$
|
|
24824
|
+
const _hoisted_3$1d = { class: "designer__toolbar__left__second" };
|
|
24704
24825
|
const _hoisted_4$R = { class: "second__top" };
|
|
24705
24826
|
const _hoisted_5$E = { class: "tool--dropdown" };
|
|
24706
24827
|
const _hoisted_6$w = { class: "flex items-center text-14px" };
|
|
@@ -24921,7 +25042,7 @@ const _sfc_main$3H = /* @__PURE__ */ defineComponent({
|
|
|
24921
25042
|
createElementVNode("div", _hoisted_2$1w, [
|
|
24922
25043
|
createVNode(HistoryToolbar),
|
|
24923
25044
|
_cache[27] || (_cache[27] = createElementVNode("div", { class: "vertical-divider" }, null, -1)),
|
|
24924
|
-
createElementVNode("div", _hoisted_3$
|
|
25045
|
+
createElementVNode("div", _hoisted_3$1d, [
|
|
24925
25046
|
createElementVNode("div", _hoisted_4$R, [
|
|
24926
25047
|
createVNode(_sfc_main$3M, {
|
|
24927
25048
|
value: cellFontFamily.value,
|
|
@@ -26079,7 +26200,7 @@ const _sfc_main$3E = /* @__PURE__ */ defineComponent({
|
|
|
26079
26200
|
const ToolkitTitle = /* @__PURE__ */ _export_sfc(_sfc_main$3E, [["__scopeId", "data-v-6ff6d30c"]]);
|
|
26080
26201
|
const _hoisted_1$26 = { class: "wrapper" };
|
|
26081
26202
|
const _hoisted_2$1v = { class: "title" };
|
|
26082
|
-
const _hoisted_3$
|
|
26203
|
+
const _hoisted_3$1c = ["data-widget"];
|
|
26083
26204
|
const _sfc_main$3D = /* @__PURE__ */ defineComponent({
|
|
26084
26205
|
__name: "display-widgets",
|
|
26085
26206
|
setup(__props) {
|
|
@@ -26141,7 +26262,7 @@ const _sfc_main$3D = /* @__PURE__ */ defineComponent({
|
|
|
26141
26262
|
class: normalizeClass(["iconfont", item.icon])
|
|
26142
26263
|
}, null, 2),
|
|
26143
26264
|
createTextVNode(" " + toDisplayString$1(item.name), 1)
|
|
26144
|
-
], 8, _hoisted_3$
|
|
26265
|
+
], 8, _hoisted_3$1c);
|
|
26145
26266
|
}), 128))
|
|
26146
26267
|
], 32)) : (openBlock(), createBlock(_component_a_empty, {
|
|
26147
26268
|
key: 1,
|
|
@@ -26155,7 +26276,7 @@ const _sfc_main$3D = /* @__PURE__ */ defineComponent({
|
|
|
26155
26276
|
const DisplayWidgets = /* @__PURE__ */ _export_sfc(_sfc_main$3D, [["__scopeId", "data-v-ad7d9982"]]);
|
|
26156
26277
|
const _hoisted_1$25 = { class: "wrapper" };
|
|
26157
26278
|
const _hoisted_2$1u = { class: "title" };
|
|
26158
|
-
const _hoisted_3$
|
|
26279
|
+
const _hoisted_3$1b = ["data-type"];
|
|
26159
26280
|
const _sfc_main$3C = /* @__PURE__ */ defineComponent({
|
|
26160
26281
|
__name: "form-widgets",
|
|
26161
26282
|
setup(__props) {
|
|
@@ -26203,7 +26324,7 @@ const _sfc_main$3C = /* @__PURE__ */ defineComponent({
|
|
|
26203
26324
|
class: normalizeClass(["iconfont", item.icon])
|
|
26204
26325
|
}, null, 2),
|
|
26205
26326
|
createTextVNode(" " + toDisplayString$1(item.name), 1)
|
|
26206
|
-
], 8, _hoisted_3$
|
|
26327
|
+
], 8, _hoisted_3$1b);
|
|
26207
26328
|
}), 128))
|
|
26208
26329
|
], 32)) : (openBlock(), createBlock(_component_a_empty, {
|
|
26209
26330
|
key: 1,
|
|
@@ -26217,7 +26338,7 @@ const _sfc_main$3C = /* @__PURE__ */ defineComponent({
|
|
|
26217
26338
|
const FormWidgets = /* @__PURE__ */ _export_sfc(_sfc_main$3C, [["__scopeId", "data-v-25306d3a"]]);
|
|
26218
26339
|
const _hoisted_1$24 = { class: "wrapper" };
|
|
26219
26340
|
const _hoisted_2$1t = { class: "title" };
|
|
26220
|
-
const _hoisted_3$
|
|
26341
|
+
const _hoisted_3$1a = ["data-type"];
|
|
26221
26342
|
const _sfc_main$3B = /* @__PURE__ */ defineComponent({
|
|
26222
26343
|
__name: "trace-widgets",
|
|
26223
26344
|
setup(__props) {
|
|
@@ -26256,7 +26377,7 @@ const _sfc_main$3B = /* @__PURE__ */ defineComponent({
|
|
|
26256
26377
|
class: normalizeClass(["iconfont", item.icon])
|
|
26257
26378
|
}, null, 2),
|
|
26258
26379
|
createTextVNode(" " + toDisplayString$1(item.name), 1)
|
|
26259
|
-
], 8, _hoisted_3$
|
|
26380
|
+
], 8, _hoisted_3$1a);
|
|
26260
26381
|
}), 128))
|
|
26261
26382
|
], 32)) : (openBlock(), createBlock(_component_a_empty, {
|
|
26262
26383
|
key: 1,
|
|
@@ -26270,7 +26391,7 @@ const _sfc_main$3B = /* @__PURE__ */ defineComponent({
|
|
|
26270
26391
|
const TraceWidgets = /* @__PURE__ */ _export_sfc(_sfc_main$3B, [["__scopeId", "data-v-de67ba03"]]);
|
|
26271
26392
|
const _hoisted_1$23 = { class: "wrapper" };
|
|
26272
26393
|
const _hoisted_2$1s = { class: "title" };
|
|
26273
|
-
const _hoisted_3$
|
|
26394
|
+
const _hoisted_3$19 = ["data-type"];
|
|
26274
26395
|
const _sfc_main$3A = /* @__PURE__ */ defineComponent({
|
|
26275
26396
|
__name: "business-widgets",
|
|
26276
26397
|
setup(__props) {
|
|
@@ -26309,7 +26430,7 @@ const _sfc_main$3A = /* @__PURE__ */ defineComponent({
|
|
|
26309
26430
|
class: normalizeClass(["iconfont", item.icon])
|
|
26310
26431
|
}, null, 2),
|
|
26311
26432
|
createTextVNode(" " + toDisplayString$1(item.name), 1)
|
|
26312
|
-
], 8, _hoisted_3$
|
|
26433
|
+
], 8, _hoisted_3$19);
|
|
26313
26434
|
}), 128))
|
|
26314
26435
|
], 32)) : (openBlock(), createBlock(_component_a_empty, {
|
|
26315
26436
|
key: 1,
|
|
@@ -26347,13 +26468,11 @@ const _sfc_main$3y = /* @__PURE__ */ defineComponent({
|
|
|
26347
26468
|
tmplVersionId: {}
|
|
26348
26469
|
},
|
|
26349
26470
|
setup(__props) {
|
|
26350
|
-
const AddOnlineFormField = window.NocodeAdapter.components.AddOnlineFormField;
|
|
26351
26471
|
const formFieldC = useFormModel().injectController();
|
|
26352
26472
|
provide("isInOnlineForm", true);
|
|
26353
26473
|
const { getModelInfo: getModelInfo2, refreshModelFields: refreshModelFields2, modelMetaMap: modelMetaMap2 } = useModelFields();
|
|
26354
26474
|
const ns = useNamespace("add-field-btn");
|
|
26355
26475
|
const modelMeta = ref();
|
|
26356
|
-
const addOnlineFormRef = ref();
|
|
26357
26476
|
const props2 = __props;
|
|
26358
26477
|
watch(
|
|
26359
26478
|
() => props2.model,
|
|
@@ -26367,7 +26486,6 @@ const _sfc_main$3y = /* @__PURE__ */ defineComponent({
|
|
|
26367
26486
|
},
|
|
26368
26487
|
{ immediate: true }
|
|
26369
26488
|
);
|
|
26370
|
-
console.log("addOnlineFormRef");
|
|
26371
26489
|
const allFields = computed(() => {
|
|
26372
26490
|
if (!props2.model || !modelMetaMap2.value[props2.model]) {
|
|
26373
26491
|
return [];
|
|
@@ -26380,9 +26498,11 @@ const _sfc_main$3y = /* @__PURE__ */ defineComponent({
|
|
|
26380
26498
|
const keyList = computed(() => {
|
|
26381
26499
|
return allFields.value.map((i) => i.key);
|
|
26382
26500
|
});
|
|
26383
|
-
|
|
26384
|
-
|
|
26385
|
-
|
|
26501
|
+
async function ensureModelMeta() {
|
|
26502
|
+
if (modelMeta.value || !props2.model) return;
|
|
26503
|
+
const res = await getModelInfo2(props2.model);
|
|
26504
|
+
modelMeta.value = res;
|
|
26505
|
+
}
|
|
26386
26506
|
const refreshFields = async () => {
|
|
26387
26507
|
await refreshModelFields2(props2.model);
|
|
26388
26508
|
await formFieldC.refresh();
|
|
@@ -26397,6 +26517,25 @@ const _sfc_main$3y = /* @__PURE__ */ defineComponent({
|
|
|
26397
26517
|
await refreshModelFields2(subModelKey);
|
|
26398
26518
|
}
|
|
26399
26519
|
};
|
|
26520
|
+
const handleAddField = async () => {
|
|
26521
|
+
await ensureModelMeta();
|
|
26522
|
+
if (!modelMeta.value) {
|
|
26523
|
+
message.warning($t("sys.pageDesigner.addFieldNotReady"));
|
|
26524
|
+
return;
|
|
26525
|
+
}
|
|
26526
|
+
const open = window.NocodeAdapter.utils?.openAddOnlineFormField;
|
|
26527
|
+
if (!open) {
|
|
26528
|
+
message.warning($t("sys.pageDesigner.addFieldNotReady"));
|
|
26529
|
+
return;
|
|
26530
|
+
}
|
|
26531
|
+
await open({
|
|
26532
|
+
model: modelMeta.value,
|
|
26533
|
+
keyList: keyList.value,
|
|
26534
|
+
nameList: nameList.value,
|
|
26535
|
+
tmplVersionId: props2.tmplVersionId,
|
|
26536
|
+
onSuccess: handleFieldModalOk
|
|
26537
|
+
});
|
|
26538
|
+
};
|
|
26400
26539
|
return (_ctx, _cache) => {
|
|
26401
26540
|
const _component_plus_outlined = resolveComponent("plus-outlined");
|
|
26402
26541
|
return openBlock(), createElementBlock("div", {
|
|
@@ -26408,21 +26547,12 @@ const _sfc_main$3y = /* @__PURE__ */ defineComponent({
|
|
|
26408
26547
|
}, [
|
|
26409
26548
|
createVNode(_component_plus_outlined),
|
|
26410
26549
|
createTextVNode(toDisplayString$1(_ctx.$t("sys.pageDesigner.addField")), 1)
|
|
26411
|
-
], 2)
|
|
26412
|
-
createVNode(unref(AddOnlineFormField), {
|
|
26413
|
-
ref_key: "addOnlineFormRef",
|
|
26414
|
-
ref: addOnlineFormRef,
|
|
26415
|
-
model: modelMeta.value,
|
|
26416
|
-
keyList: keyList.value,
|
|
26417
|
-
nameList: nameList.value,
|
|
26418
|
-
tmplVersionId: __props.tmplVersionId,
|
|
26419
|
-
onSuccess: handleFieldModalOk
|
|
26420
|
-
}, null, 8, ["model", "keyList", "nameList", "tmplVersionId"])
|
|
26550
|
+
], 2)
|
|
26421
26551
|
], 2);
|
|
26422
26552
|
};
|
|
26423
26553
|
}
|
|
26424
26554
|
});
|
|
26425
|
-
const AddFieldBtn = /* @__PURE__ */ _export_sfc(_sfc_main$3y, [["__scopeId", "data-v-
|
|
26555
|
+
const AddFieldBtn = /* @__PURE__ */ _export_sfc(_sfc_main$3y, [["__scopeId", "data-v-f8255c81"]]);
|
|
26426
26556
|
function _isSlot(s) {
|
|
26427
26557
|
return typeof s === "function" || Object.prototype.toString.call(s) === "[object Object]" && !isVNode$1(s);
|
|
26428
26558
|
}
|
|
@@ -27034,7 +27164,7 @@ const ToolkitContentFields = /* @__PURE__ */ defineComponent({
|
|
|
27034
27164
|
});
|
|
27035
27165
|
const _hoisted_1$21 = ["title"];
|
|
27036
27166
|
const _hoisted_2$1r = ["title"];
|
|
27037
|
-
const _hoisted_3$
|
|
27167
|
+
const _hoisted_3$18 = ["title"];
|
|
27038
27168
|
const _hoisted_4$Q = { class: "group-fields__content" };
|
|
27039
27169
|
const _hoisted_5$D = ["title"];
|
|
27040
27170
|
const _sfc_main$3x = /* @__PURE__ */ defineComponent({
|
|
@@ -27154,7 +27284,7 @@ const _sfc_main$3x = /* @__PURE__ */ defineComponent({
|
|
|
27154
27284
|
createElementVNode("div", {
|
|
27155
27285
|
class: "group-fields__label",
|
|
27156
27286
|
title: group.groupCaption
|
|
27157
|
-
}, toDisplayString$1(group.groupCaption), 9, _hoisted_3$
|
|
27287
|
+
}, toDisplayString$1(group.groupCaption), 9, _hoisted_3$18),
|
|
27158
27288
|
createElementVNode("div", _hoisted_4$Q, [
|
|
27159
27289
|
(openBlock(true), createElementBlock(Fragment, null, renderList(group.fields, (field) => {
|
|
27160
27290
|
return openBlock(), createElementBlock("div", {
|
|
@@ -57716,7 +57846,7 @@ function getSuiteFeatures(suiteKey) {
|
|
|
57716
57846
|
}
|
|
57717
57847
|
const _hoisted_1$1_ = { class: "designer__toolkit" };
|
|
57718
57848
|
const _hoisted_2$1p = { class: "text-init-data" };
|
|
57719
|
-
const _hoisted_3$
|
|
57849
|
+
const _hoisted_3$17 = { class: "text-glob" };
|
|
57720
57850
|
const _sfc_main$3u = /* @__PURE__ */ defineComponent({
|
|
57721
57851
|
__name: "toolkit",
|
|
57722
57852
|
props: {
|
|
@@ -57931,7 +58061,7 @@ const _sfc_main$3u = /* @__PURE__ */ defineComponent({
|
|
|
57931
58061
|
})
|
|
57932
58062
|
}, [
|
|
57933
58063
|
createVNode(GlobConfigIcon, { class: "mb6px" }),
|
|
57934
|
-
createElementVNode("span", _hoisted_3$
|
|
58064
|
+
createElementVNode("span", _hoisted_3$17, toDisplayString$1(_ctx.$t("sys.onlineForm.globalConfiguration")), 1)
|
|
57935
58065
|
], 2)) : createCommentVNode("", true)
|
|
57936
58066
|
]);
|
|
57937
58067
|
};
|
|
@@ -57943,7 +58073,7 @@ const MacOption = "data:image/svg+xml,%3csvg%20width='17'%20height='16'%20viewBo
|
|
|
57943
58073
|
const Mouse = "data:image/svg+xml,%3csvg%20width='17'%20height='16'%20viewBox='0%200%2017%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='&%23233;&%23188;&%23160;&%23230;&%23160;&%23135;%201'%3e%3cpath%20id='Vector'%20d='M8.83626%2016H8.16373C6.79487%2016%205.48208%2015.4562%204.51415%2014.4883C3.54622%2013.5204%203.00244%2012.2076%203.00244%2010.8387V4.06647C3.00244%202.98798%203.43087%201.95365%204.19348%201.19104C4.95609%200.428431%205.99042%200%207.06891%200L9.93108%200C10.4651%200%2010.9939%200.105182%2011.4873%200.309542C11.9806%200.513901%2012.4289%200.813435%2012.8065%201.19104C13.1841%201.56865%2013.4837%202.01693%2013.688%202.5103C13.8924%203.00367%2013.9976%203.53245%2013.9976%204.06647V10.8387C13.9976%2012.2076%2013.4538%2013.5204%2012.4858%2014.4883C11.5179%2015.4562%2010.2051%2016%208.83626%2016ZM7.06891%201.25122C5.52053%201.25122%204.25366%202.51808%204.25366%204.06647V10.8387C4.25366%2012.9971%206.00537%2014.7488%208.16373%2014.7488H8.83626C10.9946%2014.7488%2012.7463%2012.9971%2012.7463%2010.8387V4.06647C12.7463%202.51808%2011.4795%201.25122%209.93108%201.25122H7.06891Z'%20fill='black'/%3e%3cpath%20id='Vector_2'%20d='M8.64855%207.55425H8.35138C7.93658%207.55425%207.53876%207.38947%207.24545%207.09616C6.95213%206.80285%206.78735%206.40503%206.78735%205.99022V3.6911C6.78735%203.2763%206.95213%202.87848%207.24545%202.58517C7.53876%202.29186%207.93658%202.12708%208.35138%202.12708H8.64855C9.06335%202.12708%209.46117%202.29186%209.75448%202.58517C10.0478%202.87848%2010.2126%203.2763%2010.2126%203.6911V5.99022C10.2126%206.40503%2010.0478%206.80285%209.75448%207.09616C9.46117%207.38947%209.06335%207.55425%208.64855%207.55425ZM8.35138%203.3783C8.3103%203.3783%208.26963%203.38639%208.23168%203.40211C8.19372%203.41783%208.15924%203.44087%208.13019%203.46992C8.10115%203.49896%208.07811%203.53345%208.06239%203.5714C8.04667%203.60935%208.03858%203.65002%208.03858%203.6911V5.99022C8.03858%206.0313%208.04667%206.07198%208.06239%206.10993C8.07811%206.14788%208.10115%206.18236%208.13019%206.21141C8.15924%206.24046%208.19372%206.2635%208.23168%206.27922C8.26963%206.29494%208.3103%206.30303%208.35138%206.30303H8.64855C8.68962%206.30303%208.7303%206.29494%208.76825%206.27922C8.8062%206.2635%208.84069%206.24046%208.86973%206.21141C8.89878%206.18236%208.92182%206.14788%208.93754%206.10993C8.95326%206.07198%208.96135%206.0313%208.96135%205.99022V3.6911C8.96135%203.65002%208.95326%203.60935%208.93754%203.5714C8.92182%203.53345%208.89878%203.49896%208.86973%203.46992C8.84069%203.44087%208.8062%203.41783%208.76825%203.40211C8.7303%203.38639%208.68962%203.3783%208.64855%203.3783H8.35138Z'%20fill='black'/%3e%3cpath%20id='Vector_3'%20d='M8.50773%203.1437C8.34181%203.1437%208.18268%203.07779%208.06536%202.96047C7.94803%202.84314%207.88212%202.68401%207.88212%202.51809V1.07919C7.88215%200.913281%207.94807%200.75418%208.06539%200.636877C8.18272%200.519573%208.34183%200.453674%208.50773%200.453674C8.67364%200.453674%208.83275%200.519573%208.95007%200.636877C9.06739%200.75418%209.13332%200.913281%209.13334%201.07919V2.51809C9.13334%202.68401%209.06743%202.84314%208.95011%202.96047C8.83278%203.07779%208.67366%203.1437%208.50773%203.1437ZM7.13139%206.47508H3.86257C3.69667%206.47506%203.53757%206.40913%203.42026%206.29181C3.30296%206.17449%203.23706%206.01538%203.23706%205.84947C3.23706%205.68357%203.30296%205.52445%203.42026%205.40713C3.53757%205.28981%203.69667%205.22389%203.86257%205.22386H7.13139C7.29729%205.22389%207.4564%205.28981%207.5737%205.40713C7.691%205.52445%207.7569%205.68357%207.7569%205.84947C7.7569%206.01538%207.691%206.17449%207.5737%206.29181C7.4564%206.40913%207.29729%206.47506%207.13139%206.47508ZM13.106%206.47508H9.83716C9.67125%206.47506%209.51215%206.40913%209.39485%206.29181C9.27754%206.17449%209.21164%206.01538%209.21164%205.84947C9.21164%205.68357%209.27754%205.52445%209.39485%205.40713C9.51215%205.28981%209.67125%205.22389%209.83716%205.22386H13.106C13.2719%205.22389%2013.431%205.28981%2013.5483%205.40713C13.6656%205.52445%2013.7315%205.68357%2013.7315%205.84947C13.7315%206.01538%2013.6656%206.17449%2013.5483%206.29181C13.431%206.40913%2013.2719%206.47506%2013.106%206.47508Z'%20fill='black'/%3e%3c/g%3e%3c/svg%3e";
|
|
57944
58074
|
const _hoisted_1$1Z = ["src"];
|
|
57945
58075
|
const _hoisted_2$1o = ["src"];
|
|
57946
|
-
const _hoisted_3$
|
|
58076
|
+
const _hoisted_3$16 = ["src"];
|
|
57947
58077
|
const _sfc_main$3t = /* @__PURE__ */ defineComponent({
|
|
57948
58078
|
__name: "help-modal",
|
|
57949
58079
|
setup(__props) {
|
|
@@ -58034,7 +58164,7 @@ const _sfc_main$3t = /* @__PURE__ */ defineComponent({
|
|
|
58034
58164
|
createElementVNode("img", { src: unref(MacCommand) }, null, 8, _hoisted_2$1o),
|
|
58035
58165
|
_cache[0] || (_cache[0] = createTextVNode(" Command ", -1))
|
|
58036
58166
|
], 64)) : key === "MacOption" ? (openBlock(), createElementBlock(Fragment, { key: 2 }, [
|
|
58037
|
-
createElementVNode("img", { src: unref(MacOption) }, null, 8, _hoisted_3$
|
|
58167
|
+
createElementVNode("img", { src: unref(MacOption) }, null, 8, _hoisted_3$16),
|
|
58038
58168
|
_cache[1] || (_cache[1] = createTextVNode(" Option ", -1))
|
|
58039
58169
|
], 64)) : (openBlock(), createElementBlock(Fragment, { key: 3 }, [
|
|
58040
58170
|
createTextVNode(toDisplayString$1(key), 1)
|
|
@@ -58056,7 +58186,7 @@ const _hoisted_2$1n = {
|
|
|
58056
58186
|
key: 0,
|
|
58057
58187
|
class: "toolkit-blank"
|
|
58058
58188
|
};
|
|
58059
|
-
const _hoisted_3$
|
|
58189
|
+
const _hoisted_3$15 = { class: "guides" };
|
|
58060
58190
|
const _hoisted_4$P = ["onClick"];
|
|
58061
58191
|
const _hoisted_5$C = ["onClick"];
|
|
58062
58192
|
const _sfc_main$3s = /* @__PURE__ */ defineComponent({
|
|
@@ -58112,7 +58242,7 @@ const _sfc_main$3s = /* @__PURE__ */ defineComponent({
|
|
|
58112
58242
|
const _component_a_tooltip = resolveComponent("a-tooltip");
|
|
58113
58243
|
return openBlock(), createElementBlock("div", _hoisted_1$1Y, [
|
|
58114
58244
|
unref(designMode2) === unref(DesignMode).CollectView ? (openBlock(), createElementBlock("div", _hoisted_2$1n)) : (openBlock(), createBlock(Toolkit, normalizeProps(mergeProps({ key: 1 }, _ctx.$attrs)), null, 16)),
|
|
58115
|
-
createElementVNode("div", _hoisted_3$
|
|
58245
|
+
createElementVNode("div", _hoisted_3$15, [
|
|
58116
58246
|
(openBlock(true), createElementBlock(Fragment, null, renderList(configs.value, (config2) => {
|
|
58117
58247
|
return openBlock(), createElementBlock("div", {
|
|
58118
58248
|
class: "guide-item",
|
|
@@ -58186,7 +58316,7 @@ const _sfc_main$3r = /* @__PURE__ */ defineComponent({
|
|
|
58186
58316
|
});
|
|
58187
58317
|
const FormItem = /* @__PURE__ */ _export_sfc(_sfc_main$3r, [["__scopeId", "data-v-463388f0"]]);
|
|
58188
58318
|
function asyncImportWidgetProp() {
|
|
58189
|
-
const modules = /* @__PURE__ */ Object.assign({ "./widget-barcode.vue": () => import("./widget-barcode-
|
|
58319
|
+
const modules = /* @__PURE__ */ Object.assign({ "./widget-barcode.vue": () => import("./widget-barcode-91cO00WO.js"), "./widget-diagonal.vue": () => import("./widget-diagonal-CdDw67VC.js"), "./widget-image.vue": () => import("./widget-image-BZaaF0mt.js"), "./widget-line.vue": () => import("./widget-line-BmrfDdni.js"), "./widget-pagination.vue": () => import("./widget-pagination-uNTLMC_O.js"), "./widget-power.vue": () => import("./widget-power-BMjxdjyu.js"), "./widget-qrcode.vue": () => import("./widget-qrcode-BGdaEHNc.js"), "./widget-rangelimit.vue": () => import("./widget-rangelimit-SrRX8w-h.js"), "./widget-serialnumber.vue": () => import("./widget-serialnumber-BbQaJ0tk.js"), "./widget-text.vue": () => import("./widget-text-DPU46N4G.js"), "./widget-timediff.vue": () => import("./widget-timediff-DnrDyQFq.js") });
|
|
58190
58320
|
const widgetPropMap = Object.keys(modules).reduce((map2, path) => {
|
|
58191
58321
|
const mKey = path.match(/\/widget-([a-z]+)\.vue$/)?.[1];
|
|
58192
58322
|
if (mKey) {
|
|
@@ -59323,7 +59453,7 @@ function applyDesignReadonlyModal(modal) {
|
|
|
59323
59453
|
}
|
|
59324
59454
|
const _hoisted_1$1S = { class: "ks-row-middle pt5px mb10px" };
|
|
59325
59455
|
const _hoisted_2$1l = { class: "inline-block icon-wrap mr-5px" };
|
|
59326
|
-
const _hoisted_3$
|
|
59456
|
+
const _hoisted_3$14 = { class: "text-[#C3C3C3] text-12px" };
|
|
59327
59457
|
const _hoisted_4$O = {
|
|
59328
59458
|
key: 0,
|
|
59329
59459
|
class: "info-tip"
|
|
@@ -59535,7 +59665,7 @@ const _sfc_main$3e = /* @__PURE__ */ defineComponent({
|
|
|
59535
59665
|
readonly: "",
|
|
59536
59666
|
placeholder: _ctx.$t("sys.pageDesigner.inputplaceholder")
|
|
59537
59667
|
}, null, 8, ["value", "placeholder"]),
|
|
59538
|
-
createElementVNode("div", _hoisted_3$
|
|
59668
|
+
createElementVNode("div", _hoisted_3$14, toDisplayString$1(_ctx.$t("sys.pageDesigner.whenThePrerequisiteIsMet")), 1)
|
|
59539
59669
|
]),
|
|
59540
59670
|
_: 1
|
|
59541
59671
|
}, 8, ["label", "rules"])),
|
|
@@ -59581,7 +59711,7 @@ const _sfc_main$3e = /* @__PURE__ */ defineComponent({
|
|
|
59581
59711
|
const addDependencyModal = /* @__PURE__ */ _export_sfc(_sfc_main$3e, [["__scopeId", "data-v-fe94e1d2"]]);
|
|
59582
59712
|
const _hoisted_1$1R = { class: "text-[#C3C3C3] text-12px mb8px" };
|
|
59583
59713
|
const _hoisted_2$1k = { class: "ks-row" };
|
|
59584
|
-
const _hoisted_3$
|
|
59714
|
+
const _hoisted_3$13 = { class: "mr-auto" };
|
|
59585
59715
|
const _hoisted_4$N = { class: "text-[#212528] text-[400]" };
|
|
59586
59716
|
const _hoisted_5$B = {
|
|
59587
59717
|
key: 0,
|
|
@@ -59732,7 +59862,7 @@ const _sfc_main$3d = /* @__PURE__ */ defineComponent({
|
|
|
59732
59862
|
class: "cardlist mt8px text-12px"
|
|
59733
59863
|
}, [
|
|
59734
59864
|
createElementVNode("div", _hoisted_2$1k, [
|
|
59735
|
-
createElementVNode("div", _hoisted_3$
|
|
59865
|
+
createElementVNode("div", _hoisted_3$13, [
|
|
59736
59866
|
createElementVNode("span", _hoisted_4$N, toDisplayString$1(_ctx.$t("sys.pageDesigner." + item)), 1),
|
|
59737
59867
|
item === unref(Dependency_ENUM).ASSIGNMENT ? (openBlock(), createElementBlock("span", _hoisted_5$B, [
|
|
59738
59868
|
createTextVNode(toDisplayString$1(_ctx.$t("sys.pageDesigner.formulaCalculation")) + " ", 1),
|
|
@@ -59992,7 +60122,7 @@ const _hoisted_2$1i = {
|
|
|
59992
60122
|
d: "M12.4595 9.99966L11.5403 10.9189L7.9999 7.37852L4.45952 10.9189L3.54028 9.99966L7.9999 5.54004L12.4595 9.99966Z",
|
|
59993
60123
|
fill: "#1A1D23"
|
|
59994
60124
|
};
|
|
59995
|
-
const _hoisted_3$
|
|
60125
|
+
const _hoisted_3$12 = {
|
|
59996
60126
|
key: 1,
|
|
59997
60127
|
d: "M12.4595 6.45928L11.5403 5.54004L7.9999 9.08042L4.45952 5.54004L3.54028 6.45928L7.9999 10.9189L12.4595 6.45928Z",
|
|
59998
60128
|
fill: "#1A1D23"
|
|
@@ -60005,7 +60135,7 @@ const _sfc_main$39 = /* @__PURE__ */ defineComponent({
|
|
|
60005
60135
|
setup(__props) {
|
|
60006
60136
|
return (_ctx, _cache) => {
|
|
60007
60137
|
return openBlock(), createElementBlock("svg", _hoisted_1$1O, [
|
|
60008
|
-
__props.expanded ? (openBlock(), createElementBlock("path", _hoisted_2$1i)) : (openBlock(), createElementBlock("path", _hoisted_3$
|
|
60138
|
+
__props.expanded ? (openBlock(), createElementBlock("path", _hoisted_2$1i)) : (openBlock(), createElementBlock("path", _hoisted_3$12))
|
|
60009
60139
|
]);
|
|
60010
60140
|
};
|
|
60011
60141
|
}
|
|
@@ -63384,7 +63514,7 @@ const _sfc_main$34 = /* @__PURE__ */ defineComponent({
|
|
|
63384
63514
|
const PanelCellDrop = /* @__PURE__ */ _export_sfc(_sfc_main$34, [["__scopeId", "data-v-aecc5623"]]);
|
|
63385
63515
|
const _hoisted_1$1J = { class: "panel-cell" };
|
|
63386
63516
|
const _hoisted_2$1f = { class: "pl-4px font-500" };
|
|
63387
|
-
const _hoisted_3$
|
|
63517
|
+
const _hoisted_3$11 = { class: "flex justify-end" };
|
|
63388
63518
|
const _sfc_main$33 = /* @__PURE__ */ defineComponent({
|
|
63389
63519
|
__name: "panel-cell",
|
|
63390
63520
|
setup(__props) {
|
|
@@ -63480,7 +63610,7 @@ const _sfc_main$33 = /* @__PURE__ */ defineComponent({
|
|
|
63480
63610
|
label: _ctx.$t("sys.onlineForm.compositeField")
|
|
63481
63611
|
}, {
|
|
63482
63612
|
default: withCtx(() => [
|
|
63483
|
-
createElementVNode("div", _hoisted_3$
|
|
63613
|
+
createElementVNode("div", _hoisted_3$11, [
|
|
63484
63614
|
createVNode(_component_a_switch, {
|
|
63485
63615
|
size: "small",
|
|
63486
63616
|
disabled: unref(sheetReadonly2) || disabledCellSize.value,
|
|
@@ -63565,7 +63695,7 @@ const _sfc_main$33 = /* @__PURE__ */ defineComponent({
|
|
|
63565
63695
|
const PanelCell = /* @__PURE__ */ _export_sfc(_sfc_main$33, [["__scopeId", "data-v-790ceadf"]]);
|
|
63566
63696
|
const _hoisted_1$1I = { class: "cells-field-drop-wrapper" };
|
|
63567
63697
|
const _hoisted_2$1e = ["data-name", "id"];
|
|
63568
|
-
const _hoisted_3
|
|
63698
|
+
const _hoisted_3$10 = { class: "ks-row-middle flex-none! w45px justify-center" };
|
|
63569
63699
|
const _sfc_main$32 = /* @__PURE__ */ defineComponent({
|
|
63570
63700
|
__name: "cells-drop",
|
|
63571
63701
|
props: {
|
|
@@ -63732,7 +63862,7 @@ const _sfc_main$32 = /* @__PURE__ */ defineComponent({
|
|
|
63732
63862
|
onRemove: (index2) => handleRemove(index2, data),
|
|
63733
63863
|
disabled: unref(sheetReadonly2)
|
|
63734
63864
|
}, null, 8, ["onDragover", "onDrop", "dragText", "items", "onMove", "onRemove", "disabled"])),
|
|
63735
|
-
withDirectives(createElementVNode("div", _hoisted_3
|
|
63865
|
+
withDirectives(createElementVNode("div", _hoisted_3$10, [
|
|
63736
63866
|
createVNode(_component_a_switch, {
|
|
63737
63867
|
checked: data.cell.fillDirection === "x" ? data.xAutoMerge : data.autoMerge,
|
|
63738
63868
|
size: "small",
|
|
@@ -64042,7 +64172,7 @@ const _sfc_main$2_ = /* @__PURE__ */ defineComponent({
|
|
|
64042
64172
|
const PaddingSetting = /* @__PURE__ */ _export_sfc(_sfc_main$2_, [["__scopeId", "data-v-1c4a763e"]]);
|
|
64043
64173
|
const _hoisted_1$1F = { class: "dynamic-table__header mb-4px" };
|
|
64044
64174
|
const _hoisted_2$1b = ["onClick"];
|
|
64045
|
-
const _hoisted_3
|
|
64175
|
+
const _hoisted_3$$ = { class: "dynamic-table__body" };
|
|
64046
64176
|
const _hoisted_4$M = ["onClick"];
|
|
64047
64177
|
const _hoisted_5$A = ["onClick"];
|
|
64048
64178
|
const _hoisted_6$u = {
|
|
@@ -64090,7 +64220,7 @@ const _sfc_main$2Z = /* @__PURE__ */ defineComponent({
|
|
|
64090
64220
|
createElementVNode("i", { class: "iconfont icon-lianjie2" })
|
|
64091
64221
|
], -1))
|
|
64092
64222
|
], 64)) : createCommentVNode("", true),
|
|
64093
|
-
createElementVNode("div", _hoisted_3
|
|
64223
|
+
createElementVNode("div", _hoisted_3$$, [
|
|
64094
64224
|
createElementVNode("span", {
|
|
64095
64225
|
onClick: () => unref(setPanelData)({
|
|
64096
64226
|
type: panelType.value,
|
|
@@ -64207,7 +64337,7 @@ const _hoisted_1$1D = {
|
|
|
64207
64337
|
class: "rules mt12px"
|
|
64208
64338
|
};
|
|
64209
64339
|
const _hoisted_2$1a = { class: "rules-item rules-item-title" };
|
|
64210
|
-
const _hoisted_3$
|
|
64340
|
+
const _hoisted_3$_ = { class: "title left" };
|
|
64211
64341
|
const _hoisted_4$L = { class: "title right" };
|
|
64212
64342
|
const _hoisted_5$z = { class: "rules-item-value" };
|
|
64213
64343
|
const _hoisted_6$t = { class: "rules-item-middle" };
|
|
@@ -64341,7 +64471,7 @@ const _sfc_main$2X = /* @__PURE__ */ defineComponent({
|
|
|
64341
64471
|
default: withCtx(() => [
|
|
64342
64472
|
formState.value.configList?.length ? (openBlock(), createElementBlock("div", _hoisted_1$1D, [
|
|
64343
64473
|
createElementVNode("div", _hoisted_2$1a, [
|
|
64344
|
-
createElementVNode("div", _hoisted_3$
|
|
64474
|
+
createElementVNode("div", _hoisted_3$_, toDisplayString$1(_ctx.$t("sys.edhr.mainSignature")), 1),
|
|
64345
64475
|
createElementVNode("div", _hoisted_4$L, [
|
|
64346
64476
|
createTextVNode(toDisplayString$1(_ctx.$t("sys.edhr.mutexSignature")) + " ", 1),
|
|
64347
64477
|
createVNode(_component_a_tooltip, { placement: "top" }, {
|
|
@@ -64444,7 +64574,7 @@ async function openConfigModal(value, readonly = false) {
|
|
|
64444
64574
|
}
|
|
64445
64575
|
const _hoisted_1$1C = { class: "panel-document" };
|
|
64446
64576
|
const _hoisted_2$19 = { class: "pl-12px pr-12px pt-20px pb-20px" };
|
|
64447
|
-
const _hoisted_3$
|
|
64577
|
+
const _hoisted_3$Z = { class: "color-[#212528] text-12px lh-[18px]" };
|
|
64448
64578
|
const _hoisted_4$K = { class: "color-[#212528] text-12px lh-[18px]" };
|
|
64449
64579
|
const _hoisted_5$y = { class: "flex justify-end" };
|
|
64450
64580
|
const _hoisted_6$s = { class: "flex justify-end" };
|
|
@@ -64570,7 +64700,7 @@ const _sfc_main$2W = /* @__PURE__ */ defineComponent({
|
|
|
64570
64700
|
class: "important-mt-0"
|
|
64571
64701
|
}, {
|
|
64572
64702
|
default: withCtx(() => [
|
|
64573
|
-
createElementVNode("span", _hoisted_3$
|
|
64703
|
+
createElementVNode("span", _hoisted_3$Z, toDisplayString$1(unref(doc2).name), 1)
|
|
64574
64704
|
]),
|
|
64575
64705
|
_: 1
|
|
64576
64706
|
}, 8, ["label"]),
|
|
@@ -64901,7 +65031,7 @@ const _sfc_main$2W = /* @__PURE__ */ defineComponent({
|
|
|
64901
65031
|
const PanelPaper = /* @__PURE__ */ _export_sfc(_sfc_main$2W, [["__scopeId", "data-v-6903ca8f"]]);
|
|
64902
65032
|
const _hoisted_1$1B = { class: "p-12px" };
|
|
64903
65033
|
const _hoisted_2$18 = { class: "text-12px font-500" };
|
|
64904
|
-
const _hoisted_3$
|
|
65034
|
+
const _hoisted_3$Y = { class: "color-[#212528] text-12px pl-6px" };
|
|
64905
65035
|
const _hoisted_4$J = { class: "mt-12px" };
|
|
64906
65036
|
const _sfc_main$2V = /* @__PURE__ */ defineComponent({
|
|
64907
65037
|
__name: "panel-paper-widget",
|
|
@@ -64934,7 +65064,7 @@ const _sfc_main$2V = /* @__PURE__ */ defineComponent({
|
|
|
64934
65064
|
label: _ctx.$t("sys.cardDesign.cfg_form.component_type")
|
|
64935
65065
|
}, {
|
|
64936
65066
|
default: withCtx(() => [
|
|
64937
|
-
createElementVNode("span", _hoisted_3$
|
|
65067
|
+
createElementVNode("span", _hoisted_3$Y, toDisplayString$1(widgetConfig.value?.name), 1)
|
|
64938
65068
|
]),
|
|
64939
65069
|
_: 1
|
|
64940
65070
|
}, 8, ["label"]),
|
|
@@ -64951,7 +65081,7 @@ const _sfc_main$2V = /* @__PURE__ */ defineComponent({
|
|
|
64951
65081
|
});
|
|
64952
65082
|
const _hoisted_1$1A = { class: "p-12px h-full flex flex-col" };
|
|
64953
65083
|
const _hoisted_2$17 = { class: "text-12px font-500 flex-none" };
|
|
64954
|
-
const _hoisted_3$
|
|
65084
|
+
const _hoisted_3$X = ["id"];
|
|
64955
65085
|
const _hoisted_4$I = { key: 0 };
|
|
64956
65086
|
const _hoisted_5$x = ["onMouseenter"];
|
|
64957
65087
|
const _hoisted_6$r = ["onClick"];
|
|
@@ -65066,7 +65196,7 @@ const _sfc_main$2U = /* @__PURE__ */ defineComponent({
|
|
|
65066
65196
|
], 42, _hoisted_5$x);
|
|
65067
65197
|
}), 128))
|
|
65068
65198
|
])
|
|
65069
|
-
], 40, _hoisted_3$
|
|
65199
|
+
], 40, _hoisted_3$X)
|
|
65070
65200
|
]);
|
|
65071
65201
|
};
|
|
65072
65202
|
}
|
|
@@ -65116,7 +65246,7 @@ const _sfc_main$2T = /* @__PURE__ */ defineComponent({
|
|
|
65116
65246
|
const QuickFillConfig = /* @__PURE__ */ _export_sfc(_sfc_main$2T, [["__scopeId", "data-v-d930aec4"]]);
|
|
65117
65247
|
const _hoisted_1$1y = { class: "panel-fixed-table" };
|
|
65118
65248
|
const _hoisted_2$15 = { class: "readonly-text" };
|
|
65119
|
-
const _hoisted_3$
|
|
65249
|
+
const _hoisted_3$W = { class: "readonly-text" };
|
|
65120
65250
|
const _hoisted_4$H = { class: "readonly-text" };
|
|
65121
65251
|
const _hoisted_5$w = { class: "readonly-text" };
|
|
65122
65252
|
const _hoisted_6$q = { class: "readonly-text" };
|
|
@@ -65233,7 +65363,7 @@ const _sfc_main$2S = /* @__PURE__ */ defineComponent({
|
|
|
65233
65363
|
label: _ctx.$t("sys.onlineForm.fixedTableName")
|
|
65234
65364
|
}, {
|
|
65235
65365
|
default: withCtx(() => [
|
|
65236
|
-
createElementVNode("span", _hoisted_3$
|
|
65366
|
+
createElementVNode("span", _hoisted_3$W, toDisplayString$1(table.value?.name), 1)
|
|
65237
65367
|
]),
|
|
65238
65368
|
_: 1
|
|
65239
65369
|
}, 8, ["label"]),
|
|
@@ -65328,7 +65458,7 @@ const _sfc_main$2S = /* @__PURE__ */ defineComponent({
|
|
|
65328
65458
|
const PanelFixedTable = /* @__PURE__ */ _export_sfc(_sfc_main$2S, [["__scopeId", "data-v-34e23e71"]]);
|
|
65329
65459
|
const _hoisted_1$1x = { class: "p-16px" };
|
|
65330
65460
|
const _hoisted_2$14 = { class: "flex" };
|
|
65331
|
-
const _hoisted_3$
|
|
65461
|
+
const _hoisted_3$V = { class: "section-title" };
|
|
65332
65462
|
const _hoisted_4$G = { class: "ml-16px" };
|
|
65333
65463
|
const _hoisted_5$v = { class: "section-title" };
|
|
65334
65464
|
const _sfc_main$2R = /* @__PURE__ */ defineComponent({
|
|
@@ -65536,7 +65666,7 @@ const _sfc_main$2R = /* @__PURE__ */ defineComponent({
|
|
|
65536
65666
|
}, 8, ["model"]),
|
|
65537
65667
|
createElementVNode("div", _hoisted_2$14, [
|
|
65538
65668
|
createElementVNode("div", null, [
|
|
65539
|
-
createElementVNode("div", _hoisted_3$
|
|
65669
|
+
createElementVNode("div", _hoisted_3$V, toDisplayString$1(_ctx.$t("sys.appDesigner.newViewField.candidateArea")), 1),
|
|
65540
65670
|
createVNode(_component_a_table, {
|
|
65541
65671
|
"row-selection": {
|
|
65542
65672
|
selectedRowKeys: selectedRowKeys.value,
|
|
@@ -65650,7 +65780,7 @@ function useCheckItem() {
|
|
|
65650
65780
|
const baseColumnConfig = {
|
|
65651
65781
|
minWidth: 100,
|
|
65652
65782
|
showOverflow: true,
|
|
65653
|
-
slots: { default: "
|
|
65783
|
+
slots: { default: "cell_default" },
|
|
65654
65784
|
align: "left"
|
|
65655
65785
|
};
|
|
65656
65786
|
function uomFormatter({ cellValue, row, column }) {
|
|
@@ -65791,6 +65921,26 @@ const getColumns = (orderKeys, isTree = false) => {
|
|
|
65791
65921
|
};
|
|
65792
65922
|
});
|
|
65793
65923
|
};
|
|
65924
|
+
const getDisplayFieldColumns = (displayFields, isTree = false) => {
|
|
65925
|
+
const knownFieldToFragment = {
|
|
65926
|
+
code_: "code",
|
|
65927
|
+
name_: "name",
|
|
65928
|
+
spec_: "spec",
|
|
65929
|
+
uom_id_: "uom",
|
|
65930
|
+
description_: "desc"
|
|
65931
|
+
};
|
|
65932
|
+
return displayFields.map(({ key, name }, index2) => {
|
|
65933
|
+
const fragmentKey = key ? knownFieldToFragment[key] : void 0;
|
|
65934
|
+
const base = fragmentKey ? getColumns([fragmentKey])[0] : void 0;
|
|
65935
|
+
return {
|
|
65936
|
+
...base,
|
|
65937
|
+
title: name || base?.title || key,
|
|
65938
|
+
field: key,
|
|
65939
|
+
minWidth: base?.minWidth ?? 170,
|
|
65940
|
+
...isTree && index2 === 0 ? { treeNode: true } : {}
|
|
65941
|
+
};
|
|
65942
|
+
});
|
|
65943
|
+
};
|
|
65794
65944
|
function renderWithFormatter(column = {}, row = {}) {
|
|
65795
65945
|
const { type, field, formatter, params = {} } = column;
|
|
65796
65946
|
if (type === "checkbox" || type === "radio") {
|
|
@@ -65892,8 +66042,8 @@ const _sfc_main$2Q = /* @__PURE__ */ defineComponent({
|
|
|
65892
66042
|
emits: ["change-select", "request"],
|
|
65893
66043
|
setup(__props, { expose: __expose, emit: __emit }) {
|
|
65894
66044
|
useCssVars((_ctx) => ({
|
|
65895
|
-
"
|
|
65896
|
-
"
|
|
66045
|
+
"a8d522ca": wrapperStyle.value.width,
|
|
66046
|
+
"a56d2a1c": wrapperStyle.value.height
|
|
65897
66047
|
}));
|
|
65898
66048
|
const props2 = __props;
|
|
65899
66049
|
const wrapperStyle = computed(() => {
|
|
@@ -65988,11 +66138,11 @@ const _sfc_main$2Q = /* @__PURE__ */ defineComponent({
|
|
|
65988
66138
|
onCheckboxChange: onCheckboxClick,
|
|
65989
66139
|
onCheckboxAll: onSelectAllClick
|
|
65990
66140
|
}, {
|
|
65991
|
-
|
|
65992
|
-
createElementVNode("span", null, toDisplayString$1(unref(renderWithFormatter)(column, row)), 1)
|
|
66141
|
+
cell_default: withCtx((slotProps) => [
|
|
66142
|
+
createElementVNode("span", null, toDisplayString$1(unref(renderWithFormatter)(slotProps?.column, slotProps?.row)), 1)
|
|
65993
66143
|
]),
|
|
65994
|
-
rdo_version_render: withCtx((
|
|
65995
|
-
renderSlot(_ctx.$slots, "rdo_version_render", normalizeProps(guardReactiveProps({ record, column, rowIndex })), void 0, true)
|
|
66144
|
+
rdo_version_render: withCtx((slotProps) => [
|
|
66145
|
+
renderSlot(_ctx.$slots, "rdo_version_render", normalizeProps(guardReactiveProps({ record: slotProps?.row, column: slotProps?.column, rowIndex: slotProps?.rowIndex })), void 0, true)
|
|
65996
66146
|
]),
|
|
65997
66147
|
empty: withCtx(() => [
|
|
65998
66148
|
createVNode(_component_a_empty, {
|
|
@@ -66009,7 +66159,7 @@ const _sfc_main$2Q = /* @__PURE__ */ defineComponent({
|
|
|
66009
66159
|
};
|
|
66010
66160
|
}
|
|
66011
66161
|
});
|
|
66012
|
-
const BaseVxeTable = /* @__PURE__ */ _export_sfc(_sfc_main$2Q, [["__scopeId", "data-v-
|
|
66162
|
+
const BaseVxeTable = /* @__PURE__ */ _export_sfc(_sfc_main$2Q, [["__scopeId", "data-v-4f52f2d8"]]);
|
|
66013
66163
|
function useSelectTable(fetcher, initialParams) {
|
|
66014
66164
|
const xTable = ref(null);
|
|
66015
66165
|
const loading2 = ref(false);
|
|
@@ -66105,7 +66255,7 @@ const _hoisted_1$1v = {
|
|
|
66105
66255
|
class: /* @__PURE__ */ normalizeClass(["right-list"])
|
|
66106
66256
|
};
|
|
66107
66257
|
const _hoisted_2$12 = { class: "flex justify-between px-16px py-16px" };
|
|
66108
|
-
const _hoisted_3$
|
|
66258
|
+
const _hoisted_3$U = {
|
|
66109
66259
|
key: 0,
|
|
66110
66260
|
class: /* @__PURE__ */ normalizeClass(["right-list__list"])
|
|
66111
66261
|
};
|
|
@@ -66145,7 +66295,7 @@ const _sfc_main$2P = /* @__PURE__ */ defineComponent({
|
|
|
66145
66295
|
_: 1
|
|
66146
66296
|
}, 8, ["disabled"])
|
|
66147
66297
|
]),
|
|
66148
|
-
__props.items.length ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
66298
|
+
__props.items.length ? (openBlock(), createElementBlock("div", _hoisted_3$U, [
|
|
66149
66299
|
(openBlock(true), createElementBlock(Fragment, null, renderList(__props.items, (item, i) => {
|
|
66150
66300
|
return openBlock(), createElementBlock("div", {
|
|
66151
66301
|
class: normalizeClass(["right-list__item"]),
|
|
@@ -66177,7 +66327,7 @@ const _hoisted_1$1u = {
|
|
|
66177
66327
|
class: /* @__PURE__ */ normalizeClass(["select-check-ds-modal__content"])
|
|
66178
66328
|
};
|
|
66179
66329
|
const _hoisted_2$11 = { class: "select-check-ds-modal__left" };
|
|
66180
|
-
const _hoisted_3$
|
|
66330
|
+
const _hoisted_3$T = { class: "select-check-ds-modal__right" };
|
|
66181
66331
|
const _sfc_main$2O = /* @__PURE__ */ defineComponent({
|
|
66182
66332
|
__name: "select-check-ds-modal",
|
|
66183
66333
|
props: {
|
|
@@ -66398,7 +66548,7 @@ const _sfc_main$2O = /* @__PURE__ */ defineComponent({
|
|
|
66398
66548
|
onRequest: unref(onSizeChange)
|
|
66399
66549
|
}, null, 8, ["columns", "tableData", "loading", "paginationAttr", "onRequest"])
|
|
66400
66550
|
]),
|
|
66401
|
-
createElementVNode("div", _hoisted_3$
|
|
66551
|
+
createElementVNode("div", _hoisted_3$T, [
|
|
66402
66552
|
createVNode(RightList, {
|
|
66403
66553
|
class: "flex-shrink-0 flex-grow-0",
|
|
66404
66554
|
items: selectedArr.value,
|
|
@@ -66453,7 +66603,7 @@ const _sfc_main$2N = /* @__PURE__ */ defineComponent({
|
|
|
66453
66603
|
const AddDsBtn = /* @__PURE__ */ _export_sfc(_sfc_main$2N, [["__scopeId", "data-v-6a2df39d"]]);
|
|
66454
66604
|
const _hoisted_1$1t = { class: "panel-check-table panel-document" };
|
|
66455
66605
|
const _hoisted_2$10 = { class: "pl-12px pr-12px pt-20px pb-20px" };
|
|
66456
|
-
const _hoisted_3$
|
|
66606
|
+
const _hoisted_3$S = { class: "color-[#212528] text-12px lh-[18px]" };
|
|
66457
66607
|
const _hoisted_4$E = { class: "color-[#212528] text-12px lh-[18px]" };
|
|
66458
66608
|
const _sfc_main$2M = /* @__PURE__ */ defineComponent({
|
|
66459
66609
|
__name: "panel-check-table",
|
|
@@ -66533,7 +66683,7 @@ const _sfc_main$2M = /* @__PURE__ */ defineComponent({
|
|
|
66533
66683
|
}, toDisplayString$1(_ctx.$t("sys.onlineForm.deleteInspectionTable")), 1)) : createCommentVNode("", true)
|
|
66534
66684
|
]),
|
|
66535
66685
|
default: withCtx(() => [
|
|
66536
|
-
createElementVNode("span", _hoisted_3$
|
|
66686
|
+
createElementVNode("span", _hoisted_3$S, toDisplayString$1(table.value?.name), 1)
|
|
66537
66687
|
]),
|
|
66538
66688
|
_: 1
|
|
66539
66689
|
}, 8, ["label"]),
|
|
@@ -66614,7 +66764,7 @@ const _sfc_main$2M = /* @__PURE__ */ defineComponent({
|
|
|
66614
66764
|
const PanelCheckTable = /* @__PURE__ */ _export_sfc(_sfc_main$2M, [["__scopeId", "data-v-d46abb84"]]);
|
|
66615
66765
|
const _hoisted_1$1s = { class: "panel-data-group" };
|
|
66616
66766
|
const _hoisted_2$$ = { class: "readonly-text" };
|
|
66617
|
-
const _hoisted_3$
|
|
66767
|
+
const _hoisted_3$R = { class: "readonly-text" };
|
|
66618
66768
|
const _hoisted_4$D = { class: "flex justify-end" };
|
|
66619
66769
|
const _hoisted_5$t = { class: "readonly-text" };
|
|
66620
66770
|
const _hoisted_6$p = { class: "readonly-text" };
|
|
@@ -66703,7 +66853,7 @@ const _sfc_main$2L = /* @__PURE__ */ defineComponent({
|
|
|
66703
66853
|
createVNode(FormItem, null, {
|
|
66704
66854
|
label: withCtx(() => [
|
|
66705
66855
|
createTextVNode(toDisplayString$1(_ctx.$t("sys.onlineForm.referenceFilling")) + " ", 1),
|
|
66706
|
-
createElementVNode("span", _hoisted_3$
|
|
66856
|
+
createElementVNode("span", _hoisted_3$R, "(" + toDisplayString$1(_ctx.$t("sys.onlineForm.fillFixedTable")) + ")", 1)
|
|
66707
66857
|
]),
|
|
66708
66858
|
default: withCtx(() => [
|
|
66709
66859
|
createElementVNode("div", _hoisted_4$D, [
|
|
@@ -66804,7 +66954,7 @@ const _sfc_main$2L = /* @__PURE__ */ defineComponent({
|
|
|
66804
66954
|
const PanelDataGroup = /* @__PURE__ */ _export_sfc(_sfc_main$2L, [["__scopeId", "data-v-fbd9ced7"]]);
|
|
66805
66955
|
const _hoisted_1$1r = { class: "panel-data-group" };
|
|
66806
66956
|
const _hoisted_2$_ = { class: "readonly-text" };
|
|
66807
|
-
const _hoisted_3$
|
|
66957
|
+
const _hoisted_3$Q = { class: "readonly-text" };
|
|
66808
66958
|
const _hoisted_4$C = { class: "flex justify-end" };
|
|
66809
66959
|
const _hoisted_5$s = { class: "readonly-text" };
|
|
66810
66960
|
const _hoisted_6$o = { class: "readonly-text" };
|
|
@@ -66909,7 +67059,7 @@ const _sfc_main$2K = /* @__PURE__ */ defineComponent({
|
|
|
66909
67059
|
createVNode(FormItem, null, {
|
|
66910
67060
|
label: withCtx(() => [
|
|
66911
67061
|
createTextVNode(toDisplayString$1(_ctx.$t("sys.onlineForm.referenceFilling")) + " ", 1),
|
|
66912
|
-
createElementVNode("span", _hoisted_3$
|
|
67062
|
+
createElementVNode("span", _hoisted_3$Q, "(" + toDisplayString$1(_ctx.$t("sys.onlineForm.fillDynamicTable")) + ")", 1)
|
|
66913
67063
|
]),
|
|
66914
67064
|
default: withCtx(() => [
|
|
66915
67065
|
createElementVNode("div", _hoisted_4$C, [
|
|
@@ -67052,7 +67202,7 @@ const _sfc_main$2K = /* @__PURE__ */ defineComponent({
|
|
|
67052
67202
|
const PanelDataGroup2D = /* @__PURE__ */ _export_sfc(_sfc_main$2K, [["__scopeId", "data-v-b19ee1b5"]]);
|
|
67053
67203
|
const _hoisted_1$1q = { class: "panel-data-group" };
|
|
67054
67204
|
const _hoisted_2$Z = { class: "readonly-text" };
|
|
67055
|
-
const _hoisted_3$
|
|
67205
|
+
const _hoisted_3$P = { class: "ml-8px color-[#666] font-bold" };
|
|
67056
67206
|
const _sfc_main$2J = /* @__PURE__ */ defineComponent({
|
|
67057
67207
|
__name: "panel-table-header",
|
|
67058
67208
|
setup(__props) {
|
|
@@ -67151,7 +67301,7 @@ const _sfc_main$2J = /* @__PURE__ */ defineComponent({
|
|
|
67151
67301
|
label: _ctx.$t("sys.onlineForm.renderingMethod")
|
|
67152
67302
|
}, {
|
|
67153
67303
|
default: withCtx(() => [
|
|
67154
|
-
createElementVNode("span", _hoisted_3$
|
|
67304
|
+
createElementVNode("span", _hoisted_3$P, toDisplayString$1(theadMap.value.name), 1)
|
|
67155
67305
|
]),
|
|
67156
67306
|
_: 1
|
|
67157
67307
|
}, 8, ["label"]),
|
|
@@ -67187,7 +67337,7 @@ const _sfc_main$2J = /* @__PURE__ */ defineComponent({
|
|
|
67187
67337
|
const PanelTableHeader = /* @__PURE__ */ _export_sfc(_sfc_main$2J, [["__scopeId", "data-v-0e36b2f8"]]);
|
|
67188
67338
|
const _hoisted_1$1p = { class: "panel-global-config" };
|
|
67189
67339
|
const _hoisted_2$Y = { class: "option-item-title" };
|
|
67190
|
-
const _hoisted_3$
|
|
67340
|
+
const _hoisted_3$O = { class: "actions" };
|
|
67191
67341
|
const _hoisted_4$B = ["onClick"];
|
|
67192
67342
|
const _hoisted_5$r = ["onClick"];
|
|
67193
67343
|
const _hoisted_6$n = { class: "ks-row-middle fieldrow mb5px" };
|
|
@@ -67289,7 +67439,7 @@ const _sfc_main$2I = /* @__PURE__ */ defineComponent({
|
|
|
67289
67439
|
placeholder: _ctx.$t("sys.onlineForm.pleaseEnterGroupName"),
|
|
67290
67440
|
style: { "padding": "1px 6px" }
|
|
67291
67441
|
}, null, 8, ["value", "onUpdate:value", "placeholder"]),
|
|
67292
|
-
createElementVNode("div", _hoisted_3$
|
|
67442
|
+
createElementVNode("div", _hoisted_3$O, [
|
|
67293
67443
|
createElementVNode("i", {
|
|
67294
67444
|
class: "iconfont icon-shanchu ml-4px primary-gct-hover",
|
|
67295
67445
|
onClick: ($event) => removeGorupItem(item)
|
|
@@ -67471,7 +67621,7 @@ const DeviceInterconnectionIcon = "data:image/svg+xml,%3csvg%20width='24'%20heig
|
|
|
67471
67621
|
const OcrTemplateIcon = "data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cdefs%3e%3clinearGradient%20id='ocr-card-bg'%20x1='0'%20y1='0'%20x2='24'%20y2='24'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23D0C4FF'/%3e%3cstop%20offset='1'%20stop-color='%23F6E8FF'/%3e%3c/linearGradient%3e%3c/defs%3e%3crect%20width='24'%20height='24'%20rx='4'%20fill='url(%23ocr-card-bg)'/%3e%3cg%20transform='translate(5%205)'%20stroke='%231A1D23'%20stroke-width='1.2'%20stroke-linecap='round'%20stroke-linejoin='round'%3e%3cpath%20d='M6.50781%203.60547H3.60781V6.50547'/%3e%3cpath%20d='M7.49219%203.60547H10.3922V6.50547'/%3e%3cpath%20d='M6.50781%2010.3945H3.60781V7.49453'/%3e%3cpath%20d='M7.49219%2010.3945H10.3922V7.49453'/%3e%3cpath%20d='M5%207H9'/%3e%3c/g%3e%3c/svg%3e";
|
|
67472
67622
|
const _hoisted_1$1n = { class: "tmpl-card" };
|
|
67473
67623
|
const _hoisted_2$X = { class: "tmpl-card__header" };
|
|
67474
|
-
const _hoisted_3$
|
|
67624
|
+
const _hoisted_3$N = { class: "flex items-center" };
|
|
67475
67625
|
const _hoisted_4$A = ["src"];
|
|
67476
67626
|
const _hoisted_5$q = { class: "tmpl-card__title" };
|
|
67477
67627
|
const _hoisted_6$m = { class: "tmpl-card__body" };
|
|
@@ -67501,7 +67651,7 @@ const _sfc_main$2E = /* @__PURE__ */ defineComponent({
|
|
|
67501
67651
|
return (_ctx, _cache) => {
|
|
67502
67652
|
return openBlock(), createElementBlock("div", _hoisted_1$1n, [
|
|
67503
67653
|
createElementVNode("div", _hoisted_2$X, [
|
|
67504
|
-
createElementVNode("div", _hoisted_3$
|
|
67654
|
+
createElementVNode("div", _hoisted_3$N, [
|
|
67505
67655
|
createElementVNode("div", {
|
|
67506
67656
|
class: normalizeClass(["tmpl-card__icon", { "tmpl-card__icon--asset": type2IconAsset[props2.type] }])
|
|
67507
67657
|
}, [
|
|
@@ -67532,7 +67682,7 @@ const _sfc_main$2E = /* @__PURE__ */ defineComponent({
|
|
|
67532
67682
|
const TmplCard = /* @__PURE__ */ _export_sfc(_sfc_main$2E, [["__scopeId", "data-v-3cfd30d0"]]);
|
|
67533
67683
|
const _hoisted_1$1m = { class: "device-field-status" };
|
|
67534
67684
|
const _hoisted_2$W = { class: "device-field-status__item-label" };
|
|
67535
|
-
const _hoisted_3$
|
|
67685
|
+
const _hoisted_3$M = { class: "device-field-status__item-value" };
|
|
67536
67686
|
const _sfc_main$2D = /* @__PURE__ */ defineComponent({
|
|
67537
67687
|
__name: "device-field-status",
|
|
67538
67688
|
props: {
|
|
@@ -67569,7 +67719,7 @@ const _sfc_main$2D = /* @__PURE__ */ defineComponent({
|
|
|
67569
67719
|
key: i
|
|
67570
67720
|
}, [
|
|
67571
67721
|
createElementVNode("div", _hoisted_2$W, toDisplayString$1(item.label) + ":", 1),
|
|
67572
|
-
createElementVNode("div", _hoisted_3$
|
|
67722
|
+
createElementVNode("div", _hoisted_3$M, toDisplayString$1(item.value), 1)
|
|
67573
67723
|
]);
|
|
67574
67724
|
}), 128))
|
|
67575
67725
|
]);
|
|
@@ -67766,7 +67916,7 @@ async function selectAndInitFieldMap() {
|
|
|
67766
67916
|
}
|
|
67767
67917
|
const _hoisted_1$1k = { class: "params-item-card" };
|
|
67768
67918
|
const _hoisted_2$V = { class: "flex justify-between items-center" };
|
|
67769
|
-
const _hoisted_3$
|
|
67919
|
+
const _hoisted_3$L = ["title"];
|
|
67770
67920
|
const _hoisted_4$z = { class: "w-50% pl-11px flex items-center justify-end" };
|
|
67771
67921
|
const _hoisted_5$p = ["title"];
|
|
67772
67922
|
const _hoisted_6$l = { class: "flex items-center" };
|
|
@@ -67796,7 +67946,7 @@ const _sfc_main$2A = /* @__PURE__ */ defineComponent({
|
|
|
67796
67946
|
createElementVNode("div", {
|
|
67797
67947
|
class: "w-50% truncate pr-11px",
|
|
67798
67948
|
title: __props.deviceParams.code
|
|
67799
|
-
}, toDisplayString$1(__props.deviceParams.code), 9, _hoisted_3$
|
|
67949
|
+
}, toDisplayString$1(__props.deviceParams.code), 9, _hoisted_3$L),
|
|
67800
67950
|
createElementVNode("div", _hoisted_4$z, [
|
|
67801
67951
|
createElementVNode("span", {
|
|
67802
67952
|
class: "flex-shrink-1 truncate",
|
|
@@ -67908,7 +68058,7 @@ const _sfc_main$2z = /* @__PURE__ */ defineComponent({
|
|
|
67908
68058
|
const WriteBackRadio = /* @__PURE__ */ _export_sfc(_sfc_main$2z, [["__scopeId", "data-v-11aa40a4"]]);
|
|
67909
68059
|
const _hoisted_1$1j = { class: "fields-editor" };
|
|
67910
68060
|
const _hoisted_2$U = ["title", "onClick"];
|
|
67911
|
-
const _hoisted_3$
|
|
68061
|
+
const _hoisted_3$K = {
|
|
67912
68062
|
key: 0,
|
|
67913
68063
|
class: "fields-editor__write-mode"
|
|
67914
68064
|
};
|
|
@@ -67988,7 +68138,7 @@ const _sfc_main$2y = /* @__PURE__ */ defineComponent({
|
|
|
67988
68138
|
]),
|
|
67989
68139
|
_: 1
|
|
67990
68140
|
}),
|
|
67991
|
-
formState.value.formFields && !__props.hiddenWriteBackMode ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
68141
|
+
formState.value.formFields && !__props.hiddenWriteBackMode ? (openBlock(), createElementBlock("div", _hoisted_3$K, [
|
|
67992
68142
|
createVNode(WriteBackRadio, {
|
|
67993
68143
|
modelValue: formState.value.writeBackMode,
|
|
67994
68144
|
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => formState.value.writeBackMode = $event)
|
|
@@ -68002,7 +68152,7 @@ const _sfc_main$2y = /* @__PURE__ */ defineComponent({
|
|
|
68002
68152
|
const FieldsEditor = /* @__PURE__ */ _export_sfc(_sfc_main$2y, [["__scopeId", "data-v-6948a6b5"]]);
|
|
68003
68153
|
const _hoisted_1$1i = { class: "flex justify-between items-center px-12px py-8px text-size-12px cursor-pointer" };
|
|
68004
68154
|
const _hoisted_2$T = { class: "color-#5A5F6B" };
|
|
68005
|
-
const _hoisted_3$
|
|
68155
|
+
const _hoisted_3$J = { class: "px-8px pb-8px" };
|
|
68006
68156
|
const _sfc_main$2x = /* @__PURE__ */ defineComponent({
|
|
68007
68157
|
__name: "device-tmpl-editor",
|
|
68008
68158
|
props: {
|
|
@@ -68055,7 +68205,7 @@ const _sfc_main$2x = /* @__PURE__ */ defineComponent({
|
|
|
68055
68205
|
_: 1
|
|
68056
68206
|
})) : createCommentVNode("", true)
|
|
68057
68207
|
]),
|
|
68058
|
-
createElementVNode("div", _hoisted_3$
|
|
68208
|
+
createElementVNode("div", _hoisted_3$J, [
|
|
68059
68209
|
!formState.value.fieldMaps?.length ? (openBlock(), createBlock(_component_a_empty, {
|
|
68060
68210
|
key: 0,
|
|
68061
68211
|
class: "empty-data",
|
|
@@ -68208,7 +68358,7 @@ const _sfc_main$2w = /* @__PURE__ */ defineComponent({
|
|
|
68208
68358
|
const IdentifyParamCard = /* @__PURE__ */ _export_sfc(_sfc_main$2w, [["__scopeId", "data-v-616000ef"]]);
|
|
68209
68359
|
const _hoisted_1$1g = { class: "ai-tmpl-editor__section" };
|
|
68210
68360
|
const _hoisted_2$R = { class: "ai-tmpl-editor__section-content--basic" };
|
|
68211
|
-
const _hoisted_3$
|
|
68361
|
+
const _hoisted_3$I = { class: "ai-tmpl-editor__field-list" };
|
|
68212
68362
|
const _hoisted_4$y = { class: "ai-tmpl-editor__section" };
|
|
68213
68363
|
const _hoisted_5$o = { class: "ai-tmpl-editor__section-content--model" };
|
|
68214
68364
|
const _hoisted_6$k = { class: "ai-tmpl-editor__field-list" };
|
|
@@ -68346,7 +68496,7 @@ const _sfc_main$2v = /* @__PURE__ */ defineComponent({
|
|
|
68346
68496
|
_cache[18] || (_cache[18] = createElementVNode("span", null, "基础信息", -1))
|
|
68347
68497
|
]),
|
|
68348
68498
|
withDirectives(createElementVNode("div", _hoisted_2$R, [
|
|
68349
|
-
createElementVNode("div", _hoisted_3$
|
|
68499
|
+
createElementVNode("div", _hoisted_3$I, [
|
|
68350
68500
|
createVNode(FormItem, {
|
|
68351
68501
|
isFirst: "",
|
|
68352
68502
|
class: "ai-tmpl-editor__form-row",
|
|
@@ -68667,7 +68817,7 @@ const _sfc_main$2v = /* @__PURE__ */ defineComponent({
|
|
|
68667
68817
|
const AiTmplEditor = /* @__PURE__ */ _export_sfc(_sfc_main$2v, [["__scopeId", "data-v-f760cf52"]]);
|
|
68668
68818
|
const _hoisted_1$1f = { class: "ai-tmpl-card" };
|
|
68669
68819
|
const _hoisted_2$Q = ["src"];
|
|
68670
|
-
const _hoisted_3$
|
|
68820
|
+
const _hoisted_3$H = ["title"];
|
|
68671
68821
|
const _hoisted_4$x = ["title"];
|
|
68672
68822
|
const _sfc_main$2u = /* @__PURE__ */ defineComponent({
|
|
68673
68823
|
__name: "ai-tmpl-card",
|
|
@@ -68689,7 +68839,7 @@ const _sfc_main$2u = /* @__PURE__ */ defineComponent({
|
|
|
68689
68839
|
createElementVNode("span", {
|
|
68690
68840
|
class: "ai-tmpl-card__name",
|
|
68691
68841
|
title: __props.value.name
|
|
68692
|
-
}, toDisplayString$1(__props.value.name || "OCR图像识别"), 9, _hoisted_3$
|
|
68842
|
+
}, toDisplayString$1(__props.value.name || "OCR图像识别"), 9, _hoisted_3$H),
|
|
68693
68843
|
createVNode(_component_a_popconfirm, {
|
|
68694
68844
|
placement: "topRight",
|
|
68695
68845
|
title: `确认要删除 ${__props.value.name || "OCR图像识别"} 模板吗?`,
|
|
@@ -69495,7 +69645,7 @@ const _hoisted_2$P = {
|
|
|
69495
69645
|
key: 0,
|
|
69496
69646
|
class: "panel-tmpl-config__list"
|
|
69497
69647
|
};
|
|
69498
|
-
const _hoisted_3$
|
|
69648
|
+
const _hoisted_3$G = {
|
|
69499
69649
|
key: 1,
|
|
69500
69650
|
class: "panel-tmpl-config__group"
|
|
69501
69651
|
};
|
|
@@ -69603,7 +69753,7 @@ const _sfc_main$2s = /* @__PURE__ */ defineComponent({
|
|
|
69603
69753
|
}), 128))
|
|
69604
69754
|
])) : createCommentVNode("", true)
|
|
69605
69755
|
])) : createCommentVNode("", true),
|
|
69606
|
-
unref(c).state.IOTPermission ? (openBlock(), createElementBlock("section", _hoisted_3$
|
|
69756
|
+
unref(c).state.IOTPermission ? (openBlock(), createElementBlock("section", _hoisted_3$G, [
|
|
69607
69757
|
_cache[4] || (_cache[4] = createElementVNode("div", { class: "panel-tmpl-config__group-title" }, "设备互联", -1)),
|
|
69608
69758
|
createVNode(_component_a_button, {
|
|
69609
69759
|
type: "primary",
|
|
@@ -69890,7 +70040,7 @@ const _sfc_main$2o = /* @__PURE__ */ defineComponent({
|
|
|
69890
70040
|
const AddSqlInput = /* @__PURE__ */ _export_sfc(_sfc_main$2o, [["__scopeId", "data-v-01bd6886"]]);
|
|
69891
70041
|
const _hoisted_1$1a = { class: "add-builtin-param-modal-container" };
|
|
69892
70042
|
const _hoisted_2$N = { class: "title" };
|
|
69893
|
-
const _hoisted_3$
|
|
70043
|
+
const _hoisted_3$F = { class: "search" };
|
|
69894
70044
|
const _hoisted_4$v = { class: "field-table-wrap" };
|
|
69895
70045
|
const _sfc_main$2n = /* @__PURE__ */ defineComponent({
|
|
69896
70046
|
__name: "add-builtin-param-modal",
|
|
@@ -69999,7 +70149,7 @@ const _sfc_main$2n = /* @__PURE__ */ defineComponent({
|
|
|
69999
70149
|
]),
|
|
70000
70150
|
createElementVNode("div", _hoisted_1$1a, [
|
|
70001
70151
|
createElementVNode("div", _hoisted_2$N, toDisplayString$1(_ctx.$t("sys.onlineForm.builtInParameterList")), 1),
|
|
70002
|
-
createElementVNode("div", _hoisted_3$
|
|
70152
|
+
createElementVNode("div", _hoisted_3$F, [
|
|
70003
70153
|
createVNode(_component_a_input, {
|
|
70004
70154
|
placeholder: _ctx.$t("sys.appDesigner.newViewField.pleaseEnterSearchContent"),
|
|
70005
70155
|
allowClear: "",
|
|
@@ -70788,7 +70938,7 @@ const AddFieldCascader = /* @__PURE__ */ defineComponent({
|
|
|
70788
70938
|
});
|
|
70789
70939
|
const _hoisted_1$18 = { class: "add-field-modal-container" };
|
|
70790
70940
|
const _hoisted_2$M = { class: "search" };
|
|
70791
|
-
const _hoisted_3$
|
|
70941
|
+
const _hoisted_3$E = { class: "field-table-wrap" };
|
|
70792
70942
|
const _sfc_main$2k = /* @__PURE__ */ defineComponent({
|
|
70793
70943
|
__name: "add-field-modal",
|
|
70794
70944
|
props: {
|
|
@@ -70962,7 +71112,7 @@ const _sfc_main$2k = /* @__PURE__ */ defineComponent({
|
|
|
70962
71112
|
_: 1
|
|
70963
71113
|
}, 8, ["placeholder", "value"])
|
|
70964
71114
|
]),
|
|
70965
|
-
createElementVNode("div", _hoisted_3$
|
|
71115
|
+
createElementVNode("div", _hoisted_3$E, [
|
|
70966
71116
|
createVNode(_component_a_table, {
|
|
70967
71117
|
columns: unref(columns).map((e) => ({
|
|
70968
71118
|
...e,
|
|
@@ -71708,7 +71858,7 @@ var ParamType = /* @__PURE__ */ ((ParamType2) => {
|
|
|
71708
71858
|
})(ParamType || {});
|
|
71709
71859
|
const _hoisted_1$15 = { class: "h100% ks-column" };
|
|
71710
71860
|
const _hoisted_2$L = { class: "ks-col overflow-auto" };
|
|
71711
|
-
const _hoisted_3$
|
|
71861
|
+
const _hoisted_3$D = { class: "flex items-center mb-10px" };
|
|
71712
71862
|
const _hoisted_4$u = {
|
|
71713
71863
|
style: { "width": "20px", "height": "20px" },
|
|
71714
71864
|
class: "flex justify-center items-center flex-none"
|
|
@@ -71853,7 +72003,7 @@ const _sfc_main$2d = /* @__PURE__ */ defineComponent({
|
|
|
71853
72003
|
createElementVNode("div", _hoisted_2$L, [
|
|
71854
72004
|
(openBlock(true), createElementBlock(Fragment, null, renderList(__props.list, (item, index2) => {
|
|
71855
72005
|
return openBlock(), createElementBlock("div", { key: index2 }, [
|
|
71856
|
-
createElementVNode("div", _hoisted_3$
|
|
72006
|
+
createElementVNode("div", _hoisted_3$D, [
|
|
71857
72007
|
createElementVNode("div", {
|
|
71858
72008
|
class: normalizeClass(["flex items-center", [__props.level > 0 ? "w180px" : "w80px"]]),
|
|
71859
72009
|
style: normalizeStyle({
|
|
@@ -72177,7 +72327,7 @@ const _sfc_main$2b = /* @__PURE__ */ defineComponent({
|
|
|
72177
72327
|
const IpaasParamConfig = /* @__PURE__ */ _export_sfc(_sfc_main$2b, [["__scopeId", "data-v-40e1d0bf"]]);
|
|
72178
72328
|
const _hoisted_1$13 = { class: "data-source-model-link-wrapper" };
|
|
72179
72329
|
const _hoisted_2$K = { class: "model-link-container" };
|
|
72180
|
-
const _hoisted_3$
|
|
72330
|
+
const _hoisted_3$C = { class: "model-link-content" };
|
|
72181
72331
|
const _hoisted_4$t = { class: "model-link-item" };
|
|
72182
72332
|
const _hoisted_5$m = { class: "blank first" };
|
|
72183
72333
|
const _hoisted_6$i = { class: "model-link-item" };
|
|
@@ -72345,7 +72495,7 @@ const _sfc_main$2a = /* @__PURE__ */ defineComponent({
|
|
|
72345
72495
|
const _component_a_select_opt_group = resolveComponent("a-select-opt-group");
|
|
72346
72496
|
return openBlock(), createElementBlock("div", _hoisted_1$13, [
|
|
72347
72497
|
createElementVNode("div", _hoisted_2$K, [
|
|
72348
|
-
createElementVNode("div", _hoisted_3$
|
|
72498
|
+
createElementVNode("div", _hoisted_3$C, [
|
|
72349
72499
|
createElementVNode("div", _hoisted_4$t, [
|
|
72350
72500
|
createElementVNode("span", _hoisted_5$m, toDisplayString$1(_ctx.$t("sys.onlineForm.when")), 1),
|
|
72351
72501
|
createVNode(_component_a_select, {
|
|
@@ -72574,7 +72724,7 @@ const _sfc_main$2a = /* @__PURE__ */ defineComponent({
|
|
|
72574
72724
|
const DataSourceModelLink = /* @__PURE__ */ _export_sfc(_sfc_main$2a, [["__scopeId", "data-v-f62eb805"]]);
|
|
72575
72725
|
const _hoisted_1$12 = { class: "add-builtin-field-modal-container" };
|
|
72576
72726
|
const _hoisted_2$J = { class: "title" };
|
|
72577
|
-
const _hoisted_3$
|
|
72727
|
+
const _hoisted_3$B = { class: "search" };
|
|
72578
72728
|
const _hoisted_4$s = { class: "field-table-wrap" };
|
|
72579
72729
|
const _sfc_main$29 = /* @__PURE__ */ defineComponent({
|
|
72580
72730
|
__name: "add-builtin-field-modal",
|
|
@@ -72671,7 +72821,7 @@ const _sfc_main$29 = /* @__PURE__ */ defineComponent({
|
|
|
72671
72821
|
]),
|
|
72672
72822
|
createElementVNode("div", _hoisted_1$12, [
|
|
72673
72823
|
createElementVNode("div", _hoisted_2$J, toDisplayString$1(_ctx.$t("sys.onlineForm.builtInBusinessFieldList")), 1),
|
|
72674
|
-
createElementVNode("div", _hoisted_3$
|
|
72824
|
+
createElementVNode("div", _hoisted_3$B, [
|
|
72675
72825
|
createVNode(_component_a_input, {
|
|
72676
72826
|
placeholder: _ctx.$t("sys.appDesigner.newViewField.pleaseEnterSearchContent"),
|
|
72677
72827
|
allowClear: "",
|
|
@@ -72754,7 +72904,7 @@ const _sfc_main$28 = /* @__PURE__ */ defineComponent({
|
|
|
72754
72904
|
});
|
|
72755
72905
|
const _hoisted_1$11 = { class: "data-source-field-map-wrapper" };
|
|
72756
72906
|
const _hoisted_2$I = { class: "field-map-container" };
|
|
72757
|
-
const _hoisted_3$
|
|
72907
|
+
const _hoisted_3$A = { class: "field-map-content" };
|
|
72758
72908
|
const _hoisted_4$r = { class: "field-map-item" };
|
|
72759
72909
|
const _hoisted_5$l = { class: "blank last" };
|
|
72760
72910
|
const _hoisted_6$h = ["onClick"];
|
|
@@ -72882,7 +73032,7 @@ const _sfc_main$27 = /* @__PURE__ */ defineComponent({
|
|
|
72882
73032
|
return openBlock(), createElementBlock("div", _hoisted_1$11, [
|
|
72883
73033
|
_cache[2] || (_cache[2] = createElementVNode("div", { class: "line" }, null, -1)),
|
|
72884
73034
|
createElementVNode("div", _hoisted_2$I, [
|
|
72885
|
-
createElementVNode("div", _hoisted_3$
|
|
73035
|
+
createElementVNode("div", _hoisted_3$A, [
|
|
72886
73036
|
createElementVNode("div", _hoisted_4$r, [
|
|
72887
73037
|
createVNode(_component_a_select, {
|
|
72888
73038
|
class: "custom-select",
|
|
@@ -72990,7 +73140,7 @@ const _sfc_main$27 = /* @__PURE__ */ defineComponent({
|
|
|
72990
73140
|
const DataSourceFieldMap = /* @__PURE__ */ _export_sfc(_sfc_main$27, [["__scopeId", "data-v-13d50bf6"]]);
|
|
72991
73141
|
const _hoisted_1$10 = { class: "object-init-list" };
|
|
72992
73142
|
const _hoisted_2$H = { class: "object-init-list__meta header" };
|
|
72993
|
-
const _hoisted_3$
|
|
73143
|
+
const _hoisted_3$z = { class: "object-init-list__label" };
|
|
72994
73144
|
const _hoisted_4$q = ["title"];
|
|
72995
73145
|
const _hoisted_5$k = ["onClick"];
|
|
72996
73146
|
const _hoisted_6$g = { class: "object-init-list__meta" };
|
|
@@ -73022,7 +73172,7 @@ const _sfc_main$26 = /* @__PURE__ */ defineComponent({
|
|
|
73022
73172
|
style: normalizeStyle(dynamicStyle(item))
|
|
73023
73173
|
}, [
|
|
73024
73174
|
createElementVNode("div", _hoisted_2$H, [
|
|
73025
|
-
createElementVNode("span", _hoisted_3$
|
|
73175
|
+
createElementVNode("span", _hoisted_3$z, toDisplayString$1(_ctx.$t("sys.onlineForm.fieldName")) + ":", 1),
|
|
73026
73176
|
createElementVNode("span", {
|
|
73027
73177
|
class: "object-init-list__value",
|
|
73028
73178
|
title: item.objectFieldName || item.objectFieldMeta?.name
|
|
@@ -73197,7 +73347,7 @@ const _sfc_main$25 = /* @__PURE__ */ defineComponent({
|
|
|
73197
73347
|
const ReadOnlyText = /* @__PURE__ */ _export_sfc(_sfc_main$25, [["__scopeId", "data-v-e43ed1a9"]]);
|
|
73198
73348
|
const _hoisted_1$$ = ["title"];
|
|
73199
73349
|
const _hoisted_2$G = ["data-ann"];
|
|
73200
|
-
const _hoisted_3$
|
|
73350
|
+
const _hoisted_3$y = ["data-ann"];
|
|
73201
73351
|
const _sfc_main$24 = /* @__PURE__ */ defineComponent({
|
|
73202
73352
|
__name: "cell-wrapper",
|
|
73203
73353
|
props: {
|
|
@@ -73298,7 +73448,7 @@ const _sfc_main$24 = /* @__PURE__ */ defineComponent({
|
|
|
73298
73448
|
class: "annotation-icon",
|
|
73299
73449
|
"data-ann": __props.annotationInfo?.annFieldId,
|
|
73300
73450
|
onClick: _cache[1] || (_cache[1] = withModifiers((e) => unref(setSelectAnnotationId)(__props.annotationInfo?.annFieldId, unref(dataRelationShip), e), ["stop"]))
|
|
73301
|
-
}, null, 8, _hoisted_3$
|
|
73451
|
+
}, null, 8, _hoisted_3$y)) : createCommentVNode("", true),
|
|
73302
73452
|
unref(prefix) ? (openBlock(), createElementBlock(Fragment, { key: 2 }, [
|
|
73303
73453
|
createTextVNode(toDisplayString$1(unref(prefix)), 1)
|
|
73304
73454
|
], 64)) : createCommentVNode("", true),
|
|
@@ -73947,7 +74097,7 @@ function useCommonSelect({ searchable }) {
|
|
|
73947
74097
|
}
|
|
73948
74098
|
const _hoisted_1$_ = { class: "search-wrapper" };
|
|
73949
74099
|
const _hoisted_2$F = { class: "inner-list search-visible" };
|
|
73950
|
-
const _hoisted_3$
|
|
74100
|
+
const _hoisted_3$x = ["onContextmenu"];
|
|
73951
74101
|
const _hoisted_4$p = { class: "inner-label-box" };
|
|
73952
74102
|
const _hoisted_5$j = ["title"];
|
|
73953
74103
|
const _sfc_main$1_ = /* @__PURE__ */ defineComponent({
|
|
@@ -74059,7 +74209,7 @@ const _sfc_main$1_ = /* @__PURE__ */ defineComponent({
|
|
|
74059
74209
|
createElementVNode("div", _hoisted_4$p, [
|
|
74060
74210
|
createElementVNode("span", { title: label }, toDisplayString$1(label), 9, _hoisted_5$j)
|
|
74061
74211
|
])
|
|
74062
|
-
], 40, _hoisted_3$
|
|
74212
|
+
], 40, _hoisted_3$x)
|
|
74063
74213
|
]),
|
|
74064
74214
|
_: 1
|
|
74065
74215
|
}, 16, ["value", "options", "open", "onDropdownVisibleChange"]);
|
|
@@ -74396,7 +74546,7 @@ const _sfc_main$1X = /* @__PURE__ */ defineComponent({
|
|
|
74396
74546
|
const CellSelect$1 = /* @__PURE__ */ _export_sfc(_sfc_main$1X, [["__scopeId", "data-v-0db5afbb"]]);
|
|
74397
74547
|
const _hoisted_1$Z = { class: "cell-textarea-wrap" };
|
|
74398
74548
|
const _hoisted_2$E = ["title"];
|
|
74399
|
-
const _hoisted_3$
|
|
74549
|
+
const _hoisted_3$w = { class: "cell-textarea-modal-header" };
|
|
74400
74550
|
const _hoisted_4$o = { class: "cell-textarea-modal-title" };
|
|
74401
74551
|
const _hoisted_5$i = { class: "cell-textarea-modal-body" };
|
|
74402
74552
|
const _hoisted_6$f = ["placeholder", "maxlength"];
|
|
@@ -74509,7 +74659,7 @@ const _sfc_main$1W = /* @__PURE__ */ defineComponent({
|
|
|
74509
74659
|
class: normalizeClass(["cell-textarea-modal", { "cell-textarea-modal-enter": modalAnimated.value }]),
|
|
74510
74660
|
style: normalizeStyle(modalStyle.value)
|
|
74511
74661
|
}, [
|
|
74512
|
-
createElementVNode("div", _hoisted_3$
|
|
74662
|
+
createElementVNode("div", _hoisted_3$w, [
|
|
74513
74663
|
createElementVNode("span", _hoisted_4$o, toDisplayString$1(_ctx.$t("sys.longTextInput")), 1),
|
|
74514
74664
|
createElementVNode("span", {
|
|
74515
74665
|
class: "cell-textarea-modal-close",
|
|
@@ -76539,7 +76689,7 @@ const _hoisted_2$D = {
|
|
|
76539
76689
|
key: 1,
|
|
76540
76690
|
class: "inner-footer"
|
|
76541
76691
|
};
|
|
76542
|
-
const _hoisted_3$
|
|
76692
|
+
const _hoisted_3$v = ["onContextmenu"];
|
|
76543
76693
|
const _hoisted_4$n = { class: "inner-label-box" };
|
|
76544
76694
|
const _hoisted_5$h = ["title"];
|
|
76545
76695
|
const _hoisted_6$e = { class: "h-120px flex justify-center items-center" };
|
|
@@ -76994,7 +77144,7 @@ const _sfc_main$1P = /* @__PURE__ */ defineComponent({
|
|
|
76994
77144
|
createElementVNode("div", _hoisted_4$n, [
|
|
76995
77145
|
createElementVNode("span", { title: label }, toDisplayString$1(label), 9, _hoisted_5$h)
|
|
76996
77146
|
])
|
|
76997
|
-
], 40, _hoisted_3$
|
|
77147
|
+
], 40, _hoisted_3$v)
|
|
76998
77148
|
]),
|
|
76999
77149
|
_: 2
|
|
77000
77150
|
}, [
|
|
@@ -84161,7 +84311,7 @@ const picFail = "data:image/svg+xml,%3csvg%20width='84'%20height='84'%20viewBox=
|
|
|
84161
84311
|
const picJinggao = "data:image/svg+xml,%3csvg%20width='84'%20height='84'%20viewBox='0%200%2084%2084'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='pic_jinggao'%3e%3cg%20id='Ellipse%2010'%20filter='url(%23filter0_d_44_713)'%3e%3ccircle%20cx='42'%20cy='30'%20r='30'%20fill='%23FF792E'/%3e%3c/g%3e%3cg%20id='1.Bace&%23229;&%23159;&%23186;&%23231;&%23161;&%23128;/3.Icon&%23229;&%23155;&%23190;&%23230;&%23160;&%23135;/&%23229;&%23143;&%23141;&%23233;&%23166;&%23136;/check'%3e%3cpath%20id='error'%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M43.5337%2042.9834H40.4458V39.8955H43.5337V42.9834ZM43.4282%2035.125H40.5786V17.75H43.4282V35.125Z'%20fill='white'/%3e%3c/g%3e%3c/g%3e%3cdefs%3e%3cfilter%20id='filter0_d_44_713'%20x='0'%20y='0'%20width='84'%20height='84'%20filterUnits='userSpaceOnUse'%20color-interpolation-filters='sRGB'%3e%3cfeFlood%20flood-opacity='0'%20result='BackgroundImageFix'/%3e%3cfeColorMatrix%20in='SourceAlpha'%20type='matrix'%20values='0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%20127%200'%20result='hardAlpha'/%3e%3cfeOffset%20dy='12'/%3e%3cfeGaussianBlur%20stdDeviation='6'/%3e%3cfeComposite%20in2='hardAlpha'%20operator='out'/%3e%3cfeColorMatrix%20type='matrix'%20values='0%200%200%200%201%200%200%200%200%200.47451%200%200%200%200%200.180392%200%200%200%200.2%200'/%3e%3cfeBlend%20mode='normal'%20in2='BackgroundImageFix'%20result='effect1_dropShadow_44_713'/%3e%3cfeBlend%20mode='normal'%20in='SourceGraphic'%20in2='effect1_dropShadow_44_713'%20result='shape'/%3e%3c/filter%3e%3c/defs%3e%3c/svg%3e";
|
|
84162
84312
|
const _hoisted_1$W = { class: "card-signer" };
|
|
84163
84313
|
const _hoisted_2$C = { class: "card-account" };
|
|
84164
|
-
const _hoisted_3$
|
|
84314
|
+
const _hoisted_3$u = ["aria-busy"];
|
|
84165
84315
|
const _hoisted_4$m = ["src"];
|
|
84166
84316
|
const _hoisted_5$g = { class: "card-message" };
|
|
84167
84317
|
const _hoisted_6$d = ["disabled"];
|
|
@@ -84309,7 +84459,7 @@ const _sfc_main$1K = /* @__PURE__ */ defineComponent({
|
|
|
84309
84459
|
alt: ""
|
|
84310
84460
|
}, null, 10, _hoisted_4$m),
|
|
84311
84461
|
createElementVNode("div", _hoisted_5$g, toDisplayString$1(statusInfo.value.title), 1)
|
|
84312
|
-
], 8, _hoisted_3$
|
|
84462
|
+
], 8, _hoisted_3$u),
|
|
84313
84463
|
withDirectives(createElementVNode("input", {
|
|
84314
84464
|
ref_key: "inputRef",
|
|
84315
84465
|
ref: inputRef,
|
|
@@ -84349,7 +84499,7 @@ const _hoisted_2$B = {
|
|
|
84349
84499
|
key: 1,
|
|
84350
84500
|
role: "alert"
|
|
84351
84501
|
};
|
|
84352
|
-
const _hoisted_3$
|
|
84502
|
+
const _hoisted_3$t = {
|
|
84353
84503
|
key: 0,
|
|
84354
84504
|
class: "signature-methods"
|
|
84355
84505
|
};
|
|
@@ -84457,7 +84607,7 @@ const _sfc_main$1J = /* @__PURE__ */ defineComponent({
|
|
|
84457
84607
|
class: normalizeClass(unref(ns).b())
|
|
84458
84608
|
}, [
|
|
84459
84609
|
configLoading.value ? (openBlock(), createElementBlock("div", _hoisted_1$V, "正在加载签名配置…")) : configError.value ? (openBlock(), createElementBlock("div", _hoisted_2$B, toDisplayString$1(configError.value), 1)) : (openBlock(), createElementBlock(Fragment, { key: 2 }, [
|
|
84460
|
-
useSecurityMethods ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
84610
|
+
useSecurityMethods ? (openBlock(), createElementBlock("div", _hoisted_3$t, [
|
|
84461
84611
|
_cache[3] || (_cache[3] = createElementVNode("span", null, [
|
|
84462
84612
|
createElementVNode("span", { class: "required-mark" }, "*"),
|
|
84463
84613
|
createTextVNode(" 签名方式:")
|
|
@@ -85314,7 +85464,7 @@ const imageError = "data:image/svg+xml,%3csvg%20width='120'%20height='69'%20view
|
|
|
85314
85464
|
});
|
|
85315
85465
|
const _hoisted_1$R = { class: "readonly-signature-popover" };
|
|
85316
85466
|
const _hoisted_2$z = ["src", "onClick"];
|
|
85317
|
-
const _hoisted_3$
|
|
85467
|
+
const _hoisted_3$s = ["src", "onClick"];
|
|
85318
85468
|
const _hoisted_4$l = {
|
|
85319
85469
|
key: 0,
|
|
85320
85470
|
class: "media-overflow-count"
|
|
@@ -85587,7 +85737,7 @@ const _sfc_main$1E = /* @__PURE__ */ defineComponent({
|
|
|
85587
85737
|
src: unref(getFormSignPreviewUrl)(signature2.url, signature2.username, unref(transfer), signature2.time),
|
|
85588
85738
|
alt: "",
|
|
85589
85739
|
onClick: withModifiers(($event) => openPreview(index2), ["stop"])
|
|
85590
|
-
}, null, 8, _hoisted_3$
|
|
85740
|
+
}, null, 8, _hoisted_3$s);
|
|
85591
85741
|
}), 128)),
|
|
85592
85742
|
hiddenSignatureCount.value ? (openBlock(), createElementBlock("span", _hoisted_4$l, "+" + toDisplayString$1(hiddenSignatureCount.value), 1)) : createCommentVNode("", true),
|
|
85593
85743
|
isEditable.value && isShowSignature.value ? (openBlock(), createElementBlock("button", {
|
|
@@ -85850,7 +86000,7 @@ const _sfc_main$1C = /* @__PURE__ */ defineComponent({
|
|
|
85850
86000
|
const RadioSwitch = /* @__PURE__ */ _export_sfc(_sfc_main$1C, [["__scopeId", "data-v-1dbd4436"]]);
|
|
85851
86001
|
const _hoisted_1$Q = { class: "inner-list" };
|
|
85852
86002
|
const _hoisted_2$y = ["onContextmenu"];
|
|
85853
|
-
const _hoisted_3$
|
|
86003
|
+
const _hoisted_3$r = { class: "inner-label-box" };
|
|
85854
86004
|
const _hoisted_4$k = ["title"];
|
|
85855
86005
|
const _sfc_main$1B = /* @__PURE__ */ defineComponent({
|
|
85856
86006
|
__name: "select-switch",
|
|
@@ -85921,7 +86071,7 @@ const _sfc_main$1B = /* @__PURE__ */ defineComponent({
|
|
|
85921
86071
|
class: "option-inner",
|
|
85922
86072
|
onContextmenu: (e) => unref(handleShowCustomTooltip)(e, label)
|
|
85923
86073
|
}, [
|
|
85924
|
-
createElementVNode("div", _hoisted_3$
|
|
86074
|
+
createElementVNode("div", _hoisted_3$r, [
|
|
85925
86075
|
createElementVNode("span", { title: label }, toDisplayString$1(label), 9, _hoisted_4$k)
|
|
85926
86076
|
])
|
|
85927
86077
|
], 40, _hoisted_2$y)
|
|
@@ -86530,7 +86680,7 @@ function useRuleProps({
|
|
|
86530
86680
|
}
|
|
86531
86681
|
const _hoisted_1$P = { class: "search-wrapper" };
|
|
86532
86682
|
const _hoisted_2$x = { class: "inner-list search-visible" };
|
|
86533
|
-
const _hoisted_3$
|
|
86683
|
+
const _hoisted_3$q = {
|
|
86534
86684
|
key: 0,
|
|
86535
86685
|
class: "inner-footer"
|
|
86536
86686
|
};
|
|
@@ -86866,7 +87016,7 @@ const _sfc_main$1u = /* @__PURE__ */ defineComponent({
|
|
|
86866
87016
|
createElementVNode("div", _hoisted_2$x, [
|
|
86867
87017
|
createVNode(unref(VNode), { node: menuNode }, null, 8, ["node"])
|
|
86868
87018
|
]),
|
|
86869
|
-
state.data.length && !unref(loadFinished2Options) && !state.hasSearched ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
87019
|
+
state.data.length && !unref(loadFinished2Options) && !state.hasSearched ? (openBlock(), createElementBlock("div", _hoisted_3$q, toDisplayString$1(unref($t2)("sys.onlineForm.searchForMore")), 1)) : createCommentVNode("", true),
|
|
86870
87020
|
unref(customTooltip) ? (openBlock(), createElementBlock("div", {
|
|
86871
87021
|
key: 1,
|
|
86872
87022
|
class: "inner-custom-tooltip",
|
|
@@ -86922,7 +87072,7 @@ const _sfc_main$1t = /* @__PURE__ */ defineComponent({
|
|
|
86922
87072
|
title: name,
|
|
86923
87073
|
field: key,
|
|
86924
87074
|
minWidth: 170,
|
|
86925
|
-
slots: { default: "
|
|
87075
|
+
slots: { default: "cell_default" },
|
|
86926
87076
|
formatter: formatDisplayCell
|
|
86927
87077
|
}))
|
|
86928
87078
|
]);
|
|
@@ -87020,7 +87170,7 @@ const _sfc_main$1t = /* @__PURE__ */ defineComponent({
|
|
|
87020
87170
|
};
|
|
87021
87171
|
}
|
|
87022
87172
|
});
|
|
87023
|
-
const TraceRefSelectTable = /* @__PURE__ */ _export_sfc(_sfc_main$1t, [["__scopeId", "data-v-
|
|
87173
|
+
const TraceRefSelectTable = /* @__PURE__ */ _export_sfc(_sfc_main$1t, [["__scopeId", "data-v-9ed3dac0"]]);
|
|
87024
87174
|
const _sfc_main$1s = /* @__PURE__ */ defineComponent({
|
|
87025
87175
|
__name: "trace-ref-table-select",
|
|
87026
87176
|
props: {
|
|
@@ -87174,30 +87324,38 @@ const _sfc_main$1q = /* @__PURE__ */ defineComponent({
|
|
|
87174
87324
|
setup(__props, { expose: __expose, emit: __emit }) {
|
|
87175
87325
|
const props2 = __props;
|
|
87176
87326
|
const emit2 = __emit;
|
|
87177
|
-
const { displayFields, quickSearchField } = props2.widget.props;
|
|
87327
|
+
const { displayFields, quickSearchField, quickSearchable } = props2.widget.props;
|
|
87178
87328
|
const searchForm = ref({
|
|
87179
87329
|
keyword: void 0
|
|
87180
87330
|
});
|
|
87181
|
-
const searchField = computed(() => {
|
|
87182
|
-
return Array.from(new Set(quickSearchField || []));
|
|
87183
|
-
});
|
|
87184
|
-
const searchExp = computed(() => {
|
|
87185
|
-
return `OR(${searchField.value.join(",")})`;
|
|
87186
|
-
});
|
|
87187
87331
|
const {
|
|
87188
87332
|
field,
|
|
87189
87333
|
bizType,
|
|
87334
|
+
fieldType,
|
|
87190
87335
|
modelKey,
|
|
87191
87336
|
refModelKey,
|
|
87192
87337
|
options: initialOptions,
|
|
87193
87338
|
newTotalCount
|
|
87194
87339
|
} = useWidgetStaticAttrs(props2.widget);
|
|
87340
|
+
const searchField = computed(() => {
|
|
87341
|
+
if (quickSearchField?.length) {
|
|
87342
|
+
return Array.from(new Set(quickSearchField));
|
|
87343
|
+
}
|
|
87344
|
+
const type = bizType || fieldType;
|
|
87345
|
+
if ([FIELD_TYPE.PRODUCT, FIELD_TYPE.SCRAP_MATERIAL].includes(type)) {
|
|
87346
|
+
return [...SEARCHABLE_FIELD_DEFAULT_FIELDS_MAP.material];
|
|
87347
|
+
}
|
|
87348
|
+
return [];
|
|
87349
|
+
});
|
|
87350
|
+
const searchExp = computed(() => {
|
|
87351
|
+
if (!searchField.value.length) return void 0;
|
|
87352
|
+
return `OR(${searchField.value.join(",")})`;
|
|
87353
|
+
});
|
|
87354
|
+
const showQuickSearch = computed(() => quickSearchable !== false && searchField.value.length > 0);
|
|
87195
87355
|
const columns2 = computed(() => {
|
|
87196
87356
|
const cols = [];
|
|
87197
87357
|
if (displayFields?.length) {
|
|
87198
|
-
cols.push(
|
|
87199
|
-
...displayFields.map(({ key, name }) => ({ title: name, field: key, minWidth: 170 }))
|
|
87200
|
-
);
|
|
87358
|
+
cols.push(...getDisplayFieldColumns(displayFields, true));
|
|
87201
87359
|
} else {
|
|
87202
87360
|
let keys2 = ["code", "name", "spec", "uom", "desc"];
|
|
87203
87361
|
if (bizType === FIELD_TYPE.E_SOP) {
|
|
@@ -87223,7 +87381,7 @@ const _sfc_main$1q = /* @__PURE__ */ defineComponent({
|
|
|
87223
87381
|
fieldKey: field,
|
|
87224
87382
|
refModelKey,
|
|
87225
87383
|
isRdo: true,
|
|
87226
|
-
exp: keyword2 ? searchExp.value : void 0,
|
|
87384
|
+
exp: keyword2 && searchExp.value ? searchExp.value : void 0,
|
|
87227
87385
|
queryData: {
|
|
87228
87386
|
...queryData,
|
|
87229
87387
|
...props2.extraQuery,
|
|
@@ -87289,7 +87447,7 @@ const _sfc_main$1q = /* @__PURE__ */ defineComponent({
|
|
|
87289
87447
|
const _component_a_col = resolveComponent("a-col");
|
|
87290
87448
|
const _component_a_row = resolveComponent("a-row");
|
|
87291
87449
|
return openBlock(), createElementBlock(Fragment, null, [
|
|
87292
|
-
|
|
87450
|
+
showQuickSearch.value ? (openBlock(), createBlock(_component_a_row, {
|
|
87293
87451
|
key: 0,
|
|
87294
87452
|
class: "base-vxe-search-form-container",
|
|
87295
87453
|
gutter: 24
|
|
@@ -87336,7 +87494,7 @@ const _sfc_main$1q = /* @__PURE__ */ defineComponent({
|
|
|
87336
87494
|
};
|
|
87337
87495
|
}
|
|
87338
87496
|
});
|
|
87339
|
-
const RdoSelectTable = /* @__PURE__ */ _export_sfc(_sfc_main$1q, [["__scopeId", "data-v-
|
|
87497
|
+
const RdoSelectTable = /* @__PURE__ */ _export_sfc(_sfc_main$1q, [["__scopeId", "data-v-61db6225"]]);
|
|
87340
87498
|
function parseAssocSourceField(value) {
|
|
87341
87499
|
if (!value) return null;
|
|
87342
87500
|
const idx = value.indexOf(".");
|
|
@@ -88332,6 +88490,7 @@ const _sfc_main$1n = /* @__PURE__ */ defineComponent({
|
|
|
88332
88490
|
scanRules,
|
|
88333
88491
|
scanParamType: disableBarcodeParsing ? objectBom.value?.scan_param_type_ : void 0,
|
|
88334
88492
|
ruleTip: $t2("sys.scanRuleTipSubTable"),
|
|
88493
|
+
formFieldsLabel: "对象字段",
|
|
88335
88494
|
onScan: async ({ str, parsedValue, transformedData }) => {
|
|
88336
88495
|
if (!str || !parsedValue) return;
|
|
88337
88496
|
try {
|
|
@@ -88442,7 +88601,7 @@ const _sfc_main$1n = /* @__PURE__ */ defineComponent({
|
|
|
88442
88601
|
};
|
|
88443
88602
|
}
|
|
88444
88603
|
});
|
|
88445
|
-
const TraceLotSelect = /* @__PURE__ */ _export_sfc(_sfc_main$1n, [["__scopeId", "data-v-
|
|
88604
|
+
const TraceLotSelect = /* @__PURE__ */ _export_sfc(_sfc_main$1n, [["__scopeId", "data-v-47f72de5"]]);
|
|
88446
88605
|
const _sfc_main$1m = /* @__PURE__ */ defineComponent({
|
|
88447
88606
|
__name: "sterilize-lot-select-table",
|
|
88448
88607
|
props: {
|
|
@@ -89788,6 +89947,10 @@ const _sfc_main$1f = /* @__PURE__ */ defineComponent({
|
|
|
89788
89947
|
ignore: [".allocate-product__dropdown", ".allocate-product__exclude-outside"]
|
|
89789
89948
|
}
|
|
89790
89949
|
);
|
|
89950
|
+
const stocktakeDimension = computed(() => props2.widget.props.stocktakeDimension);
|
|
89951
|
+
const isWarehouseSummary = computed(
|
|
89952
|
+
() => stocktakeDimension.value === STOCKTAKE_DIMENSION.warehouseSummary
|
|
89953
|
+
);
|
|
89791
89954
|
const columns2 = computed(() => {
|
|
89792
89955
|
const cols = [
|
|
89793
89956
|
{ field: "radio", type: "radio", width: 46, showOverflow: false },
|
|
@@ -89820,13 +89983,17 @@ const _sfc_main$1f = /* @__PURE__ */ defineComponent({
|
|
|
89820
89983
|
field: "warehouse_name_",
|
|
89821
89984
|
minWidth: 120,
|
|
89822
89985
|
showOverflow: "tooltip"
|
|
89823
|
-
}
|
|
89824
|
-
|
|
89986
|
+
}
|
|
89987
|
+
];
|
|
89988
|
+
if (!isWarehouseSummary.value) {
|
|
89989
|
+
cols.push({
|
|
89825
89990
|
title: $t("sys.pageDesigner.fieldCmp.location"),
|
|
89826
89991
|
field: "location_name_",
|
|
89827
89992
|
minWidth: 120,
|
|
89828
89993
|
showOverflow: "tooltip"
|
|
89829
|
-
}
|
|
89994
|
+
});
|
|
89995
|
+
}
|
|
89996
|
+
cols.push(
|
|
89830
89997
|
{
|
|
89831
89998
|
title: $t("sys.edhr.stockNum"),
|
|
89832
89999
|
field: "stock_num_",
|
|
@@ -89837,7 +90004,7 @@ const _sfc_main$1f = /* @__PURE__ */ defineComponent({
|
|
|
89837
90004
|
field: "validate_",
|
|
89838
90005
|
minWidth: 100
|
|
89839
90006
|
}
|
|
89840
|
-
|
|
90007
|
+
);
|
|
89841
90008
|
return cols;
|
|
89842
90009
|
});
|
|
89843
90010
|
const options2arr = (options = []) => {
|
|
@@ -89849,11 +90016,16 @@ const _sfc_main$1f = /* @__PURE__ */ defineComponent({
|
|
|
89849
90016
|
});
|
|
89850
90017
|
};
|
|
89851
90018
|
const fetcher = async ({ keyword: keyword2 = "", pageNo, pageSize }) => {
|
|
90019
|
+
const selectApi = stocktakeDimension.value ? resolveStocktakeSelectApi({ stocktakeDimension: stocktakeDimension.value }) : {
|
|
90020
|
+
modelCategory: "entity",
|
|
90021
|
+
modelKey: "em_inventory",
|
|
90022
|
+
bsKey: "biz_get_inventory_info_list_by_page"
|
|
90023
|
+
};
|
|
89852
90024
|
const res = await api.apaas.modelComprehensive.postBizServiceModelCategoryModelKeyBsKey(
|
|
89853
90025
|
{
|
|
89854
|
-
modelCategory:
|
|
89855
|
-
bsKey:
|
|
89856
|
-
modelKey:
|
|
90026
|
+
modelCategory: selectApi.modelCategory,
|
|
90027
|
+
bsKey: selectApi.bsKey,
|
|
90028
|
+
modelKey: selectApi.modelKey
|
|
89857
90029
|
},
|
|
89858
90030
|
{},
|
|
89859
90031
|
{
|
|
@@ -90007,7 +90179,7 @@ const _sfc_main$1f = /* @__PURE__ */ defineComponent({
|
|
|
90007
90179
|
};
|
|
90008
90180
|
}
|
|
90009
90181
|
});
|
|
90010
|
-
const AllocateProduct = /* @__PURE__ */ _export_sfc(_sfc_main$1f, [["__scopeId", "data-v-
|
|
90182
|
+
const AllocateProduct = /* @__PURE__ */ _export_sfc(_sfc_main$1f, [["__scopeId", "data-v-deea9bc7"]]);
|
|
90011
90183
|
const VuePdfEmbed = defineAsyncComponent(() => import("./index-IoZ43cS-.js"));
|
|
90012
90184
|
if (typeof window !== "undefined") {
|
|
90013
90185
|
if (window.NodeList && !NodeList.prototype.forEach) {
|
|
@@ -90835,14 +91007,14 @@ const VuePdf = /* @__PURE__ */ defineComponent({
|
|
|
90835
91007
|
}
|
|
90836
91008
|
});
|
|
90837
91009
|
const VueVideoPlayer = defineAsyncComponent(
|
|
90838
|
-
() => import("./VueVideoPlayer-
|
|
91010
|
+
() => import("./VueVideoPlayer-CjwaFHHX.js")
|
|
90839
91011
|
);
|
|
90840
91012
|
const _hoisted_1$K = {
|
|
90841
91013
|
key: 0,
|
|
90842
91014
|
class: "view-modal"
|
|
90843
91015
|
};
|
|
90844
91016
|
const _hoisted_2$u = ["src"];
|
|
90845
|
-
const _hoisted_3$
|
|
91017
|
+
const _hoisted_3$p = ["src"];
|
|
90846
91018
|
const _sfc_main$1e = /* @__PURE__ */ defineComponent({
|
|
90847
91019
|
__name: "e-sop-view-dialog",
|
|
90848
91020
|
props: {
|
|
@@ -90925,7 +91097,7 @@ const _sfc_main$1e = /* @__PURE__ */ defineComponent({
|
|
|
90925
91097
|
key: 3,
|
|
90926
91098
|
class: "view-modal__iframe",
|
|
90927
91099
|
src: source.value
|
|
90928
|
-
}, null, 8, _hoisted_3$
|
|
91100
|
+
}, null, 8, _hoisted_3$p)) : createCommentVNode("", true)
|
|
90929
91101
|
])) : createCommentVNode("", true)
|
|
90930
91102
|
]),
|
|
90931
91103
|
_: 1
|
|
@@ -95546,7 +95718,7 @@ const _hoisted_1$J = {
|
|
|
95546
95718
|
style: { "font-size": "14px" }
|
|
95547
95719
|
};
|
|
95548
95720
|
const _hoisted_2$t = { class: "progress-box" };
|
|
95549
|
-
const _hoisted_3$
|
|
95721
|
+
const _hoisted_3$o = { class: "progress-item__box pl-10px" };
|
|
95550
95722
|
const _hoisted_4$i = { class: "progress-item__name" };
|
|
95551
95723
|
const _hoisted_5$d = { class: "label" };
|
|
95552
95724
|
const _hoisted_6$a = {
|
|
@@ -95739,7 +95911,7 @@ const _sfc_main$1b = /* @__PURE__ */ defineComponent({
|
|
|
95739
95911
|
size: item.status ? 32 : 24,
|
|
95740
95912
|
name: fileTypeParser.value(item.name)
|
|
95741
95913
|
}, null, 8, ["size", "name"]),
|
|
95742
|
-
createElementVNode("div", _hoisted_3$
|
|
95914
|
+
createElementVNode("div", _hoisted_3$o, [
|
|
95743
95915
|
createElementVNode("div", _hoisted_4$i, [
|
|
95744
95916
|
createVNode(_component_a_tooltip, null, {
|
|
95745
95917
|
title: withCtx(() => [
|
|
@@ -95787,7 +95959,7 @@ const _hoisted_1$I = {
|
|
|
95787
95959
|
class: "readonly-file-list"
|
|
95788
95960
|
};
|
|
95789
95961
|
const _hoisted_2$s = ["onClick"];
|
|
95790
|
-
const _hoisted_3$
|
|
95962
|
+
const _hoisted_3$n = { class: "readonly-file-info" };
|
|
95791
95963
|
const _hoisted_4$h = ["title"];
|
|
95792
95964
|
const _hoisted_5$c = { class: "readonly-file-size" };
|
|
95793
95965
|
const _hoisted_6$9 = {
|
|
@@ -95912,7 +96084,7 @@ const _sfc_main$1a = /* @__PURE__ */ defineComponent({
|
|
|
95912
96084
|
size: 32,
|
|
95913
96085
|
name: unref(typeParser)(file.name)
|
|
95914
96086
|
}, null, 8, ["name"]),
|
|
95915
|
-
createElementVNode("span", _hoisted_3$
|
|
96087
|
+
createElementVNode("span", _hoisted_3$n, [
|
|
95916
96088
|
createElementVNode("span", {
|
|
95917
96089
|
class: "readonly-file-name",
|
|
95918
96090
|
title: file.name
|
|
@@ -95979,7 +96151,7 @@ var statusEnum = /* @__PURE__ */ ((statusEnum2) => {
|
|
|
95979
96151
|
})(statusEnum || {});
|
|
95980
96152
|
const _hoisted_1$H = { class: "base-upload-modal" };
|
|
95981
96153
|
const _hoisted_2$r = { class: "upload-dragger" };
|
|
95982
|
-
const _hoisted_3$
|
|
96154
|
+
const _hoisted_3$m = {
|
|
95983
96155
|
class: "ant-upload-text",
|
|
95984
96156
|
style: { "font-size": "14px" }
|
|
95985
96157
|
};
|
|
@@ -96133,7 +96305,7 @@ const _sfc_main$19 = /* @__PURE__ */ defineComponent({
|
|
|
96133
96305
|
_cache[0] || (_cache[0] = createElementVNode("div", null, [
|
|
96134
96306
|
createElementVNode("i", { class: "iconfont icon-tupian-shili" })
|
|
96135
96307
|
], -1)),
|
|
96136
|
-
createElementVNode("p", _hoisted_3$
|
|
96308
|
+
createElementVNode("p", _hoisted_3$m, toDisplayString$1(_ctx.$t("sys.pageDesigner.clickOrDragToUpload")), 1)
|
|
96137
96309
|
]),
|
|
96138
96310
|
_: 1
|
|
96139
96311
|
}, 8, ["class", "disabled", "multiple", "accept"]), [
|
|
@@ -96187,7 +96359,7 @@ const _sfc_main$19 = /* @__PURE__ */ defineComponent({
|
|
|
96187
96359
|
const BaseUpload = /* @__PURE__ */ _export_sfc(_sfc_main$19, [["__scopeId", "data-v-ae79b907"]]);
|
|
96188
96360
|
const _hoisted_1$G = { class: "readonly-media-popover" };
|
|
96189
96361
|
const _hoisted_2$q = ["src", "onClick"];
|
|
96190
|
-
const _hoisted_3$
|
|
96362
|
+
const _hoisted_3$l = ["src"];
|
|
96191
96363
|
const _hoisted_4$f = {
|
|
96192
96364
|
key: 0,
|
|
96193
96365
|
class: "media-overflow-count"
|
|
@@ -96359,7 +96531,7 @@ const _sfc_main$18 = /* @__PURE__ */ defineComponent({
|
|
|
96359
96531
|
class: "image-thumbnail",
|
|
96360
96532
|
src: unref(transfer)(image2.path),
|
|
96361
96533
|
alt: ""
|
|
96362
|
-
}, null, 8, _hoisted_3$
|
|
96534
|
+
}, null, 8, _hoisted_3$l);
|
|
96363
96535
|
}), 128)),
|
|
96364
96536
|
hiddenImageCount.value ? (openBlock(), createElementBlock("span", _hoisted_4$f, "+" + toDisplayString$1(hiddenImageCount.value), 1)) : createCommentVNode("", true),
|
|
96365
96537
|
isEditable.value && isShowAddImageBtn.value ? (openBlock(), createElementBlock("button", {
|
|
@@ -98378,7 +98550,7 @@ function useObjectInitModal() {
|
|
|
98378
98550
|
}
|
|
98379
98551
|
const _hoisted_1$w = { class: "param-link-container" };
|
|
98380
98552
|
const _hoisted_2$o = { class: "param-link-content" };
|
|
98381
|
-
const _hoisted_3$
|
|
98553
|
+
const _hoisted_3$k = { class: "param-link-item" };
|
|
98382
98554
|
const _hoisted_4$e = { class: "blank last" };
|
|
98383
98555
|
const _hoisted_5$a = ["onClick"];
|
|
98384
98556
|
const _sfc_main$Q = /* @__PURE__ */ defineComponent({
|
|
@@ -98481,7 +98653,7 @@ const _sfc_main$Q = /* @__PURE__ */ defineComponent({
|
|
|
98481
98653
|
onOnClearItem: onClearAll,
|
|
98482
98654
|
onOnDeleteItem: onDelete
|
|
98483
98655
|
}, null, 8, ["formKey", "paramMapType"]),
|
|
98484
|
-
createElementVNode("div", _hoisted_3$
|
|
98656
|
+
createElementVNode("div", _hoisted_3$k, [
|
|
98485
98657
|
createVNode(_component_a_select, {
|
|
98486
98658
|
class: "custom-select",
|
|
98487
98659
|
bordered: false,
|
|
@@ -98530,7 +98702,7 @@ const _sfc_main$Q = /* @__PURE__ */ defineComponent({
|
|
|
98530
98702
|
const ParamFieldLink = /* @__PURE__ */ _export_sfc(_sfc_main$Q, [["__scopeId", "data-v-c2b1b747"]]);
|
|
98531
98703
|
const _hoisted_1$v = { class: "panel-data-init-config-wrapper" };
|
|
98532
98704
|
const _hoisted_2$n = { class: "param-area" };
|
|
98533
|
-
const _hoisted_3$
|
|
98705
|
+
const _hoisted_3$j = { class: "data-source-area" };
|
|
98534
98706
|
const _hoisted_4$d = { class: "object-init-area" };
|
|
98535
98707
|
const _hoisted_5$9 = { class: "tmpl-config-area" };
|
|
98536
98708
|
const _sfc_main$P = /* @__PURE__ */ defineComponent({
|
|
@@ -98740,7 +98912,7 @@ const _sfc_main$P = /* @__PURE__ */ defineComponent({
|
|
|
98740
98912
|
header: _ctx.$t("sys.integration.dataSource")
|
|
98741
98913
|
}, {
|
|
98742
98914
|
default: withCtx(() => [
|
|
98743
|
-
createElementVNode("div", _hoisted_3$
|
|
98915
|
+
createElementVNode("div", _hoisted_3$j, [
|
|
98744
98916
|
(openBlock(true), createElementBlock(Fragment, null, renderList(formState.value.customDataSource, (dsItem, dsIndex) => {
|
|
98745
98917
|
return openBlock(), createElementBlock("div", {
|
|
98746
98918
|
class: normalizeClass(["data-source-item", {
|
|
@@ -99188,7 +99360,7 @@ const _sfc_main$N = /* @__PURE__ */ defineComponent({
|
|
|
99188
99360
|
});
|
|
99189
99361
|
const _hoisted_1$t = { class: "p24px" };
|
|
99190
99362
|
const _hoisted_2$m = { class: "p12px bg-#f5f5f5 rd-4px" };
|
|
99191
|
-
const _hoisted_3$
|
|
99363
|
+
const _hoisted_3$i = { class: "p16px bg-#f5f5f5 rd-4px mt12px" };
|
|
99192
99364
|
const _sfc_main$M = /* @__PURE__ */ defineComponent({
|
|
99193
99365
|
__name: "add-rule-model",
|
|
99194
99366
|
props: {
|
|
@@ -99408,7 +99580,7 @@ const _sfc_main$M = /* @__PURE__ */ defineComponent({
|
|
|
99408
99580
|
[vShow, formState.formulaLabel]
|
|
99409
99581
|
])
|
|
99410
99582
|
]),
|
|
99411
|
-
createElementVNode("div", _hoisted_3$
|
|
99583
|
+
createElementVNode("div", _hoisted_3$i, [
|
|
99412
99584
|
createVNode(_component_a_row, { gutter: 8 }, {
|
|
99413
99585
|
default: withCtx(() => [
|
|
99414
99586
|
createVNode(_component_a_col, { span: 12 }, {
|
|
@@ -99579,7 +99751,7 @@ const _sfc_main$M = /* @__PURE__ */ defineComponent({
|
|
|
99579
99751
|
const AddRuleModel = /* @__PURE__ */ _export_sfc(_sfc_main$M, [["__scopeId", "data-v-c56c177b"]]);
|
|
99580
99752
|
const _hoisted_1$s = { class: "panel-rule-config" };
|
|
99581
99753
|
const _hoisted_2$l = { class: "rule-area" };
|
|
99582
|
-
const _hoisted_3$
|
|
99754
|
+
const _hoisted_3$h = { class: "ks-row" };
|
|
99583
99755
|
const _hoisted_4$c = { class: "ks-col ell text-[12px]" };
|
|
99584
99756
|
const _hoisted_5$8 = ["title"];
|
|
99585
99757
|
const _hoisted_6$7 = { class: "mr4px text-#666" };
|
|
@@ -99665,7 +99837,7 @@ const _sfc_main$L = /* @__PURE__ */ defineComponent({
|
|
|
99665
99837
|
key: item.ruleId,
|
|
99666
99838
|
class: "bg-[#f1f1f1] p12px rd-4px mb12px"
|
|
99667
99839
|
}, [
|
|
99668
|
-
createElementVNode("div", _hoisted_3$
|
|
99840
|
+
createElementVNode("div", _hoisted_3$h, [
|
|
99669
99841
|
createElementVNode("div", _hoisted_4$c, [
|
|
99670
99842
|
createElementVNode("div", {
|
|
99671
99843
|
class: "ks-row",
|
|
@@ -99780,7 +99952,7 @@ const _sfc_main$K = /* @__PURE__ */ defineComponent({
|
|
|
99780
99952
|
const TranslateSpan = /* @__PURE__ */ _export_sfc(_sfc_main$K, [["__scopeId", "data-v-53649590"]]);
|
|
99781
99953
|
const _hoisted_1$q = { class: "bom-entry-editor" };
|
|
99782
99954
|
const _hoisted_2$j = { class: "bom-entry-item flex items-center" };
|
|
99783
|
-
const _hoisted_3$
|
|
99955
|
+
const _hoisted_3$g = {
|
|
99784
99956
|
key: 0,
|
|
99785
99957
|
class: "iconfont icon-drag mover"
|
|
99786
99958
|
};
|
|
@@ -99904,7 +100076,7 @@ const _sfc_main$J = /* @__PURE__ */ defineComponent({
|
|
|
99904
100076
|
}, {
|
|
99905
100077
|
item: withCtx(({ element }) => [
|
|
99906
100078
|
createElementVNode("div", _hoisted_2$j, [
|
|
99907
|
-
!__props.disabled ? (openBlock(), createElementBlock("i", _hoisted_3$
|
|
100079
|
+
!__props.disabled ? (openBlock(), createElementBlock("i", _hoisted_3$g)) : createCommentVNode("", true),
|
|
99908
100080
|
createElementVNode("div", _hoisted_4$b, [
|
|
99909
100081
|
createElementVNode("div", _hoisted_5$7, [
|
|
99910
100082
|
(openBlock(), createBlock(TranslateSpan, {
|
|
@@ -100058,7 +100230,7 @@ const _sfc_main$H = /* @__PURE__ */ defineComponent({
|
|
|
100058
100230
|
const ConfirmBeforeDeleteConfig = /* @__PURE__ */ _export_sfc(_sfc_main$H, [["__scopeId", "data-v-a39c79fc"]]);
|
|
100059
100231
|
const _hoisted_1$o = { class: "panel-document" };
|
|
100060
100232
|
const _hoisted_2$h = { class: "pl-12px pr-12px pt-20px pb-20px" };
|
|
100061
|
-
const _hoisted_3$
|
|
100233
|
+
const _hoisted_3$f = { class: "color-[#212528] text-12px lh-[18px]" };
|
|
100062
100234
|
const _hoisted_4$a = { class: "color-[#212528] text-12px lh-[18px]" };
|
|
100063
100235
|
const _hoisted_5$6 = { class: "flex justify-end" };
|
|
100064
100236
|
const _hoisted_6$5 = { class: "flex justify-end" };
|
|
@@ -100182,7 +100354,7 @@ const _sfc_main$G = /* @__PURE__ */ defineComponent({
|
|
|
100182
100354
|
}, toDisplayString$1(_ctx.$t("sys.edhr.mcTable.deleteMaterialConsumeTable")), 1)) : createCommentVNode("", true)
|
|
100183
100355
|
]),
|
|
100184
100356
|
default: withCtx(() => [
|
|
100185
|
-
createElementVNode("span", _hoisted_3$
|
|
100357
|
+
createElementVNode("span", _hoisted_3$f, toDisplayString$1(table.value?.name), 1)
|
|
100186
100358
|
]),
|
|
100187
100359
|
_: 1
|
|
100188
100360
|
}, 8, ["label"]),
|
|
@@ -100496,7 +100668,7 @@ function useDynamicSubTablePanel() {
|
|
|
100496
100668
|
}
|
|
100497
100669
|
const _hoisted_1$n = { class: "panel-document" };
|
|
100498
100670
|
const _hoisted_2$g = { class: "pl-12px pr-12px pt-20px pb-20px" };
|
|
100499
|
-
const _hoisted_3$
|
|
100671
|
+
const _hoisted_3$e = { class: "color-[#212528] text-12px lh-[18px]" };
|
|
100500
100672
|
const _hoisted_4$9 = { class: "color-[#212528] text-12px lh-[18px]" };
|
|
100501
100673
|
const _sfc_main$F = /* @__PURE__ */ defineComponent({
|
|
100502
100674
|
__name: "sub-table-panel-shell",
|
|
@@ -100536,7 +100708,7 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
|
|
|
100536
100708
|
}, toDisplayString$1(deleteLabel.value), 1)) : createCommentVNode("", true)
|
|
100537
100709
|
]),
|
|
100538
100710
|
default: withCtx(() => [
|
|
100539
|
-
createElementVNode("span", _hoisted_3$
|
|
100711
|
+
createElementVNode("span", _hoisted_3$e, toDisplayString$1(unref(table)?.name), 1)
|
|
100540
100712
|
]),
|
|
100541
100713
|
_: 1
|
|
100542
100714
|
}, 8, ["label"]),
|
|
@@ -100590,6 +100762,7 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
|
|
|
100590
100762
|
});
|
|
100591
100763
|
const _hoisted_1$m = { class: "flex justify-end" };
|
|
100592
100764
|
const _hoisted_2$f = { class: "flex justify-end" };
|
|
100765
|
+
const _hoisted_3$d = { class: "form-custom-label" };
|
|
100593
100766
|
const _sfc_main$E = /* @__PURE__ */ defineComponent({
|
|
100594
100767
|
__name: "repeating-sub-table-config",
|
|
100595
100768
|
setup(__props) {
|
|
@@ -100614,13 +100787,20 @@ const _sfc_main$E = /* @__PURE__ */ defineComponent({
|
|
|
100614
100787
|
if (table.value.bizTableConfig) return;
|
|
100615
100788
|
table.value.bizTableConfig = {
|
|
100616
100789
|
table_key_: `${table.value.id}:${table.value.field}`,
|
|
100617
|
-
...table.value.type === SubTableType.STOCKTAKE ? {
|
|
100790
|
+
...table.value.type === SubTableType.STOCKTAKE ? {
|
|
100791
|
+
autoLoadStock: false,
|
|
100792
|
+
stocktakeDimension: STOCKTAKE_DIMENSION.locationDetail
|
|
100793
|
+
} : {}
|
|
100618
100794
|
};
|
|
100619
100795
|
});
|
|
100796
|
+
function onStocktakeDimensionChange(value) {
|
|
100797
|
+
bizConfig.value.stocktakeDimension = value;
|
|
100798
|
+
}
|
|
100620
100799
|
return (_ctx, _cache) => {
|
|
100621
100800
|
const _component_a_switch = resolveComponent("a-switch");
|
|
100622
100801
|
const _component_a_select_option = resolveComponent("a-select-option");
|
|
100623
100802
|
const _component_a_select = resolveComponent("a-select");
|
|
100803
|
+
const _component_a_tooltip = resolveComponent("a-tooltip");
|
|
100624
100804
|
return openBlock(), createElementBlock(Fragment, null, [
|
|
100625
100805
|
features.value.showConfirmBeforeDelete ? (openBlock(), createBlock(ConfirmBeforeDeleteConfig, {
|
|
100626
100806
|
key: 0,
|
|
@@ -100715,11 +100895,61 @@ const _sfc_main$E = /* @__PURE__ */ defineComponent({
|
|
|
100715
100895
|
])
|
|
100716
100896
|
]),
|
|
100717
100897
|
_: 1
|
|
100718
|
-
}, 8, ["label"])) : createCommentVNode("", true)
|
|
100898
|
+
}, 8, ["label"])) : createCommentVNode("", true),
|
|
100899
|
+
features.value.showStocktakeDimension ? (openBlock(), createBlock(FormItem, {
|
|
100900
|
+
key: 4,
|
|
100901
|
+
inline: false,
|
|
100902
|
+
class: "justify-between"
|
|
100903
|
+
}, {
|
|
100904
|
+
label: withCtx(() => [
|
|
100905
|
+
createElementVNode("div", _hoisted_3$d, [
|
|
100906
|
+
createElementVNode("span", null, toDisplayString$1(_ctx.$t("sys.edhr.mcTable.stocktakeDimension")), 1),
|
|
100907
|
+
createVNode(_component_a_tooltip, { placement: "top" }, {
|
|
100908
|
+
title: withCtx(() => [
|
|
100909
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(unref(STOCKTAKE_DIMENSION_OPTIONS), (item) => {
|
|
100910
|
+
return openBlock(), createElementBlock("div", {
|
|
100911
|
+
key: item.value,
|
|
100912
|
+
class: "stocktake-dimension-tip"
|
|
100913
|
+
}, toDisplayString$1(_ctx.$t(item.labelKey)) + ":" + toDisplayString$1(_ctx.$t(item.tipKey)), 1);
|
|
100914
|
+
}), 128))
|
|
100915
|
+
]),
|
|
100916
|
+
default: withCtx(() => [
|
|
100917
|
+
_cache[5] || (_cache[5] = createElementVNode("i", { class: "iconfont icon-assist" }, null, -1))
|
|
100918
|
+
]),
|
|
100919
|
+
_: 1
|
|
100920
|
+
})
|
|
100921
|
+
])
|
|
100922
|
+
]),
|
|
100923
|
+
default: withCtx(() => [
|
|
100924
|
+
createVNode(_component_a_select, {
|
|
100925
|
+
value: bizConfig.value.stocktakeDimension || unref(STOCKTAKE_DIMENSION).locationDetail,
|
|
100926
|
+
placeholder: _ctx.$t("sys.chooseText"),
|
|
100927
|
+
disabled: unref(sheetReadonly2),
|
|
100928
|
+
onChange: onStocktakeDimensionChange
|
|
100929
|
+
}, {
|
|
100930
|
+
default: withCtx(() => [
|
|
100931
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(unref(STOCKTAKE_DIMENSION_OPTIONS), (item) => {
|
|
100932
|
+
return openBlock(), createBlock(_component_a_select_option, {
|
|
100933
|
+
key: item.value,
|
|
100934
|
+
value: item.value
|
|
100935
|
+
}, {
|
|
100936
|
+
default: withCtx(() => [
|
|
100937
|
+
createTextVNode(toDisplayString$1(_ctx.$t(item.labelKey)), 1)
|
|
100938
|
+
]),
|
|
100939
|
+
_: 2
|
|
100940
|
+
}, 1032, ["value"]);
|
|
100941
|
+
}), 128))
|
|
100942
|
+
]),
|
|
100943
|
+
_: 1
|
|
100944
|
+
}, 8, ["value", "placeholder", "disabled"])
|
|
100945
|
+
]),
|
|
100946
|
+
_: 1
|
|
100947
|
+
})) : createCommentVNode("", true)
|
|
100719
100948
|
], 64);
|
|
100720
100949
|
};
|
|
100721
100950
|
}
|
|
100722
100951
|
});
|
|
100952
|
+
const RepeatingSubTableConfig = /* @__PURE__ */ _export_sfc(_sfc_main$E, [["__scopeId", "data-v-7547f65a"]]);
|
|
100723
100953
|
const _sfc_main$D = /* @__PURE__ */ defineComponent({
|
|
100724
100954
|
__name: "panel-repeating-sub-table",
|
|
100725
100955
|
setup(__props) {
|
|
@@ -100734,7 +100964,7 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
|
|
|
100734
100964
|
"show-auto-merge": features.value.showAutoMergeInCells
|
|
100735
100965
|
}, {
|
|
100736
100966
|
default: withCtx(() => [
|
|
100737
|
-
features.value.showConfigSection ? (openBlock(), createBlock(
|
|
100967
|
+
features.value.showConfigSection ? (openBlock(), createBlock(RepeatingSubTableConfig, { key: 0 })) : createCommentVNode("", true)
|
|
100738
100968
|
]),
|
|
100739
100969
|
_: 1
|
|
100740
100970
|
}, 8, ["config-header", "show-auto-merge"]);
|
|
@@ -103187,7 +103417,14 @@ const sys$1 = {
|
|
|
103187
103417
|
materialAlreadyExists: "This material already exists in other details",
|
|
103188
103418
|
substituteMaterialRequired: "Please add at least one substitute material",
|
|
103189
103419
|
substituteContainsMainMaterial: "Substitute materials cannot include the main material",
|
|
103190
|
-
substituteMaterialDuplicated: "Substitute materials cannot be duplicated"
|
|
103420
|
+
substituteMaterialDuplicated: "Substitute materials cannot be duplicated",
|
|
103421
|
+
stocktakeConfig: "Stocktake Table Config",
|
|
103422
|
+
autoLoadStock: "Auto-load inventory",
|
|
103423
|
+
stocktakeDimension: "Stocktake dimension",
|
|
103424
|
+
stocktakeDimensionWarehouseSummary: "Warehouse summary",
|
|
103425
|
+
stocktakeDimensionLocationDetail: "Location detail",
|
|
103426
|
+
stocktakeDimensionWarehouseSummaryTip: "Reconcile by SKU total; auto inventory adjustment is not supported",
|
|
103427
|
+
stocktakeDimensionLocationDetailTip: "Reconcile each inventory detail record"
|
|
103191
103428
|
}
|
|
103192
103429
|
},
|
|
103193
103430
|
onlineForm: {
|
|
@@ -103229,6 +103466,7 @@ const sys$1 = {
|
|
|
103229
103466
|
}
|
|
103230
103467
|
},
|
|
103231
103468
|
pageDesigner: {
|
|
103469
|
+
addFieldNotReady: "Add field component is loading, please try again later",
|
|
103232
103470
|
alwaysCover: "Always overwrite",
|
|
103233
103471
|
notCovered: "Do not overwrite modified (current edit)",
|
|
103234
103472
|
notCoveredForever: "Do not overwrite modified (permanent)",
|
|
@@ -103436,7 +103674,14 @@ const sys = {
|
|
|
103436
103674
|
materialAlreadyExists: "其他明细里已存在该物料",
|
|
103437
103675
|
substituteMaterialRequired: "请至少添加一条替代料",
|
|
103438
103676
|
substituteContainsMainMaterial: "替代料里不能含有主物料",
|
|
103439
|
-
substituteMaterialDuplicated: "替代料里物料不能重复"
|
|
103677
|
+
substituteMaterialDuplicated: "替代料里物料不能重复",
|
|
103678
|
+
stocktakeConfig: "盘点表配置",
|
|
103679
|
+
autoLoadStock: "库存自动加载",
|
|
103680
|
+
stocktakeDimension: "盘点维度",
|
|
103681
|
+
stocktakeDimensionWarehouseSummary: "按仓库汇总盘点",
|
|
103682
|
+
stocktakeDimensionLocationDetail: "按库位精细盘点",
|
|
103683
|
+
stocktakeDimensionWarehouseSummaryTip: "按SKU汇总总数核对,不支持自动调整库存",
|
|
103684
|
+
stocktakeDimensionLocationDetailTip: "按库存明细逐条核对"
|
|
103440
103685
|
}
|
|
103441
103686
|
},
|
|
103442
103687
|
onlineForm: {
|
|
@@ -103478,6 +103723,7 @@ const sys = {
|
|
|
103478
103723
|
}
|
|
103479
103724
|
},
|
|
103480
103725
|
pageDesigner: {
|
|
103726
|
+
addFieldNotReady: "添加字段组件加载中,请稍后重试",
|
|
103481
103727
|
alwaysCover: "始终覆盖",
|
|
103482
103728
|
notCovered: "不覆盖已修改(本次编辑有效)",
|
|
103483
103729
|
notCoveredForever: "不覆盖已修改(永久有效)",
|
|
@@ -105449,65 +105695,70 @@ function openVersionDiff(id) {
|
|
|
105449
105695
|
}
|
|
105450
105696
|
const EXCEL_PACKAGE_NAME = "@gct-paas/excel";
|
|
105451
105697
|
export {
|
|
105452
|
-
|
|
105698
|
+
bomModal as $,
|
|
105453
105699
|
AsyncGctOnlineComponents as A,
|
|
105454
|
-
|
|
105700
|
+
Diagonal as B,
|
|
105455
105701
|
CellWidgetRenderComp as C,
|
|
105456
105702
|
DownOutlined as D,
|
|
105457
|
-
|
|
105703
|
+
calcText as E,
|
|
105458
105704
|
FieldStateIcon as F,
|
|
105459
|
-
|
|
105460
|
-
|
|
105705
|
+
BwipCodeTypeOptions as G,
|
|
105706
|
+
SingleDrop as H,
|
|
105461
105707
|
Icon$1 as I,
|
|
105462
|
-
|
|
105463
|
-
|
|
105708
|
+
isClient as J,
|
|
105709
|
+
ImgParser as K,
|
|
105464
105710
|
LeftOutlined as L,
|
|
105465
105711
|
MultipleDrop as M,
|
|
105466
|
-
|
|
105467
|
-
|
|
105712
|
+
LineStyleOptions as N,
|
|
105713
|
+
ColorPicker as O,
|
|
105468
105714
|
PanelType as P,
|
|
105469
|
-
|
|
105715
|
+
PaginationFormatOptions as Q,
|
|
105470
105716
|
RightOutlined as R,
|
|
105471
105717
|
SelectEx as S,
|
|
105472
105718
|
TransferType as T,
|
|
105473
|
-
|
|
105719
|
+
_sfc_main$3M as U,
|
|
105474
105720
|
ValueEditorFieldDropBoxId as V,
|
|
105475
|
-
|
|
105476
|
-
|
|
105477
|
-
|
|
105478
|
-
|
|
105721
|
+
apaasCollect as W,
|
|
105722
|
+
_sfc_main$3T as X,
|
|
105723
|
+
_sfc_main$t as Y,
|
|
105724
|
+
_sfc_main$s as Z,
|
|
105479
105725
|
_sfc_main$4i as _,
|
|
105480
105726
|
CellWidgetDesign as a,
|
|
105481
|
-
|
|
105482
|
-
|
|
105483
|
-
|
|
105484
|
-
|
|
105485
|
-
|
|
105486
|
-
|
|
105487
|
-
|
|
105488
|
-
|
|
105489
|
-
|
|
105490
|
-
|
|
105491
|
-
|
|
105492
|
-
|
|
105493
|
-
|
|
105494
|
-
|
|
105495
|
-
|
|
105496
|
-
|
|
105497
|
-
|
|
105498
|
-
|
|
105499
|
-
|
|
105500
|
-
|
|
105501
|
-
|
|
105502
|
-
|
|
105503
|
-
|
|
105504
|
-
|
|
105505
|
-
|
|
105506
|
-
|
|
105507
|
-
|
|
105508
|
-
|
|
105509
|
-
|
|
105510
|
-
|
|
105727
|
+
BorderPositionEnum as a0,
|
|
105728
|
+
BorderPositionOptions as a1,
|
|
105729
|
+
CodeHelper as a2,
|
|
105730
|
+
ContextMenu$1 as a3,
|
|
105731
|
+
DesignMode as a4,
|
|
105732
|
+
DomParser as a5,
|
|
105733
|
+
EXCEL_PACKAGE_NAME as a6,
|
|
105734
|
+
ExcelHostComponentNames as a7,
|
|
105735
|
+
FIELD_TYPE_LABEL_MAP as a8,
|
|
105736
|
+
FieldSceneType as a9,
|
|
105737
|
+
FieldTypeToCellWidgetMap as aa,
|
|
105738
|
+
FontFamilyEnum as ab,
|
|
105739
|
+
FontFamilyOptions as ac,
|
|
105740
|
+
InputParamModal as ad,
|
|
105741
|
+
NocodeAdapter as ae,
|
|
105742
|
+
OutParamModal as af,
|
|
105743
|
+
PanelTmplConfig as ag,
|
|
105744
|
+
_sfc_main$j as ah,
|
|
105745
|
+
RangeLimitType as ai,
|
|
105746
|
+
RenderFieldWrapper as aj,
|
|
105747
|
+
ResizeDirection as ak,
|
|
105748
|
+
SelectCheckDsModal as al,
|
|
105749
|
+
ConfigModal as am,
|
|
105750
|
+
previewRouter as an,
|
|
105751
|
+
XlsxParser as ao,
|
|
105752
|
+
calcUsedFields as ap,
|
|
105753
|
+
createDefaultExcelStores as aq,
|
|
105754
|
+
installFormBaseModal as ar,
|
|
105755
|
+
isReverseModelingEnabled as as,
|
|
105756
|
+
openVersionDiff as at,
|
|
105757
|
+
registerExcelHostComponents as au,
|
|
105758
|
+
registerExcelLocale as av,
|
|
105759
|
+
scanField as aw,
|
|
105760
|
+
setupExcel as ax,
|
|
105761
|
+
useCheckItem as ay,
|
|
105511
105762
|
FormItem as b,
|
|
105512
105763
|
commonjsRequire as c,
|
|
105513
105764
|
useDrop as d,
|
|
@@ -105523,14 +105774,14 @@ export {
|
|
|
105523
105774
|
applyDesignReadonlyModal as n,
|
|
105524
105775
|
SEARCH_TYPE as o,
|
|
105525
105776
|
IconTooltip as p,
|
|
105526
|
-
|
|
105527
|
-
|
|
105528
|
-
|
|
105529
|
-
|
|
105777
|
+
getIsSearchableField as q,
|
|
105778
|
+
resolveQuickSearchConfig as r,
|
|
105779
|
+
registerDialogComp as s,
|
|
105780
|
+
getBatchQuickSearchFieldOptions as t,
|
|
105530
105781
|
useModelFields as u,
|
|
105531
|
-
|
|
105532
|
-
|
|
105533
|
-
|
|
105534
|
-
|
|
105535
|
-
|
|
105782
|
+
getSearchableFieldIsDefaultOpen as v,
|
|
105783
|
+
getDefaultQuickSearchFields as w,
|
|
105784
|
+
transformMappingField4Auto as x,
|
|
105785
|
+
TraceSelect as y,
|
|
105786
|
+
loadBwip as z
|
|
105536
105787
|
};
|