@gct-paas/word 0.2.31 → 0.2.32

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/index.es.js CHANGED
@@ -1,4 +1,4 @@
1
- /*! @gct-paas/word v0.2.31 */
1
+ /*! @gct-paas/word v0.2.32 */
2
2
  import { Fragment, Suspense, Teleport, Transition, TransitionGroup, cloneVNode, computed, createApp, createBlock, createCommentVNode, createElementBlock, createElementVNode, createSlots, createStaticVNode, createTextVNode, createVNode, defineAsyncComponent, defineComponent, getCurrentInstance, getCurrentScope, guardReactiveProps, h, inject, isRef, isVNode, markRaw, mergeModels, mergeProps, nextTick, normalizeClass, normalizeProps, normalizeStyle, onBeforeMount, onBeforeUnmount, onMounted, onScopeDispose, onUnmounted, openBlock, provide, reactive, readonly, ref, render, renderList, renderSlot, resolveComponent, resolveDynamicComponent, shallowRef, toDisplayString, toHandlers, toRaw, toRef, toValue, unref, useAttrs, useCssVars, useModel, useSlots, vModelRadio, vModelText, vShow, watch, watchEffect, withCtx, withDirectives, withKeys, withModifiers } from "vue";
3
3
  import fa, { PopperWrapper } from "floating-vue";
4
4
  import VueKonva from "vue-konva";
@@ -2834,8 +2834,21 @@ var init_input_number_vue_vue_type_script_setup_true_lang = __esmMin((() => {
2834
2834
  const handleFocus = () => {
2835
2835
  isFocused.value = true;
2836
2836
  };
2837
+ const handleBeforeInput = (e) => {
2838
+ if (!e.data || e.isComposing) return;
2839
+ const input = e.target;
2840
+ const start = input.selectionStart ?? input.value.length;
2841
+ const end = input.selectionEnd ?? start;
2842
+ const nextValue = input.value.slice(0, start) + e.data + input.value.slice(end);
2843
+ if (props.min !== void 0 && props.min >= 0 && nextValue.startsWith("-")) e.preventDefault();
2844
+ };
2837
2845
  const handleInput = (e) => {
2838
- const val = e.target.value;
2846
+ const input = e.target;
2847
+ const val = input.value;
2848
+ if (props.min !== void 0 && props.min >= 0 && val.startsWith("-")) {
2849
+ input.value = inputValue.value;
2850
+ return;
2851
+ }
2839
2852
  inputValue.value = val;
2840
2853
  if (!props.emitOnInput) return;
2841
2854
  if (!val) {
@@ -2930,6 +2943,7 @@ var init_input_number_vue_vue_type_script_setup_true_lang = __esmMin((() => {
2930
2943
  disabled: __props.disabled,
2931
2944
  placeholder: __props.placeholder,
2932
2945
  onFocus: handleFocus,
2946
+ onBeforeinput: handleBeforeInput,
2933
2947
  onInput: handleInput,
2934
2948
  onBlur: handleBlur
2935
2949
  }, null, 40, _hoisted_1$179),
@@ -2964,17 +2978,17 @@ var init_input_number_vue_vue_type_script_setup_true_lang = __esmMin((() => {
2964
2978
  });
2965
2979
  }));
2966
2980
  //#endregion
2967
- //#region src/base/input/src/input-number.vue?vue&type=style&index=0&scoped=f73214b8&lang.less
2968
- var init_input_number_vue_vue_type_style_index_0_scoped_f73214b8_lang = __esmMin((() => {}));
2981
+ //#region src/base/input/src/input-number.vue?vue&type=style&index=0&scoped=74109157&lang.less
2982
+ var init_input_number_vue_vue_type_style_index_0_scoped_74109157_lang = __esmMin((() => {}));
2969
2983
  //#endregion
2970
2984
  //#region src/base/input/src/input-number.vue
2971
2985
  var input_number_default;
2972
2986
  var init_input_number = __esmMin((() => {
2973
2987
  init_input_number_vue_vue_type_script_setup_true_lang();
2974
2988
  init_input_number_vue_vue_type_script_setup_true_lang();
2975
- init_input_number_vue_vue_type_style_index_0_scoped_f73214b8_lang();
2989
+ init_input_number_vue_vue_type_style_index_0_scoped_74109157_lang();
2976
2990
  init__plugin_vue_export_helper();
2977
- input_number_default = /*#__PURE__*/ _plugin_vue_export_helper_default(input_number_vue_vue_type_script_setup_true_lang_default, [["__scopeId", "data-v-f73214b8"]]);
2991
+ input_number_default = /*#__PURE__*/ _plugin_vue_export_helper_default(input_number_vue_vue_type_script_setup_true_lang_default, [["__scopeId", "data-v-74109157"]]);
2978
2992
  }));
2979
2993
  //#endregion
2980
2994
  //#region src/base/input/src/text-area.vue?vue&type=script&setup=true&lang.ts
@@ -17850,10 +17864,14 @@ var init_field_type = __esmMin((() => {
17850
17864
  */
17851
17865
  MATERIAL_CHECK_QTY: "material_check_qty",
17852
17866
  /**
17853
- * 检验数量
17867
+ * 送检数量
17854
17868
  */
17855
17869
  INSPECTION_QTY: "inspection_qty",
17856
17870
  /**
17871
+ * 检验数量
17872
+ */
17873
+ INSPECTION_MODULE_QTY: "inspection_module_qty",
17874
+ /**
17857
17875
  * 工序接收数量
17858
17876
  */
17859
17877
  OPERATION_RECEIVE_QTY: "operation_receive_qty",
@@ -17961,6 +17979,350 @@ var init_field_type = __esmMin((() => {
17961
17979
  FIELD_TYPE_ALIASES = { production_identifier: FIELD_TYPE.PRODUCTION_CONTAINER };
17962
17980
  }));
17963
17981
  //#endregion
17982
+ //#region src/domain/constants/enum/view.ts
17983
+ var EmptySymbolTypeConst, ViewStateTypeConst, RenderCompTypeConst, BooleanShowModeTypeConst, LabelPositionTypeConst, DecimalDisplayModeTypeConst, RangeValidateModeTypeConst, RangeCompareOpTypeConst, FieldSysVarDefaultValueConst;
17984
+ var init_view = __esmMin((() => {
17985
+ EmptySymbolTypeConst = {
17986
+ "/": "/",
17987
+ "--": "--",
17988
+ "——": "——",
17989
+ NA: "NA",
17990
+ "N/A": "N/A"
17991
+ };
17992
+ ViewStateTypeConst = {
17993
+ /** 文本显示 */
17994
+ Readonly: "readonly",
17995
+ /** 组件显示-禁用 */
17996
+ Disabled: "disabled",
17997
+ /** 组件显示-跟随设计 */
17998
+ Auto: "auto"
17999
+ };
18000
+ RenderCompTypeConst = {
18001
+ /** 圆形 */
18002
+ Radio: "radio",
18003
+ /** 方形 */
18004
+ Checkbox: "checkbox",
18005
+ /** 下拉 */
18006
+ Select: "select"
18007
+ };
18008
+ BooleanShowModeTypeConst = {
18009
+ /** 只显示真 */
18010
+ OnlyTrue: "onlyTrue",
18011
+ /** 只显示假 */
18012
+ OnlyFalse: "onlyFalse",
18013
+ /** 同时显示真和假 */
18014
+ Both: "both"
18015
+ };
18016
+ LabelPositionTypeConst = {
18017
+ /** 文字在前 */
18018
+ Before: "before",
18019
+ /** 文字在后 */
18020
+ After: "after"
18021
+ };
18022
+ DecimalDisplayModeTypeConst = {
18023
+ /** 显示百分比(%) */
18024
+ PERCENT: "percent",
18025
+ /** 显示原始数值 */
18026
+ ORIGIN: "origin"
18027
+ };
18028
+ RangeValidateModeTypeConst = {
18029
+ /** 不校验 */
18030
+ No_Validate: "NoValidate",
18031
+ /** 固定输入校验 */
18032
+ Fixed_Number: "FixedNumber",
18033
+ /** 变量校验 */
18034
+ Variable_Validate: "VariableValidate"
18035
+ };
18036
+ RangeCompareOpTypeConst = {
18037
+ /** 小于等于 */
18038
+ LE: "le",
18039
+ /** 小于 */
18040
+ LT: "lt",
18041
+ /** 大于等于 */
18042
+ GE: "ge",
18043
+ /** 大于 */
18044
+ GT: "gt"
18045
+ };
18046
+ FieldSysVarDefaultValueConst = {
18047
+ NULL: "",
18048
+ /** 系统日期 */
18049
+ SYS_DATE: "SYS_DATE",
18050
+ /** 系统时间 */
18051
+ SYS_TIME: "SYS_TIME",
18052
+ /** 系统日期时间 */
18053
+ SYS_DATE_TIME: "SYS_DATE_TIME",
18054
+ /** 系统登录用户 */
18055
+ CURRENT_USER: "CURRENT_USER",
18056
+ /** 当前登录用户主部门 */
18057
+ CURRENT_ORG: "CURRENT_ORG"
18058
+ };
18059
+ }));
18060
+ //#endregion
18061
+ //#region src/domain/constants/enum/form.ts
18062
+ var OrientationTypeConst, FieldDependencyTypeConst, AssignmentStrategyTypeConst, FormTypeConst, ViewTypeConst;
18063
+ var init_form = __esmMin((() => {
18064
+ OrientationTypeConst = {
18065
+ /** 纵 */
18066
+ Portrait: "portrait",
18067
+ /** 横 */
18068
+ Landscape: "landscape"
18069
+ };
18070
+ FieldDependencyTypeConst = {
18071
+ /**隐藏 */
18072
+ Hidden: "hidden",
18073
+ /**只读 */
18074
+ Readonly: "readonly",
18075
+ /**禁用 */
18076
+ Disabled: "disabled",
18077
+ /**必填 */
18078
+ Required: "required",
18079
+ /**赋值 */
18080
+ Assignment: "assignment"
18081
+ };
18082
+ AssignmentStrategyTypeConst = {
18083
+ /**始终覆盖 */
18084
+ AlwaysCover: "alwaysCover",
18085
+ /**不覆盖已修改 */
18086
+ NotCovered: "notCovered"
18087
+ };
18088
+ FormTypeConst = {
18089
+ /** 基础表单 */
18090
+ BASE: "BASE",
18091
+ /** 流程表单 */
18092
+ PROCESS: "PROCESS",
18093
+ /** 视图表单 */
18094
+ VIEW: "VIEW",
18095
+ /** 文本表单 */
18096
+ TEXT: "TEXT",
18097
+ /** 文件表单 */
18098
+ FILE: "FILE"
18099
+ };
18100
+ ViewTypeConst = {
18101
+ /** 视图模型(查询视图) */
18102
+ VIEW_MODEL: "VIEW_MODEL",
18103
+ /** SQL数据视图 */
18104
+ VIEW_SQL: "SQL",
18105
+ /** 数据库视图 */
18106
+ VIEW: "VIEW",
18107
+ /** 自定义模型 */
18108
+ VIEW_JS: "JS"
18109
+ };
18110
+ }));
18111
+ //#endregion
18112
+ //#region src/domain/constants/enum/signature.ts
18113
+ var SignatureNumberTypeConst, SignatureTypeConst, SignatureTimeTypeConst, SignDisplayTypeConst, FallbackSignTypeConst, SignatureImageDirectionConst;
18114
+ var init_signature = __esmMin((() => {
18115
+ SignatureNumberTypeConst = {
18116
+ /** 单人签名 */
18117
+ SIGNATURE_SINGLE: "signature_single",
18118
+ /** 多人签名 */
18119
+ SIGNATURE_MULTIPLE: "signature_multiple"
18120
+ };
18121
+ SignatureTypeConst = {
18122
+ /** 仅签名 */
18123
+ SIGNATURE_ONLY: "signature_only",
18124
+ /** 签名及日期 */
18125
+ SIGNATURE_DATE: "signature_date",
18126
+ /** 签名及日期时间 */
18127
+ SIGNATURE_DATETIME: "signature_datetime"
18128
+ };
18129
+ SignatureTimeTypeConst = {
18130
+ /** 跟随签名 */
18131
+ FOLLOW_SIGNATURE: "follow_signature",
18132
+ /** 填充新字段 */
18133
+ POPULATE_FIELD: "populate_field"
18134
+ };
18135
+ SignDisplayTypeConst = {
18136
+ /** 垂直显示 */
18137
+ VERTICAL: "vertical",
18138
+ /** 水平显示 */
18139
+ HORIZONTAL: "horizontal"
18140
+ };
18141
+ FallbackSignTypeConst = {
18142
+ /** 仅用户名 */
18143
+ NAME_ONLY: "name_only",
18144
+ /** 用户名 + 签署日期 */
18145
+ NAME_AND_DATE: "name_and_date"
18146
+ };
18147
+ SignatureImageDirectionConst = {
18148
+ /** 横向签名 */
18149
+ HORIZONTAL: "horizontal",
18150
+ /** 竖向签名 */
18151
+ VERTICAL: "vertical"
18152
+ };
18153
+ }));
18154
+ //#endregion
18155
+ //#region src/domain/constants/enum/image.ts
18156
+ var ImageDisplayModeConst, ImageSizeModeTypeConst;
18157
+ var init_image = __esmMin((() => {
18158
+ ImageDisplayModeConst = {
18159
+ /** 自定义 */
18160
+ CUSTOM: "CUSTOM",
18161
+ /** 自适应 */
18162
+ ADAPTIVE: "ADAPTIVE"
18163
+ };
18164
+ ImageSizeModeTypeConst = {
18165
+ /** 自适应,响应式的适应外层容器的大小 */
18166
+ RESPONSIVE: "responsive",
18167
+ /** 固定值,高宽设了多少就是多少 */
18168
+ FIXED: "fixed"
18169
+ };
18170
+ }));
18171
+ //#endregion
18172
+ //#region src/domain/constants/enum/widget.ts
18173
+ /** 将旧版三栏分栏方向迁移为放射顶点 */
18174
+ function migrateDiagonalDirectionToVertex(direction) {
18175
+ return direction === DiagonalDirectionTypeConst.Backward ? DiagonalVertexTypeConst.BottomRight : DiagonalVertexTypeConst.BottomLeft;
18176
+ }
18177
+ /** 解析三栏放射顶点,兼容未设置 vertex 的老数据 */
18178
+ function resolveDiagonalVertex(size, direction, vertex, hasVertexKey = false) {
18179
+ if (Number(size) !== 3) return vertex;
18180
+ if (!hasVertexKey) return migrateDiagonalDirectionToVertex(direction ?? DiagonalDirectionTypeConst.Forward);
18181
+ return vertex ?? DiagonalVertexTypeConst.TopLeft;
18182
+ }
18183
+ var BwipCodeTypeConst, ValueTypeConst, DiagonalDirectionTypeConst, DiagonalVertexTypeConst, TimeDiffFormatTypeConst;
18184
+ var init_widget$1 = __esmMin((() => {
18185
+ BwipCodeTypeConst = {
18186
+ Code39: "code39",
18187
+ Code128: "code128",
18188
+ QRCode: "qrcode",
18189
+ GS1DataMatrix: "gs1datamatrix"
18190
+ };
18191
+ ValueTypeConst = {
18192
+ /** 固定值 */
18193
+ Fixed: "fixed",
18194
+ /** 字段 */
18195
+ Field: "field",
18196
+ /** 公式 */
18197
+ Formula: "formula"
18198
+ };
18199
+ DiagonalDirectionTypeConst = {
18200
+ /** 从左上到右下 */
18201
+ Forward: "forward",
18202
+ /** 从右上到左下 / */
18203
+ Backward: "backward"
18204
+ };
18205
+ DiagonalVertexTypeConst = {
18206
+ TopLeft: "topLeft",
18207
+ TopRight: "topRight",
18208
+ BottomLeft: "bottomLeft",
18209
+ BottomRight: "bottomRight"
18210
+ };
18211
+ TimeDiffFormatTypeConst = {
18212
+ /** 天时分秒 */
18213
+ D_H_MIN_S: "D_H_MIN_S",
18214
+ /** 年月天时分秒 */
18215
+ Y_M_D_H_MIN_S: "Y_M_D_H_MIN_S",
18216
+ /** 时分秒 */
18217
+ H_MIN_S: "H_MIN_S",
18218
+ /** 年 */
18219
+ Y: "Y",
18220
+ /** 月 */
18221
+ M: "M",
18222
+ /** 天 */
18223
+ D: "D",
18224
+ /** 时 */
18225
+ H: "H",
18226
+ /** 分 */
18227
+ MIN: "MIN",
18228
+ /** 秒 */
18229
+ S: "S"
18230
+ };
18231
+ })), DeviceStatus;
18232
+ var init_device$1 = __esmMin((() => {
18233
+ DeviceStatus = {
18234
+ /** 使用中 */
18235
+ IN_USE: "state_device_in_use",
18236
+ /** 维修中 */
18237
+ REPAIRING: "REPAIRING",
18238
+ /** 保养中 */
18239
+ MAINTAINING: "MAINTAINING",
18240
+ /** 点检中 */
18241
+ INSPECTING: "INSPECTING",
18242
+ /** 校准中 */
18243
+ CALIBRATING: "CALIBRATING",
18244
+ /** 验证中 */
18245
+ VERIFYING: "VERIFYING",
18246
+ /** 备用 */
18247
+ STANDBY: "STANDBY",
18248
+ /** 停用 */
18249
+ DEACTIVATED: "DEACTIVATED",
18250
+ /** 报废 */
18251
+ SCRAPPED: "SCRAPPED"
18252
+ };
18253
+ DeviceStatus.IN_USE, DeviceStatus.REPAIRING, DeviceStatus.MAINTAINING, DeviceStatus.INSPECTING, DeviceStatus.CALIBRATING, DeviceStatus.VERIFYING, DeviceStatus.STANDBY, DeviceStatus.DEACTIVATED, DeviceStatus.SCRAPPED;
18254
+ }));
18255
+ //#endregion
18256
+ //#region src/domain/constants/enum/lot.ts
18257
+ var ContainerRoleConst;
18258
+ var init_lot = __esmMin((() => {
18259
+ ContainerRoleConst = {
18260
+ /** 普通批次 */
18261
+ NORMAL: "normal",
18262
+ /** 关联批父节点 */
18263
+ RELATED_PARENT: "related_parent",
18264
+ /** 关联批子批次 */
18265
+ RELATED_CHILD: "related_child",
18266
+ /** 合并批父节点 */
18267
+ MERGE_PARENT: "merge_parent",
18268
+ /** 共线批父节点 */
18269
+ COLLINEAR_PARENT: "collinear_parent",
18270
+ /** 共线批子节点 */
18271
+ COLLINEAR_CHILD: "collinear_child"
18272
+ };
18273
+ }));
18274
+ //#endregion
18275
+ //#region src/domain/constants/enum/product.ts
18276
+ var ProductTypeEnum;
18277
+ var init_product = __esmMin((() => {
18278
+ ProductTypeEnum = /* @__PURE__ */ function(ProductTypeEnum) {
18279
+ /** 原材料 */
18280
+ ProductTypeEnum["RAW_MATERIAL"] = "rawMaterial";
18281
+ /** 半成品 */
18282
+ ProductTypeEnum["SEMI_FINISHED_PRODUCT"] = "semiFinishedProduct";
18283
+ /** 产成品 */
18284
+ ProductTypeEnum["FINISHED_PRODUCT"] = "finishedProduct";
18285
+ return ProductTypeEnum;
18286
+ }({});
18287
+ }));
18288
+ //#endregion
18289
+ //#region src/domain/constants/enum/production-identification.ts
18290
+ var ProductionIdentificationTypeEnum;
18291
+ var init_production_identification = __esmMin((() => {
18292
+ ProductionIdentificationTypeEnum = /* @__PURE__ */ function(ProductionIdentificationTypeEnum) {
18293
+ /** 物料批 */
18294
+ ProductionIdentificationTypeEnum["MATERIAL"] = "MATERIAL";
18295
+ /** 生产批次 */
18296
+ ProductionIdentificationTypeEnum["LOT"] = "LOT";
18297
+ /** 生产序列号 */
18298
+ ProductionIdentificationTypeEnum["SN"] = "SN";
18299
+ /** 灭菌批 */
18300
+ ProductionIdentificationTypeEnum["STERILIZATION"] = "STERILIZATION";
18301
+ /** 检验批 */
18302
+ ProductionIdentificationTypeEnum["INSPECTION_CONTAINER"] = "INSPECTION_CONTAINER";
18303
+ /** 旧检验批取值 */
18304
+ ProductionIdentificationTypeEnum["LEGACY_INSPECTION"] = "inspection";
18305
+ /** 包装箱 */
18306
+ ProductionIdentificationTypeEnum["PACK_BOX"] = "PACK_BOX";
18307
+ /** 医疗器械唯一标识 */
18308
+ ProductionIdentificationTypeEnum["UDI"] = "UDI";
18309
+ return ProductionIdentificationTypeEnum;
18310
+ }({});
18311
+ }));
18312
+ //#endregion
18313
+ //#region src/domain/constants/enum/index.ts
18314
+ var init_enum = __esmMin((() => {
18315
+ init_view();
18316
+ init_form();
18317
+ init_signature();
18318
+ init_image();
18319
+ init_widget$1();
18320
+ init_device$1();
18321
+ init_lot();
18322
+ init_product();
18323
+ init_production_identification();
18324
+ }));
18325
+ //#endregion
17964
18326
  //#region src/domain/table/design/autofill-expander.ts
17965
18327
  /** 将 AutofillTemplate 中的 toField 解析为字符串 */
17966
18328
  function resolveAutofillToField(template, sourceFieldKey) {
@@ -18045,11 +18407,12 @@ var init_field_keys$14 = __esmMin((() => {
18045
18407
  }));
18046
18408
  //#endregion
18047
18409
  //#region src/domain/table/business/warehouse/warehouse-in/profile/fields.ts
18048
- var fields$13;
18049
- var init_fields$15 = __esmMin((() => {
18410
+ var fields$14;
18411
+ var init_fields$16 = __esmMin((() => {
18412
+ init_enum();
18050
18413
  init_autofill_expander();
18051
18414
  init_field_keys$14();
18052
- fields$13 = [
18415
+ fields$14 = [
18053
18416
  {
18054
18417
  match: { fieldKey: F$14.materialNo },
18055
18418
  fillFromOption: [
@@ -18119,6 +18482,14 @@ var init_fields$15 = __esmMin((() => {
18119
18482
  required: false
18120
18483
  }
18121
18484
  },
18485
+ {
18486
+ match: { fieldKey: F$14.qty },
18487
+ defaultProps: {
18488
+ enableRangeValidate: true,
18489
+ minValidateMode: RangeValidateModeTypeConst.Fixed_Number,
18490
+ minValue: 0
18491
+ }
18492
+ },
18122
18493
  {
18123
18494
  match: { fieldKey: F$14.location },
18124
18495
  select: {
@@ -18138,7 +18509,7 @@ function isProductManuallyEditable$1(ctx) {
18138
18509
  var TABLE_TYPE$13, profile$15;
18139
18510
  var init_profile$15 = __esmMin((() => {
18140
18511
  init_field_type();
18141
- init_fields$15();
18512
+ init_fields$16();
18142
18513
  init_field_keys$14();
18143
18514
  TABLE_TYPE$13 = "warehouse-in";
18144
18515
  profile$15 = {
@@ -18158,7 +18529,7 @@ var init_profile$15 = __esmMin((() => {
18158
18529
  quickFill: false,
18159
18530
  barcode_parsing_rules_id_: void 0
18160
18531
  },
18161
- fields: fields$13,
18532
+ fields: fields$14,
18162
18533
  mainFieldBindings: [
18163
18534
  {
18164
18535
  fieldType: FIELD_TYPE.WAREHOUSE,
@@ -18317,350 +18688,6 @@ var init_calculate_formula = __esmMin((() => {
18317
18688
  };
18318
18689
  }));
18319
18690
  //#endregion
18320
- //#region src/domain/constants/enum/view.ts
18321
- var EmptySymbolTypeConst, ViewStateTypeConst, RenderCompTypeConst, BooleanShowModeTypeConst, LabelPositionTypeConst, DecimalDisplayModeTypeConst, RangeValidateModeTypeConst, RangeCompareOpTypeConst, FieldSysVarDefaultValueConst;
18322
- var init_view = __esmMin((() => {
18323
- EmptySymbolTypeConst = {
18324
- "/": "/",
18325
- "--": "--",
18326
- "——": "——",
18327
- NA: "NA",
18328
- "N/A": "N/A"
18329
- };
18330
- ViewStateTypeConst = {
18331
- /** 文本显示 */
18332
- Readonly: "readonly",
18333
- /** 组件显示-禁用 */
18334
- Disabled: "disabled",
18335
- /** 组件显示-跟随设计 */
18336
- Auto: "auto"
18337
- };
18338
- RenderCompTypeConst = {
18339
- /** 圆形 */
18340
- Radio: "radio",
18341
- /** 方形 */
18342
- Checkbox: "checkbox",
18343
- /** 下拉 */
18344
- Select: "select"
18345
- };
18346
- BooleanShowModeTypeConst = {
18347
- /** 只显示真 */
18348
- OnlyTrue: "onlyTrue",
18349
- /** 只显示假 */
18350
- OnlyFalse: "onlyFalse",
18351
- /** 同时显示真和假 */
18352
- Both: "both"
18353
- };
18354
- LabelPositionTypeConst = {
18355
- /** 文字在前 */
18356
- Before: "before",
18357
- /** 文字在后 */
18358
- After: "after"
18359
- };
18360
- DecimalDisplayModeTypeConst = {
18361
- /** 显示百分比(%) */
18362
- PERCENT: "percent",
18363
- /** 显示原始数值 */
18364
- ORIGIN: "origin"
18365
- };
18366
- RangeValidateModeTypeConst = {
18367
- /** 不校验 */
18368
- No_Validate: "NoValidate",
18369
- /** 固定输入校验 */
18370
- Fixed_Number: "FixedNumber",
18371
- /** 变量校验 */
18372
- Variable_Validate: "VariableValidate"
18373
- };
18374
- RangeCompareOpTypeConst = {
18375
- /** 小于等于 */
18376
- LE: "le",
18377
- /** 小于 */
18378
- LT: "lt",
18379
- /** 大于等于 */
18380
- GE: "ge",
18381
- /** 大于 */
18382
- GT: "gt"
18383
- };
18384
- FieldSysVarDefaultValueConst = {
18385
- NULL: "",
18386
- /** 系统日期 */
18387
- SYS_DATE: "SYS_DATE",
18388
- /** 系统时间 */
18389
- SYS_TIME: "SYS_TIME",
18390
- /** 系统日期时间 */
18391
- SYS_DATE_TIME: "SYS_DATE_TIME",
18392
- /** 系统登录用户 */
18393
- CURRENT_USER: "CURRENT_USER",
18394
- /** 当前登录用户主部门 */
18395
- CURRENT_ORG: "CURRENT_ORG"
18396
- };
18397
- }));
18398
- //#endregion
18399
- //#region src/domain/constants/enum/form.ts
18400
- var OrientationTypeConst, FieldDependencyTypeConst, AssignmentStrategyTypeConst, FormTypeConst, ViewTypeConst;
18401
- var init_form = __esmMin((() => {
18402
- OrientationTypeConst = {
18403
- /** 纵 */
18404
- Portrait: "portrait",
18405
- /** 横 */
18406
- Landscape: "landscape"
18407
- };
18408
- FieldDependencyTypeConst = {
18409
- /**隐藏 */
18410
- Hidden: "hidden",
18411
- /**只读 */
18412
- Readonly: "readonly",
18413
- /**禁用 */
18414
- Disabled: "disabled",
18415
- /**必填 */
18416
- Required: "required",
18417
- /**赋值 */
18418
- Assignment: "assignment"
18419
- };
18420
- AssignmentStrategyTypeConst = {
18421
- /**始终覆盖 */
18422
- AlwaysCover: "alwaysCover",
18423
- /**不覆盖已修改 */
18424
- NotCovered: "notCovered"
18425
- };
18426
- FormTypeConst = {
18427
- /** 基础表单 */
18428
- BASE: "BASE",
18429
- /** 流程表单 */
18430
- PROCESS: "PROCESS",
18431
- /** 视图表单 */
18432
- VIEW: "VIEW",
18433
- /** 文本表单 */
18434
- TEXT: "TEXT",
18435
- /** 文件表单 */
18436
- FILE: "FILE"
18437
- };
18438
- ViewTypeConst = {
18439
- /** 视图模型(查询视图) */
18440
- VIEW_MODEL: "VIEW_MODEL",
18441
- /** SQL数据视图 */
18442
- VIEW_SQL: "SQL",
18443
- /** 数据库视图 */
18444
- VIEW: "VIEW",
18445
- /** 自定义模型 */
18446
- VIEW_JS: "JS"
18447
- };
18448
- }));
18449
- //#endregion
18450
- //#region src/domain/constants/enum/signature.ts
18451
- var SignatureNumberTypeConst, SignatureTypeConst, SignatureTimeTypeConst, SignDisplayTypeConst, FallbackSignTypeConst, SignatureImageDirectionConst;
18452
- var init_signature = __esmMin((() => {
18453
- SignatureNumberTypeConst = {
18454
- /** 单人签名 */
18455
- SIGNATURE_SINGLE: "signature_single",
18456
- /** 多人签名 */
18457
- SIGNATURE_MULTIPLE: "signature_multiple"
18458
- };
18459
- SignatureTypeConst = {
18460
- /** 仅签名 */
18461
- SIGNATURE_ONLY: "signature_only",
18462
- /** 签名及日期 */
18463
- SIGNATURE_DATE: "signature_date",
18464
- /** 签名及日期时间 */
18465
- SIGNATURE_DATETIME: "signature_datetime"
18466
- };
18467
- SignatureTimeTypeConst = {
18468
- /** 跟随签名 */
18469
- FOLLOW_SIGNATURE: "follow_signature",
18470
- /** 填充新字段 */
18471
- POPULATE_FIELD: "populate_field"
18472
- };
18473
- SignDisplayTypeConst = {
18474
- /** 垂直显示 */
18475
- VERTICAL: "vertical",
18476
- /** 水平显示 */
18477
- HORIZONTAL: "horizontal"
18478
- };
18479
- FallbackSignTypeConst = {
18480
- /** 仅用户名 */
18481
- NAME_ONLY: "name_only",
18482
- /** 用户名 + 签署日期 */
18483
- NAME_AND_DATE: "name_and_date"
18484
- };
18485
- SignatureImageDirectionConst = {
18486
- /** 横向签名 */
18487
- HORIZONTAL: "horizontal",
18488
- /** 竖向签名 */
18489
- VERTICAL: "vertical"
18490
- };
18491
- }));
18492
- //#endregion
18493
- //#region src/domain/constants/enum/image.ts
18494
- var ImageDisplayModeConst, ImageSizeModeTypeConst;
18495
- var init_image = __esmMin((() => {
18496
- ImageDisplayModeConst = {
18497
- /** 自定义 */
18498
- CUSTOM: "CUSTOM",
18499
- /** 自适应 */
18500
- ADAPTIVE: "ADAPTIVE"
18501
- };
18502
- ImageSizeModeTypeConst = {
18503
- /** 自适应,响应式的适应外层容器的大小 */
18504
- RESPONSIVE: "responsive",
18505
- /** 固定值,高宽设了多少就是多少 */
18506
- FIXED: "fixed"
18507
- };
18508
- }));
18509
- //#endregion
18510
- //#region src/domain/constants/enum/widget.ts
18511
- /** 将旧版三栏分栏方向迁移为放射顶点 */
18512
- function migrateDiagonalDirectionToVertex(direction) {
18513
- return direction === DiagonalDirectionTypeConst.Backward ? DiagonalVertexTypeConst.BottomRight : DiagonalVertexTypeConst.BottomLeft;
18514
- }
18515
- /** 解析三栏放射顶点,兼容未设置 vertex 的老数据 */
18516
- function resolveDiagonalVertex(size, direction, vertex, hasVertexKey = false) {
18517
- if (Number(size) !== 3) return vertex;
18518
- if (!hasVertexKey) return migrateDiagonalDirectionToVertex(direction ?? DiagonalDirectionTypeConst.Forward);
18519
- return vertex ?? DiagonalVertexTypeConst.TopLeft;
18520
- }
18521
- var BwipCodeTypeConst, ValueTypeConst, DiagonalDirectionTypeConst, DiagonalVertexTypeConst, TimeDiffFormatTypeConst;
18522
- var init_widget$1 = __esmMin((() => {
18523
- BwipCodeTypeConst = {
18524
- Code39: "code39",
18525
- Code128: "code128",
18526
- QRCode: "qrcode",
18527
- GS1DataMatrix: "gs1datamatrix"
18528
- };
18529
- ValueTypeConst = {
18530
- /** 固定值 */
18531
- Fixed: "fixed",
18532
- /** 字段 */
18533
- Field: "field",
18534
- /** 公式 */
18535
- Formula: "formula"
18536
- };
18537
- DiagonalDirectionTypeConst = {
18538
- /** 从左上到右下 */
18539
- Forward: "forward",
18540
- /** 从右上到左下 / */
18541
- Backward: "backward"
18542
- };
18543
- DiagonalVertexTypeConst = {
18544
- TopLeft: "topLeft",
18545
- TopRight: "topRight",
18546
- BottomLeft: "bottomLeft",
18547
- BottomRight: "bottomRight"
18548
- };
18549
- TimeDiffFormatTypeConst = {
18550
- /** 天时分秒 */
18551
- D_H_MIN_S: "D_H_MIN_S",
18552
- /** 年月天时分秒 */
18553
- Y_M_D_H_MIN_S: "Y_M_D_H_MIN_S",
18554
- /** 时分秒 */
18555
- H_MIN_S: "H_MIN_S",
18556
- /** 年 */
18557
- Y: "Y",
18558
- /** 月 */
18559
- M: "M",
18560
- /** 天 */
18561
- D: "D",
18562
- /** 时 */
18563
- H: "H",
18564
- /** 分 */
18565
- MIN: "MIN",
18566
- /** 秒 */
18567
- S: "S"
18568
- };
18569
- })), DeviceStatus;
18570
- var init_device$1 = __esmMin((() => {
18571
- DeviceStatus = {
18572
- /** 使用中 */
18573
- IN_USE: "state_device_in_use",
18574
- /** 维修中 */
18575
- REPAIRING: "REPAIRING",
18576
- /** 保养中 */
18577
- MAINTAINING: "MAINTAINING",
18578
- /** 点检中 */
18579
- INSPECTING: "INSPECTING",
18580
- /** 校准中 */
18581
- CALIBRATING: "CALIBRATING",
18582
- /** 验证中 */
18583
- VERIFYING: "VERIFYING",
18584
- /** 备用 */
18585
- STANDBY: "STANDBY",
18586
- /** 停用 */
18587
- DEACTIVATED: "DEACTIVATED",
18588
- /** 报废 */
18589
- SCRAPPED: "SCRAPPED"
18590
- };
18591
- DeviceStatus.IN_USE, DeviceStatus.REPAIRING, DeviceStatus.MAINTAINING, DeviceStatus.INSPECTING, DeviceStatus.CALIBRATING, DeviceStatus.VERIFYING, DeviceStatus.STANDBY, DeviceStatus.DEACTIVATED, DeviceStatus.SCRAPPED;
18592
- }));
18593
- //#endregion
18594
- //#region src/domain/constants/enum/lot.ts
18595
- var ContainerRoleConst;
18596
- var init_lot = __esmMin((() => {
18597
- ContainerRoleConst = {
18598
- /** 普通批次 */
18599
- NORMAL: "normal",
18600
- /** 关联批父节点 */
18601
- RELATED_PARENT: "related_parent",
18602
- /** 关联批子批次 */
18603
- RELATED_CHILD: "related_child",
18604
- /** 合并批父节点 */
18605
- MERGE_PARENT: "merge_parent",
18606
- /** 共线批父节点 */
18607
- COLLINEAR_PARENT: "collinear_parent",
18608
- /** 共线批子节点 */
18609
- COLLINEAR_CHILD: "collinear_child"
18610
- };
18611
- }));
18612
- //#endregion
18613
- //#region src/domain/constants/enum/product.ts
18614
- var ProductTypeEnum;
18615
- var init_product = __esmMin((() => {
18616
- ProductTypeEnum = /* @__PURE__ */ function(ProductTypeEnum) {
18617
- /** 原材料 */
18618
- ProductTypeEnum["RAW_MATERIAL"] = "rawMaterial";
18619
- /** 半成品 */
18620
- ProductTypeEnum["SEMI_FINISHED_PRODUCT"] = "semiFinishedProduct";
18621
- /** 产成品 */
18622
- ProductTypeEnum["FINISHED_PRODUCT"] = "finishedProduct";
18623
- return ProductTypeEnum;
18624
- }({});
18625
- }));
18626
- //#endregion
18627
- //#region src/domain/constants/enum/production-identification.ts
18628
- var ProductionIdentificationTypeEnum;
18629
- var init_production_identification = __esmMin((() => {
18630
- ProductionIdentificationTypeEnum = /* @__PURE__ */ function(ProductionIdentificationTypeEnum) {
18631
- /** 物料批 */
18632
- ProductionIdentificationTypeEnum["MATERIAL"] = "MATERIAL";
18633
- /** 生产批次 */
18634
- ProductionIdentificationTypeEnum["LOT"] = "LOT";
18635
- /** 生产序列号 */
18636
- ProductionIdentificationTypeEnum["SN"] = "SN";
18637
- /** 灭菌批 */
18638
- ProductionIdentificationTypeEnum["STERILIZATION"] = "STERILIZATION";
18639
- /** 检验批 */
18640
- ProductionIdentificationTypeEnum["INSPECTION_CONTAINER"] = "INSPECTION_CONTAINER";
18641
- /** 旧检验批取值 */
18642
- ProductionIdentificationTypeEnum["LEGACY_INSPECTION"] = "inspection";
18643
- /** 包装箱 */
18644
- ProductionIdentificationTypeEnum["PACK_BOX"] = "PACK_BOX";
18645
- /** 医疗器械唯一标识 */
18646
- ProductionIdentificationTypeEnum["UDI"] = "UDI";
18647
- return ProductionIdentificationTypeEnum;
18648
- }({});
18649
- }));
18650
- //#endregion
18651
- //#region src/domain/constants/enum/index.ts
18652
- var init_enum = __esmMin((() => {
18653
- init_view();
18654
- init_form();
18655
- init_signature();
18656
- init_image();
18657
- init_widget$1();
18658
- init_device$1();
18659
- init_lot();
18660
- init_product();
18661
- init_production_identification();
18662
- }));
18663
- //#endregion
18664
18691
  //#region src/domain/field/form-value.ts
18665
18692
  /** 表单工具 */
18666
18693
  function getValue$1(value, multiple) {
@@ -18695,7 +18722,8 @@ function toFormatValue(fieldType, value) {
18695
18722
  FIELD_TYPE.DOUBLE,
18696
18723
  FIELD_TYPE.DECIMAL,
18697
18724
  FIELD_TYPE.PRODUCTION_QTY,
18698
- FIELD_TYPE.INSPECTION_QTY
18725
+ FIELD_TYPE.INSPECTION_QTY,
18726
+ FIELD_TYPE.INSPECTION_MODULE_QTY
18699
18727
  ].includes(fieldType)) {
18700
18728
  const _val_ = parseFloat(value);
18701
18729
  return isNaN(_val_) ? null : _val_;
@@ -95689,7 +95717,8 @@ var init_utils$3 = __esmMin((() => {
95689
95717
  destructive_test_qty: "破坏性试验数量",
95690
95718
  product_check_qty: "产品检验数量",
95691
95719
  material_check_qty: "材料检验数量",
95692
- inspection_qty: "检验数量",
95720
+ inspection_qty: "送检数量",
95721
+ inspection_module_qty: "检验数量",
95693
95722
  operation_receive_qty: "工序接收数量",
95694
95723
  operation_output_qty: "工序实际产出数量",
95695
95724
  external_reference_no: "外部参考号",
@@ -95886,6 +95915,7 @@ var init_utils$3 = __esmMin((() => {
95886
95915
  case FIELD_TYPE.PRODUCTION_QTY:
95887
95916
  case FIELD_TYPE.MATERIAL_CHECK_QTY:
95888
95917
  case FIELD_TYPE.INSPECTION_QTY:
95918
+ case FIELD_TYPE.INSPECTION_MODULE_QTY:
95889
95919
  case FIELD_TYPE.OPERATION_RECEIVE_QTY:
95890
95920
  case FIELD_TYPE.OPERATION_OUTPUT_QTY:
95891
95921
  options = NumberOperators.slice();
@@ -96566,7 +96596,7 @@ function omitSubmitExcludedTopLevel(data) {
96566
96596
  return Object.fromEntries(Object.entries(data).filter(([key]) => !isSubmitExcludedKey(key)));
96567
96597
  }
96568
96598
  var ROW_RUNTIME_META_KEYS, SUBMIT_EXCLUDED_KEYS;
96569
- var init_fields$14 = __esmMin((() => {
96599
+ var init_fields$15 = __esmMin((() => {
96570
96600
  init_field_paths();
96571
96601
  init_row();
96572
96602
  ROW_RUNTIME_META_KEYS = /* @__PURE__ */ new Set([
@@ -98076,7 +98106,7 @@ function getSubmitFormData(formData, subTableInfoList, fieldList = []) {
98076
98106
  var handleSyncCheckValue, NUMBER_FIELD_TYPES;
98077
98107
  var init_form_state = __esmMin((() => {
98078
98108
  init_field_paths();
98079
- init_fields$14();
98109
+ init_fields$15();
98080
98110
  init_check_table();
98081
98111
  init_field_type();
98082
98112
  handleSyncCheckValue = (row) => {
@@ -103253,7 +103283,7 @@ var init_enrich_design_defaults = __esmMin((() => {
103253
103283
  var init_data = __esmMin((() => {
103254
103284
  init_DataManager();
103255
103285
  init_field_paths();
103256
- init_fields$14();
103286
+ init_fields$15();
103257
103287
  init_form_state();
103258
103288
  init_field_updates();
103259
103289
  init_subtable_path();
@@ -103809,10 +103839,11 @@ var init_field_keys$12 = __esmMin((() => {
103809
103839
  }));
103810
103840
  //#endregion
103811
103841
  //#region src/domain/table/business/warehouse/warehouse-inbound/profile/fields.ts
103812
- var fields$12;
103813
- var init_fields$13 = __esmMin((() => {
103842
+ var fields$13;
103843
+ var init_fields$14 = __esmMin((() => {
103844
+ init_enum();
103814
103845
  init_field_keys$12();
103815
- fields$12 = [
103846
+ fields$13 = [
103816
103847
  {
103817
103848
  match: { fieldKey: F$12.part },
103818
103849
  selectSource: {
@@ -103857,6 +103888,14 @@ var init_fields$13 = __esmMin((() => {
103857
103888
  required: false
103858
103889
  }
103859
103890
  },
103891
+ {
103892
+ match: { fieldKey: F$12.qty },
103893
+ defaultProps: {
103894
+ enableRangeValidate: true,
103895
+ minValidateMode: RangeValidateModeTypeConst.Fixed_Number,
103896
+ minValue: 0
103897
+ }
103898
+ },
103860
103899
  {
103861
103900
  match: { fieldKey: F$12.storageZone },
103862
103901
  select: {
@@ -103887,7 +103926,7 @@ var init_fields$13 = __esmMin((() => {
103887
103926
  var TABLE_TYPE$11, profile$13;
103888
103927
  var init_profile$13 = __esmMin((() => {
103889
103928
  init_field_type();
103890
- init_fields$13();
103929
+ init_fields$14();
103891
103930
  init_field_keys$12();
103892
103931
  TABLE_TYPE$11 = "warehouse-inbound";
103893
103932
  profile$13 = {
@@ -103906,7 +103945,7 @@ var init_profile$13 = __esmMin((() => {
103906
103945
  refModelType: "WAREHOUSE_INBOUND"
103907
103946
  },
103908
103947
  defaultWidgetProps: { quickFill: false },
103909
- fields: fields$12,
103948
+ fields: fields$13,
103910
103949
  mainFieldBindings: [{
103911
103950
  fieldType: FIELD_TYPE.WAREHOUSE,
103912
103951
  excludeFieldKeys: [F$12.warehouse],
@@ -104030,93 +104069,105 @@ var init_field_keys$11 = __esmMin((() => {
104030
104069
  }));
104031
104070
  //#endregion
104032
104071
  //#region src/domain/table/business/warehouse/warehouse-out/profile/fields.ts
104033
- var fields$11;
104034
- var init_fields$12 = __esmMin((() => {
104072
+ var fields$12;
104073
+ var init_fields$13 = __esmMin((() => {
104074
+ init_enum();
104035
104075
  init_field_keys$11();
104036
- fields$11 = [{
104037
- match: { fieldKey: F$11.product },
104038
- selectSource: {
104039
- dataSource: "biz",
104040
- api: {
104041
- modelCategory: "entity",
104042
- modelKey: "em_inventory",
104043
- bsKey: "biz_get_inventory_info_list_by_page"
104044
- },
104045
- optionMapping: {
104046
- value: "product_id_",
104047
- label: "product_id_name_"
104076
+ fields$12 = [
104077
+ {
104078
+ match: { fieldKey: F$11.product },
104079
+ selectSource: {
104080
+ dataSource: "biz",
104081
+ api: {
104082
+ modelCategory: "entity",
104083
+ modelKey: "em_inventory",
104084
+ bsKey: "biz_get_inventory_info_list_by_page"
104085
+ },
104086
+ optionMapping: {
104087
+ value: "product_id_",
104088
+ label: "product_id_name_"
104089
+ },
104090
+ columnsKey: "product-ndo",
104091
+ isTree: false,
104092
+ searchStyle: "param",
104093
+ searchKeywordParam: "query_keyword_",
104094
+ optionIdField: F$11.inventory
104048
104095
  },
104049
- columnsKey: "product-ndo",
104050
- isTree: false,
104051
- searchStyle: "param",
104052
- searchKeywordParam: "query_keyword_",
104053
- optionIdField: F$11.inventory
104096
+ fillFromOption: [
104097
+ {
104098
+ optionField: "id_",
104099
+ toField: F$11.inventory
104100
+ },
104101
+ {
104102
+ optionField: "product_id_name_",
104103
+ toField: F$11.productName
104104
+ },
104105
+ {
104106
+ optionField: "product_id_code_",
104107
+ toField: F$11.productCode
104108
+ },
104109
+ {
104110
+ optionField: "product_id_spec_",
104111
+ toField: F$11.productSpec
104112
+ },
104113
+ {
104114
+ optionField: "material_no_",
104115
+ toField: F$11.materialNo
104116
+ },
104117
+ {
104118
+ optionField: "production_identification_id_",
104119
+ toField: F$11.materialNoId
104120
+ },
104121
+ {
104122
+ optionField: "warehouse_id_",
104123
+ toField: F$11.warehouse
104124
+ },
104125
+ {
104126
+ optionField: "location_id_",
104127
+ toField: F$11.location
104128
+ },
104129
+ {
104130
+ optionField: "mfg_order_id_",
104131
+ toField: F$11.mfgOrder
104132
+ },
104133
+ {
104134
+ optionField: "lot_sn_id_",
104135
+ toField: F$11.lotSn
104136
+ },
104137
+ {
104138
+ optionField: "validate_",
104139
+ toField: F$11.validity
104140
+ },
104141
+ {
104142
+ optionField: "re_inspection_date_",
104143
+ toField: F$11.reInspectionDate
104144
+ }
104145
+ ]
104054
104146
  },
104055
- fillFromOption: [
104056
- {
104057
- optionField: "id_",
104058
- toField: F$11.inventory
104059
- },
104060
- {
104061
- optionField: "product_id_name_",
104062
- toField: F$11.productName
104063
- },
104064
- {
104065
- optionField: "product_id_code_",
104066
- toField: F$11.productCode
104067
- },
104068
- {
104069
- optionField: "product_id_spec_",
104070
- toField: F$11.productSpec
104071
- },
104072
- {
104073
- optionField: "material_no_",
104074
- toField: F$11.materialNo
104075
- },
104076
- {
104077
- optionField: "production_identification_id_",
104078
- toField: F$11.materialNoId
104079
- },
104080
- {
104081
- optionField: "warehouse_id_",
104082
- toField: F$11.warehouse
104083
- },
104084
- {
104085
- optionField: "location_id_",
104086
- toField: F$11.location
104087
- },
104088
- {
104089
- optionField: "mfg_order_id_",
104090
- toField: F$11.mfgOrder
104091
- },
104092
- {
104093
- optionField: "lot_sn_id_",
104094
- toField: F$11.lotSn
104095
- },
104096
- {
104097
- optionField: "validate_",
104098
- toField: F$11.validity
104099
- },
104100
- {
104101
- optionField: "re_inspection_date_",
104102
- toField: F$11.reInspectionDate
104147
+ {
104148
+ match: { fieldKey: [...DISABLED_INPUT_FIELDS$7] },
104149
+ defaultProps: {
104150
+ disabled: true,
104151
+ fieldDisabled: true,
104152
+ required: false
104153
+ }
104154
+ },
104155
+ {
104156
+ match: { fieldKey: F$11.qty },
104157
+ defaultProps: {
104158
+ enableRangeValidate: true,
104159
+ minValidateMode: RangeValidateModeTypeConst.Fixed_Number,
104160
+ minValue: 0
104103
104161
  }
104104
- ]
104105
- }, {
104106
- match: { fieldKey: [...DISABLED_INPUT_FIELDS$7] },
104107
- defaultProps: {
104108
- disabled: true,
104109
- fieldDisabled: true,
104110
- required: false
104111
104162
  }
104112
- }];
104163
+ ];
104113
104164
  }));
104114
104165
  //#endregion
104115
104166
  //#region src/domain/table/business/warehouse/warehouse-out/profile/index.ts
104116
104167
  var TABLE_TYPE$10, profile$12;
104117
104168
  var init_profile$12 = __esmMin((() => {
104118
104169
  init_field_type();
104119
- init_fields$12();
104170
+ init_fields$13();
104120
104171
  init_field_keys$11();
104121
104172
  TABLE_TYPE$10 = "warehouse-out";
104122
104173
  profile$12 = {
@@ -104136,7 +104187,7 @@ var init_profile$12 = __esmMin((() => {
104136
104187
  quickFill: false,
104137
104188
  barcode_parsing_rules_id_: void 0
104138
104189
  },
104139
- fields: fields$11,
104190
+ fields: fields$12,
104140
104191
  mainFieldBindings: [
104141
104192
  {
104142
104193
  fieldType: FIELD_TYPE.WAREHOUSE,
@@ -104374,80 +104425,92 @@ var init_field_keys$10 = __esmMin((() => {
104374
104425
  }));
104375
104426
  //#endregion
104376
104427
  //#region src/domain/table/business/warehouse/warehouse-outbound/profile/fields.ts
104377
- var fields$10;
104378
- var init_fields$11 = __esmMin((() => {
104428
+ var fields$11;
104429
+ var init_fields$12 = __esmMin((() => {
104430
+ init_enum();
104379
104431
  init_field_keys$10();
104380
- fields$10 = [{
104381
- match: { fieldKey: F$10.part },
104382
- selectSource: {
104383
- dataSource: "biz",
104384
- api: {
104385
- modelCategory: "entity",
104386
- modelKey: "em_inventory",
104387
- bsKey: "biz_get_inventory_info_list_by_page"
104388
- },
104389
- optionMapping: {
104390
- value: "part_id_",
104391
- label: "part_id_name_"
104432
+ fields$11 = [
104433
+ {
104434
+ match: { fieldKey: F$10.part },
104435
+ selectSource: {
104436
+ dataSource: "biz",
104437
+ api: {
104438
+ modelCategory: "entity",
104439
+ modelKey: "em_inventory",
104440
+ bsKey: "biz_get_inventory_info_list_by_page"
104441
+ },
104442
+ optionMapping: {
104443
+ value: "part_id_",
104444
+ label: "part_id_name_"
104445
+ },
104446
+ columnsKey: "part-inventory-ndo",
104447
+ isTree: false,
104448
+ searchStyle: "param",
104449
+ searchKeywordParam: "query_keyword_",
104450
+ optionIdField: F$10.inventory
104392
104451
  },
104393
- columnsKey: "part-inventory-ndo",
104394
- isTree: false,
104395
- searchStyle: "param",
104396
- searchKeywordParam: "query_keyword_",
104397
- optionIdField: F$10.inventory
104452
+ fillFromOption: [
104453
+ {
104454
+ optionField: "id_",
104455
+ toField: F$10.inventory
104456
+ },
104457
+ {
104458
+ optionField: "part_id_name_",
104459
+ toField: F$10.partName
104460
+ },
104461
+ {
104462
+ optionField: "part_id_code_",
104463
+ toField: F$10.partCode
104464
+ },
104465
+ {
104466
+ optionField: "part_id_spec_",
104467
+ toField: F$10.partSpec
104468
+ },
104469
+ {
104470
+ optionField: "warehouse_id_",
104471
+ toField: F$10.warehouse
104472
+ },
104473
+ {
104474
+ optionField: "storage_zone_id_",
104475
+ toField: F$10.storageZone
104476
+ },
104477
+ {
104478
+ optionField: "location_id_",
104479
+ toField: F$10.location
104480
+ },
104481
+ {
104482
+ optionField: "uom_id_",
104483
+ toField: F$10.qtyUom
104484
+ },
104485
+ {
104486
+ optionField: "validate_",
104487
+ toField: F$10.validity
104488
+ }
104489
+ ]
104398
104490
  },
104399
- fillFromOption: [
104400
- {
104401
- optionField: "id_",
104402
- toField: F$10.inventory
104403
- },
104404
- {
104405
- optionField: "part_id_name_",
104406
- toField: F$10.partName
104407
- },
104408
- {
104409
- optionField: "part_id_code_",
104410
- toField: F$10.partCode
104411
- },
104412
- {
104413
- optionField: "part_id_spec_",
104414
- toField: F$10.partSpec
104415
- },
104416
- {
104417
- optionField: "warehouse_id_",
104418
- toField: F$10.warehouse
104419
- },
104420
- {
104421
- optionField: "storage_zone_id_",
104422
- toField: F$10.storageZone
104423
- },
104424
- {
104425
- optionField: "location_id_",
104426
- toField: F$10.location
104427
- },
104428
- {
104429
- optionField: "uom_id_",
104430
- toField: F$10.qtyUom
104431
- },
104432
- {
104433
- optionField: "validate_",
104434
- toField: F$10.validity
104491
+ {
104492
+ match: { fieldKey: [...DISABLED_INPUT_FIELDS$6] },
104493
+ defaultProps: {
104494
+ disabled: true,
104495
+ fieldDisabled: true,
104496
+ required: false
104497
+ }
104498
+ },
104499
+ {
104500
+ match: { fieldKey: F$10.qty },
104501
+ defaultProps: {
104502
+ enableRangeValidate: true,
104503
+ minValidateMode: RangeValidateModeTypeConst.Fixed_Number,
104504
+ minValue: 0
104435
104505
  }
104436
- ]
104437
- }, {
104438
- match: { fieldKey: [...DISABLED_INPUT_FIELDS$6] },
104439
- defaultProps: {
104440
- disabled: true,
104441
- fieldDisabled: true,
104442
- required: false
104443
104506
  }
104444
- }];
104507
+ ];
104445
104508
  }));
104446
104509
  //#endregion
104447
104510
  //#region src/domain/table/business/warehouse/warehouse-outbound/profile/index.ts
104448
104511
  var TABLE_TYPE$9, profile$11;
104449
104512
  var init_profile$11 = __esmMin((() => {
104450
- init_fields$11();
104513
+ init_fields$12();
104451
104514
  init_field_keys$10();
104452
104515
  TABLE_TYPE$9 = "warehouse-outbound";
104453
104516
  profile$11 = {
@@ -104466,7 +104529,7 @@ var init_profile$11 = __esmMin((() => {
104466
104529
  refModelType: "WAREHOUSE_OUTBOUND"
104467
104530
  },
104468
104531
  defaultWidgetProps: { quickFill: false },
104469
- fields: fields$10,
104532
+ fields: fields$11,
104470
104533
  rowHandlers: [{
104471
104534
  when: "onFieldChange",
104472
104535
  watch: [F$10.part],
@@ -104517,33 +104580,45 @@ var init_warehouse_outbound = __esmMin((() => {
104517
104580
  }));
104518
104581
  //#endregion
104519
104582
  //#region src/domain/table/business/warehouse/warehouse-in-out/profile/fields.ts
104520
- var fields$9;
104521
- var init_fields$10 = __esmMin((() => {
104583
+ var fields$10;
104584
+ var init_fields$11 = __esmMin((() => {
104585
+ init_enum();
104522
104586
  init_autofill_expander();
104523
- fields$9 = [{
104524
- match: { fieldKey: "product_id_" },
104525
- autofillTemplates: [
104526
- {
104527
- fromField: "name_",
104528
- toField: ({ sourceFieldKey }) => `${normalizeRefFieldKey(sourceFieldKey)}_name_`
104529
- },
104530
- {
104531
- fromField: "code_",
104532
- toField: ({ sourceFieldKey }) => `${normalizeRefFieldKey(sourceFieldKey)}_code_`
104533
- },
104534
- {
104535
- fromField: "spec_",
104536
- toField: ({ sourceFieldKey }) => `${normalizeRefFieldKey(sourceFieldKey)}_spec_`
104587
+ fields$10 = [
104588
+ {
104589
+ match: { fieldKey: "qty_" },
104590
+ defaultProps: {
104591
+ enableRangeValidate: true,
104592
+ minValidateMode: RangeValidateModeTypeConst.Fixed_Number,
104593
+ minValue: 0
104594
+ }
104595
+ },
104596
+ {
104597
+ match: { fieldKey: "product_id_" },
104598
+ autofillTemplates: [
104599
+ {
104600
+ fromField: "name_",
104601
+ toField: ({ sourceFieldKey }) => `${normalizeRefFieldKey(sourceFieldKey)}_name_`
104602
+ },
104603
+ {
104604
+ fromField: "code_",
104605
+ toField: ({ sourceFieldKey }) => `${normalizeRefFieldKey(sourceFieldKey)}_code_`
104606
+ },
104607
+ {
104608
+ fromField: "spec_",
104609
+ toField: ({ sourceFieldKey }) => `${normalizeRefFieldKey(sourceFieldKey)}_spec_`
104610
+ }
104611
+ ]
104612
+ },
104613
+ {
104614
+ match: { fieldKey: "location_id_" },
104615
+ select: {
104616
+ linkFieldKey: "warehouse_id_",
104617
+ requireLinkWidget: true,
104618
+ buildLinkQuery: ({ linkValue }) => linkValue ? { "warehouse_id_.eq": linkValue } : {}
104537
104619
  }
104538
- ]
104539
- }, {
104540
- match: { fieldKey: "location_id_" },
104541
- select: {
104542
- linkFieldKey: "warehouse_id_",
104543
- requireLinkWidget: true,
104544
- buildLinkQuery: ({ linkValue }) => linkValue ? { "warehouse_id_.eq": linkValue } : {}
104545
104620
  }
104546
- }];
104621
+ ];
104547
104622
  }));
104548
104623
  //#endregion
104549
104624
  //#region src/domain/table/business/warehouse/warehouse-in-out/profile/field-keys.ts
@@ -104556,7 +104631,7 @@ var init_field_keys$9 = __esmMin((() => {
104556
104631
  var profile$10;
104557
104632
  var init_profile$10 = __esmMin((() => {
104558
104633
  init_field_type();
104559
- init_fields$10();
104634
+ init_fields$11();
104560
104635
  init_field_keys$9();
104561
104636
  profile$10 = {
104562
104637
  type: "warehouse-in-out",
@@ -104571,7 +104646,7 @@ var init_profile$10 = __esmMin((() => {
104571
104646
  fieldType: "master_slave",
104572
104647
  refModelType: "WAREHOUSE_IN_OUT"
104573
104648
  },
104574
- fields: fields$9,
104649
+ fields: fields$10,
104575
104650
  mainFieldBindings: [{
104576
104651
  fieldType: FIELD_TYPE.WAREHOUSE,
104577
104652
  excludeFieldKeys: [F$9.warehouse],
@@ -104766,8 +104841,8 @@ function buildProductFill(warehouseSummary) {
104766
104841
  toField: F$8.inventory
104767
104842
  }], ...PRODUCT_FILL_REST];
104768
104843
  }
104769
- var PRODUCT_FILL_REST, fields$8;
104770
- var init_fields$9 = __esmMin((() => {
104844
+ var PRODUCT_FILL_REST, fields$9;
104845
+ var init_fields$10 = __esmMin((() => {
104771
104846
  init_enum();
104772
104847
  init_types$6();
104773
104848
  init_stocktake_dimension();
@@ -104811,7 +104886,7 @@ var init_fields$9 = __esmMin((() => {
104811
104886
  toField: F$8.reInspectionDate
104812
104887
  }
104813
104888
  ];
104814
- fields$8 = [
104889
+ fields$9 = [
104815
104890
  {
104816
104891
  match: { fieldKey: F$8.product },
104817
104892
  resolveSelectSource: ({ regionProps }) => {
@@ -104862,7 +104937,7 @@ var init_fields$9 = __esmMin((() => {
104862
104937
  var TABLE_TYPE$8, profile$9;
104863
104938
  var init_profile$9 = __esmMin((() => {
104864
104939
  init_field_type();
104865
- init_fields$9();
104940
+ init_fields$10();
104866
104941
  init_field_keys$8();
104867
104942
  init_types$6();
104868
104943
  init_api();
@@ -104887,7 +104962,7 @@ var init_profile$9 = __esmMin((() => {
104887
104962
  stocktakeDimension: STOCKTAKE_DIMENSION.locationDetail,
104888
104963
  barcode_parsing_rules_id_: void 0
104889
104964
  },
104890
- fields: fields$8,
104965
+ fields: fields$9,
104891
104966
  mainFieldBindings: [{
104892
104967
  fieldType: FIELD_TYPE.WAREHOUSE,
104893
104968
  excludeFieldKeys: [F$8.warehouse],
@@ -105418,11 +105493,11 @@ var init_field_keys$7 = __esmMin((() => {
105418
105493
  }));
105419
105494
  //#endregion
105420
105495
  //#region src/domain/table/business/warehouse/part-stocktake/profile/fields.ts
105421
- var fields$7;
105422
- var init_fields$8 = __esmMin((() => {
105496
+ var fields$8;
105497
+ var init_fields$9 = __esmMin((() => {
105423
105498
  init_enum();
105424
105499
  init_field_keys$7();
105425
- fields$7 = [
105500
+ fields$8 = [
105426
105501
  {
105427
105502
  match: { fieldKey: F$7.part },
105428
105503
  selectSource: {
@@ -105503,7 +105578,7 @@ var init_fields$8 = __esmMin((() => {
105503
105578
  //#region src/domain/table/business/warehouse/part-stocktake/profile/index.ts
105504
105579
  var TABLE_TYPE$7, profile$8;
105505
105580
  var init_profile$8 = __esmMin((() => {
105506
- init_fields$8();
105581
+ init_fields$9();
105507
105582
  init_field_keys$7();
105508
105583
  TABLE_TYPE$7 = "part-stocktake";
105509
105584
  profile$8 = {
@@ -105521,7 +105596,7 @@ var init_profile$8 = __esmMin((() => {
105521
105596
  refModelType: "PART_STOCKTAKE"
105522
105597
  },
105523
105598
  defaultWidgetProps: { quickFill: false },
105524
- fields: fields$7,
105599
+ fields: fields$8,
105525
105600
  rowHandlers: [
105526
105601
  {
105527
105602
  when: "onRowInit",
@@ -105645,11 +105720,11 @@ var init_field_keys$6 = __esmMin((() => {
105645
105720
  }));
105646
105721
  //#endregion
105647
105722
  //#region src/domain/table/business/warehouse/device-part-consume/profile/fields.ts
105648
- var fields$6;
105649
- var init_fields$7 = __esmMin((() => {
105723
+ var fields$7;
105724
+ var init_fields$8 = __esmMin((() => {
105650
105725
  init_enum();
105651
105726
  init_field_keys$6();
105652
- fields$6 = [
105727
+ fields$7 = [
105653
105728
  {
105654
105729
  match: { fieldKey: F$6.part },
105655
105730
  selectSource: {
@@ -105730,7 +105805,7 @@ var init_fields$7 = __esmMin((() => {
105730
105805
  //#region src/domain/table/business/warehouse/device-part-consume/profile/index.ts
105731
105806
  var TABLE_TYPE$6, profile$7;
105732
105807
  var init_profile$7 = __esmMin((() => {
105733
- init_fields$7();
105808
+ init_fields$8();
105734
105809
  init_field_keys$6();
105735
105810
  TABLE_TYPE$6 = "device-part-consume";
105736
105811
  profile$7 = {
@@ -105748,7 +105823,7 @@ var init_profile$7 = __esmMin((() => {
105748
105823
  refModelType: "DEVICE_PART_CONSUME"
105749
105824
  },
105750
105825
  defaultWidgetProps: { quickFill: false },
105751
- fields: fields$6,
105826
+ fields: fields$7,
105752
105827
  rowHandlers: [{
105753
105828
  when: "onFieldChange",
105754
105829
  watch: [F$6.part],
@@ -105873,10 +105948,11 @@ var init_field_keys$5 = __esmMin((() => {
105873
105948
  }));
105874
105949
  //#endregion
105875
105950
  //#region src/domain/table/business/warehouse/warehouse-allocate/profile/fields.ts
105876
- var fields$5;
105877
- var init_fields$6 = __esmMin((() => {
105951
+ var fields$6;
105952
+ var init_fields$7 = __esmMin((() => {
105953
+ init_enum();
105878
105954
  init_field_keys$5();
105879
- fields$5 = [
105955
+ fields$6 = [
105880
105956
  {
105881
105957
  match: { fieldKey: F$5.product },
105882
105958
  selectSource: {
@@ -105955,6 +106031,14 @@ var init_fields$6 = __esmMin((() => {
105955
106031
  required: false
105956
106032
  }
105957
106033
  },
106034
+ {
106035
+ match: { fieldKey: F$5.allocateNum },
106036
+ defaultProps: {
106037
+ enableRangeValidate: true,
106038
+ minValidateMode: RangeValidateModeTypeConst.Fixed_Number,
106039
+ minValue: 0
106040
+ }
106041
+ },
105958
106042
  {
105959
106043
  match: { fieldKey: F$5.location },
105960
106044
  select: {
@@ -105971,7 +106055,7 @@ var TABLE_TYPE$5, profile$6;
105971
106055
  var init_profile$6 = __esmMin((() => {
105972
106056
  init_field_type();
105973
106057
  init_field_keys$5();
105974
- init_fields$6();
106058
+ init_fields$7();
105975
106059
  TABLE_TYPE$5 = "warehouse-allocate";
105976
106060
  profile$6 = {
105977
106061
  type: TABLE_TYPE$5,
@@ -105990,7 +106074,7 @@ var init_profile$6 = __esmMin((() => {
105990
106074
  quickFill: false,
105991
106075
  barcode_parsing_rules_id_: void 0
105992
106076
  },
105993
- fields: fields$5,
106077
+ fields: fields$6,
105994
106078
  mainFieldBindings: [
105995
106079
  {
105996
106080
  fieldType: FIELD_TYPE.WAREHOUSE,
@@ -106153,9 +106237,24 @@ var init_warehouse_allocate = __esmMin((() => {
106153
106237
  init_actions$3();
106154
106238
  }));
106155
106239
  //#endregion
106240
+ //#region src/domain/table/business/material/material-consume/profile/fields.ts
106241
+ var fields$5;
106242
+ var init_fields$6 = __esmMin((() => {
106243
+ init_enum();
106244
+ fields$5 = [{
106245
+ match: { fieldKey: ["qty_", "qty_required_"] },
106246
+ defaultProps: {
106247
+ enableRangeValidate: true,
106248
+ minValidateMode: RangeValidateModeTypeConst.Fixed_Number,
106249
+ minValue: 0
106250
+ }
106251
+ }];
106252
+ }));
106253
+ //#endregion
106156
106254
  //#region src/domain/table/business/material/material-consume/profile/index.ts
106157
106255
  var TABLE_TYPE$4, profile$5;
106158
106256
  var init_profile$5 = __esmMin((() => {
106257
+ init_fields$6();
106159
106258
  TABLE_TYPE$4 = "material-consume";
106160
106259
  profile$5 = {
106161
106260
  type: TABLE_TYPE$4,
@@ -106171,6 +106270,7 @@ var init_profile$5 = __esmMin((() => {
106171
106270
  fieldType: "master_slave",
106172
106271
  refModelType: "MATERIAL_CONSUME"
106173
106272
  },
106273
+ fields: fields$5,
106174
106274
  rowHandlers: [{
106175
106275
  when: "onFieldChange",
106176
106276
  watch: [
@@ -106261,23 +106361,40 @@ var init_field_keys$4 = __esmMin((() => {
106261
106361
  //#region src/domain/table/business/material/material-balance/profile/fields.ts
106262
106362
  var fields$4;
106263
106363
  var init_fields$5 = __esmMin((() => {
106364
+ init_enum();
106264
106365
  init_field_keys$4();
106265
- fields$4 = [{
106266
- match: { fieldKey: F$4.material },
106267
- defaultProps: {
106268
- disabled: true,
106269
- fieldDisabled: true,
106270
- required: false
106271
- }
106272
- }, {
106273
- match: { fieldKey: F$4.materialBalancePercent },
106274
- defaultProps: {
106275
- disabled: true,
106276
- fieldDisabled: true,
106277
- required: false,
106278
- keepExceptionHighlight: true
106366
+ fields$4 = [
106367
+ {
106368
+ match: { fieldKey: F$4.material },
106369
+ defaultProps: {
106370
+ disabled: true,
106371
+ fieldDisabled: true,
106372
+ required: false
106373
+ }
106374
+ },
106375
+ {
106376
+ match: { fieldKey: F$4.materialBalancePercent },
106377
+ defaultProps: {
106378
+ disabled: true,
106379
+ fieldDisabled: true,
106380
+ required: false,
106381
+ keepExceptionHighlight: true
106382
+ }
106383
+ },
106384
+ {
106385
+ match: { fieldKey: [
106386
+ F$4.amountReceivedQty,
106387
+ F$4.actualOutputQty,
106388
+ F$4.lossAmountQty,
106389
+ F$4.consumeQty
106390
+ ] },
106391
+ defaultProps: {
106392
+ enableRangeValidate: true,
106393
+ minValidateMode: RangeValidateModeTypeConst.Fixed_Number,
106394
+ minValue: 0
106395
+ }
106279
106396
  }
106280
- }];
106397
+ ];
106281
106398
  }));
106282
106399
  //#endregion
106283
106400
  //#region src/domain/table/business/material/material-balance/profile/index.ts
@@ -106705,6 +106822,14 @@ var init_fields$3 = __esmMin((() => {
106705
106822
  init_enum();
106706
106823
  init_field_keys$2();
106707
106824
  fields$2 = [
106825
+ {
106826
+ match: { fieldKey: F$2.qty },
106827
+ defaultProps: {
106828
+ enableRangeValidate: true,
106829
+ minValidateMode: RangeValidateModeTypeConst.Fixed_Number,
106830
+ minValue: 0
106831
+ }
106832
+ },
106708
106833
  {
106709
106834
  match: { fieldKey: F$2.productionContainer },
106710
106835
  defaultProps: {},
@@ -107189,60 +107314,72 @@ var init_field_keys$1 = __esmMin((() => {
107189
107314
  var fields$1;
107190
107315
  var init_fields$2 = __esmMin((() => {
107191
107316
  init_form_value();
107317
+ init_enum();
107192
107318
  init_field_keys$1();
107193
- fields$1 = [{
107194
- match: { fieldKey: F$1.productionContainer },
107195
- defaultProps: {},
107196
- fillFromOption: [
107197
- {
107198
- optionField: F$1.product,
107199
- toField: F$1.product
107200
- },
107201
- {
107202
- optionField: F$1.productName,
107203
- toField: F$1.productName
107204
- },
107205
- {
107206
- optionField: F$1.productCode,
107207
- toField: F$1.productCode
107208
- },
107209
- {
107210
- optionField: F$1.productSpec,
107211
- toField: F$1.productSpec
107212
- },
107213
- {
107214
- optionField: F$1.mfgOrder,
107215
- toField: F$1.mfgOrder
107216
- },
107217
- {
107218
- optionField: F$1.mfgOrderCode,
107219
- toField: F$1.mfgOrderCode
107220
- },
107221
- {
107222
- optionField: F$1.qty,
107223
- toField: F$1.qty
107224
- },
107225
- {
107226
- optionField: "real_start_date_",
107227
- toField: F$1.productionDate,
107228
- transform: toDateOnly
107319
+ fields$1 = [
107320
+ {
107321
+ match: { fieldKey: F$1.qty },
107322
+ defaultProps: {
107323
+ enableRangeValidate: true,
107324
+ minValidateMode: RangeValidateModeTypeConst.Fixed_Number,
107325
+ minValue: 0
107326
+ }
107327
+ },
107328
+ {
107329
+ match: { fieldKey: F$1.productionContainer },
107330
+ defaultProps: {},
107331
+ fillFromOption: [
107332
+ {
107333
+ optionField: F$1.product,
107334
+ toField: F$1.product
107335
+ },
107336
+ {
107337
+ optionField: F$1.productName,
107338
+ toField: F$1.productName
107339
+ },
107340
+ {
107341
+ optionField: F$1.productCode,
107342
+ toField: F$1.productCode
107343
+ },
107344
+ {
107345
+ optionField: F$1.productSpec,
107346
+ toField: F$1.productSpec
107347
+ },
107348
+ {
107349
+ optionField: F$1.mfgOrder,
107350
+ toField: F$1.mfgOrder
107351
+ },
107352
+ {
107353
+ optionField: F$1.mfgOrderCode,
107354
+ toField: F$1.mfgOrderCode
107355
+ },
107356
+ {
107357
+ optionField: F$1.qty,
107358
+ toField: F$1.qty
107359
+ },
107360
+ {
107361
+ optionField: "real_start_date_",
107362
+ toField: F$1.productionDate,
107363
+ transform: toDateOnly
107364
+ }
107365
+ ]
107366
+ },
107367
+ {
107368
+ match: { fieldKey: [
107369
+ F$1.product,
107370
+ F$1.productName,
107371
+ F$1.productCode,
107372
+ F$1.productSpec,
107373
+ F$1.mfgOrder,
107374
+ F$1.mfgOrderCode
107375
+ ] },
107376
+ defaultProps: {
107377
+ disabled: true,
107378
+ fieldDisabled: true,
107379
+ required: false
107229
107380
  }
107230
- ]
107231
- }, {
107232
- match: { fieldKey: [
107233
- F$1.product,
107234
- F$1.productName,
107235
- F$1.productCode,
107236
- F$1.productSpec,
107237
- F$1.mfgOrder,
107238
- F$1.mfgOrderCode
107239
- ] },
107240
- defaultProps: {
107241
- disabled: true,
107242
- fieldDisabled: true,
107243
- required: false
107244
107381
  }
107245
- }];
107382
+ ];
107246
107383
  }));
107247
107384
  //#endregion
107248
107385
  //#region src/domain/table/business/sterilize/entrust-steril-batch-list/profile/index.ts
@@ -107393,9 +107530,21 @@ function getAllBusinessRefModelTypes() {
107393
107530
  }
107394
107531
  /** 按 refModelType 获取业务表 Profile */
107395
107532
  function getBusinessProfileByRefModelType(refModelType) {
107533
+ if (!refModelType) return void 0;
107396
107534
  const profile = getProfilesByCategory("business").find((item) => isBusinessSubTableProfile(item) && item.match.refModelType === refModelType);
107397
107535
  return profile && isBusinessSubTableProfile(profile) ? profile : void 0;
107398
107536
  }
107537
+ /** 与设计态使用同一匹配顺序,读取业务表字段配置。 */
107538
+ function getBusinessFieldProfileByRefModelType(refModelType, field) {
107539
+ var _getBusinessProfileBy;
107540
+ const profiles = (_getBusinessProfileBy = getBusinessProfileByRefModelType(refModelType)) === null || _getBusinessProfileBy === void 0 ? void 0 : _getBusinessProfileBy.fields;
107541
+ return profiles === null || profiles === void 0 ? void 0 : profiles.find(({ match }) => {
107542
+ if (match.fieldKey) {
107543
+ if ((Array.isArray(match.fieldKey) ? match.fieldKey : [match.fieldKey]).includes(field.key)) return true;
107544
+ }
107545
+ return !!match.bizType && (field.bizType ?? field.type) === match.bizType;
107546
+ });
107547
+ }
107399
107548
  var ALL_TABLE_PROFILES, profileByType, profileByRibbonAction;
107400
107549
  var init_registry$5 = __esmMin((() => {
107401
107550
  init_dynamic_table();
@@ -117245,20 +117394,6 @@ var init_on_subtable_create = __esmMin((() => {
117245
117394
  }));
117246
117395
  //#endregion
117247
117396
  //#region src/domain/table/design/hooks/on-field-attach.ts
117248
- function matchBusinessField(field, profile) {
117249
- const { fieldKey, bizType } = profile.match;
117250
- if (fieldKey) {
117251
- if ((Array.isArray(fieldKey) ? fieldKey : [fieldKey]).includes(field.key)) return true;
117252
- }
117253
- if (bizType) {
117254
- if ((field.bizType ?? field.type) === bizType) return true;
117255
- }
117256
- return false;
117257
- }
117258
- /** 在业务表 fields 配置中匹配当前拖入字段 */
117259
- function resolveBusinessFieldProfile(field, fieldProfiles = []) {
117260
- return fieldProfiles.find((profile) => matchBusinessField(field, profile));
117261
- }
117262
117397
  function applyLockedProps(props, locked) {
117263
117398
  if (!(locked === null || locked === void 0 ? void 0 : locked.length)) return;
117264
117399
  if (locked.includes("disabled")) props.disabled = true;
@@ -117272,11 +117407,9 @@ function applyLockedProps(props, locked) {
117272
117407
  * - 展开 autofillTemplates → autofillRules
117273
117408
  */
117274
117409
  function applyFieldProfileOnAttach(widget, field, options = {}) {
117275
- var _businessProfile$fiel, _fieldProfile$autofil;
117410
+ var _fieldProfile$autofil;
117276
117411
  if (!options.parentFieldKey || !options.refModelType) return widget;
117277
- const businessProfile = getBusinessProfileByRefModelType(options.refModelType);
117278
- if (!(businessProfile === null || businessProfile === void 0 || (_businessProfile$fiel = businessProfile.fields) === null || _businessProfile$fiel === void 0 ? void 0 : _businessProfile$fiel.length)) return widget;
117279
- const fieldProfile = resolveBusinessFieldProfile(field, businessProfile.fields);
117412
+ const fieldProfile = getBusinessFieldProfileByRefModelType(options.refModelType, field);
117280
117413
  if (!fieldProfile) return widget;
117281
117414
  const props = {
117282
117415
  ...widget.props,
@@ -125402,7 +125535,7 @@ function filterRulesByTrigger(rules, trigger) {
125402
125535
  return ruleTrigger === trigger;
125403
125536
  });
125404
125537
  }
125405
- var buildError, createRule, compareByOp, compareOpMessage, isDateTimeWidget, toUnixTimestamp, requiredRule, minLengthRule, maxLengthRule, regexRule, minNumberRule, maxNumberRule, minNumberFormulaRule, maxNumberFormulaRule, minTimeRule, maxTimeRule, minTimeFormulaRule, maxTimeFormulaRule, assembleRules, createValidatorContext;
125538
+ var buildError, createRule, compareByOp, compareOpMessage, isDateTimeWidget, toUnixTimestamp, requiredRule, minLengthRule, maxLengthRule, regexRule, minNumberRule, nonNegativeBusinessNumberRule, maxNumberRule, minNumberFormulaRule, maxNumberFormulaRule, minTimeRule, maxTimeRule, minTimeFormulaRule, maxTimeFormulaRule, assembleRules, createValidatorContext;
125406
125539
  var init_createValidateFactory = __esmMin((() => {
125407
125540
  init_core$1();
125408
125541
  init_enum();
@@ -125488,9 +125621,16 @@ var init_createValidateFactory = __esmMin((() => {
125488
125621
  }
125489
125622
  return null;
125490
125623
  };
125491
- maxNumberRule = (ctx) => {
125624
+ nonNegativeBusinessNumberRule = (ctx) => {
125492
125625
  var _ctx$validatorInfo2;
125493
- if (isDateTimeWidget((_ctx$validatorInfo2 = ctx.validatorInfo) === null || _ctx$validatorInfo2 === void 0 ? void 0 : _ctx$validatorInfo2.widgetType)) return null;
125626
+ if (ctx.defaultMinValue !== 0 || !["fw:number", "fw:double"].includes((_ctx$validatorInfo2 = ctx.validatorInfo) === null || _ctx$validatorInfo2 === void 0 ? void 0 : _ctx$validatorInfo2.widgetType)) return null;
125627
+ const minOp = ctx.minCompareOp ?? RangeCompareOpTypeConst.GE;
125628
+ if (ctx.enableRangeValidate && ctx.minValidateMode === RangeValidateModeTypeConst.Fixed_Number && !isEmptyValue$1(ctx.minValue) && Number(ctx.minValue) >= 0 && (minOp === RangeCompareOpTypeConst.GE || minOp === RangeCompareOpTypeConst.GT)) return null;
125629
+ return createRule((_rule, value) => isEmptyValue$1(value) || Number(value) >= 0, buildError(ctx.validatorInfo, "字段值不能小于0!"));
125630
+ };
125631
+ maxNumberRule = (ctx) => {
125632
+ var _ctx$validatorInfo3;
125633
+ if (isDateTimeWidget((_ctx$validatorInfo3 = ctx.validatorInfo) === null || _ctx$validatorInfo3 === void 0 ? void 0 : _ctx$validatorInfo3.widgetType)) return null;
125494
125634
  if (ctx.enableRangeValidate && ctx.maxValidateMode === RangeValidateModeTypeConst.Fixed_Number && !isEmptyValue$1(ctx.maxValue)) {
125495
125635
  const op = ctx.maxCompareOp ?? RangeCompareOpTypeConst.LE;
125496
125636
  return createRule((_rule, value, _callback, _source, _options) => {
@@ -125501,8 +125641,8 @@ var init_createValidateFactory = __esmMin((() => {
125501
125641
  return null;
125502
125642
  };
125503
125643
  minNumberFormulaRule = (ctx) => {
125504
- var _ctx$validatorInfo3;
125505
- if (isDateTimeWidget((_ctx$validatorInfo3 = ctx.validatorInfo) === null || _ctx$validatorInfo3 === void 0 ? void 0 : _ctx$validatorInfo3.widgetType)) return null;
125644
+ var _ctx$validatorInfo4;
125645
+ if (isDateTimeWidget((_ctx$validatorInfo4 = ctx.validatorInfo) === null || _ctx$validatorInfo4 === void 0 ? void 0 : _ctx$validatorInfo4.widgetType)) return null;
125506
125646
  if (ctx.enableRangeValidate && ctx.minValidateMode === RangeValidateModeTypeConst.Variable_Validate && ctx.minFormulaExpr) {
125507
125647
  const op = ctx.minCompareOp ?? RangeCompareOpTypeConst.GE;
125508
125648
  return {
@@ -125524,8 +125664,8 @@ var init_createValidateFactory = __esmMin((() => {
125524
125664
  return null;
125525
125665
  };
125526
125666
  maxNumberFormulaRule = (ctx) => {
125527
- var _ctx$validatorInfo4;
125528
- if (isDateTimeWidget((_ctx$validatorInfo4 = ctx.validatorInfo) === null || _ctx$validatorInfo4 === void 0 ? void 0 : _ctx$validatorInfo4.widgetType)) return null;
125667
+ var _ctx$validatorInfo5;
125668
+ if (isDateTimeWidget((_ctx$validatorInfo5 = ctx.validatorInfo) === null || _ctx$validatorInfo5 === void 0 ? void 0 : _ctx$validatorInfo5.widgetType)) return null;
125529
125669
  if (ctx.enableRangeValidate && ctx.maxValidateMode === RangeValidateModeTypeConst.Variable_Validate && ctx.maxFormulaExpr) {
125530
125670
  const op = ctx.maxCompareOp ?? RangeCompareOpTypeConst.LE;
125531
125671
  return {
@@ -125547,8 +125687,8 @@ var init_createValidateFactory = __esmMin((() => {
125547
125687
  return null;
125548
125688
  };
125549
125689
  minTimeRule = (ctx) => {
125550
- var _ctx$validatorInfo5;
125551
- if (!isDateTimeWidget((_ctx$validatorInfo5 = ctx.validatorInfo) === null || _ctx$validatorInfo5 === void 0 ? void 0 : _ctx$validatorInfo5.widgetType)) return null;
125690
+ var _ctx$validatorInfo6;
125691
+ if (!isDateTimeWidget((_ctx$validatorInfo6 = ctx.validatorInfo) === null || _ctx$validatorInfo6 === void 0 ? void 0 : _ctx$validatorInfo6.widgetType)) return null;
125552
125692
  if (ctx.enableRangeValidate && ctx.minValidateMode === RangeValidateModeTypeConst.Fixed_Number && ctx.minValue) {
125553
125693
  const op = ctx.minCompareOp ?? RangeCompareOpTypeConst.GE;
125554
125694
  return createRule((_rule, value, _callback, _source, _options) => {
@@ -125562,8 +125702,8 @@ var init_createValidateFactory = __esmMin((() => {
125562
125702
  return null;
125563
125703
  };
125564
125704
  maxTimeRule = (ctx) => {
125565
- var _ctx$validatorInfo6;
125566
- if (!isDateTimeWidget((_ctx$validatorInfo6 = ctx.validatorInfo) === null || _ctx$validatorInfo6 === void 0 ? void 0 : _ctx$validatorInfo6.widgetType)) return null;
125705
+ var _ctx$validatorInfo7;
125706
+ if (!isDateTimeWidget((_ctx$validatorInfo7 = ctx.validatorInfo) === null || _ctx$validatorInfo7 === void 0 ? void 0 : _ctx$validatorInfo7.widgetType)) return null;
125567
125707
  if (ctx.enableRangeValidate && ctx.maxValidateMode === RangeValidateModeTypeConst.Fixed_Number && ctx.maxValue) {
125568
125708
  const op = ctx.maxCompareOp ?? RangeCompareOpTypeConst.LE;
125569
125709
  return createRule((_rule, value, _callback, _source, _options) => {
@@ -125577,8 +125717,8 @@ var init_createValidateFactory = __esmMin((() => {
125577
125717
  return null;
125578
125718
  };
125579
125719
  minTimeFormulaRule = (ctx) => {
125580
- var _ctx$validatorInfo7;
125581
- if (!isDateTimeWidget((_ctx$validatorInfo7 = ctx.validatorInfo) === null || _ctx$validatorInfo7 === void 0 ? void 0 : _ctx$validatorInfo7.widgetType)) return null;
125720
+ var _ctx$validatorInfo8;
125721
+ if (!isDateTimeWidget((_ctx$validatorInfo8 = ctx.validatorInfo) === null || _ctx$validatorInfo8 === void 0 ? void 0 : _ctx$validatorInfo8.widgetType)) return null;
125582
125722
  if (ctx.enableRangeValidate && ctx.minValidateMode === RangeValidateModeTypeConst.Variable_Validate && ctx.minFormulaExpr) {
125583
125723
  const op = ctx.minCompareOp ?? RangeCompareOpTypeConst.GE;
125584
125724
  return {
@@ -125601,8 +125741,8 @@ var init_createValidateFactory = __esmMin((() => {
125601
125741
  return null;
125602
125742
  };
125603
125743
  maxTimeFormulaRule = (ctx) => {
125604
- var _ctx$validatorInfo8;
125605
- if (!isDateTimeWidget((_ctx$validatorInfo8 = ctx.validatorInfo) === null || _ctx$validatorInfo8 === void 0 ? void 0 : _ctx$validatorInfo8.widgetType)) return null;
125744
+ var _ctx$validatorInfo9;
125745
+ if (!isDateTimeWidget((_ctx$validatorInfo9 = ctx.validatorInfo) === null || _ctx$validatorInfo9 === void 0 ? void 0 : _ctx$validatorInfo9.widgetType)) return null;
125606
125746
  if (ctx.enableRangeValidate && ctx.maxValidateMode === RangeValidateModeTypeConst.Variable_Validate && ctx.maxFormulaExpr) {
125607
125747
  const op = ctx.maxCompareOp ?? RangeCompareOpTypeConst.LE;
125608
125748
  return {
@@ -125630,6 +125770,7 @@ var init_createValidateFactory = __esmMin((() => {
125630
125770
  minLengthRule(ctx),
125631
125771
  maxLengthRule(ctx),
125632
125772
  regexRule(ctx),
125773
+ nonNegativeBusinessNumberRule(ctx),
125633
125774
  minNumberRule(ctx),
125634
125775
  maxNumberRule(ctx),
125635
125776
  minNumberFormulaRule(ctx),
@@ -130042,6 +130183,7 @@ function buildValidationAdmissionInput(doc, widgetMeta, mode, runtimeValuePath,
130042
130183
  };
130043
130184
  }
130044
130185
  function buildWidgetValidationPayload(doc, widget, mode = "change") {
130186
+ var _getBusinessFieldProf, _find;
130045
130187
  const widgetMeta = widget.widgetMeta;
130046
130188
  const { type, props: widgetProps, field: fieldMeta } = widgetMeta;
130047
130189
  const runtimeValuePath = widget.valuePath;
@@ -130058,8 +130200,19 @@ function buildWidgetValidationPayload(doc, widget, mode = "change") {
130058
130200
  const fieldKey = getLastSegment$1(fieldMeta.fieldLink);
130059
130201
  const fieldInfo = doc.fieldModelQuery.getFieldByKeyAsync(modelKey, fieldKey);
130060
130202
  const modelInfo = doc.fieldModelQuery.getModel(modelKey);
130203
+ const manifest = doc.fieldModelQuery.getFieldManifest(resolveFieldManifestType({
130204
+ type: fieldMeta.fieldType,
130205
+ bizType: fieldInfo === null || fieldInfo === void 0 ? void 0 : fieldInfo.bizType
130206
+ }));
130207
+ const parentField = fieldMeta.subFieldKey ? doc.fieldModelQuery.getFieldByKeyAsync(doc.mainModelKey, fieldMeta.subFieldKey) : void 0;
130208
+ const defaultMinValue = (_find = [(_getBusinessFieldProf = getBusinessFieldProfileByRefModelType(parentField === null || parentField === void 0 ? void 0 : parentField.refModelType, {
130209
+ key: (fieldInfo === null || fieldInfo === void 0 ? void 0 : fieldInfo.key) ?? fieldKey,
130210
+ type: (fieldInfo === null || fieldInfo === void 0 ? void 0 : fieldInfo.type) ?? fieldMeta.fieldType,
130211
+ bizType: fieldInfo === null || fieldInfo === void 0 ? void 0 : fieldInfo.bizType
130212
+ })) === null || _getBusinessFieldProf === void 0 ? void 0 : _getBusinessFieldProf.defaultProps, manifest === null || manifest === void 0 ? void 0 : manifest.defaultProps].find((props) => (props === null || props === void 0 ? void 0 : props.enableRangeValidate) === true && props.minValidateMode === RangeValidateModeTypeConst.Fixed_Number && props.minValue === 0)) === null || _find === void 0 ? void 0 : _find.minValue;
130061
130213
  const ctx = createValidatorContext(doc, {
130062
130214
  ...widgetProps,
130215
+ defaultMinValue,
130063
130216
  showRequired: widgetState.required,
130064
130217
  validatorInfo: {
130065
130218
  modelId: widget.modelRef.id,
@@ -130247,6 +130400,8 @@ var init_useFormValidator = __esmMin((() => {
130247
130400
  init_form_value();
130248
130401
  init_core$1();
130249
130402
  init_field_type();
130403
+ init_enum();
130404
+ init_registry$5();
130250
130405
  init_createValidateFactory();
130251
130406
  init_widget();
130252
130407
  init_attach_field();
@@ -159054,7 +159209,7 @@ var FieldProviderRuntime = class {
159054
159209
  };
159055
159210
  //#endregion
159056
159211
  //#region src/suites/edhr/manifest/field/basic/boolean-manifest.ts
159057
- var boolean_manifest_exports = /* @__PURE__ */ __exportAll({ manifest: () => manifest$82 });
159212
+ var boolean_manifest_exports = /* @__PURE__ */ __exportAll({ manifest: () => manifest$83 });
159058
159213
  init_field_type();
159059
159214
  init_enum();
159060
159215
  init_form_value();
@@ -159066,7 +159221,7 @@ var optionsJson = JSON.stringify([{
159066
159221
  label: "假",
159067
159222
  value: false
159068
159223
  }]);
159069
- var manifest$82 = {
159224
+ var manifest$83 = {
159070
159225
  key: "field:boolean",
159071
159226
  type: FIELD_TYPE.BOOLEAN,
159072
159227
  label: "布尔",
@@ -159103,10 +159258,10 @@ var manifest$82 = {
159103
159258
  };
159104
159259
  //#endregion
159105
159260
  //#region src/suites/edhr/manifest/field/basic/date-manifest.ts
159106
- var date_manifest_exports = /* @__PURE__ */ __exportAll({ manifest: () => manifest$81 });
159261
+ var date_manifest_exports = /* @__PURE__ */ __exportAll({ manifest: () => manifest$82 });
159107
159262
  init_field_type();
159108
159263
  init_basic();
159109
- var manifest$81 = {
159264
+ var manifest$82 = {
159110
159265
  key: "field:date",
159111
159266
  type: FIELD_TYPE.DATE,
159112
159267
  label: "日期",
@@ -159124,10 +159279,10 @@ var manifest$81 = {
159124
159279
  };
159125
159280
  //#endregion
159126
159281
  //#region src/suites/edhr/manifest/field/basic/date-time-manifest.ts
159127
- var date_time_manifest_exports = /* @__PURE__ */ __exportAll({ manifest: () => manifest$80 });
159282
+ var date_time_manifest_exports = /* @__PURE__ */ __exportAll({ manifest: () => manifest$81 });
159128
159283
  init_field_type();
159129
159284
  init_basic();
159130
- var manifest$80 = {
159285
+ var manifest$81 = {
159131
159286
  key: "field:date_time",
159132
159287
  type: FIELD_TYPE.DATE_TIME,
159133
159288
  label: "日期时间",
@@ -159146,10 +159301,10 @@ var manifest$80 = {
159146
159301
  };
159147
159302
  //#endregion
159148
159303
  //#region src/suites/edhr/manifest/field/basic/decimal-manifest.ts
159149
- var decimal_manifest_exports = /* @__PURE__ */ __exportAll({ manifest: () => manifest$79 });
159304
+ var decimal_manifest_exports = /* @__PURE__ */ __exportAll({ manifest: () => manifest$80 });
159150
159305
  init_field_type();
159151
159306
  init_basic();
159152
- var manifest$79 = {
159307
+ var manifest$80 = {
159153
159308
  key: "field:decimal",
159154
159309
  type: FIELD_TYPE.DECIMAL,
159155
159310
  label: "精度小数",
@@ -159167,10 +159322,10 @@ var manifest$79 = {
159167
159322
  };
159168
159323
  //#endregion
159169
159324
  //#region src/suites/edhr/manifest/field/basic/double-manifest.ts
159170
- var double_manifest_exports = /* @__PURE__ */ __exportAll({ manifest: () => manifest$78 });
159325
+ var double_manifest_exports = /* @__PURE__ */ __exportAll({ manifest: () => manifest$79 });
159171
159326
  init_field_type();
159172
159327
  init_basic();
159173
- var manifest$78 = {
159328
+ var manifest$79 = {
159174
159329
  key: "field:double",
159175
159330
  type: FIELD_TYPE.DOUBLE,
159176
159331
  label: "小数",
@@ -159188,10 +159343,10 @@ var manifest$78 = {
159188
159343
  };
159189
159344
  //#endregion
159190
159345
  //#region src/suites/edhr/manifest/field/basic/integer-manifest.ts
159191
- var integer_manifest_exports = /* @__PURE__ */ __exportAll({ manifest: () => manifest$77 });
159346
+ var integer_manifest_exports = /* @__PURE__ */ __exportAll({ manifest: () => manifest$78 });
159192
159347
  init_field_type();
159193
159348
  init_basic();
159194
- var manifest$77 = {
159349
+ var manifest$78 = {
159195
159350
  key: "field:integer",
159196
159351
  type: FIELD_TYPE.INTEGER,
159197
159352
  label: "整数",
@@ -159209,10 +159364,10 @@ var manifest$77 = {
159209
159364
  };
159210
159365
  //#endregion
159211
159366
  //#region src/suites/edhr/manifest/field/basic/long-manifest.ts
159212
- var long_manifest_exports = /* @__PURE__ */ __exportAll({ manifest: () => manifest$76 });
159367
+ var long_manifest_exports = /* @__PURE__ */ __exportAll({ manifest: () => manifest$77 });
159213
159368
  init_field_type();
159214
159369
  init_basic();
159215
- var manifest$76 = {
159370
+ var manifest$77 = {
159216
159371
  key: "field:long",
159217
159372
  type: FIELD_TYPE.LONG,
159218
159373
  label: "长整数",
@@ -159230,10 +159385,10 @@ var manifest$76 = {
159230
159385
  };
159231
159386
  //#endregion
159232
159387
  //#region src/suites/edhr/manifest/field/basic/long-text-manifest.ts
159233
- var long_text_manifest_exports = /* @__PURE__ */ __exportAll({ manifest: () => manifest$75 });
159388
+ var long_text_manifest_exports = /* @__PURE__ */ __exportAll({ manifest: () => manifest$76 });
159234
159389
  init_field_type();
159235
159390
  init_basic();
159236
- var manifest$75 = {
159391
+ var manifest$76 = {
159237
159392
  key: "field:long_text",
159238
159393
  type: FIELD_TYPE.LONG_TEXT,
159239
159394
  label: "长文本",
@@ -159254,10 +159409,10 @@ var manifest$75 = {
159254
159409
  };
159255
159410
  //#endregion
159256
159411
  //#region src/suites/edhr/manifest/field/basic/text-manifest.ts
159257
- var text_manifest_exports = /* @__PURE__ */ __exportAll({ manifest: () => manifest$74 });
159412
+ var text_manifest_exports = /* @__PURE__ */ __exportAll({ manifest: () => manifest$75 });
159258
159413
  init_field_type();
159259
159414
  init_basic();
159260
- var manifest$74 = {
159415
+ var manifest$75 = {
159261
159416
  key: "field:text",
159262
159417
  type: FIELD_TYPE.TEXT,
159263
159418
  label: "文本",
@@ -159278,10 +159433,10 @@ var manifest$74 = {
159278
159433
  };
159279
159434
  //#endregion
159280
159435
  //#region src/suites/edhr/manifest/field/basic/time-manifest.ts
159281
- var time_manifest_exports = /* @__PURE__ */ __exportAll({ manifest: () => manifest$73 });
159436
+ var time_manifest_exports = /* @__PURE__ */ __exportAll({ manifest: () => manifest$74 });
159282
159437
  init_field_type();
159283
159438
  init_basic();
159284
- var manifest$73 = {
159439
+ var manifest$74 = {
159285
159440
  key: "field:time",
159286
159441
  type: FIELD_TYPE.TIME,
159287
159442
  label: "时间",
@@ -159300,10 +159455,11 @@ var manifest$73 = {
159300
159455
  };
159301
159456
  //#endregion
159302
159457
  //#region src/suites/edhr/manifest/field/business/destructive-test-qty-manifest.ts
159303
- var destructive_test_qty_manifest_exports = /* @__PURE__ */ __exportAll({ manifest: () => manifest$72 });
159458
+ var destructive_test_qty_manifest_exports = /* @__PURE__ */ __exportAll({ manifest: () => manifest$73 });
159304
159459
  init_field_type();
159460
+ init_enum();
159305
159461
  init_basic();
159306
- var manifest$72 = {
159462
+ var manifest$73 = {
159307
159463
  key: "field:destructive_test_qty",
159308
159464
  type: FIELD_TYPE.DESTRUCTIVE_TEST_QTY,
159309
159465
  label: "破坏性试验数量",
@@ -159315,16 +159471,20 @@ var manifest$72 = {
159315
159471
  propsSchema: "schema:field-number",
159316
159472
  defaultProps: {
159317
159473
  ...commonDefaultProps,
159318
- ...numberFieldDefaultProps
159474
+ ...numberFieldDefaultProps,
159475
+ enableRangeValidate: true,
159476
+ minValidateMode: RangeValidateModeTypeConst.Fixed_Number,
159477
+ minValue: 0
159319
159478
  },
159320
159479
  computed: { defaultValueRule: labelPriorityConfig }
159321
159480
  };
159322
159481
  //#endregion
159323
159482
  //#region src/suites/edhr/manifest/field/business/good-qty-manifest.ts
159324
- var good_qty_manifest_exports = /* @__PURE__ */ __exportAll({ manifest: () => manifest$71 });
159483
+ var good_qty_manifest_exports = /* @__PURE__ */ __exportAll({ manifest: () => manifest$72 });
159325
159484
  init_field_type();
159485
+ init_enum();
159326
159486
  init_basic();
159327
- var manifest$71 = {
159487
+ var manifest$72 = {
159328
159488
  key: "field:good_qty",
159329
159489
  type: FIELD_TYPE.GOOD_QTY,
159330
159490
  label: "良品数量",
@@ -159336,7 +159496,35 @@ var manifest$71 = {
159336
159496
  propsSchema: "schema:field-number",
159337
159497
  defaultProps: {
159338
159498
  ...commonDefaultProps,
159339
- ...numberFieldDefaultProps
159499
+ ...numberFieldDefaultProps,
159500
+ enableRangeValidate: true,
159501
+ minValidateMode: RangeValidateModeTypeConst.Fixed_Number,
159502
+ minValue: 0
159503
+ },
159504
+ computed: { defaultValueRule: labelPriorityConfig }
159505
+ };
159506
+ //#endregion
159507
+ //#region src/suites/edhr/manifest/field/business/inspection-module-qty-manifest.ts
159508
+ var inspection_module_qty_manifest_exports = /* @__PURE__ */ __exportAll({ manifest: () => manifest$71 });
159509
+ init_field_type();
159510
+ init_enum();
159511
+ init_basic();
159512
+ var manifest$71 = {
159513
+ key: "field:inspection_module_qty",
159514
+ type: FIELD_TYPE.INSPECTION_MODULE_QTY,
159515
+ label: "检验数量",
159516
+ icon: "icon-xiaoshu",
159517
+ version: "v1",
159518
+ allowDrag: true,
159519
+ component: "fw:double",
159520
+ renderers: { ...commonDefaultRenderers },
159521
+ propsSchema: "schema:field-number",
159522
+ defaultProps: {
159523
+ ...commonDefaultProps,
159524
+ ...numberFieldDefaultProps,
159525
+ enableRangeValidate: true,
159526
+ minValidateMode: RangeValidateModeTypeConst.Fixed_Number,
159527
+ minValue: 0
159340
159528
  },
159341
159529
  computed: { defaultValueRule: labelPriorityConfig }
159342
159530
  };
@@ -159344,11 +159532,12 @@ var manifest$71 = {
159344
159532
  //#region src/suites/edhr/manifest/field/business/inspection-qty-manifest.ts
159345
159533
  var inspection_qty_manifest_exports = /* @__PURE__ */ __exportAll({ manifest: () => manifest$70 });
159346
159534
  init_field_type();
159535
+ init_enum();
159347
159536
  init_basic();
159348
159537
  var manifest$70 = {
159349
159538
  key: "field:inspection_qty",
159350
159539
  type: FIELD_TYPE.INSPECTION_QTY,
159351
- label: "检验数量",
159540
+ label: "送检数量",
159352
159541
  icon: "icon-xiaoshu",
159353
159542
  version: "v1",
159354
159543
  allowDrag: true,
@@ -159357,7 +159546,10 @@ var manifest$70 = {
159357
159546
  propsSchema: "schema:field-number",
159358
159547
  defaultProps: {
159359
159548
  ...commonDefaultProps,
159360
- ...numberFieldDefaultProps
159549
+ ...numberFieldDefaultProps,
159550
+ enableRangeValidate: true,
159551
+ minValidateMode: RangeValidateModeTypeConst.Fixed_Number,
159552
+ minValue: 0
159361
159553
  },
159362
159554
  computed: { defaultValueRule: labelPriorityConfig }
159363
159555
  };
@@ -159365,6 +159557,7 @@ var manifest$70 = {
159365
159557
  //#region src/suites/edhr/manifest/field/business/material-check-qty-manifest.ts
159366
159558
  var material_check_qty_manifest_exports = /* @__PURE__ */ __exportAll({ manifest: () => manifest$69 });
159367
159559
  init_field_type();
159560
+ init_enum();
159368
159561
  init_basic();
159369
159562
  var manifest$69 = {
159370
159563
  key: "field:material_check_qty",
@@ -159378,7 +159571,10 @@ var manifest$69 = {
159378
159571
  propsSchema: "schema:field-number",
159379
159572
  defaultProps: {
159380
159573
  ...commonDefaultProps,
159381
- ...numberFieldDefaultProps
159574
+ ...numberFieldDefaultProps,
159575
+ enableRangeValidate: true,
159576
+ minValidateMode: RangeValidateModeTypeConst.Fixed_Number,
159577
+ minValue: 0
159382
159578
  },
159383
159579
  computed: { defaultValueRule: labelPriorityConfig }
159384
159580
  };
@@ -159414,6 +159610,7 @@ var manifest$68 = {
159414
159610
  //#region src/suites/edhr/manifest/field/business/not-good-qty-manifest.ts
159415
159611
  var not_good_qty_manifest_exports = /* @__PURE__ */ __exportAll({ manifest: () => manifest$67 });
159416
159612
  init_field_type();
159613
+ init_enum();
159417
159614
  init_basic();
159418
159615
  var manifest$67 = {
159419
159616
  key: "field:not_good_qty",
@@ -159427,7 +159624,10 @@ var manifest$67 = {
159427
159624
  propsSchema: "schema:field-number",
159428
159625
  defaultProps: {
159429
159626
  ...commonDefaultProps,
159430
- ...numberFieldDefaultProps
159627
+ ...numberFieldDefaultProps,
159628
+ enableRangeValidate: true,
159629
+ minValidateMode: RangeValidateModeTypeConst.Fixed_Number,
159630
+ minValue: 0
159431
159631
  },
159432
159632
  computed: { defaultValueRule: labelPriorityConfig }
159433
159633
  };
@@ -159463,6 +159663,7 @@ var manifest$66 = {
159463
159663
  //#region src/suites/edhr/manifest/field/business/of-inst-num-manifest.ts
159464
159664
  var of_inst_num_manifest_exports = /* @__PURE__ */ __exportAll({ manifest: () => manifest$65 });
159465
159665
  init_field_type();
159666
+ init_enum();
159466
159667
  init_basic();
159467
159668
  var manifest$65 = {
159468
159669
  key: "field:of_inst_num",
@@ -159477,6 +159678,9 @@ var manifest$65 = {
159477
159678
  defaultProps: {
159478
159679
  ...commonDefaultProps,
159479
159680
  ...numberFieldDefaultProps,
159681
+ enableRangeValidate: true,
159682
+ minValidateMode: RangeValidateModeTypeConst.Fixed_Number,
159683
+ minValue: 0,
159480
159684
  bindFormTmplRefId: null,
159481
159685
  notEmitParent: false
159482
159686
  },
@@ -159519,6 +159723,7 @@ var manifest$64 = {
159519
159723
  //#region src/suites/edhr/manifest/field/business/operation-output-qty-manifest.ts
159520
159724
  var operation_output_qty_manifest_exports = /* @__PURE__ */ __exportAll({ manifest: () => manifest$63 });
159521
159725
  init_field_type();
159726
+ init_enum();
159522
159727
  init_basic();
159523
159728
  var manifest$63 = {
159524
159729
  key: "field:operation_output_qty",
@@ -159532,7 +159737,10 @@ var manifest$63 = {
159532
159737
  propsSchema: "schema:field-number",
159533
159738
  defaultProps: {
159534
159739
  ...commonDefaultProps,
159535
- ...numberFieldDefaultProps
159740
+ ...numberFieldDefaultProps,
159741
+ enableRangeValidate: true,
159742
+ minValidateMode: RangeValidateModeTypeConst.Fixed_Number,
159743
+ minValue: 0
159536
159744
  },
159537
159745
  computed: { defaultValueRule: labelPriorityConfig }
159538
159746
  };
@@ -159540,6 +159748,7 @@ var manifest$63 = {
159540
159748
  //#region src/suites/edhr/manifest/field/business/operation-receive-qty-manifest.ts
159541
159749
  var operation_receive_qty_manifest_exports = /* @__PURE__ */ __exportAll({ manifest: () => manifest$62 });
159542
159750
  init_field_type();
159751
+ init_enum();
159543
159752
  init_basic();
159544
159753
  var manifest$62 = {
159545
159754
  key: "field:operation_receive_qty",
@@ -159554,6 +159763,9 @@ var manifest$62 = {
159554
159763
  defaultProps: {
159555
159764
  ...commonDefaultProps,
159556
159765
  ...numberFieldDefaultProps,
159766
+ enableRangeValidate: true,
159767
+ minValidateMode: RangeValidateModeTypeConst.Fixed_Number,
159768
+ minValue: 0,
159557
159769
  /** 拖入后固定只读,配置面板禁用项不可取消 */
159558
159770
  required: false,
159559
159771
  disabled: true,
@@ -159565,6 +159777,7 @@ var manifest$62 = {
159565
159777
  //#region src/suites/edhr/manifest/field/business/product-check-qty-manifest.ts
159566
159778
  var product_check_qty_manifest_exports = /* @__PURE__ */ __exportAll({ manifest: () => manifest$61 });
159567
159779
  init_field_type();
159780
+ init_enum();
159568
159781
  init_basic();
159569
159782
  var manifest$61 = {
159570
159783
  key: "field:product_check_qty",
@@ -159578,7 +159791,10 @@ var manifest$61 = {
159578
159791
  propsSchema: "schema:field-number",
159579
159792
  defaultProps: {
159580
159793
  ...commonDefaultProps,
159581
- ...numberFieldDefaultProps
159794
+ ...numberFieldDefaultProps,
159795
+ enableRangeValidate: true,
159796
+ minValidateMode: RangeValidateModeTypeConst.Fixed_Number,
159797
+ minValue: 0
159582
159798
  },
159583
159799
  computed: { defaultValueRule: labelPriorityConfig }
159584
159800
  };
@@ -159607,6 +159823,7 @@ var manifest$60 = {
159607
159823
  //#region src/suites/edhr/manifest/field/business/production-qty-manifest.ts
159608
159824
  var production_qty_manifest_exports = /* @__PURE__ */ __exportAll({ manifest: () => manifest$59 });
159609
159825
  init_field_type();
159826
+ init_enum();
159610
159827
  init_basic();
159611
159828
  var manifest$59 = {
159612
159829
  key: "field:production_qty",
@@ -159620,7 +159837,10 @@ var manifest$59 = {
159620
159837
  propsSchema: "schema:field-number",
159621
159838
  defaultProps: {
159622
159839
  ...commonDefaultProps,
159623
- ...numberFieldDefaultProps
159840
+ ...numberFieldDefaultProps,
159841
+ enableRangeValidate: true,
159842
+ minValidateMode: RangeValidateModeTypeConst.Fixed_Number,
159843
+ minValue: 0
159624
159844
  },
159625
159845
  computed: { defaultValueRule: labelPriorityConfig }
159626
159846
  };
@@ -159798,6 +160018,7 @@ var manifest$52 = {
159798
160018
  //#region src/suites/edhr/manifest/field/business/scrap-qty-manifest.ts
159799
160019
  var scrap_qty_manifest_exports = /* @__PURE__ */ __exportAll({ manifest: () => manifest$51 });
159800
160020
  init_field_type();
160021
+ init_enum();
159801
160022
  init_basic();
159802
160023
  var manifest$51 = {
159803
160024
  key: "field:scrap_qty",
@@ -159811,7 +160032,10 @@ var manifest$51 = {
159811
160032
  propsSchema: "schema:field-number",
159812
160033
  defaultProps: {
159813
160034
  ...commonDefaultProps,
159814
- ...numberFieldDefaultProps
160035
+ ...numberFieldDefaultProps,
160036
+ enableRangeValidate: true,
160037
+ minValidateMode: RangeValidateModeTypeConst.Fixed_Number,
160038
+ minValue: 0
159815
160039
  },
159816
160040
  computed: { defaultValueRule: labelPriorityConfig }
159817
160041
  };
@@ -159847,6 +160071,7 @@ var manifest$50 = {
159847
160071
  //#region src/suites/edhr/manifest/field/business/work-hours-manifest.ts
159848
160072
  var work_hours_manifest_exports = /* @__PURE__ */ __exportAll({ manifest: () => manifest$49 });
159849
160073
  init_field_type();
160074
+ init_enum();
159850
160075
  init_basic();
159851
160076
  var manifest$49 = {
159852
160077
  key: "field:work_hours",
@@ -159860,7 +160085,10 @@ var manifest$49 = {
159860
160085
  propsSchema: "schema:field-number",
159861
160086
  defaultProps: {
159862
160087
  ...commonDefaultProps,
159863
- ...numberFieldDefaultProps
160088
+ ...numberFieldDefaultProps,
160089
+ enableRangeValidate: true,
160090
+ minValidateMode: RangeValidateModeTypeConst.Fixed_Number,
160091
+ minValue: 0
159864
160092
  },
159865
160093
  computed: { defaultValueRule: labelPriorityConfig }
159866
160094
  };
@@ -160434,6 +160662,7 @@ var manifest$26 = {
160434
160662
  //#region src/suites/edhr/manifest/field/object-type/qty-consumed-manifest.ts
160435
160663
  var qty_consumed_manifest_exports = /* @__PURE__ */ __exportAll({ manifest: () => manifest$25 });
160436
160664
  init_field_type();
160665
+ init_enum();
160437
160666
  init_basic();
160438
160667
  var manifest$25 = {
160439
160668
  key: "field:qty-consumed",
@@ -160447,7 +160676,10 @@ var manifest$25 = {
160447
160676
  propsSchema: "schema:field-number",
160448
160677
  defaultProps: {
160449
160678
  ...commonDefaultProps,
160450
- ...numberFieldDefaultProps
160679
+ ...numberFieldDefaultProps,
160680
+ enableRangeValidate: true,
160681
+ minValidateMode: RangeValidateModeTypeConst.Fixed_Number,
160682
+ minValue: 0
160451
160683
  },
160452
160684
  computed: { defaultValueRule: labelPriorityConfig }
160453
160685
  };
@@ -160455,6 +160687,7 @@ var manifest$25 = {
160455
160687
  //#region src/suites/edhr/manifest/field/object-type/qty-manifest.ts
160456
160688
  var qty_manifest_exports = /* @__PURE__ */ __exportAll({ manifest: () => manifest$24 });
160457
160689
  init_field_type();
160690
+ init_enum();
160458
160691
  init_basic();
160459
160692
  var manifest$24 = {
160460
160693
  key: "field:qty",
@@ -160468,7 +160701,10 @@ var manifest$24 = {
160468
160701
  propsSchema: "schema:field-number",
160469
160702
  defaultProps: {
160470
160703
  ...commonDefaultProps,
160471
- ...numberFieldDefaultProps
160704
+ ...numberFieldDefaultProps,
160705
+ enableRangeValidate: true,
160706
+ minValidateMode: RangeValidateModeTypeConst.Fixed_Number,
160707
+ minValue: 0
160472
160708
  },
160473
160709
  computed: { defaultValueRule: labelPriorityConfig }
160474
160710
  };
@@ -160476,6 +160712,7 @@ var manifest$24 = {
160476
160712
  //#region src/suites/edhr/manifest/field/object-type/qty-required-manifest.ts
160477
160713
  var qty_required_manifest_exports = /* @__PURE__ */ __exportAll({ manifest: () => manifest$23 });
160478
160714
  init_field_type();
160715
+ init_enum();
160479
160716
  init_basic();
160480
160717
  var manifest$23 = {
160481
160718
  key: "field:qty-required",
@@ -160489,7 +160726,10 @@ var manifest$23 = {
160489
160726
  propsSchema: "schema:field-number",
160490
160727
  defaultProps: {
160491
160728
  ...commonDefaultProps,
160492
- ...numberFieldDefaultProps
160729
+ ...numberFieldDefaultProps,
160730
+ enableRangeValidate: true,
160731
+ minValidateMode: RangeValidateModeTypeConst.Fixed_Number,
160732
+ minValue: 0
160493
160733
  },
160494
160734
  computed: { defaultValueRule: labelPriorityConfig }
160495
160735
  };
@@ -160873,6 +161113,7 @@ function loadFieldManifestModules() {
160873
161113
  "./basic/time-manifest.ts": time_manifest_exports,
160874
161114
  "./business/destructive-test-qty-manifest.ts": destructive_test_qty_manifest_exports,
160875
161115
  "./business/good-qty-manifest.ts": good_qty_manifest_exports,
161116
+ "./business/inspection-module-qty-manifest.ts": inspection_module_qty_manifest_exports,
160876
161117
  "./business/inspection-qty-manifest.ts": inspection_qty_manifest_exports,
160877
161118
  "./business/material-check-qty-manifest.ts": material_check_qty_manifest_exports,
160878
161119
  "./business/not-good-group-manifest.ts": not_good_group_manifest_exports,
@@ -175642,7 +175883,8 @@ var number_range_editor_vue_vue_type_script_setup_true_lang_default = /*@__PURE_
175642
175883
  minExprStr: {},
175643
175884
  maxCompareOp: {},
175644
175885
  minCompareOp: {},
175645
- precision: {}
175886
+ precision: {},
175887
+ min: {}
175646
175888
  },
175647
175889
  emits: [
175648
175890
  "update:enableRangeValidate",
@@ -175709,7 +175951,7 @@ var number_range_editor_vue_vue_type_script_setup_true_lang_default = /*@__PURE_
175709
175951
  upper: Infinity
175710
175952
  }));
175711
175953
  const minLimit = computed(() => ({
175712
- lower: -Infinity,
175954
+ lower: props.min ?? -Infinity,
175713
175955
  upper: isNil(_maxValue.value) ? Infinity : _maxValue.value
175714
175956
  }));
175715
175957
  return (_ctx, _cache) => {
@@ -175778,10 +176020,13 @@ var number_range_editor_vue_vue_type_script_setup_true_lang_default = /*@__PURE_
175778
176020
  //#endregion
175779
176021
  //#region src/suites/shared/panel/config/editor/number-range-editor/number-range-editor.vue
175780
176022
  init__plugin_vue_export_helper();
175781
- var number_range_editor_default = /*#__PURE__*/ _plugin_vue_export_helper_default(number_range_editor_vue_vue_type_script_setup_true_lang_default, [["__scopeId", "data-v-280d07fa"]]);
176023
+ var number_range_editor_default = /*#__PURE__*/ _plugin_vue_export_helper_default(number_range_editor_vue_vue_type_script_setup_true_lang_default, [["__scopeId", "data-v-187e1d4a"]]);
175782
176024
  //#endregion
175783
176025
  //#region src/suites/edhr/panel-config/field/number/field-number-config.vue?vue&type=script&setup=true&lang.ts
175784
176026
  init_field_type();
176027
+ init_registry$5();
176028
+ init_core();
176029
+ init__register_();
175785
176030
  init_enum();
175786
176031
  var _hoisted_1$27 = { class: "panel-field-number-config" };
175787
176032
  var field_number_config_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineComponent({
@@ -175794,6 +176039,17 @@ var field_number_config_vue_vue_type_script_setup_true_lang_default = /*@__PURE_
175794
176039
  setup(__props) {
175795
176040
  const props = __props;
175796
176041
  const formState = toRef(props, "widgetPropsMeta");
176042
+ const designCtx = useDesignSuiteContext();
176043
+ const { docInst } = useDocPubApiContext();
176044
+ const lowerBoundInputMin = computed(() => {
176045
+ var _getBusinessFieldProf, _designCtx$getFieldMa;
176046
+ const parentField = props.fieldData.subFieldKey ? docInst.value.fieldModelQuery.getFieldByKeyAsync(docInst.value.mainModelKey, props.fieldData.subFieldKey) : void 0;
176047
+ return [(_getBusinessFieldProf = getBusinessFieldProfileByRefModelType(parentField === null || parentField === void 0 ? void 0 : parentField.refModelType, {
176048
+ key: props.fieldInfo.key,
176049
+ type: props.fieldInfo.type,
176050
+ bizType: props.fieldInfo.bizType
176051
+ })) === null || _getBusinessFieldProf === void 0 ? void 0 : _getBusinessFieldProf.defaultProps, (_designCtx$getFieldMa = designCtx.getFieldManifest(props.fieldData.fieldType)) === null || _designCtx$getFieldMa === void 0 ? void 0 : _designCtx$getFieldMa.defaultProps].some((defaults) => (defaults === null || defaults === void 0 ? void 0 : defaults.enableRangeValidate) === true && defaults.minValidateMode === RangeValidateModeTypeConst.Fixed_Number && defaults.minValue === 0) ? 0 : void 0;
176052
+ });
175797
176053
  const showDigitsEditor = computed(() => props.fieldData.fieldType === FIELD_TYPE.DECIMAL);
175798
176054
  const showDisplayModeEditor = computed(() => props.fieldData.fieldType === FIELD_TYPE.DECIMAL || props.fieldData.fieldType === FIELD_TYPE.DOUBLE);
175799
176055
  const fieldDigits = computed(() => {
@@ -175947,7 +176203,8 @@ var field_number_config_vue_vue_type_script_setup_true_lang_default = /*@__PURE_
175947
176203
  "onUpdate:maxCompareOp": _cache[18] || (_cache[18] = ($event) => formState.value.maxCompareOp = $event),
175948
176204
  "min-compare-op": formState.value.minCompareOp,
175949
176205
  "onUpdate:minCompareOp": _cache[19] || (_cache[19] = ($event) => formState.value.minCompareOp = $event),
175950
- precision: fieldDigits.value
176206
+ precision: fieldDigits.value,
176207
+ min: lowerBoundInputMin.value
175951
176208
  }, null, 8, [
175952
176209
  "enable-range-validate",
175953
176210
  "max-validate-mode",
@@ -175960,7 +176217,8 @@ var field_number_config_vue_vue_type_script_setup_true_lang_default = /*@__PURE_
175960
176217
  "min-expr-str",
175961
176218
  "max-compare-op",
175962
176219
  "min-compare-op",
175963
- "precision"
176220
+ "precision",
176221
+ "min"
175964
176222
  ])
175965
176223
  ]);
175966
176224
  };
@@ -175970,7 +176228,7 @@ var field_number_config_vue_vue_type_script_setup_true_lang_default = /*@__PURE_
175970
176228
  //#region src/suites/edhr/panel-config/field/number/field-number-config.vue
175971
176229
  var field_number_config_exports = /* @__PURE__ */ __exportAll({ default: () => field_number_config_default });
175972
176230
  init__plugin_vue_export_helper();
175973
- var field_number_config_default = /*#__PURE__*/ _plugin_vue_export_helper_default(field_number_config_vue_vue_type_script_setup_true_lang_default, [["__scopeId", "data-v-77c78e3e"]]);
176231
+ var field_number_config_default = /*#__PURE__*/ _plugin_vue_export_helper_default(field_number_config_vue_vue_type_script_setup_true_lang_default, [["__scopeId", "data-v-05351bb5"]]);
175974
176232
  //#endregion
175975
176233
  //#region src/suites/edhr/panel-config/field/org/field-org-config.vue?vue&type=script&setup=true&lang.ts
175976
176234
  init_enum();