@gct-paas/excel 0.1.40-beta.0 → 0.1.40-beta.10

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.
Files changed (164) hide show
  1. package/dist/{BaseComponent-BTolXjlE.js → BaseComponent-DKaXUiq4.js} +2 -2
  2. package/dist/{VueVideoPlayer-Dvf7Ya7H.js → VueVideoPlayer-BeylL5J6.js} +2 -2
  3. package/dist/{align-editor-jp0NsOnT.js → align-editor-r0dHXFka.js} +1 -1
  4. package/dist/{barcode-design-ClfdoOKn.js → barcode-design-BCJkI4mq.js} +2 -2
  5. package/dist/base/index.es.js +668 -262
  6. package/dist/{diagonal-design-Br0xpyqC.js → diagonal-design-CAILyrwR.js} +2 -2
  7. package/dist/{dynamic-table-action-C-HIKtZG.js → dynamic-table-action-CHY5xNLE.js} +482 -286
  8. package/dist/{dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-BHExrYFJ.js → dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-8yB6zly8.js} +1181 -696
  9. package/dist/{edit.utils-CXmmCnxE-D4-n_eOM.js → edit.utils-CXmmCnxE-Cu6obgSA.js} +1 -1
  10. package/dist/excel.css +3304 -4069
  11. package/dist/{exceljs.min-BH63KI8s.js → exceljs.min-CuCLHH9n.js} +2 -2
  12. package/dist/{font-editor-QSpu9bjJ.js → font-editor-DsrS0BQJ.js} +3 -3
  13. package/dist/{image-design-ySQAmnTF.js → image-design-FDLY6DFg.js} +2 -2
  14. package/dist/{index-CN-rY-3F.js → index-7u6Pmaax.js} +1 -1
  15. package/dist/{index-D3IdoYWe.js → index-AGp5c3cl.js} +2 -2
  16. package/dist/{index-Ca8q7yXC.js → index-B-hfUWEs.js} +2 -2
  17. package/dist/{index-CMOvPSr6.js → index-B8pwnxas.js} +2 -2
  18. package/dist/{index-ibQys99q.js → index-BCsDTwbK.js} +1 -1
  19. package/dist/{index-D9zBCWpE.js → index-BIeu5JwZ.js} +2 -2
  20. package/dist/{index-oOLbaFI8.js → index-BPc_QQH5.js} +19468 -21212
  21. package/dist/{index-C2RMbM6E.js → index-BTfYHAPC.js} +2 -2
  22. package/dist/{index-BXXvFDgt.js → index-BdFPuj12.js} +1 -1
  23. package/dist/{index-QTmeSdj9.js → index-BsVPhbAx.js} +6 -3
  24. package/dist/{index-FSCxAVGq.js → index-C3SyXJii.js} +2 -2
  25. package/dist/{index-BxEjRF0o.js → index-C6jVSwAq.js} +2 -2
  26. package/dist/{index-uVpJOLb3.js → index-CFVecFFb.js} +53 -5
  27. package/dist/{index-C7DwXZ-K.js → index-CRIhEnfm.js} +1 -1
  28. package/dist/{index-Cf7KwZfa.js → index-CRW2rDyo.js} +6 -5
  29. package/dist/{index-DZGqXE3S.js → index-CTJlsdnr.js} +3 -3
  30. package/dist/{index-4_qe7Eco.js → index-CbmHekMw.js} +2 -2
  31. package/dist/{index-Qf8D5LdT.js → index-CwK_A9FR.js} +3 -3
  32. package/dist/{index-DbPA5PUX.js → index-DEHsGK91.js} +1 -1
  33. package/dist/{index-CvDQjwre.js → index-DGODLCja.js} +1 -1
  34. package/dist/{index-8yhxxqYM.js → index-DJiuJgNx.js} +1 -1
  35. package/dist/{index-BJ6ZaX-f.js → index-DOd1pUIe.js} +2 -2
  36. package/dist/{index-DYxskDRv.js → index-DPGs3mX0.js} +3 -3
  37. package/dist/{index-BOaDYNtp.js → index-DXNSTk5n.js} +2 -2
  38. package/dist/{index-BHiNdrGr.js → index-De6oWEZJ.js} +2 -2
  39. package/dist/{index-nBc_3R3r.js → index-DgLLlaiF.js} +1 -1
  40. package/dist/{index-B3mCVcXB.js → index-DkYlfWLa.js} +2 -2
  41. package/dist/{index-dhaw5vxN.js → index-Dl_ZgCRB.js} +3 -3
  42. package/dist/{index-BJQd1G0r.js → index-DoVHKpph.js} +6 -5
  43. package/dist/{index-CTO4kNz9.js → index-Go0PUrqy.js} +1 -1
  44. package/dist/{index-Cb-I6DkL.js → index-KxrgWfEL.js} +1 -1
  45. package/dist/{index-B6Bs-q34.js → index-dXOMuxrp.js} +2 -2
  46. package/dist/{index-CUrMIr2v.js → index-etlM6HzI.js} +2 -2
  47. package/dist/{index-2FWN7Q91.js → index-gGYvWSjX.js} +2 -2
  48. package/dist/{index-COx1-SPe.js → index-rZVFumSM.js} +2 -2
  49. package/dist/index.es.js +12 -10
  50. package/dist/{mb-render-BRejJNP-.js → mb-render-_IUbyYCY.js} +9 -3
  51. package/dist/{online-form-model-select.vue_vue_type_script_setup_true_name_online-form-model-select_lang-QX4lxsni.js → online-form-model-select.vue_vue_type_script_setup_true_name_online-form-model-select_lang-CnQiVFDN.js} +8 -1
  52. package/dist/{pagination-design-pTh3Fqbz.js → pagination-design-DsOKY9kM.js} +2 -2
  53. package/dist/paper-widget-design-BTxXtF4f.js +4 -0
  54. package/dist/{print-runtime-instance-CBUjws4D.js → print-runtime-instance-lfLuU2No.js} +1 -1
  55. package/dist/{print-snapshot-renderer-s0IhY_T_.js → print-snapshot-renderer-Di-YZz7g.js} +3 -3
  56. package/dist/{qrcode-design-CnKOb-s9.js → qrcode-design-BGptsxHU.js} +1 -1
  57. package/dist/{revo-grid.entry-BqbaKcyR.js → revo-grid.entry-BZADj2ve.js} +1 -1
  58. package/dist/{revogr-attribution_7.entry-jmN78nkb.js → revogr-attribution_7.entry-DbQASE7d.js} +3 -3
  59. package/dist/{revogr-clipboard_3.entry-eK74i7_f.js → revogr-clipboard_3.entry-BUDhUelS.js} +2 -2
  60. package/dist/{revogr-data_4.entry-D2lAUBEM.js → revogr-data_4.entry-0V57Lz9p.js} +2 -2
  61. package/dist/{revogr-filter-panel.entry-C-1WXBDy.js → revogr-filter-panel.entry-BJEYteeW.js} +1 -1
  62. package/dist/seal-design-BS24iQos.js +4 -0
  63. package/dist/{serialnumber-design-DEYD9ku_.js → serialnumber-design-BbjW4gnZ.js} +1 -1
  64. package/dist/shared/index.es.js +26 -24
  65. package/dist/{single-field-drop-Bd3PcWQF.js → single-field-drop-DP6_SO_H.js} +2 -2
  66. package/dist/{size-editor-DiZ8E2R6.js → size-editor-CcYZKUn5.js} +1 -1
  67. package/dist/src/domain/document-business/business/product-release/profile.d.ts +2 -0
  68. package/dist/src/domain/document-business/business/product-release/service.d.ts +2 -0
  69. package/dist/src/domain/document-business/index.d.ts +2 -0
  70. package/dist/src/domain/document-business/registry.d.ts +2 -0
  71. package/dist/src/domain/document-business/runtime/field-query-runtime.d.ts +4 -0
  72. package/dist/src/domain/document-business/types.d.ts +24 -0
  73. package/dist/src/domain/field/number/product-release-qty-manifest.d.ts +2 -0
  74. package/dist/src/domain/field/query-filter.d.ts +15 -0
  75. package/dist/src/domain/table/business/material/material-balance/profile/fields.d.ts +2 -0
  76. package/dist/src/domain/table/business/material/material-consume/profile/fields.d.ts +2 -0
  77. package/dist/src/domain/table/business/material/material-substitution/profile/field-keys.d.ts +37 -1
  78. package/dist/src/domain/table/business/material/material-substitution/runtime/row-change-handlers.d.ts +3 -0
  79. package/dist/src/domain/table/business/material/material-substitution/runtime/select-loaders.d.ts +8 -0
  80. package/dist/src/domain/table/business/preprocess/pretreatment-list/profile/field-keys.d.ts +1 -7
  81. package/dist/src/domain/table/business/sterilize/entrust-steril-batch-list/profile/field-keys.d.ts +2 -0
  82. package/dist/src/domain/table/business/sterilize/entrust-steril-batch-list/profile/fields.d.ts +2 -0
  83. package/dist/src/domain/table/business/warehouse/shared/autofill-source-labels.d.ts +19 -0
  84. package/dist/src/domain/table/design/autofill-expander.d.ts +2 -0
  85. package/dist/src/domain/table/design/hooks/on-field-attach.d.ts +6 -0
  86. package/dist/src/domain/table/index.d.ts +1 -1
  87. package/dist/src/domain/table/types.d.ts +2 -0
  88. package/dist/src/index.d.ts +2 -0
  89. package/dist/src/nocode-base/src/core/sub-table/allocate-table-core.d.ts +2 -1
  90. package/dist/src/nocode-base/src/core/sub-table/pretreatment-list-table-core.d.ts +1 -0
  91. package/dist/src/nocode-base/src/core/sub-table/profile-driven-sub-table-core.d.ts +3 -3
  92. package/dist/src/nocode-base/src/core/sub-table/sub-table-core.d.ts +2 -1
  93. package/dist/src/nocode-base/src/core/sub-table/utils/sterilize/field-keys.d.ts +1 -2
  94. package/dist/src/nocode-base/src/hooks/form-model/form-model-controller.d.ts +2 -0
  95. package/dist/src/nocode-base/src/hooks/formula-params-cache.d.ts +15 -0
  96. package/dist/src/nocode-base/src/hooks/inspection-module-qty.d.ts +4 -0
  97. package/dist/src/nocode-base/src/hooks/material-consume/material-consume-table-controller.d.ts +1 -0
  98. package/dist/src/nocode-base/src/hooks/material-consume/tmpl-bom-controller.d.ts +12 -7
  99. package/dist/src/nocode-base/src/hooks/material-consume-object/bom-validator.d.ts +4 -3
  100. package/dist/src/nocode-base/src/hooks/material-consume-object/initialize-autofill.d.ts +17 -0
  101. package/dist/src/nocode-base/src/hooks/material-consume-object/object-validation-controller.d.ts +24 -0
  102. package/dist/src/nocode-base/src/hooks/render-page/initialize-runtime.d.ts +3 -7
  103. package/dist/src/nocode-base/src/hooks/render-page/sterilization-date.d.ts +3 -0
  104. package/dist/src/nocode-base/src/hooks/render-page/types.d.ts +4 -1
  105. package/dist/src/nocode-base/src/hooks/useCalcFunction.d.ts +8 -2
  106. package/dist/src/nocode-base/src/hooks/useRenderPageFactory.d.ts +7 -6
  107. package/dist/src/nocode-base/src/hooks/validation/createValidateFactory.d.ts +1 -0
  108. package/dist/src/nocode-base/src/interface/ref-loader.d.ts +12 -1
  109. package/dist/src/nocode-base/src/interface/render.d.ts +3 -1
  110. package/dist/src/nocode-base/src/interface/transform.d.ts +9 -1
  111. package/dist/src/nocode-base/src/runtime/async-task-coordinator.d.ts +6 -2
  112. package/dist/src/nocode-base/src/runtime/multi-sheet-runtime.d.ts +2 -0
  113. package/dist/src/nocode-base/src/runtime/runtime-field-initializer.d.ts +2 -1
  114. package/dist/src/nocode-base/src/runtime/runtime-form-state-store.d.ts +6 -0
  115. package/dist/src/nocode-base/src/runtime/runtime-validation-service.d.ts +1 -0
  116. package/dist/src/nocode-base/src/runtime/table-row-identity.d.ts +11 -2
  117. package/dist/src/nocode-base/src/types/common/base.d.ts +2 -0
  118. package/dist/src/nocode-base/src/types/fields/i-sign.d.ts +1 -1
  119. package/dist/src/nocode-base/src/types/render/mc-render.d.ts +1 -1
  120. package/dist/src/nocode-base/src/types/render/sub-table-render.d.ts +5 -1
  121. package/dist/src/nocode-web-render/src/render/sub-table/common/inventory-scan-columns.d.ts +6 -0
  122. package/dist/src/nocode-web-render/src/render/sub-table/material-consume/mc-web-render.d.ts +1 -1
  123. package/dist/src/online-form/src/views/__cell_widgets__/cell-widget-design.vue.d.ts +1 -0
  124. package/dist/src/online-form/src/views/__cell_widgets__/common/display-fields-editor/display-fields.util.d.ts +2 -2
  125. package/dist/src/online-form/src/views/__cell_widgets__/fake-field/fake-option-select.vue.d.ts +1 -0
  126. package/dist/src/online-form/src/views/designer/constants/index.d.ts +1 -0
  127. package/dist/src/online-form/src/views/designer/conversions/normalize-paper-grid.d.ts +3 -0
  128. package/dist/src/online-form/src/views/designer/utils/placed-fields.d.ts +9 -0
  129. package/dist/src/online-form/src/views/designer/utils/template-placed-fields.d.ts +7 -0
  130. package/dist/src/online-form/src/views/render/__components__/_field_/seal/component/seal-floating-field.vue.d.ts +0 -1
  131. package/dist/src/online-form/src/views/render/__components__/_field_/seal/component/seal-runtime-layer.vue.d.ts +0 -1
  132. package/dist/src/online-form/src/views/render/__components__/_field_/seal/component/use-seal-stamp.d.ts +1 -4
  133. package/dist/src/online-form/src/views/render/__components__/_field_/trace/utils/use-rule-props.d.ts +0 -3
  134. package/dist/src/online-form/src/views/render/sheet-tab-bar.vue.d.ts +5 -3
  135. package/dist/src/shared/components/DoubleInput/double-input.vue.d.ts +162 -2
  136. package/dist/src/shared/components/LimitedNumberInput/limited-number-input.vue.d.ts +41 -0
  137. package/dist/src/shared/components/LimitedNumberInput/number-input-rules.d.ts +16 -0
  138. package/dist/src/shared/components/Signature/logic/index.d.ts +15 -1
  139. package/dist/src/shared/enum/field-type.d.ts +9 -2
  140. package/dist/src/shared/enum/index.d.ts +2 -0
  141. package/dist/src/shared/enum/product-type.d.ts +9 -0
  142. package/dist/src/shared/enum/production-identification.d.ts +19 -0
  143. package/dist/src/shared/utils/withRequestCache.d.ts +27 -0
  144. package/dist/{sub-table-factory-B6HdlZ7-.js → sub-table-factory-B0YWwWSA.js} +233 -152
  145. package/dist/{text-design-D2IwsbOW.js → text-design-CquXT5UG.js} +2 -2
  146. package/dist/{throttle-Cpk1LoGk-DRpYOKiV.js → throttle-Cpk1LoGk-BVommE6v.js} +1 -1
  147. package/dist/{timediff-design-Cq3SADlb.js → timediff-design-DLlIUaqv.js} +1 -1
  148. package/dist/{trace-like-wrapper-Qmczl-Hz.js → trace-like-wrapper-BXA26KJX.js} +2 -2
  149. package/dist/{value-editor.vue_vue_type_style_index_0_lang-UXPOa0Wv.js → value-editor.vue_vue_type_style_index_0_lang-BE_003Cm.js} +2 -2
  150. package/dist/web-render/index.es.js +3 -3
  151. package/dist/{widget-barcode-C7wO0SFO.js → widget-barcode-DSLB1Wm3.js} +4 -4
  152. package/dist/{widget-diagonal-Cbuv8o5A.js → widget-diagonal-8alLoPL6.js} +3 -3
  153. package/dist/{widget-image-4AeqjwGp.js → widget-image-BmP7Adg_.js} +5 -5
  154. package/dist/{widget-line--RgXiyvO.js → widget-line-D9S0mzzT.js} +2 -2
  155. package/dist/{widget-pagination-jr6bVWPW.js → widget-pagination-BR3w_OHu.js} +5 -5
  156. package/dist/{widget-power-ptilZfAF.js → widget-power-DCV70vg5.js} +3 -3
  157. package/dist/{widget-qrcode-DH-1741M.js → widget-qrcode-CTzBIYUi.js} +3 -3
  158. package/dist/{widget-rangelimit-B4yv3Qw3.js → widget-rangelimit-1aqxil7q.js} +3 -3
  159. package/dist/{widget-serialnumber-AZ2IUJTg.js → widget-serialnumber-B-2Ey17u.js} +1 -1
  160. package/dist/{widget-text-CW0A1n16.js → widget-text-B1REfHTG.js} +5 -5
  161. package/dist/{widget-timediff-C3xTGqfj.js → widget-timediff-DRoMv5aa.js} +2 -2
  162. package/package.json +2 -2
  163. package/dist/paper-widget-design-CBI-8vTV.js +0 -4
  164. package/dist/seal-design-CMJBAfIN.js +0 -4
@@ -478,6 +478,17 @@ const PaperSizeMap = computed(() => ({
478
478
  size: void 0
479
479
  }
480
480
  }));
481
+ var ProductionIdentificationTypeEnum = /* @__PURE__ */ ((ProductionIdentificationTypeEnum2) => {
482
+ ProductionIdentificationTypeEnum2["MATERIAL"] = "MATERIAL";
483
+ ProductionIdentificationTypeEnum2["LOT"] = "LOT";
484
+ ProductionIdentificationTypeEnum2["SN"] = "SN";
485
+ ProductionIdentificationTypeEnum2["STERILIZATION"] = "STERILIZATION";
486
+ ProductionIdentificationTypeEnum2["INSPECTION_CONTAINER"] = "INSPECTION_CONTAINER";
487
+ ProductionIdentificationTypeEnum2["LEGACY_INSPECTION"] = "inspection";
488
+ ProductionIdentificationTypeEnum2["PACK_BOX"] = "PACK_BOX";
489
+ ProductionIdentificationTypeEnum2["UDI"] = "UDI";
490
+ return ProductionIdentificationTypeEnum2;
491
+ })(ProductionIdentificationTypeEnum || {});
481
492
  var CardControlEnum = /* @__PURE__ */ ((CardControlEnum2) => {
482
493
  CardControlEnum2["CHECK"] = "check";
483
494
  CardControlEnum2["CHECK2TIP"] = "check2tip";
@@ -631,6 +642,7 @@ var FIELD_TYPE = /* @__PURE__ */ ((FIELD_TYPE2) => {
631
642
  FIELD_TYPE2["SCRAP_MATERIAL_NO"] = "scrap_material_no";
632
643
  FIELD_TYPE2["DESTRUCTIVE_TEST_QTY"] = "destructive_test_qty";
633
644
  FIELD_TYPE2["PRODUCT_CHECK_QTY"] = "product_check_qty";
645
+ FIELD_TYPE2["PRODUCT_RELEASE_QTY"] = "product_release_qty";
634
646
  FIELD_TYPE2["MATERIAL_CHECK_QTY"] = "material_check_qty";
635
647
  FIELD_TYPE2["INSPECTION_QTY"] = "inspection_qty";
636
648
  FIELD_TYPE2["INSPECTION_MODULE_QTY"] = "inspection_module_qty";
@@ -731,6 +743,7 @@ const BUSINESS_FIELD_TYPES = [
731
743
  "scrap_material_no",
732
744
  "destructive_test_qty",
733
745
  "product_check_qty",
746
+ "product_release_qty",
734
747
  "material_check_qty",
735
748
  "inspection_qty",
736
749
  "inspection_module_qty",
@@ -1049,6 +1062,10 @@ const FieldTypeToJs = {
1049
1062
  "product_check_qty"
1050
1063
  /* PRODUCT_CHECK_QTY */
1051
1064
  ]: "number",
1065
+ [
1066
+ "product_release_qty"
1067
+ /* PRODUCT_RELEASE_QTY */
1068
+ ]: "number",
1052
1069
  [
1053
1070
  "material_check_qty"
1054
1071
  /* MATERIAL_CHECK_QTY */
@@ -1454,6 +1471,10 @@ const FieldIconMap = {
1454
1471
  "product_check_qty"
1455
1472
  /* PRODUCT_CHECK_QTY */
1456
1473
  ]: "icon-icon_chanpinjianyanshuliang",
1474
+ [
1475
+ "product_release_qty"
1476
+ /* PRODUCT_RELEASE_QTY */
1477
+ ]: "icon-xiaoshu",
1457
1478
  [
1458
1479
  "material_check_qty"
1459
1480
  /* MATERIAL_CHECK_QTY */
@@ -1506,6 +1527,14 @@ const FieldIconMap = {
1506
1527
  "qty"
1507
1528
  /* QTY */
1508
1529
  ]: "icon-shuliang",
1530
+ [
1531
+ "object_type"
1532
+ /* OBJECT_TYPE */
1533
+ ]: "icon-duixiang bd-iconfont",
1534
+ [
1535
+ "material_consume"
1536
+ /* MATERIAL_CONSUME */
1537
+ ]: "icon-field-product",
1509
1538
  [
1510
1539
  "model_relation"
1511
1540
  /* MODEL_RELATION */
@@ -1778,6 +1807,16 @@ const profile$i = {
1778
1807
  refModelType: "WAREHOUSE_IN_OUT",
1779
1808
  tableType: SubTableType.WAREHOUSE_IN_OUT
1780
1809
  },
1810
+ fields: [
1811
+ {
1812
+ match: { fieldKey: "qty_" },
1813
+ defaultProps: {
1814
+ enableRangeValidate: true,
1815
+ minValidateMode: RangeValidateMode.Fixed_Number,
1816
+ minValue: 0
1817
+ }
1818
+ }
1819
+ ],
1781
1820
  theme: {
1782
1821
  color: "#08A2B6",
1783
1822
  background: "rgba(8,162,182,0.2)",
@@ -1901,7 +1940,14 @@ function applyFillFromMaterialNoOption(row, source) {
1901
1940
  return applyFillFromMapping$1(row, source, FILL_FROM_MATERIAL_NO_OPTION);
1902
1941
  }
1903
1942
  function applyFillFromProductOption$1(row, source) {
1904
- return applyFillFromMapping$1(row, source, FILL_FROM_PRODUCT_OPTION$1);
1943
+ const defaults2 = source.__DEFAULT__;
1944
+ const product = defaults2 && typeof defaults2 === "object" ? Object.fromEntries(
1945
+ FILL_FROM_PRODUCT_OPTION$1.map(({ optionField }) => [
1946
+ optionField,
1947
+ defaults2[optionField] ?? source[optionField]
1948
+ ])
1949
+ ) : source;
1950
+ return applyFillFromMapping$1(row, product, FILL_FROM_PRODUCT_OPTION$1);
1905
1951
  }
1906
1952
  function isBlank$d(value) {
1907
1953
  return value === void 0 || value === null || value === "";
@@ -1916,7 +1962,7 @@ const PRODUCT_QUICK_SEARCH_FIELDS = [
1916
1962
  "spec_.like"
1917
1963
  ];
1918
1964
  const PRODUCT_QUICK_SEARCH_EXP = `OR(${PRODUCT_QUICK_SEARCH_FIELDS.join(",")})`;
1919
- const fields$d = [
1965
+ const fields$g = [
1920
1966
  {
1921
1967
  match: { fieldKey: F$c.product },
1922
1968
  defaultProps: {
@@ -1930,14 +1976,17 @@ const fields$d = [
1930
1976
  autofillTemplates: [
1931
1977
  {
1932
1978
  fromField: "name_",
1979
+ fromFieldLabel: "物料名称",
1933
1980
  toField: ({ sourceFieldKey }) => `${normalizeRefFieldKey(sourceFieldKey)}_name_`
1934
1981
  },
1935
1982
  {
1936
1983
  fromField: "code_",
1984
+ fromFieldLabel: "物料编码",
1937
1985
  toField: ({ sourceFieldKey }) => `${normalizeRefFieldKey(sourceFieldKey)}_code_`
1938
1986
  },
1939
1987
  {
1940
1988
  fromField: "spec_",
1989
+ fromFieldLabel: "物料规格",
1941
1990
  toField: ({ sourceFieldKey }) => `${normalizeRefFieldKey(sourceFieldKey)}_spec_`
1942
1991
  }
1943
1992
  ]
@@ -1949,6 +1998,14 @@ const fields$d = [
1949
1998
  fieldDisabled: true,
1950
1999
  required: false
1951
2000
  }
2001
+ },
2002
+ {
2003
+ match: { fieldKey: F$c.qty },
2004
+ defaultProps: {
2005
+ enableRangeValidate: true,
2006
+ minValidateMode: RangeValidateMode.Fixed_Number,
2007
+ minValue: 0
2008
+ }
1952
2009
  }
1953
2010
  ];
1954
2011
  const TABLE_TYPE$g = "warehouse-in";
@@ -1966,7 +2023,7 @@ const profile$h = {
1966
2023
  refModelType: "WAREHOUSE_IN",
1967
2024
  tableType: SubTableType.WAREHOUSE_IN
1968
2025
  },
1969
- fields: fields$d,
2026
+ fields: fields$g,
1970
2027
  contextAssignments: [
1971
2028
  { when: "onRowInit", fieldKey: F$c.warehouse, paramKey: "warehouseId", onlyIfEmpty: true },
1972
2029
  { when: "onRowInit", fieldKey: F$c.mfgOrder, paramKey: "mfgOrderId", onlyIfEmpty: true },
@@ -2083,7 +2140,7 @@ const FILL_FROM_INVENTORY_OPTION$4 = [
2083
2140
  { optionField: "validate_", toField: F$b.validity },
2084
2141
  { optionField: "re_inspection_date_", toField: F$b.reInspectionDate }
2085
2142
  ];
2086
- const fields$c = [
2143
+ const fields$f = [
2087
2144
  {
2088
2145
  match: { fieldKey: [...DISABLED_INPUT_FIELDS$8] },
2089
2146
  defaultProps: {
@@ -2091,6 +2148,14 @@ const fields$c = [
2091
2148
  fieldDisabled: true,
2092
2149
  required: false
2093
2150
  }
2151
+ },
2152
+ {
2153
+ match: { fieldKey: F$b.qty },
2154
+ defaultProps: {
2155
+ enableRangeValidate: true,
2156
+ minValidateMode: RangeValidateMode.Fixed_Number,
2157
+ minValue: 0
2158
+ }
2094
2159
  }
2095
2160
  ];
2096
2161
  const TABLE_TYPE$f = "warehouse-out";
@@ -2108,7 +2173,7 @@ const profile$g = {
2108
2173
  refModelType: "WAREHOUSE_OUT",
2109
2174
  tableType: SubTableType.WAREHOUSE_OUT
2110
2175
  },
2111
- fields: fields$c,
2176
+ fields: fields$f,
2112
2177
  contextAssignments: [
2113
2178
  { when: "onRowInit", fieldKey: F$b.warehouse, paramKey: "warehouseId", onlyIfEmpty: true },
2114
2179
  { when: "onRowInit", fieldKey: F$b.mfgOrder, paramKey: "mfgOrderId", onlyIfEmpty: true },
@@ -2139,6 +2204,24 @@ function handleProductIdChange$3(ctx) {
2139
2204
  registerRowHandler(TABLE_TYPE$f, "on-product-id-change", ({ rowData }) => {
2140
2205
  handleProductIdChange$3({ rowData });
2141
2206
  });
2207
+ const PART_OPTION_FIELD_LABELS = {
2208
+ part_name_: "备件名称",
2209
+ part_code_: "备件编码",
2210
+ specification_: "备件规格",
2211
+ unit_: "数量单位"
2212
+ };
2213
+ const INVENTORY_OPTION_FIELD_LABELS = {
2214
+ id_: "库存记录",
2215
+ part_id_name_: "备件名称",
2216
+ part_id_code_: "备件编码",
2217
+ part_id_spec_: "备件规格",
2218
+ warehouse_id_: "仓库",
2219
+ storage_zone_id_: "库区",
2220
+ location_id_: "库位",
2221
+ uom_id_: "数量单位",
2222
+ validate_: "有效期",
2223
+ stock_num_: "库存数量"
2224
+ };
2142
2225
  const F$a = {
2143
2226
  /** 备件 */
2144
2227
  part: "part_id_",
@@ -2150,6 +2233,8 @@ const F$a = {
2150
2233
  partCode: "part_id_code_",
2151
2234
  /** 备件规格 */
2152
2235
  partSpec: "part_id_spec_",
2236
+ /** 数量 */
2237
+ qty: "qty_",
2153
2238
  /** 数量单位 */
2154
2239
  qtyUom: "qty_uom_id_",
2155
2240
  /** 仓库 */
@@ -2170,7 +2255,7 @@ const FILL_FROM_PART_OPTION = [
2170
2255
  { optionField: "unit_", toField: F$a.qtyUom }
2171
2256
  ];
2172
2257
  const PART_QUICK_SEARCH_FIELDS = ["part_code_.iLike", "part_name_.iLike"];
2173
- const fields$b = [
2258
+ const fields$e = [
2174
2259
  {
2175
2260
  match: { fieldKey: F$a.part },
2176
2261
  defaultProps: {
@@ -2179,6 +2264,7 @@ const fields$b = [
2179
2264
  },
2180
2265
  autofillTemplates: FILL_FROM_PART_OPTION.map(({ optionField, toField }) => ({
2181
2266
  fromField: optionField,
2267
+ fromFieldLabel: PART_OPTION_FIELD_LABELS[optionField],
2182
2268
  toField
2183
2269
  }))
2184
2270
  },
@@ -2189,6 +2275,14 @@ const fields$b = [
2189
2275
  fieldDisabled: true,
2190
2276
  required: false
2191
2277
  }
2278
+ },
2279
+ {
2280
+ match: { fieldKey: F$a.qty },
2281
+ defaultProps: {
2282
+ enableRangeValidate: true,
2283
+ minValidateMode: RangeValidateMode.Fixed_Number,
2284
+ minValue: 0
2285
+ }
2192
2286
  }
2193
2287
  ];
2194
2288
  const TABLE_TYPE$e = "warehouse-inbound";
@@ -2208,7 +2302,7 @@ const profile$f = {
2208
2302
  refModelType: "WAREHOUSE_INBOUND",
2209
2303
  tableType: SubTableType.WAREHOUSE_INBOUND
2210
2304
  },
2211
- fields: fields$b,
2305
+ fields: fields$e,
2212
2306
  contextAssignments: [
2213
2307
  { when: "onRowInit", fieldKey: F$a.warehouse, paramKey: "warehouseId", onlyIfEmpty: true }
2214
2308
  ],
@@ -2259,7 +2353,9 @@ const F$9 = {
2259
2353
  /** 仓库 */
2260
2354
  warehouse: "warehouse_id_",
2261
2355
  /** 数量单位 */
2262
- qtyUom: "qty_uom_id_"
2356
+ qtyUom: "qty_uom_id_",
2357
+ /** 数量 */
2358
+ qty: "qty_"
2263
2359
  };
2264
2360
  const DISABLED_INPUT_FIELDS$6 = [
2265
2361
  F$9.partLb,
@@ -2293,11 +2389,12 @@ const FILL_FROM_INVENTORY_OPTION$3 = [
2293
2389
  { optionField: "uom_id_", toField: F$9.qtyUom },
2294
2390
  { optionField: "validate_", toField: F$9.validity }
2295
2391
  ];
2296
- const fields$a = [
2392
+ const fields$d = [
2297
2393
  {
2298
2394
  match: { fieldKey: F$9.part },
2299
2395
  autofillTemplates: FILL_FROM_INVENTORY_OPTION$3.map(({ optionField, toField }) => ({
2300
2396
  fromField: optionField,
2397
+ fromFieldLabel: INVENTORY_OPTION_FIELD_LABELS[optionField],
2301
2398
  toField
2302
2399
  }))
2303
2400
  },
@@ -2308,6 +2405,14 @@ const fields$a = [
2308
2405
  fieldDisabled: true,
2309
2406
  required: false
2310
2407
  }
2408
+ },
2409
+ {
2410
+ match: { fieldKey: F$9.qty },
2411
+ defaultProps: {
2412
+ enableRangeValidate: true,
2413
+ minValidateMode: RangeValidateMode.Fixed_Number,
2414
+ minValue: 0
2415
+ }
2311
2416
  }
2312
2417
  ];
2313
2418
  const TABLE_TYPE$d = "warehouse-outbound";
@@ -2327,7 +2432,7 @@ const profile$e = {
2327
2432
  refModelType: "WAREHOUSE_OUTBOUND",
2328
2433
  tableType: SubTableType.WAREHOUSE_OUTBOUND
2329
2434
  },
2330
- fields: fields$a,
2435
+ fields: fields$d,
2331
2436
  rowHandlers: [{ when: "onFieldChange", watch: [F$9.part], handler: "on-part-id-change" }],
2332
2437
  runtimeRules: [
2333
2438
  {
@@ -2469,7 +2574,7 @@ const INVENTORY_BASE_FIELDS = [
2469
2574
  F$8.productSpec,
2470
2575
  F$8.warehouse
2471
2576
  ];
2472
- const fields$9 = [
2577
+ const fields$c = [
2473
2578
  {
2474
2579
  match: { fieldKey: [...DESIGN_DISABLED_INPUT_FIELDS] },
2475
2580
  defaultProps: {
@@ -2524,7 +2629,7 @@ const profile$d = {
2524
2629
  /** 默认按库位精细 */
2525
2630
  stocktakeDimension: STOCKTAKE_DIMENSION.locationDetail
2526
2631
  },
2527
- fields: fields$9,
2632
+ fields: fields$c,
2528
2633
  contextAssignments: [
2529
2634
  { when: "onRowInit", fieldKey: F$8.warehouse, paramKey: "warehouseId", onlyIfEmpty: true }
2530
2635
  ],
@@ -2714,11 +2819,12 @@ const FILL_FROM_INVENTORY_OPTION$2 = [
2714
2819
  { optionField: "stock_num_", toField: F$7.stock },
2715
2820
  { optionField: "uom_id_", toField: F$7.qtyUom }
2716
2821
  ];
2717
- const fields$8 = [
2822
+ const fields$b = [
2718
2823
  {
2719
2824
  match: { fieldKey: F$7.part },
2720
2825
  autofillTemplates: FILL_FROM_INVENTORY_OPTION$2.map(({ optionField, toField }) => ({
2721
2826
  fromField: optionField,
2827
+ fromFieldLabel: INVENTORY_OPTION_FIELD_LABELS[optionField],
2722
2828
  toField
2723
2829
  }))
2724
2830
  },
@@ -2755,7 +2861,7 @@ const profile$c = {
2755
2861
  refModelType: "PART_STOCKTAKE",
2756
2862
  tableType: SubTableType.PART_STOCKTAKE
2757
2863
  },
2758
- fields: fields$8,
2864
+ fields: fields$b,
2759
2865
  rowHandlers: [
2760
2866
  { when: "onFieldChange", watch: [F$7.part], handler: "on-part-id-change" },
2761
2867
  {
@@ -2880,11 +2986,12 @@ const FILL_FROM_INVENTORY_OPTION$1 = [
2880
2986
  { optionField: "storage_zone_id_", toField: F$6.storageZone },
2881
2987
  { optionField: "location_id_", toField: F$6.location }
2882
2988
  ];
2883
- const fields$7 = [
2989
+ const fields$a = [
2884
2990
  {
2885
2991
  match: { fieldKey: F$6.part },
2886
2992
  autofillTemplates: FILL_FROM_INVENTORY_OPTION$1.map(({ optionField, toField }) => ({
2887
2993
  fromField: optionField,
2994
+ fromFieldLabel: INVENTORY_OPTION_FIELD_LABELS[optionField],
2888
2995
  toField
2889
2996
  }))
2890
2997
  },
@@ -2921,7 +3028,7 @@ const profile$b = {
2921
3028
  refModelType: "DEVICE_PART_CONSUME",
2922
3029
  tableType: SubTableType.DEVICE_PART_CONSUME
2923
3030
  },
2924
- fields: fields$7,
3031
+ fields: fields$a,
2925
3032
  rowHandlers: [{ when: "onFieldChange", watch: [F$6.part], handler: "on-part-id-change" }],
2926
3033
  runtimeRules: [
2927
3034
  {
@@ -3027,7 +3134,7 @@ const FILL_FROM_INVENTORY_OPTION = [
3027
3134
  { optionField: "validate_", toField: F$5.validity },
3028
3135
  { optionField: "re_inspection_date_", toField: F$5.reInspectionDate }
3029
3136
  ];
3030
- const fields$6 = [
3137
+ const fields$9 = [
3031
3138
  {
3032
3139
  match: { fieldKey: [...DISABLED_INPUT_FIELDS$3] },
3033
3140
  defaultProps: {
@@ -3035,6 +3142,14 @@ const fields$6 = [
3035
3142
  fieldDisabled: true,
3036
3143
  required: false
3037
3144
  }
3145
+ },
3146
+ {
3147
+ match: { fieldKey: F$5.allocateNum },
3148
+ defaultProps: {
3149
+ enableRangeValidate: true,
3150
+ minValidateMode: RangeValidateMode.Fixed_Number,
3151
+ minValue: 0
3152
+ }
3038
3153
  }
3039
3154
  ];
3040
3155
  const TABLE_TYPE$9 = "warehouse-allocate";
@@ -3052,7 +3167,7 @@ const profile$a = {
3052
3167
  refModelType: "ALLOCATE",
3053
3168
  tableType: SubTableType.ALLOCATE
3054
3169
  },
3055
- fields: fields$6,
3170
+ fields: fields$9,
3056
3171
  contextAssignments: [
3057
3172
  { when: "onRowInit", fieldKey: F$5.originWarehouse, paramKey: "warehouseId", onlyIfEmpty: true },
3058
3173
  { when: "onRowInit", fieldKey: F$5.mfgOrder, paramKey: "mfgOrderId", onlyIfEmpty: true },
@@ -3083,6 +3198,16 @@ function handleProductIdChange$1(ctx) {
3083
3198
  registerRowHandler(TABLE_TYPE$9, "on-product-id-change", ({ rowData }) => {
3084
3199
  handleProductIdChange$1({ rowData });
3085
3200
  });
3201
+ const fields$8 = [
3202
+ {
3203
+ match: { fieldKey: ["qty_", "qty_required_"] },
3204
+ defaultProps: {
3205
+ enableRangeValidate: true,
3206
+ minValidateMode: RangeValidateMode.Fixed_Number,
3207
+ minValue: 0
3208
+ }
3209
+ }
3210
+ ];
3086
3211
  const TABLE_TYPE$8 = "material-consume";
3087
3212
  const profile$9 = {
3088
3213
  type: TABLE_TYPE$8,
@@ -3098,12 +3223,33 @@ const profile$9 = {
3098
3223
  refModelType: "MATERIAL_CONSUME",
3099
3224
  tableType: SubTableType.MATERIAL_CONSUMPTION
3100
3225
  },
3226
+ fields: fields$8,
3101
3227
  theme: {
3102
3228
  color: "#4891B3",
3103
3229
  background: "rgba(72,145,179,0.2)",
3104
3230
  labelBjColor: "rgba(72,145,179,0.8)"
3105
3231
  }
3106
3232
  };
3233
+ const fields$7 = [
3234
+ {
3235
+ match: {
3236
+ fieldKey: ["amount_received_qty_", "actual_output_qty_", "loss_amount_qty_", "consume_qty_"]
3237
+ },
3238
+ defaultProps: {
3239
+ enableRangeValidate: true,
3240
+ minValidateMode: RangeValidateMode.Fixed_Number,
3241
+ minValue: 0
3242
+ }
3243
+ },
3244
+ {
3245
+ match: { fieldKey: ["material_id_", "material_balance_percent_"] },
3246
+ defaultProps: {
3247
+ disabled: true,
3248
+ fieldDisabled: true,
3249
+ required: false
3250
+ }
3251
+ }
3252
+ ];
3107
3253
  const TABLE_TYPE$7 = "material-balance";
3108
3254
  const profile$8 = {
3109
3255
  type: TABLE_TYPE$7,
@@ -3119,6 +3265,7 @@ const profile$8 = {
3119
3265
  refModelType: "MATERIAL_BALANCE",
3120
3266
  tableType: SubTableType.MATERIAL_BALANCE
3121
3267
  },
3268
+ fields: fields$7,
3122
3269
  theme: {
3123
3270
  color: "#6FB38B",
3124
3271
  background: "rgba(111,179,139,0.2)",
@@ -3137,24 +3284,29 @@ const F$4 = {
3137
3284
  /** 工单 */
3138
3285
  mfgOrder: "mfg_order_id_",
3139
3286
  /** 批次/SN */
3140
- lotSn: "lot_sn_id_"
3287
+ lotSn: "lot_sn_id_",
3288
+ /** 收料数量 */
3289
+ qtyRequisition: "qty_requisition_"
3141
3290
  };
3142
3291
  const DISABLED_INPUT_FIELDS$2 = [F$4.productName, F$4.productCode, F$4.productSpec];
3143
3292
  const CLEAR_ON_PRODUCT_EMPTY$1 = [F$4.productName, F$4.productCode, F$4.productSpec];
3144
- const fields$5 = [
3293
+ const fields$6 = [
3145
3294
  {
3146
3295
  match: { fieldKey: F$4.product },
3147
3296
  autofillTemplates: [
3148
3297
  {
3149
3298
  fromField: "name_",
3299
+ fromFieldLabel: "物料名称",
3150
3300
  toField: ({ sourceFieldKey }) => `${normalizeRefFieldKey(sourceFieldKey)}_name_`
3151
3301
  },
3152
3302
  {
3153
3303
  fromField: "code_",
3304
+ fromFieldLabel: "物料编码",
3154
3305
  toField: ({ sourceFieldKey }) => `${normalizeRefFieldKey(sourceFieldKey)}_code_`
3155
3306
  },
3156
3307
  {
3157
3308
  fromField: "spec_",
3309
+ fromFieldLabel: "物料规格",
3158
3310
  toField: ({ sourceFieldKey }) => `${normalizeRefFieldKey(sourceFieldKey)}_spec_`
3159
3311
  }
3160
3312
  ]
@@ -3166,6 +3318,14 @@ const fields$5 = [
3166
3318
  fieldDisabled: true,
3167
3319
  required: false
3168
3320
  }
3321
+ },
3322
+ {
3323
+ match: { fieldKey: F$4.qtyRequisition },
3324
+ defaultProps: {
3325
+ enableRangeValidate: true,
3326
+ minValidateMode: RangeValidateMode.Fixed_Number,
3327
+ minValue: 0
3328
+ }
3169
3329
  }
3170
3330
  ];
3171
3331
  const TABLE_TYPE$6 = "material-requisition";
@@ -3183,7 +3343,7 @@ const profile$7 = {
3183
3343
  refModelType: "MATERIAL_REQUISITION",
3184
3344
  tableType: SubTableType.MATERIAL_REQUISITION
3185
3345
  },
3186
- fields: fields$5,
3346
+ fields: fields$6,
3187
3347
  contextAssignments: [
3188
3348
  { when: "onRowInit", fieldKey: F$4.mfgOrder, paramKey: "mfgOrderId", onlyIfEmpty: true },
3189
3349
  { when: "onRowInit", fieldKey: F$4.lotSn, paramKey: "lotSnId", onlyIfEmpty: true }
@@ -3238,8 +3398,12 @@ const F$3 = {
3238
3398
  targetMaterialNo: "target_material_no_",
3239
3399
  /** 替换物料批号 ID */
3240
3400
  targetMaterialNoId: "target_material_no__id_",
3401
+ /** 替换物料批号展示值 */
3402
+ targetMaterialNoLb: "target_material_no__lb_",
3241
3403
  /** 替换物料 */
3242
3404
  targetProduct: "target_product_id_",
3405
+ /** 替换物料展示值 */
3406
+ targetProductLb: "target_product_id__lb_",
3243
3407
  /** 替换物料名称 */
3244
3408
  targetProductName: "target_product_id_name_",
3245
3409
  /** 替换物料编码 */
@@ -3269,21 +3433,24 @@ const CLEAR_ON_SOURCE_PRODUCT_EMPTY = [
3269
3433
  F$3.sourceQtyConsumed
3270
3434
  ];
3271
3435
  const CLEAR_ON_TARGET_MATERIAL_NO_EMPTY = [
3436
+ F$3.targetProduct,
3437
+ F$3.targetProductLb,
3272
3438
  F$3.targetProductName,
3273
3439
  F$3.targetProductCode,
3274
3440
  F$3.targetProductSpec
3275
3441
  ];
3276
3442
  const FILL_FROM_SOURCE_PRODUCT_OPTION = [
3277
- { optionField: "material_name_", toField: F$3.sourceMaterialNo },
3278
- { optionField: "product_id_.name_", toField: F$3.sourceProductName },
3279
- { optionField: "product_id_.code_", toField: F$3.sourceProductCode },
3280
- { optionField: "product_id_.spec_", toField: F$3.sourceProductSpec },
3281
- { optionField: "qty_consumed_", toField: F$3.sourceQtyConsumed }
3443
+ { optionField: "material_name_", toField: F$3.sourceMaterialNo, name: "物料批号" },
3444
+ { optionField: "product_id_.name_", toField: F$3.sourceProductName, name: "物料名称" },
3445
+ { optionField: "product_id_.code_", toField: F$3.sourceProductCode, name: "物料编码" },
3446
+ { optionField: "product_id_.spec_", toField: F$3.sourceProductSpec, name: "物料规格" },
3447
+ { optionField: "qty_consumed_", toField: F$3.sourceQtyConsumed, name: "已消耗数量" }
3282
3448
  ];
3283
3449
  const FILL_FROM_TARGET_MATERIAL_NO_OPTION = [
3284
- { optionField: "product_id_name_", toField: F$3.targetProductName },
3285
- { optionField: "product_id_code_", toField: F$3.targetProductCode },
3286
- { optionField: "product_id_spec_", toField: F$3.targetProductSpec }
3450
+ { optionField: "product_id_", toField: F$3.targetProduct, name: "物料" },
3451
+ { optionField: "product_id_name_", toField: F$3.targetProductName, name: "物料名称" },
3452
+ { optionField: "product_id_code_", toField: F$3.targetProductCode, name: "物料编码" },
3453
+ { optionField: "product_id_spec_", toField: F$3.targetProductSpec, name: "物料规格" }
3287
3454
  ];
3288
3455
  const SCAN_ROW_CONTENT_FIELDS = [
3289
3456
  F$3.sourceMaterialNo,
@@ -3291,21 +3458,60 @@ const SCAN_ROW_CONTENT_FIELDS = [
3291
3458
  F$3.targetMaterialNo,
3292
3459
  F$3.targetProduct
3293
3460
  ];
3294
- const fields$4 = [
3461
+ const FILL_FROM_TARGET_PRODUCT_OPTION = [
3462
+ { optionField: "name_", toField: F$3.targetMaterialNo, name: "物料批号" },
3463
+ { optionField: "product_id_name_", toField: F$3.targetProductName, name: "物料名称" },
3464
+ { optionField: "product_id_code_", toField: F$3.targetProductCode, name: "物料编码" },
3465
+ { optionField: "product_id_spec_", toField: F$3.targetProductSpec, name: "物料规格" }
3466
+ ];
3467
+ const CLEAR_ON_TARGET_PRODUCT_EMPTY = [
3468
+ F$3.targetProductLb,
3469
+ F$3.targetMaterialNo,
3470
+ F$3.targetMaterialNoId,
3471
+ F$3.targetMaterialNoLb,
3472
+ F$3.targetProductName,
3473
+ F$3.targetProductCode,
3474
+ F$3.targetProductSpec,
3475
+ F$3.targetQtyConsumed
3476
+ ];
3477
+ const fields$5 = [
3295
3478
  {
3296
- match: { fieldKey: F$3.sourceProduct },
3297
- autofillTemplates: FILL_FROM_SOURCE_PRODUCT_OPTION.map(({ optionField, toField }) => ({
3479
+ match: { fieldKey: F$3.targetProduct },
3480
+ autofillTemplates: FILL_FROM_TARGET_PRODUCT_OPTION.map(({ optionField, toField, name: name2 }) => ({
3298
3481
  fromField: optionField,
3482
+ fromFieldLabel: name2,
3299
3483
  toField
3300
3484
  }))
3301
3485
  },
3302
3486
  {
3303
- match: { fieldKey: F$3.targetMaterialNo },
3304
- autofillTemplates: FILL_FROM_TARGET_MATERIAL_NO_OPTION.map(({ optionField, toField }) => ({
3487
+ match: { fieldKey: F$3.sourceProduct },
3488
+ autofillTemplates: FILL_FROM_SOURCE_PRODUCT_OPTION.map(({ optionField, toField, name: name2 }) => ({
3305
3489
  fromField: optionField,
3490
+ fromFieldLabel: name2,
3306
3491
  toField
3307
3492
  }))
3308
3493
  },
3494
+ {
3495
+ match: { fieldKey: F$3.targetMaterialNo },
3496
+ autofillTemplates: FILL_FROM_TARGET_MATERIAL_NO_OPTION.map(
3497
+ ({ optionField, toField, name: name2 }) => ({
3498
+ fromField: optionField,
3499
+ fromFieldLabel: name2,
3500
+ toField
3501
+ })
3502
+ )
3503
+ },
3504
+ {
3505
+ match: { fieldKey: F$3.sourceQtyConsumed },
3506
+ defaultProps: {
3507
+ disabled: true,
3508
+ fieldDisabled: true,
3509
+ required: false,
3510
+ enableRangeValidate: true,
3511
+ minValidateMode: RangeValidateMode.Fixed_Number,
3512
+ minValue: 0
3513
+ }
3514
+ },
3309
3515
  {
3310
3516
  match: { fieldKey: [...DISABLED_INPUT_FIELDS$1] },
3311
3517
  defaultProps: {
@@ -3315,7 +3521,7 @@ const fields$4 = [
3315
3521
  }
3316
3522
  },
3317
3523
  {
3318
- match: { fieldKey: [F$3.sourceQtyConsumed, F$3.targetQtyConsumed] },
3524
+ match: { fieldKey: F$3.targetQtyConsumed },
3319
3525
  defaultProps: {
3320
3526
  enableRangeValidate: true,
3321
3527
  minValidateMode: RangeValidateMode.Fixed_Number,
@@ -3339,8 +3545,13 @@ const profile$6 = {
3339
3545
  refModelType: "MATERIAL_SUBSTITUTION",
3340
3546
  tableType: SubTableType.MATERIAL_SUBSTITUTION
3341
3547
  },
3342
- fields: fields$4,
3548
+ fields: fields$5,
3343
3549
  rowHandlers: [
3550
+ {
3551
+ when: "onFieldChange",
3552
+ watch: [F$3.targetProduct],
3553
+ handler: "on-target-product-change"
3554
+ },
3344
3555
  {
3345
3556
  when: "onFieldChange",
3346
3557
  watch: [F$3.sourceProduct],
@@ -3381,6 +3592,13 @@ function handleTargetMaterialNoChange(ctx) {
3381
3592
  return;
3382
3593
  }
3383
3594
  clearFields$1(ctx.rowData, CLEAR_ON_TARGET_MATERIAL_NO_EMPTY);
3595
+ if (isBlank$3(ctx.rowData[F$3.targetMaterialNo])) {
3596
+ clearFields$1(ctx.rowData, [F$3.targetMaterialNoId, F$3.targetMaterialNoLb]);
3597
+ }
3598
+ }
3599
+ function handleTargetProductChange(ctx) {
3600
+ if (!isBlank$3(ctx.rowData[F$3.targetProduct])) return;
3601
+ clearFields$1(ctx.rowData, CLEAR_ON_TARGET_PRODUCT_EMPTY);
3384
3602
  }
3385
3603
  registerRowHandler(TABLE_TYPE$5, "on-source-product-change", ({ rowData }) => {
3386
3604
  handleSourceProductChange({ rowData });
@@ -3388,6 +3606,9 @@ registerRowHandler(TABLE_TYPE$5, "on-source-product-change", ({ rowData }) => {
3388
3606
  registerRowHandler(TABLE_TYPE$5, "on-target-material-no-change", ({ rowData }) => {
3389
3607
  handleTargetMaterialNoChange({ rowData });
3390
3608
  });
3609
+ registerRowHandler(TABLE_TYPE$5, "on-target-product-change", ({ rowData }) => {
3610
+ handleTargetProductChange({ rowData });
3611
+ });
3391
3612
  const F$2 = {
3392
3613
  /** 点检日期 */
3393
3614
  inspectionDate: "inspection_date_",
@@ -3396,7 +3617,7 @@ const F$2 = {
3396
3617
  /** 复核人 */
3397
3618
  reviewer: "reviewer_"
3398
3619
  };
3399
- const fields$3 = [
3620
+ const fields$4 = [
3400
3621
  {
3401
3622
  match: { fieldKey: F$2.inspectionDate },
3402
3623
  defaultProps: {
@@ -3431,7 +3652,7 @@ const profile$5 = {
3431
3652
  refModelType: onlineFormMasterModelTypeEnum.POINT_INSPECTION,
3432
3653
  tableType: SubTableType.FIXED
3433
3654
  },
3434
- fields: fields$3
3655
+ fields: fields$4
3435
3656
  };
3436
3657
  const F$1 = {
3437
3658
  /** 点检日期 */
@@ -3441,7 +3662,7 @@ const F$1 = {
3441
3662
  /** 复核人 */
3442
3663
  reviewer: "reviewer_"
3443
3664
  };
3444
- const fields$2 = [
3665
+ const fields$3 = [
3445
3666
  {
3446
3667
  match: { fieldKey: F$1.inspectionDate },
3447
3668
  defaultProps: {
@@ -3476,13 +3697,52 @@ const profile$4 = {
3476
3697
  refModelType: onlineFormMasterModelTypeEnum.MAINTENANCE,
3477
3698
  tableType: SubTableType.FIXED
3478
3699
  },
3479
- fields: fields$2
3700
+ fields: fields$3
3480
3701
  };
3702
+ const LOCKED_INPUT_FIELDS = [
3703
+ "product_id_",
3704
+ "product_id_name_",
3705
+ "product_id_code_",
3706
+ "product_id_spec_",
3707
+ "mfg_order_code_",
3708
+ "mfg_order_id_"
3709
+ ];
3710
+ const fields$2 = [
3711
+ {
3712
+ match: {
3713
+ fieldKey: [
3714
+ "product_id_",
3715
+ "product_id_name_",
3716
+ "product_id_code_",
3717
+ "product_id_spec_",
3718
+ "mfg_order_id_",
3719
+ "mfg_order_code_"
3720
+ ]
3721
+ },
3722
+ defaultProps: {
3723
+ disabled: true,
3724
+ fieldDisabled: true,
3725
+ required: false
3726
+ }
3727
+ },
3728
+ {
3729
+ match: { fieldKey: "qty_" },
3730
+ defaultProps: {
3731
+ enableRangeValidate: true,
3732
+ minValidateMode: RangeValidateMode.Fixed_Number,
3733
+ minValue: 0
3734
+ }
3735
+ },
3736
+ {
3737
+ match: { fieldKey: [...LOCKED_INPUT_FIELDS] },
3738
+ defaultProps: { required: true, disabled: true, fieldDisabled: true }
3739
+ }
3740
+ ];
3481
3741
  const TABLE_TYPE$2 = "entrust-steril-batch-list";
3482
3742
  const profile$3 = {
3483
3743
  type: TABLE_TYPE$2,
3484
- label: "委托灭菌生产批次表",
3485
- labelKey: "sys.onlineForm.subTableType.STERILIZE_BATCH",
3744
+ label: "生产批次灭菌表",
3745
+ labelKey: "dhr.pageDesigner.fieldCmp.sterilize_batch",
3486
3746
  category: "business",
3487
3747
  ribbonAction: "entrust-steril-batch-list",
3488
3748
  ribbonGroup: "灭菌",
@@ -3494,6 +3754,7 @@ const profile$3 = {
3494
3754
  refModelType: "PRODUCTION_CONTAINER_LIST_4_STERILIZATION",
3495
3755
  tableType: SubTableType.STERILIZE_BATCH
3496
3756
  },
3757
+ fields: fields$2,
3497
3758
  theme: {
3498
3759
  color: "#2196D5",
3499
3760
  background: "rgba(33,150,213,0.2)",
@@ -3580,7 +3841,6 @@ const FILL_FROM_CONTAINER_OPTION = [
3580
3841
  { optionField: F.productName, toField: F.productName },
3581
3842
  { optionField: F.productCode, toField: F.productCode },
3582
3843
  { optionField: F.productSpec, toField: F.productSpec },
3583
- { optionField: F.mfgOrder, toField: F.mfgOrder },
3584
3844
  { optionField: F.mfgOrderCode, toField: F.mfgOrderCode },
3585
3845
  { optionField: "real_start_date_", toField: F.productionDate },
3586
3846
  { optionField: F.qty, toField: F.qty }
@@ -3646,13 +3906,21 @@ const fields$1 = [
3646
3906
  fieldDisabled: true,
3647
3907
  required: false
3648
3908
  }
3909
+ },
3910
+ {
3911
+ match: { fieldKey: F.qty },
3912
+ defaultProps: {
3913
+ enableRangeValidate: true,
3914
+ minValidateMode: RangeValidateMode.Fixed_Number,
3915
+ minValue: 0
3916
+ }
3649
3917
  }
3650
3918
  ];
3651
3919
  const TABLE_TYPE$1 = "pretreatment-list";
3652
3920
  const profile$2 = {
3653
3921
  type: TABLE_TYPE$1,
3654
3922
  label: "产前表",
3655
- labelKey: "sys.onlineForm.subTableType.PRETREATMENT_LIST",
3923
+ labelKey: "dhr.pageDesigner.fieldCmp.pretreatment_list",
3656
3924
  category: "business",
3657
3925
  ribbonAction: "pretreatment-list",
3658
3926
  ribbonGroup: "产前",
@@ -3995,7 +4263,7 @@ function resolveDesignPanelFeatures(tableType) {
3995
4263
  showConfigSection
3996
4264
  };
3997
4265
  }
3998
- const manifest$1g = {
4266
+ const manifest$1h = {
3999
4267
  type: FIELD_TYPE.MATERIAL_CONTAINER,
4000
4268
  design: "fw:auto-complete",
4001
4269
  render: "rd:auto-complete",
@@ -4005,9 +4273,9 @@ const manifest$1g = {
4005
4273
  };
4006
4274
  const __vite_glob_0_0 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4007
4275
  __proto__: null,
4008
- manifest: manifest$1g
4276
+ manifest: manifest$1h
4009
4277
  }, Symbol.toStringTag, { value: "Module" }));
4010
- const manifest$1f = {
4278
+ const manifest$1g = {
4011
4279
  type: FIELD_TYPE.MATERIAL_NO,
4012
4280
  design: "fw:auto-complete",
4013
4281
  render: "rd:auto-complete",
@@ -4017,9 +4285,9 @@ const manifest$1f = {
4017
4285
  };
4018
4286
  const __vite_glob_0_1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4019
4287
  __proto__: null,
4020
- manifest: manifest$1f
4288
+ manifest: manifest$1g
4021
4289
  }, Symbol.toStringTag, { value: "Module" }));
4022
- const manifest$1e = {
4290
+ const manifest$1f = {
4023
4291
  type: FIELD_TYPE.RELATED_LOT_NO,
4024
4292
  design: "fw:auto-complete",
4025
4293
  render: "rd:auto-complete",
@@ -4029,9 +4297,9 @@ const manifest$1e = {
4029
4297
  };
4030
4298
  const __vite_glob_0_2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4031
4299
  __proto__: null,
4032
- manifest: manifest$1e
4300
+ manifest: manifest$1f
4033
4301
  }, Symbol.toStringTag, { value: "Module" }));
4034
- const manifest$1d = {
4302
+ const manifest$1e = {
4035
4303
  type: FIELD_TYPE.SCRAP_MATERIAL_NO,
4036
4304
  design: "fw:auto-complete",
4037
4305
  render: "rd:auto-complete",
@@ -4041,9 +4309,9 @@ const manifest$1d = {
4041
4309
  };
4042
4310
  const __vite_glob_0_3 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4043
4311
  __proto__: null,
4044
- manifest: manifest$1d
4312
+ manifest: manifest$1e
4045
4313
  }, Symbol.toStringTag, { value: "Module" }));
4046
- const manifest$1c = {
4314
+ const manifest$1d = {
4047
4315
  type: FIELD_TYPE.STERILIZATION_CONTAINER,
4048
4316
  design: "fw:auto-complete",
4049
4317
  render: "rd:auto-complete",
@@ -4053,9 +4321,9 @@ const manifest$1c = {
4053
4321
  };
4054
4322
  const __vite_glob_0_4 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4055
4323
  __proto__: null,
4056
- manifest: manifest$1c
4324
+ manifest: manifest$1d
4057
4325
  }, Symbol.toStringTag, { value: "Module" }));
4058
- const manifest$1b = {
4326
+ const manifest$1c = {
4059
4327
  type: FIELD_TYPE.DATE,
4060
4328
  design: "fw:date",
4061
4329
  render: "rd:date",
@@ -4065,9 +4333,9 @@ const manifest$1b = {
4065
4333
  };
4066
4334
  const __vite_glob_0_5 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4067
4335
  __proto__: null,
4068
- manifest: manifest$1b
4336
+ manifest: manifest$1c
4069
4337
  }, Symbol.toStringTag, { value: "Module" }));
4070
- const manifest$1a = {
4338
+ const manifest$1b = {
4071
4339
  type: FIELD_TYPE.DATE_TIME,
4072
4340
  design: "fw:date-time",
4073
4341
  render: "rd:date-time",
@@ -4077,9 +4345,9 @@ const manifest$1a = {
4077
4345
  };
4078
4346
  const __vite_glob_0_6 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4079
4347
  __proto__: null,
4080
- manifest: manifest$1a
4348
+ manifest: manifest$1b
4081
4349
  }, Symbol.toStringTag, { value: "Module" }));
4082
- const manifest$19 = {
4350
+ const manifest$1a = {
4083
4351
  type: FIELD_TYPE.PRODUCTION_DATE,
4084
4352
  design: "fw:date",
4085
4353
  render: "rd:date",
@@ -4089,9 +4357,9 @@ const manifest$19 = {
4089
4357
  };
4090
4358
  const __vite_glob_0_7 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4091
4359
  __proto__: null,
4092
- manifest: manifest$19
4360
+ manifest: manifest$1a
4093
4361
  }, Symbol.toStringTag, { value: "Module" }));
4094
- const manifest$18 = {
4362
+ const manifest$19 = {
4095
4363
  type: FIELD_TYPE.RE_INSPECTION_DATE,
4096
4364
  design: "fw:date",
4097
4365
  render: "rd:date",
@@ -4101,9 +4369,9 @@ const manifest$18 = {
4101
4369
  };
4102
4370
  const __vite_glob_0_8 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4103
4371
  __proto__: null,
4104
- manifest: manifest$18
4372
+ manifest: manifest$19
4105
4373
  }, Symbol.toStringTag, { value: "Module" }));
4106
- const manifest$17 = {
4374
+ const manifest$18 = {
4107
4375
  type: FIELD_TYPE.REPORT_END_TIME,
4108
4376
  design: "fw:date-time",
4109
4377
  render: "rd:date-time",
@@ -4113,9 +4381,9 @@ const manifest$17 = {
4113
4381
  };
4114
4382
  const __vite_glob_0_9 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4115
4383
  __proto__: null,
4116
- manifest: manifest$17
4384
+ manifest: manifest$18
4117
4385
  }, Symbol.toStringTag, { value: "Module" }));
4118
- const manifest$16 = {
4386
+ const manifest$17 = {
4119
4387
  type: FIELD_TYPE.REPORT_START_TIME,
4120
4388
  design: "fw:date-time",
4121
4389
  render: "rd:date-time",
@@ -4125,9 +4393,9 @@ const manifest$16 = {
4125
4393
  };
4126
4394
  const __vite_glob_0_10 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4127
4395
  __proto__: null,
4128
- manifest: manifest$16
4396
+ manifest: manifest$17
4129
4397
  }, Symbol.toStringTag, { value: "Module" }));
4130
- const manifest$15 = {
4398
+ const manifest$16 = {
4131
4399
  type: FIELD_TYPE.STERILIZATION_DATE,
4132
4400
  design: "fw:date",
4133
4401
  render: "rd:date",
@@ -4137,9 +4405,9 @@ const manifest$15 = {
4137
4405
  };
4138
4406
  const __vite_glob_0_11 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4139
4407
  __proto__: null,
4140
- manifest: manifest$15
4408
+ manifest: manifest$16
4141
4409
  }, Symbol.toStringTag, { value: "Module" }));
4142
- const manifest$14 = {
4410
+ const manifest$15 = {
4143
4411
  type: FIELD_TYPE.TIME,
4144
4412
  design: "fw:time",
4145
4413
  render: "rd:time",
@@ -4149,9 +4417,9 @@ const manifest$14 = {
4149
4417
  };
4150
4418
  const __vite_glob_0_12 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4151
4419
  __proto__: null,
4152
- manifest: manifest$14
4420
+ manifest: manifest$15
4153
4421
  }, Symbol.toStringTag, { value: "Module" }));
4154
- const manifest$13 = {
4422
+ const manifest$14 = {
4155
4423
  type: FIELD_TYPE.TRACE_DATE,
4156
4424
  design: "fw:date",
4157
4425
  render: "rd:date",
@@ -4161,9 +4429,9 @@ const manifest$13 = {
4161
4429
  };
4162
4430
  const __vite_glob_0_13 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4163
4431
  __proto__: null,
4164
- manifest: manifest$13
4432
+ manifest: manifest$14
4165
4433
  }, Symbol.toStringTag, { value: "Module" }));
4166
- const manifest$12 = {
4434
+ const manifest$13 = {
4167
4435
  type: FIELD_TYPE.VALIDITY,
4168
4436
  design: "fw:date",
4169
4437
  render: "rd:date",
@@ -4173,9 +4441,9 @@ const manifest$12 = {
4173
4441
  };
4174
4442
  const __vite_glob_0_14 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4175
4443
  __proto__: null,
4176
- manifest: manifest$12
4444
+ manifest: manifest$13
4177
4445
  }, Symbol.toStringTag, { value: "Module" }));
4178
- const manifest$11 = {
4446
+ const manifest$12 = {
4179
4447
  type: FIELD_TYPE.WAREHOUSE_RECEIPT_DATE,
4180
4448
  design: "fw:date",
4181
4449
  render: "rd:date",
@@ -4185,9 +4453,9 @@ const manifest$11 = {
4185
4453
  };
4186
4454
  const __vite_glob_0_15 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4187
4455
  __proto__: null,
4188
- manifest: manifest$11
4456
+ manifest: manifest$12
4189
4457
  }, Symbol.toStringTag, { value: "Module" }));
4190
- const manifest$10 = {
4458
+ const manifest$11 = {
4191
4459
  type: FIELD_TYPE.DECIMAL,
4192
4460
  design: "fw:number",
4193
4461
  render: "rd:number",
@@ -4197,21 +4465,24 @@ const manifest$10 = {
4197
4465
  };
4198
4466
  const __vite_glob_0_16 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4199
4467
  __proto__: null,
4200
- manifest: manifest$10
4468
+ manifest: manifest$11
4201
4469
  }, Symbol.toStringTag, { value: "Module" }));
4202
- const manifest$$ = {
4470
+ const manifest$10 = {
4203
4471
  type: FIELD_TYPE.DESTRUCTIVE_TEST_QTY,
4204
4472
  design: "fw:number",
4205
4473
  render: "rd:double",
4206
4474
  defaultProps: {
4207
- placeholder: "请输入"
4475
+ placeholder: "请输入",
4476
+ enableRangeValidate: true,
4477
+ minValidateMode: RangeValidateMode.Fixed_Number,
4478
+ minValue: 0
4208
4479
  }
4209
4480
  };
4210
4481
  const __vite_glob_0_17 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4211
4482
  __proto__: null,
4212
- manifest: manifest$$
4483
+ manifest: manifest$10
4213
4484
  }, Symbol.toStringTag, { value: "Module" }));
4214
- const manifest$_ = {
4485
+ const manifest$$ = {
4215
4486
  type: FIELD_TYPE.DOUBLE,
4216
4487
  design: "fw:number",
4217
4488
  render: "rd:double",
@@ -4221,45 +4492,54 @@ const manifest$_ = {
4221
4492
  };
4222
4493
  const __vite_glob_0_18 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4223
4494
  __proto__: null,
4224
- manifest: manifest$_
4495
+ manifest: manifest$$
4225
4496
  }, Symbol.toStringTag, { value: "Module" }));
4226
- const manifest$Z = {
4497
+ const manifest$_ = {
4227
4498
  type: FIELD_TYPE.GOOD_QTY,
4228
4499
  design: "fw:number",
4229
4500
  render: "rd:double",
4230
4501
  defaultProps: {
4231
- placeholder: "请输入"
4502
+ placeholder: "请输入",
4503
+ enableRangeValidate: true,
4504
+ minValidateMode: RangeValidateMode.Fixed_Number,
4505
+ minValue: 0
4232
4506
  }
4233
4507
  };
4234
4508
  const __vite_glob_0_19 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4235
4509
  __proto__: null,
4236
- manifest: manifest$Z
4510
+ manifest: manifest$_
4237
4511
  }, Symbol.toStringTag, { value: "Module" }));
4238
- const manifest$Y = {
4512
+ const manifest$Z = {
4239
4513
  type: FIELD_TYPE.INSPECTION_MODULE_QTY,
4240
4514
  design: "fw:number",
4241
4515
  render: "rd:double",
4242
4516
  defaultProps: {
4243
- placeholder: "请输入"
4517
+ placeholder: "请输入",
4518
+ enableRangeValidate: true,
4519
+ minValidateMode: RangeValidateMode.Fixed_Number,
4520
+ minValue: 0
4244
4521
  }
4245
4522
  };
4246
4523
  const __vite_glob_0_20 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4247
4524
  __proto__: null,
4248
- manifest: manifest$Y
4525
+ manifest: manifest$Z
4249
4526
  }, Symbol.toStringTag, { value: "Module" }));
4250
- const manifest$X = {
4527
+ const manifest$Y = {
4251
4528
  type: FIELD_TYPE.INSPECTION_QTY,
4252
4529
  design: "fw:number",
4253
4530
  render: "rd:double",
4254
4531
  defaultProps: {
4255
- placeholder: "请输入"
4532
+ placeholder: "请输入",
4533
+ enableRangeValidate: true,
4534
+ minValidateMode: RangeValidateMode.Fixed_Number,
4535
+ minValue: 0
4256
4536
  }
4257
4537
  };
4258
4538
  const __vite_glob_0_21 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4259
4539
  __proto__: null,
4260
- manifest: manifest$X
4540
+ manifest: manifest$Y
4261
4541
  }, Symbol.toStringTag, { value: "Module" }));
4262
- const manifest$W = {
4542
+ const manifest$X = {
4263
4543
  type: FIELD_TYPE.INTEGER,
4264
4544
  design: "fw:number",
4265
4545
  render: "rd:number",
@@ -4269,9 +4549,9 @@ const manifest$W = {
4269
4549
  };
4270
4550
  const __vite_glob_0_22 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4271
4551
  __proto__: null,
4272
- manifest: manifest$W
4552
+ manifest: manifest$X
4273
4553
  }, Symbol.toStringTag, { value: "Module" }));
4274
- const manifest$V = {
4554
+ const manifest$W = {
4275
4555
  type: FIELD_TYPE.LONG,
4276
4556
  design: "fw:number",
4277
4557
  render: "rd:number",
@@ -4281,62 +4561,77 @@ const manifest$V = {
4281
4561
  };
4282
4562
  const __vite_glob_0_23 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4283
4563
  __proto__: null,
4284
- manifest: manifest$V
4564
+ manifest: manifest$W
4285
4565
  }, Symbol.toStringTag, { value: "Module" }));
4286
- const manifest$U = {
4566
+ const manifest$V = {
4287
4567
  type: FIELD_TYPE.MATERIAL_CHECK_QTY,
4288
4568
  design: "fw:number",
4289
4569
  render: "rd:double",
4290
4570
  defaultProps: {
4291
- placeholder: "请输入"
4571
+ placeholder: "请输入",
4572
+ enableRangeValidate: true,
4573
+ minValidateMode: RangeValidateMode.Fixed_Number,
4574
+ minValue: 0
4292
4575
  }
4293
4576
  };
4294
4577
  const __vite_glob_0_24 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4295
4578
  __proto__: null,
4296
- manifest: manifest$U
4579
+ manifest: manifest$V
4297
4580
  }, Symbol.toStringTag, { value: "Module" }));
4298
- const manifest$T = {
4581
+ const manifest$U = {
4299
4582
  type: FIELD_TYPE.NOT_GOOD_QTY,
4300
4583
  design: "fw:number",
4301
4584
  render: "rd:double",
4302
4585
  defaultProps: {
4303
- placeholder: "请输入"
4586
+ placeholder: "请输入",
4587
+ enableRangeValidate: true,
4588
+ minValidateMode: RangeValidateMode.Fixed_Number,
4589
+ minValue: 0
4304
4590
  }
4305
4591
  };
4306
4592
  const __vite_glob_0_25 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4307
4593
  __proto__: null,
4308
- manifest: manifest$T
4594
+ manifest: manifest$U
4309
4595
  }, Symbol.toStringTag, { value: "Module" }));
4310
- const manifest$S = {
4596
+ const manifest$T = {
4311
4597
  type: FIELD_TYPE.OF_INST_NUM,
4312
4598
  design: "fw:number",
4313
4599
  render: "rd:number",
4314
4600
  defaultProps: {
4315
- placeholder: "请输入"
4601
+ placeholder: "请输入",
4602
+ enableRangeValidate: true,
4603
+ minValidateMode: RangeValidateMode.Fixed_Number,
4604
+ minValue: 0
4316
4605
  }
4317
4606
  };
4318
4607
  const __vite_glob_0_26 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4319
4608
  __proto__: null,
4320
- manifest: manifest$S
4609
+ manifest: manifest$T
4321
4610
  }, Symbol.toStringTag, { value: "Module" }));
4322
- const manifest$R = {
4611
+ const manifest$S = {
4323
4612
  type: FIELD_TYPE.OPERATION_OUTPUT_QTY,
4324
4613
  design: "fw:number",
4325
4614
  render: "rd:double",
4326
4615
  defaultProps: {
4327
- placeholder: "请输入"
4616
+ placeholder: "请输入",
4617
+ enableRangeValidate: true,
4618
+ minValidateMode: RangeValidateMode.Fixed_Number,
4619
+ minValue: 0
4328
4620
  }
4329
4621
  };
4330
4622
  const __vite_glob_0_27 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4331
4623
  __proto__: null,
4332
- manifest: manifest$R
4624
+ manifest: manifest$S
4333
4625
  }, Symbol.toStringTag, { value: "Module" }));
4334
- const manifest$Q = {
4626
+ const manifest$R = {
4335
4627
  type: FIELD_TYPE.OPERATION_RECEIVE_QTY,
4336
4628
  design: "fw:number",
4337
4629
  render: "rd:double",
4338
4630
  defaultProps: {
4339
4631
  placeholder: "请输入",
4632
+ enableRangeValidate: true,
4633
+ minValidateMode: RangeValidateMode.Fixed_Number,
4634
+ minValue: 0,
4340
4635
  required: false,
4341
4636
  disabled: true,
4342
4637
  fieldDisabled: true
@@ -4344,17 +4639,35 @@ const manifest$Q = {
4344
4639
  };
4345
4640
  const __vite_glob_0_28 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4346
4641
  __proto__: null,
4347
- manifest: manifest$Q
4642
+ manifest: manifest$R
4348
4643
  }, Symbol.toStringTag, { value: "Module" }));
4349
- const manifest$P = {
4644
+ const manifest$Q = {
4350
4645
  type: FIELD_TYPE.PRODUCT_CHECK_QTY,
4351
4646
  design: "fw:number",
4352
4647
  render: "rd:double",
4353
4648
  defaultProps: {
4354
- placeholder: "请输入"
4649
+ placeholder: "请输入",
4650
+ enableRangeValidate: true,
4651
+ minValidateMode: RangeValidateMode.Fixed_Number,
4652
+ minValue: 0
4355
4653
  }
4356
4654
  };
4357
4655
  const __vite_glob_0_29 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4656
+ __proto__: null,
4657
+ manifest: manifest$Q
4658
+ }, Symbol.toStringTag, { value: "Module" }));
4659
+ const manifest$P = {
4660
+ type: FIELD_TYPE.PRODUCT_RELEASE_QTY,
4661
+ design: "fw:number",
4662
+ render: "rd:double",
4663
+ defaultProps: {
4664
+ placeholder: "请输入",
4665
+ enableRangeValidate: true,
4666
+ minValidateMode: RangeValidateMode.Fixed_Number,
4667
+ minValue: 0
4668
+ }
4669
+ };
4670
+ const __vite_glob_0_30 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4358
4671
  __proto__: null,
4359
4672
  manifest: manifest$P
4360
4673
  }, Symbol.toStringTag, { value: "Module" }));
@@ -4363,10 +4676,13 @@ const manifest$O = {
4363
4676
  design: "fw:number",
4364
4677
  render: "rd:double",
4365
4678
  defaultProps: {
4366
- placeholder: "请输入"
4679
+ placeholder: "请输入",
4680
+ enableRangeValidate: true,
4681
+ minValidateMode: RangeValidateMode.Fixed_Number,
4682
+ minValue: 0
4367
4683
  }
4368
4684
  };
4369
- const __vite_glob_0_30 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4685
+ const __vite_glob_0_31 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4370
4686
  __proto__: null,
4371
4687
  manifest: manifest$O
4372
4688
  }, Symbol.toStringTag, { value: "Module" }));
@@ -4375,10 +4691,13 @@ const manifest$N = {
4375
4691
  design: "fw:number",
4376
4692
  render: "rd:double",
4377
4693
  defaultProps: {
4378
- placeholder: "请输入"
4694
+ placeholder: "请输入",
4695
+ enableRangeValidate: true,
4696
+ minValidateMode: RangeValidateMode.Fixed_Number,
4697
+ minValue: 0
4379
4698
  }
4380
4699
  };
4381
- const __vite_glob_0_31 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4700
+ const __vite_glob_0_32 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4382
4701
  __proto__: null,
4383
4702
  manifest: manifest$N
4384
4703
  }, Symbol.toStringTag, { value: "Module" }));
@@ -4387,10 +4706,13 @@ const manifest$M = {
4387
4706
  design: "fw:number",
4388
4707
  render: "rd:double",
4389
4708
  defaultProps: {
4390
- placeholder: "请输入"
4709
+ placeholder: "请输入",
4710
+ enableRangeValidate: true,
4711
+ minValidateMode: RangeValidateMode.Fixed_Number,
4712
+ minValue: 0
4391
4713
  }
4392
4714
  };
4393
- const __vite_glob_0_32 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4715
+ const __vite_glob_0_33 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4394
4716
  __proto__: null,
4395
4717
  manifest: manifest$M
4396
4718
  }, Symbol.toStringTag, { value: "Module" }));
@@ -4399,10 +4721,13 @@ const manifest$L = {
4399
4721
  design: "fw:number",
4400
4722
  render: "rd:double",
4401
4723
  defaultProps: {
4402
- placeholder: "请输入"
4724
+ placeholder: "请输入",
4725
+ enableRangeValidate: true,
4726
+ minValidateMode: RangeValidateMode.Fixed_Number,
4727
+ minValue: 0
4403
4728
  }
4404
4729
  };
4405
- const __vite_glob_0_33 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4730
+ const __vite_glob_0_34 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4406
4731
  __proto__: null,
4407
4732
  manifest: manifest$L
4408
4733
  }, Symbol.toStringTag, { value: "Module" }));
@@ -4411,10 +4736,13 @@ const manifest$K = {
4411
4736
  design: "fw:number",
4412
4737
  render: "rd:double",
4413
4738
  defaultProps: {
4414
- placeholder: "请输入"
4739
+ placeholder: "请输入",
4740
+ enableRangeValidate: true,
4741
+ minValidateMode: RangeValidateMode.Fixed_Number,
4742
+ minValue: 0
4415
4743
  }
4416
4744
  };
4417
- const __vite_glob_0_34 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4745
+ const __vite_glob_0_35 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4418
4746
  __proto__: null,
4419
4747
  manifest: manifest$K
4420
4748
  }, Symbol.toStringTag, { value: "Module" }));
@@ -4423,10 +4751,13 @@ const manifest$J = {
4423
4751
  design: "fw:number",
4424
4752
  render: "rd:number",
4425
4753
  defaultProps: {
4426
- placeholder: "请输入"
4754
+ placeholder: "请输入",
4755
+ enableRangeValidate: true,
4756
+ minValidateMode: RangeValidateMode.Fixed_Number,
4757
+ minValue: 0
4427
4758
  }
4428
4759
  };
4429
- const __vite_glob_0_35 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4760
+ const __vite_glob_0_36 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4430
4761
  __proto__: null,
4431
4762
  manifest: manifest$J
4432
4763
  }, Symbol.toStringTag, { value: "Module" }));
@@ -4438,7 +4769,7 @@ const manifest$I = {
4438
4769
  placeholder: "请选择"
4439
4770
  }
4440
4771
  };
4441
- const __vite_glob_0_36 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4772
+ const __vite_glob_0_37 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4442
4773
  __proto__: null,
4443
4774
  manifest: manifest$I
4444
4775
  }, Symbol.toStringTag, { value: "Module" }));
@@ -4450,7 +4781,7 @@ const manifest$H = {
4450
4781
  placeholder: "请选择"
4451
4782
  }
4452
4783
  };
4453
- const __vite_glob_0_37 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4784
+ const __vite_glob_0_38 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4454
4785
  __proto__: null,
4455
4786
  manifest: manifest$H
4456
4787
  }, Symbol.toStringTag, { value: "Module" }));
@@ -4462,7 +4793,7 @@ const manifest$G = {
4462
4793
  placeholder: "请选择"
4463
4794
  }
4464
4795
  };
4465
- const __vite_glob_0_38 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4796
+ const __vite_glob_0_39 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4466
4797
  __proto__: null,
4467
4798
  manifest: manifest$G
4468
4799
  }, Symbol.toStringTag, { value: "Module" }));
@@ -4474,7 +4805,7 @@ const manifest$F = {
4474
4805
  placeholder: "请选择"
4475
4806
  }
4476
4807
  };
4477
- const __vite_glob_0_39 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4808
+ const __vite_glob_0_40 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4478
4809
  __proto__: null,
4479
4810
  manifest: manifest$F
4480
4811
  }, Symbol.toStringTag, { value: "Module" }));
@@ -4486,7 +4817,7 @@ const manifest$E = {
4486
4817
  placeholder: "请选择"
4487
4818
  }
4488
4819
  };
4489
- const __vite_glob_0_40 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4820
+ const __vite_glob_0_41 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4490
4821
  __proto__: null,
4491
4822
  manifest: manifest$E
4492
4823
  }, Symbol.toStringTag, { value: "Module" }));
@@ -4498,7 +4829,7 @@ const manifest$D = {
4498
4829
  placeholder: "请选择"
4499
4830
  }
4500
4831
  };
4501
- const __vite_glob_0_41 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4832
+ const __vite_glob_0_42 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4502
4833
  __proto__: null,
4503
4834
  manifest: manifest$D
4504
4835
  }, Symbol.toStringTag, { value: "Module" }));
@@ -4510,7 +4841,7 @@ const manifest$C = {
4510
4841
  placeholder: "请选择"
4511
4842
  }
4512
4843
  };
4513
- const __vite_glob_0_42 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4844
+ const __vite_glob_0_43 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4514
4845
  __proto__: null,
4515
4846
  manifest: manifest$C
4516
4847
  }, Symbol.toStringTag, { value: "Module" }));
@@ -4522,7 +4853,7 @@ const manifest$B = {
4522
4853
  placeholder: "请选择"
4523
4854
  }
4524
4855
  };
4525
- const __vite_glob_0_43 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4856
+ const __vite_glob_0_44 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4526
4857
  __proto__: null,
4527
4858
  manifest: manifest$B
4528
4859
  }, Symbol.toStringTag, { value: "Module" }));
@@ -4532,7 +4863,7 @@ const manifest$A = {
4532
4863
  render: "rd:seal",
4533
4864
  defaultProps: { placeholder: "盖章", diameterMm: 42 }
4534
4865
  };
4535
- const __vite_glob_0_44 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4866
+ const __vite_glob_0_45 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4536
4867
  __proto__: null,
4537
4868
  manifest: manifest$A
4538
4869
  }, Symbol.toStringTag, { value: "Module" }));
@@ -4544,7 +4875,7 @@ const manifest$z = {
4544
4875
  placeholder: "请选择"
4545
4876
  }
4546
4877
  };
4547
- const __vite_glob_0_45 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4878
+ const __vite_glob_0_46 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4548
4879
  __proto__: null,
4549
4880
  manifest: manifest$z
4550
4881
  }, Symbol.toStringTag, { value: "Module" }));
@@ -4556,7 +4887,7 @@ const manifest$y = {
4556
4887
  placeholder: "请选择"
4557
4888
  }
4558
4889
  };
4559
- const __vite_glob_0_46 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4890
+ const __vite_glob_0_47 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4560
4891
  __proto__: null,
4561
4892
  manifest: manifest$y
4562
4893
  }, Symbol.toStringTag, { value: "Module" }));
@@ -4568,7 +4899,7 @@ const manifest$x = {
4568
4899
  placeholder: "请选择"
4569
4900
  }
4570
4901
  };
4571
- const __vite_glob_0_47 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4902
+ const __vite_glob_0_48 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4572
4903
  __proto__: null,
4573
4904
  manifest: manifest$x
4574
4905
  }, Symbol.toStringTag, { value: "Module" }));
@@ -4580,7 +4911,7 @@ const manifest$w = {
4580
4911
  placeholder: "请选择"
4581
4912
  }
4582
4913
  };
4583
- const __vite_glob_0_48 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4914
+ const __vite_glob_0_49 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4584
4915
  __proto__: null,
4585
4916
  manifest: manifest$w
4586
4917
  }, Symbol.toStringTag, { value: "Module" }));
@@ -4592,7 +4923,7 @@ const manifest$v = {
4592
4923
  placeholder: "请选择"
4593
4924
  }
4594
4925
  };
4595
- const __vite_glob_0_49 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4926
+ const __vite_glob_0_50 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4596
4927
  __proto__: null,
4597
4928
  manifest: manifest$v
4598
4929
  }, Symbol.toStringTag, { value: "Module" }));
@@ -4604,7 +4935,7 @@ const manifest$u = {
4604
4935
  placeholder: "请选择"
4605
4936
  }
4606
4937
  };
4607
- const __vite_glob_0_50 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4938
+ const __vite_glob_0_51 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4608
4939
  __proto__: null,
4609
4940
  manifest: manifest$u
4610
4941
  }, Symbol.toStringTag, { value: "Module" }));
@@ -4616,7 +4947,7 @@ const manifest$t = {
4616
4947
  placeholder: "请选择"
4617
4948
  }
4618
4949
  };
4619
- const __vite_glob_0_51 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4950
+ const __vite_glob_0_52 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4620
4951
  __proto__: null,
4621
4952
  manifest: manifest$t
4622
4953
  }, Symbol.toStringTag, { value: "Module" }));
@@ -4628,7 +4959,7 @@ const manifest$s = {
4628
4959
  placeholder: "请选择"
4629
4960
  }
4630
4961
  };
4631
- const __vite_glob_0_52 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4962
+ const __vite_glob_0_53 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4632
4963
  __proto__: null,
4633
4964
  manifest: manifest$s
4634
4965
  }, Symbol.toStringTag, { value: "Module" }));
@@ -4640,7 +4971,7 @@ const manifest$r = {
4640
4971
  placeholder: "请选择"
4641
4972
  }
4642
4973
  };
4643
- const __vite_glob_0_53 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4974
+ const __vite_glob_0_54 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4644
4975
  __proto__: null,
4645
4976
  manifest: manifest$r
4646
4977
  }, Symbol.toStringTag, { value: "Module" }));
@@ -4652,7 +4983,7 @@ const manifest$q = {
4652
4983
  placeholder: "请选择"
4653
4984
  }
4654
4985
  };
4655
- const __vite_glob_0_54 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4986
+ const __vite_glob_0_55 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4656
4987
  __proto__: null,
4657
4988
  manifest: manifest$q
4658
4989
  }, Symbol.toStringTag, { value: "Module" }));
@@ -4664,7 +4995,7 @@ const manifest$p = {
4664
4995
  placeholder: "请选择"
4665
4996
  }
4666
4997
  };
4667
- const __vite_glob_0_55 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4998
+ const __vite_glob_0_56 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4668
4999
  __proto__: null,
4669
5000
  manifest: manifest$p
4670
5001
  }, Symbol.toStringTag, { value: "Module" }));
@@ -4676,7 +5007,7 @@ const manifest$o = {
4676
5007
  placeholder: "请选择"
4677
5008
  }
4678
5009
  };
4679
- const __vite_glob_0_56 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5010
+ const __vite_glob_0_57 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4680
5011
  __proto__: null,
4681
5012
  manifest: manifest$o
4682
5013
  }, Symbol.toStringTag, { value: "Module" }));
@@ -4688,7 +5019,7 @@ const manifest$n = {
4688
5019
  placeholder: "请选择"
4689
5020
  }
4690
5021
  };
4691
- const __vite_glob_0_57 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5022
+ const __vite_glob_0_58 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4692
5023
  __proto__: null,
4693
5024
  manifest: manifest$n
4694
5025
  }, Symbol.toStringTag, { value: "Module" }));
@@ -4700,7 +5031,7 @@ const manifest$m = {
4700
5031
  placeholder: "请选择"
4701
5032
  }
4702
5033
  };
4703
- const __vite_glob_0_58 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5034
+ const __vite_glob_0_59 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4704
5035
  __proto__: null,
4705
5036
  manifest: manifest$m
4706
5037
  }, Symbol.toStringTag, { value: "Module" }));
@@ -4712,7 +5043,7 @@ const manifest$l = {
4712
5043
  placeholder: "请选择"
4713
5044
  }
4714
5045
  };
4715
- const __vite_glob_0_59 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5046
+ const __vite_glob_0_60 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4716
5047
  __proto__: null,
4717
5048
  manifest: manifest$l
4718
5049
  }, Symbol.toStringTag, { value: "Module" }));
@@ -4724,7 +5055,7 @@ const manifest$k = {
4724
5055
  placeholder: "请选择"
4725
5056
  }
4726
5057
  };
4727
- const __vite_glob_0_60 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5058
+ const __vite_glob_0_61 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4728
5059
  __proto__: null,
4729
5060
  manifest: manifest$k
4730
5061
  }, Symbol.toStringTag, { value: "Module" }));
@@ -4736,7 +5067,7 @@ const manifest$j = {
4736
5067
  placeholder: "请选择"
4737
5068
  }
4738
5069
  };
4739
- const __vite_glob_0_61 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5070
+ const __vite_glob_0_62 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4740
5071
  __proto__: null,
4741
5072
  manifest: manifest$j
4742
5073
  }, Symbol.toStringTag, { value: "Module" }));
@@ -4748,7 +5079,7 @@ const manifest$i = {
4748
5079
  placeholder: "请选择"
4749
5080
  }
4750
5081
  };
4751
- const __vite_glob_0_62 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5082
+ const __vite_glob_0_63 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4752
5083
  __proto__: null,
4753
5084
  manifest: manifest$i
4754
5085
  }, Symbol.toStringTag, { value: "Module" }));
@@ -4760,7 +5091,7 @@ const manifest$h = {
4760
5091
  placeholder: "请选择"
4761
5092
  }
4762
5093
  };
4763
- const __vite_glob_0_63 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5094
+ const __vite_glob_0_64 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4764
5095
  __proto__: null,
4765
5096
  manifest: manifest$h
4766
5097
  }, Symbol.toStringTag, { value: "Module" }));
@@ -4772,7 +5103,7 @@ const manifest$g = {
4772
5103
  placeholder: "请选择"
4773
5104
  }
4774
5105
  };
4775
- const __vite_glob_0_64 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5106
+ const __vite_glob_0_65 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4776
5107
  __proto__: null,
4777
5108
  manifest: manifest$g
4778
5109
  }, Symbol.toStringTag, { value: "Module" }));
@@ -4784,7 +5115,7 @@ const manifest$f = {
4784
5115
  placeholder: "请选择"
4785
5116
  }
4786
5117
  };
4787
- const __vite_glob_0_65 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5118
+ const __vite_glob_0_66 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4788
5119
  __proto__: null,
4789
5120
  manifest: manifest$f
4790
5121
  }, Symbol.toStringTag, { value: "Module" }));
@@ -4796,7 +5127,7 @@ const manifest$e = {
4796
5127
  placeholder: "请选择"
4797
5128
  }
4798
5129
  };
4799
- const __vite_glob_0_66 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5130
+ const __vite_glob_0_67 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4800
5131
  __proto__: null,
4801
5132
  manifest: manifest$e
4802
5133
  }, Symbol.toStringTag, { value: "Module" }));
@@ -4808,7 +5139,7 @@ const manifest$d = {
4808
5139
  placeholder: "请选择"
4809
5140
  }
4810
5141
  };
4811
- const __vite_glob_0_67 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5142
+ const __vite_glob_0_68 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4812
5143
  __proto__: null,
4813
5144
  manifest: manifest$d
4814
5145
  }, Symbol.toStringTag, { value: "Module" }));
@@ -4820,7 +5151,7 @@ const manifest$c = {
4820
5151
  placeholder: "请输入"
4821
5152
  }
4822
5153
  };
4823
- const __vite_glob_0_68 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5154
+ const __vite_glob_0_69 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4824
5155
  __proto__: null,
4825
5156
  manifest: manifest$c
4826
5157
  }, Symbol.toStringTag, { value: "Module" }));
@@ -4832,7 +5163,7 @@ const manifest$b = {
4832
5163
  placeholder: "请输入"
4833
5164
  }
4834
5165
  };
4835
- const __vite_glob_0_69 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5166
+ const __vite_glob_0_70 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4836
5167
  __proto__: null,
4837
5168
  manifest: manifest$b
4838
5169
  }, Symbol.toStringTag, { value: "Module" }));
@@ -4844,7 +5175,7 @@ const manifest$a = {
4844
5175
  placeholder: "请输入"
4845
5176
  }
4846
5177
  };
4847
- const __vite_glob_0_70 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5178
+ const __vite_glob_0_71 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4848
5179
  __proto__: null,
4849
5180
  manifest: manifest$a
4850
5181
  }, Symbol.toStringTag, { value: "Module" }));
@@ -4856,7 +5187,7 @@ const manifest$9 = {
4856
5187
  placeholder: "请输入"
4857
5188
  }
4858
5189
  };
4859
- const __vite_glob_0_71 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5190
+ const __vite_glob_0_72 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4860
5191
  __proto__: null,
4861
5192
  manifest: manifest$9
4862
5193
  }, Symbol.toStringTag, { value: "Module" }));
@@ -4868,7 +5199,7 @@ const manifest$8 = {
4868
5199
  placeholder: "请输入"
4869
5200
  }
4870
5201
  };
4871
- const __vite_glob_0_72 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5202
+ const __vite_glob_0_73 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4872
5203
  __proto__: null,
4873
5204
  manifest: manifest$8
4874
5205
  }, Symbol.toStringTag, { value: "Module" }));
@@ -4880,7 +5211,7 @@ const manifest$7 = {
4880
5211
  placeholder: "请输入"
4881
5212
  }
4882
5213
  };
4883
- const __vite_glob_0_73 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5214
+ const __vite_glob_0_74 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4884
5215
  __proto__: null,
4885
5216
  manifest: manifest$7
4886
5217
  }, Symbol.toStringTag, { value: "Module" }));
@@ -4892,7 +5223,7 @@ const manifest$6 = {
4892
5223
  placeholder: "请输入"
4893
5224
  }
4894
5225
  };
4895
- const __vite_glob_0_74 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5226
+ const __vite_glob_0_75 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4896
5227
  __proto__: null,
4897
5228
  manifest: manifest$6
4898
5229
  }, Symbol.toStringTag, { value: "Module" }));
@@ -4904,7 +5235,7 @@ const manifest$5 = {
4904
5235
  placeholder: "请输入"
4905
5236
  }
4906
5237
  };
4907
- const __vite_glob_0_75 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5238
+ const __vite_glob_0_76 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4908
5239
  __proto__: null,
4909
5240
  manifest: manifest$5
4910
5241
  }, Symbol.toStringTag, { value: "Module" }));
@@ -4916,7 +5247,7 @@ const manifest$4 = {
4916
5247
  placeholder: "上传附件"
4917
5248
  }
4918
5249
  };
4919
- const __vite_glob_0_76 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5250
+ const __vite_glob_0_77 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4920
5251
  __proto__: null,
4921
5252
  manifest: manifest$4
4922
5253
  }, Symbol.toStringTag, { value: "Module" }));
@@ -4928,7 +5259,7 @@ const manifest$3 = {
4928
5259
  placeholder: "上传图片"
4929
5260
  }
4930
5261
  };
4931
- const __vite_glob_0_77 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5262
+ const __vite_glob_0_78 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4932
5263
  __proto__: null,
4933
5264
  manifest: manifest$3
4934
5265
  }, Symbol.toStringTag, { value: "Module" }));
@@ -4940,7 +5271,7 @@ const manifest$2 = {
4940
5271
  placeholder: "添加签名"
4941
5272
  }
4942
5273
  };
4943
- const __vite_glob_0_78 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5274
+ const __vite_glob_0_79 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4944
5275
  __proto__: null,
4945
5276
  manifest: manifest$2
4946
5277
  }, Symbol.toStringTag, { value: "Module" }));
@@ -4952,7 +5283,7 @@ const manifest$1 = {
4952
5283
  placeholder: "添加签名"
4953
5284
  }
4954
5285
  };
4955
- const __vite_glob_0_79 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5286
+ const __vite_glob_0_80 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4956
5287
  __proto__: null,
4957
5288
  manifest: manifest$1
4958
5289
  }, Symbol.toStringTag, { value: "Module" }));
@@ -4964,7 +5295,7 @@ const manifest = {
4964
5295
  placeholder: "添加签名"
4965
5296
  }
4966
5297
  };
4967
- const __vite_glob_0_80 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5298
+ const __vite_glob_0_81 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4968
5299
  __proto__: null,
4969
5300
  manifest
4970
5301
  }, Symbol.toStringTag, { value: "Module" }));
@@ -5000,57 +5331,58 @@ function loadFieldMainSet() {
5000
5331
  "./number/operation-output-qty-manifest.ts": __vite_glob_0_27,
5001
5332
  "./number/operation-receive-qty-manifest.ts": __vite_glob_0_28,
5002
5333
  "./number/product-check-qty-manifest.ts": __vite_glob_0_29,
5003
- "./number/production-qty-manifest.ts": __vite_glob_0_30,
5004
- "./number/qty-consumed-manifest.ts": __vite_glob_0_31,
5005
- "./number/qty-manifest.ts": __vite_glob_0_32,
5006
- "./number/qty-required-manifest.ts": __vite_glob_0_33,
5007
- "./number/scrap-qty-manifest.ts": __vite_glob_0_34,
5008
- "./number/work-hours-manifest.ts": __vite_glob_0_35,
5009
- "./option/boolean-manifest.ts": __vite_glob_0_36,
5010
- "./option/enum-manifest.ts": __vite_glob_0_37,
5011
- "./option/enum-multi-manifest.ts": __vite_glob_0_38,
5012
- "./option/option-manifest.ts": __vite_glob_0_39,
5013
- "./option/option-multi-manifest.ts": __vite_glob_0_40,
5014
- "./rdo-select/e-sop-manifest.ts": __vite_glob_0_41,
5015
- "./rdo-select/product-manifest.ts": __vite_glob_0_42,
5016
- "./rdo-select/scrap-material-manifest.ts": __vite_glob_0_43,
5017
- "./seal/seal-manifest.ts": __vite_glob_0_44,
5018
- "./select/device-manifest.ts": __vite_glob_0_45,
5019
- "./select/device-ref-manifest.ts": __vite_glob_0_46,
5020
- "./select/device-ref-multi-manifest.ts": __vite_glob_0_47,
5021
- "./select/inspection-container-manifest.ts": __vite_glob_0_48,
5022
- "./select/location-manifest.ts": __vite_glob_0_49,
5023
- "./select/mfg-order-manifest.ts": __vite_glob_0_50,
5024
- "./select/model-relation-manifest.ts": __vite_glob_0_51,
5025
- "./select/not-good-group-manifest.ts": __vite_glob_0_52,
5026
- "./select/not-good-reason-manifest.ts": __vite_glob_0_53,
5027
- "./select/operation-manifest.ts": __vite_glob_0_54,
5028
- "./select/org-manifest.ts": __vite_glob_0_55,
5029
- "./select/org-multi-manifest.ts": __vite_glob_0_56,
5030
- "./select/production-container-manifest.ts": __vite_glob_0_57,
5031
- "./select/ref-manifest.ts": __vite_glob_0_58,
5032
- "./select/ref-multi-manifest.ts": __vite_glob_0_59,
5033
- "./select/routing-operation-manifest.ts": __vite_glob_0_60,
5034
- "./select/scrap-group-manifest.ts": __vite_glob_0_61,
5035
- "./select/scrap-reason-manifest.ts": __vite_glob_0_62,
5036
- "./select/shopfloor-manifest.ts": __vite_glob_0_63,
5037
- "./select/target-warehouse-manifest.ts": __vite_glob_0_64,
5038
- "./select/user-manifest.ts": __vite_glob_0_65,
5039
- "./select/user-multi-manifest.ts": __vite_glob_0_66,
5040
- "./select/warehouse-manifest.ts": __vite_glob_0_67,
5041
- "./text/e-sop-version-manifest.ts": __vite_glob_0_68,
5042
- "./text/external-reference-no-manifest.ts": __vite_glob_0_69,
5043
- "./text/long-text-manifest.ts": __vite_glob_0_70,
5044
- "./text/order-no-manifest.ts": __vite_glob_0_71,
5045
- "./text/record-no-manifest.ts": __vite_glob_0_72,
5046
- "./text/text-manifest.ts": __vite_glob_0_73,
5047
- "./text/udi-manifest.ts": __vite_glob_0_74,
5048
- "./text/warehouse-receipt-no-manifest.ts": __vite_glob_0_75,
5049
- "./upload/attachment-manifest.ts": __vite_glob_0_76,
5050
- "./upload/image-manifest.ts": __vite_glob_0_77,
5051
- "./upload/reporter-manifest.ts": __vite_glob_0_78,
5052
- "./upload/signature-manifest.ts": __vite_glob_0_79,
5053
- "./upload/warehouse-manager-manifest.ts": __vite_glob_0_80
5334
+ "./number/product-release-qty-manifest.ts": __vite_glob_0_30,
5335
+ "./number/production-qty-manifest.ts": __vite_glob_0_31,
5336
+ "./number/qty-consumed-manifest.ts": __vite_glob_0_32,
5337
+ "./number/qty-manifest.ts": __vite_glob_0_33,
5338
+ "./number/qty-required-manifest.ts": __vite_glob_0_34,
5339
+ "./number/scrap-qty-manifest.ts": __vite_glob_0_35,
5340
+ "./number/work-hours-manifest.ts": __vite_glob_0_36,
5341
+ "./option/boolean-manifest.ts": __vite_glob_0_37,
5342
+ "./option/enum-manifest.ts": __vite_glob_0_38,
5343
+ "./option/enum-multi-manifest.ts": __vite_glob_0_39,
5344
+ "./option/option-manifest.ts": __vite_glob_0_40,
5345
+ "./option/option-multi-manifest.ts": __vite_glob_0_41,
5346
+ "./rdo-select/e-sop-manifest.ts": __vite_glob_0_42,
5347
+ "./rdo-select/product-manifest.ts": __vite_glob_0_43,
5348
+ "./rdo-select/scrap-material-manifest.ts": __vite_glob_0_44,
5349
+ "./seal/seal-manifest.ts": __vite_glob_0_45,
5350
+ "./select/device-manifest.ts": __vite_glob_0_46,
5351
+ "./select/device-ref-manifest.ts": __vite_glob_0_47,
5352
+ "./select/device-ref-multi-manifest.ts": __vite_glob_0_48,
5353
+ "./select/inspection-container-manifest.ts": __vite_glob_0_49,
5354
+ "./select/location-manifest.ts": __vite_glob_0_50,
5355
+ "./select/mfg-order-manifest.ts": __vite_glob_0_51,
5356
+ "./select/model-relation-manifest.ts": __vite_glob_0_52,
5357
+ "./select/not-good-group-manifest.ts": __vite_glob_0_53,
5358
+ "./select/not-good-reason-manifest.ts": __vite_glob_0_54,
5359
+ "./select/operation-manifest.ts": __vite_glob_0_55,
5360
+ "./select/org-manifest.ts": __vite_glob_0_56,
5361
+ "./select/org-multi-manifest.ts": __vite_glob_0_57,
5362
+ "./select/production-container-manifest.ts": __vite_glob_0_58,
5363
+ "./select/ref-manifest.ts": __vite_glob_0_59,
5364
+ "./select/ref-multi-manifest.ts": __vite_glob_0_60,
5365
+ "./select/routing-operation-manifest.ts": __vite_glob_0_61,
5366
+ "./select/scrap-group-manifest.ts": __vite_glob_0_62,
5367
+ "./select/scrap-reason-manifest.ts": __vite_glob_0_63,
5368
+ "./select/shopfloor-manifest.ts": __vite_glob_0_64,
5369
+ "./select/target-warehouse-manifest.ts": __vite_glob_0_65,
5370
+ "./select/user-manifest.ts": __vite_glob_0_66,
5371
+ "./select/user-multi-manifest.ts": __vite_glob_0_67,
5372
+ "./select/warehouse-manifest.ts": __vite_glob_0_68,
5373
+ "./text/e-sop-version-manifest.ts": __vite_glob_0_69,
5374
+ "./text/external-reference-no-manifest.ts": __vite_glob_0_70,
5375
+ "./text/long-text-manifest.ts": __vite_glob_0_71,
5376
+ "./text/order-no-manifest.ts": __vite_glob_0_72,
5377
+ "./text/record-no-manifest.ts": __vite_glob_0_73,
5378
+ "./text/text-manifest.ts": __vite_glob_0_74,
5379
+ "./text/udi-manifest.ts": __vite_glob_0_75,
5380
+ "./text/warehouse-receipt-no-manifest.ts": __vite_glob_0_76,
5381
+ "./upload/attachment-manifest.ts": __vite_glob_0_77,
5382
+ "./upload/image-manifest.ts": __vite_glob_0_78,
5383
+ "./upload/reporter-manifest.ts": __vite_glob_0_79,
5384
+ "./upload/signature-manifest.ts": __vite_glob_0_80,
5385
+ "./upload/warehouse-manager-manifest.ts": __vite_glob_0_81
5054
5386
  });
5055
5387
  const map = {};
5056
5388
  Object.entries(manifestModules).forEach(([path, exports2]) => {
@@ -59483,11 +59815,54 @@ async function requestNonMedProCheckDsData(payload) {
59483
59815
  return Object.keys(byTable).length > 0 ? { byTable } : void 0;
59484
59816
  }
59485
59817
  const RUNTIME_COLUMN_ROW_KEY = "_column_row_key_";
59818
+ const MAX_FRONT_ROW_KEY_LENGTH = 255;
59819
+ const TABLE_2D_ROW_KEY_PREFIX = "2d1.";
59820
+ function encodeBase64Url(value) {
59821
+ return btoa(
59822
+ Array.from(new TextEncoder().encode(value), (byte) => String.fromCharCode(byte)).join("")
59823
+ ).replace(/\+/g, "-").replace(/\//g, "_").replace(/=+$/, "");
59824
+ }
59825
+ function decodeBase64Url(value) {
59826
+ const base64 = value.replace(/-/g, "+").replace(/_/g, "/");
59827
+ const padded = base64 + "=".repeat((4 - base64.length % 4) % 4);
59828
+ return new TextDecoder().decode(Uint8Array.from(atob(padded), (char) => char.charCodeAt(0)));
59829
+ }
59830
+ function decodeTableCellRowKey(rowKey) {
59831
+ if (typeof rowKey !== "string" || !rowKey.startsWith(TABLE_2D_ROW_KEY_PREFIX)) return void 0;
59832
+ try {
59833
+ const parsed = JSON.parse(decodeBase64Url(rowKey.slice(TABLE_2D_ROW_KEY_PREFIX.length)));
59834
+ if (!Array.isArray(parsed) || parsed.length !== 2 || parsed.some((item) => typeof item !== "string" || item === ""))
59835
+ return void 0;
59836
+ return { cellRowKey: parsed[0], columnRowKey: parsed[1] };
59837
+ } catch {
59838
+ return void 0;
59839
+ }
59840
+ }
59841
+ function encodeTableCellRowKey(cellRowKey, columnRowKey) {
59842
+ const decoded = decodeTableCellRowKey(cellRowKey);
59843
+ const originalCellRowKey = decoded?.cellRowKey ?? String(cellRowKey ?? "");
59844
+ const persistedColumnRowKey = String(columnRowKey ?? "");
59845
+ if (!originalCellRowKey || !persistedColumnRowKey)
59846
+ throw new Error("二维表子行或关联列缺少 front_row_key_");
59847
+ if (decoded?.columnRowKey === persistedColumnRowKey) return String(cellRowKey);
59848
+ const encoded = `${TABLE_2D_ROW_KEY_PREFIX}${encodeBase64Url(
59849
+ JSON.stringify([originalCellRowKey, persistedColumnRowKey])
59850
+ )}`;
59851
+ if (encoded.length > MAX_FRONT_ROW_KEY_LENGTH)
59852
+ throw new Error(`二维表内置关联键长度超过 ${MAX_FRONT_ROW_KEY_LENGTH},不能提交`);
59853
+ return encoded;
59854
+ }
59855
+ function isTableRowKeyMatch(rowKey, expected) {
59856
+ if (rowKey == null || expected == null) return false;
59857
+ const actual = String(rowKey);
59858
+ const target = String(expected);
59859
+ return actual === target || decodeTableCellRowKey(actual)?.cellRowKey === target;
59860
+ }
59486
59861
  function findRuntimeTableRow(rows, rowKey) {
59487
59862
  if (!rowKey || !Array.isArray(rows)) return void 0;
59488
59863
  for (const row of rows) {
59489
59864
  if (!row || row.deleted_) continue;
59490
- if (String(row[FRONT_ROW_KEY]) === rowKey) return row;
59865
+ if (isTableRowKeyMatch(row[FRONT_ROW_KEY], rowKey)) return row;
59491
59866
  const child = findRuntimeTableRow(row._2DTABLE_, rowKey);
59492
59867
  if (child) return child;
59493
59868
  }
@@ -59496,8 +59871,8 @@ function findRuntimeTableRow(rows, rowKey) {
59496
59871
  function findRuntimeParentRow(rows, rowKey) {
59497
59872
  if (!rowKey || !Array.isArray(rows)) return void 0;
59498
59873
  return rows.find(
59499
- (row) => !row?.deleted_ && (String(row[FRONT_ROW_KEY]) === rowKey || row._2DTABLE_?.some(
59500
- (child) => !child?.deleted_ && String(child[FRONT_ROW_KEY]) === rowKey
59874
+ (row) => !row?.deleted_ && (isTableRowKeyMatch(row[FRONT_ROW_KEY], rowKey) || row._2DTABLE_?.some(
59875
+ (child) => !child?.deleted_ && isTableRowKeyMatch(child[FRONT_ROW_KEY], rowKey)
59501
59876
  ))
59502
59877
  );
59503
59878
  }
@@ -59533,8 +59908,9 @@ function bindRuntimeTableColumns(state, relations) {
59533
59908
  );
59534
59909
  for (const child of parent._2DTABLE_) {
59535
59910
  if (child[RUNTIME_COLUMN_ROW_KEY]) continue;
59911
+ const persistedIdentity = decodeTableCellRowKey(child[FRONT_ROW_KEY]);
59536
59912
  const reference = info.rowRefFieldKey ? child[info.rowRefFieldKey] : void 0;
59537
- let column;
59913
+ let businessColumn;
59538
59914
  if (reference != null && reference !== "" && info.colRefFieldKey) {
59539
59915
  const matches = columns.filter(
59540
59916
  (candidate) => String(candidate[info.colRefFieldKey]) === String(reference)
@@ -59543,14 +59919,20 @@ function bindRuntimeTableColumns(state, relations) {
59543
59919
  throw new Error(
59544
59920
  `二维表「${info.rowSubFieldKey}」的关联列引用「${reference}」无法唯一匹配`
59545
59921
  );
59546
- column = matches[0];
59547
- } else {
59548
- if (child.id_)
59549
- throw new Error(
59550
- `二维表「${info.rowSubFieldKey}」已保存子行「${child[FRONT_ROW_KEY]}」缺少关联列引用`
59551
- );
59552
- column = available.shift();
59553
- }
59922
+ businessColumn = matches[0];
59923
+ }
59924
+ const persistedColumn = persistedIdentity ? columns.find(
59925
+ (candidate) => ensureFrontRowKey(candidate) === persistedIdentity.columnRowKey
59926
+ ) : void 0;
59927
+ if (persistedIdentity && !persistedColumn)
59928
+ throw new Error(
59929
+ `二维表「${info.rowSubFieldKey}」子行「${child[FRONT_ROW_KEY]}」的内置关联列不存在`
59930
+ );
59931
+ if (businessColumn && persistedColumn && businessColumn !== persistedColumn)
59932
+ throw new Error(
59933
+ `二维表「${info.rowSubFieldKey}」子行「${child[FRONT_ROW_KEY]}」的业务引用与内置关联冲突`
59934
+ );
59935
+ const column = businessColumn ?? persistedColumn ?? available.shift();
59554
59936
  if (!column) throw new Error(`二维表「${info.rowSubFieldKey}」缺少可绑定的关联列行`);
59555
59937
  const columnKey = ensureFrontRowKey(column);
59556
59938
  if (bound.has(columnKey))
@@ -59681,7 +60063,10 @@ function setSubTableFormState(modeType, sInfo, formState) {
59681
60063
  if (is2DTable || isCheckTable) {
59682
60064
  const grouped = groupBy(subFormData.data, "group_");
59683
60065
  const restoredData = Object.entries(grouped).map(([groupKey, items]) => {
59684
- const commonFields = getCommonFields(items);
60066
+ const commonFields = omit(
60067
+ getCommonFields(items),
60068
+ ["id_", ...sInfo.crossFieldKeys ?? [], sInfo.rowRefFieldKey].filter(Boolean)
60069
+ );
59685
60070
  const _2DTABLE_ = items.map((item) => {
59686
60071
  if (!isEmpty(item.value_) && item.type_ === FIELD_TYPE.BOOLEAN) {
59687
60072
  item.value_ = [true, "true", "1", "yes", "y"].includes(item.value_);
@@ -60238,6 +60623,21 @@ const transformUtils = {
60238
60623
  }
60239
60624
  return {};
60240
60625
  },
60626
+ /** 数据加载完成事件;全部 Sheet 的数据合并后、创建 Store 和分页前只执行一次。 */
60627
+ getEventInitDataLoaded: async (payload) => {
60628
+ const { formConfig, formState, viewMode, dataStatus, ofCtx } = payload;
60629
+ if (viewMode !== RenderModeEnum.FormMode || !formConfig?.javascript) return;
60630
+ const codeInstance = setCodeRunner(formConfig.javascript, formState, ofCtx);
60631
+ try {
60632
+ if (typeof codeInstance.exports?.GCT_BUILT_IN_DATA_LOADED !== "function") return;
60633
+ await codeInstance.invoke("GCT_BUILT_IN_DATA_LOADED", {
60634
+ isDataProcessed: dataStatus === "STASH" || dataStatus === "SUBMIT",
60635
+ formState
60636
+ });
60637
+ } finally {
60638
+ codeInstance.dispose();
60639
+ }
60640
+ },
60241
60641
  /** 创建字段事件执行器;注册后由 RuntimeInstanceRecord 持有,全部 Sheet 共用。 */
60242
60642
  createScriptRunner: (payload) => {
60243
60643
  const { formConfig, viewMode, ofCtx } = payload || {};
@@ -60257,7 +60657,27 @@ const transformUtils = {
60257
60657
  merge(formState, payload.defaultData);
60258
60658
  }
60259
60659
  if (!isEmpty(payload.paramData)) {
60260
- merge(formState, payload.paramData);
60660
+ const paramData = cloneDeep(payload.paramData);
60661
+ subTableInfo?.forEach((subInfo) => {
60662
+ const defaultRows = formState[subInfo.field];
60663
+ const mappedRows = paramData[subInfo.field]?.data;
60664
+ if (!Array.isArray(defaultRows) || !defaultRows.length || !mappedRows?.length) return;
60665
+ const rows = cloneDeep(defaultRows);
60666
+ const is2DTable = subInfo.subTable2d && subInfo.key === "dyn" || subInfo.checkTable2d && subInfo.key === "newfixed";
60667
+ if (is2DTable) {
60668
+ const crossFieldKeys = subInfo.crossFieldKeys ?? [];
60669
+ merge(rows[0], omit(mappedRows[0], [...crossFieldKeys, "group_"]));
60670
+ mappedRows.forEach((mappedRow, index2) => {
60671
+ if (rows[0]._2DTABLE_?.[index2]) {
60672
+ merge(rows[0]._2DTABLE_[index2], pick(mappedRow, crossFieldKeys));
60673
+ }
60674
+ });
60675
+ } else {
60676
+ merge(rows[0], mappedRows[0]);
60677
+ }
60678
+ paramData[subInfo.field] = rows;
60679
+ });
60680
+ merge(formState, paramData);
60261
60681
  }
60262
60682
  if (!isEmpty(payload.customData)) {
60263
60683
  const mergeKeys = [...subTableInfo?.map((e) => e.field) || [], "_DICT", "_OPCT"];
@@ -60369,6 +60789,7 @@ const transformUtils = {
60369
60789
  materialConsumeTableList = []
60370
60790
  } = layout || {};
60371
60791
  const list2D = [...subTable2DList, ...checkTable2DList];
60792
+ bindRuntimeTableColumns(formData, list2D);
60372
60793
  const filterKeys = [
60373
60794
  "_DICT",
60374
60795
  "_OPCT",
@@ -60377,6 +60798,14 @@ const transformUtils = {
60377
60798
  CLIENT_ROW_UID_KEY,
60378
60799
  RUNTIME_COLUMN_ROW_KEY
60379
60800
  ];
60801
+ const hasBusinessData = (data) => Object.entries(data).some(([key, value]) => {
60802
+ if (key === FRONT_ROW_KEY || key === "group_") return false;
60803
+ if ((key === "deleted_" || key === "delete_") && !value) return false;
60804
+ if (isNil(value) || value === "") return false;
60805
+ if (Array.isArray(value)) return value.length > 0;
60806
+ if (isObject$1(value)) return !isEmpty(value);
60807
+ return true;
60808
+ });
60380
60809
  const realFormData = Object.keys(formData).reduce((acc, fieldKey) => {
60381
60810
  const info = list2D.find(
60382
60811
  (item) => (item.subTable2d || item.checkTable2d) && item.rowSubFieldKey === fieldKey
@@ -60393,37 +60822,46 @@ const transformUtils = {
60393
60822
  }
60394
60823
  }
60395
60824
  if (info) {
60825
+ const parentExcludedKeys = info.subTable2d ? ["id_", ...info.crossFieldKeys ?? [], info.rowRefFieldKey].filter(Boolean) : [];
60396
60826
  const columns = new Map(
60397
60827
  (formData[info.colSubFieldKey] ?? []).map((column) => [column[FRONT_ROW_KEY], column])
60398
60828
  );
60399
60829
  const arr = flatMap(
60400
60830
  formData[fieldKey],
60401
- (row) => (row._2DTABLE_ ?? []).map((child) => {
60831
+ (row) => flatMap(row._2DTABLE_ ?? [], (child) => {
60832
+ const submitRow = omit(
60833
+ merge(
60834
+ pickBy(omit(row, [...filterKeys, ...parentExcludedKeys]), (value) => !isNil(value)),
60835
+ pickBy(omit(child, filterKeys), (value) => !isNil(value))
60836
+ ),
60837
+ "_2DTABLE_"
60838
+ );
60839
+ if (info.subTable2d && (isNil(child.id_) || child.id_ === "")) delete submitRow.id_;
60840
+ if (!info.subTable2d && !hasBusinessData(submitRow)) return [];
60402
60841
  const column = columns.get(child[RUNTIME_COLUMN_ROW_KEY]);
60403
60842
  if (info.colSubFieldKey && !column) {
60404
60843
  throw new Error(
60405
60844
  `二维表「${fieldKey}」子行「${child[FRONT_ROW_KEY]}」缺少关联列行,不能提交`
60406
60845
  );
60407
60846
  }
60408
- if (column && info.rowRefFieldKey && (column[info.colRefFieldKey] == null || column[info.colRefFieldKey] === "")) {
60409
- throw new Error(
60410
- `二维表「${fieldKey}」关联列「${column[FRONT_ROW_KEY]}」缺少可保存的引用值,不能提交`
60411
- );
60412
- }
60413
- return omit(
60847
+ const businessReference = column && info.rowRefFieldKey && info.colRefFieldKey ? column[info.colRefFieldKey] : void 0;
60848
+ const canSaveBusinessReference = businessReference != null && businessReference !== "";
60849
+ const persistedSubmitRow = column && !canSaveBusinessReference ? {
60850
+ ...omit(submitRow, info.rowRefFieldKey),
60851
+ [FRONT_ROW_KEY]: encodeTableCellRowKey(
60852
+ child[FRONT_ROW_KEY],
60853
+ column[FRONT_ROW_KEY]
60854
+ )
60855
+ } : submitRow;
60856
+ return [
60414
60857
  merge(
60415
- pickBy(omit(row, filterKeys), (value) => !isNil(value)),
60416
- pickBy(omit(child, filterKeys), (value) => !isNil(value)),
60417
- column && info.rowRefFieldKey ? { [info.rowRefFieldKey]: column[info.colRefFieldKey] } : {}
60418
- ),
60419
- "_2DTABLE_"
60420
- );
60858
+ persistedSubmitRow,
60859
+ column && info.rowRefFieldKey && canSaveBusinessReference ? { [info.rowRefFieldKey]: businessReference } : {}
60860
+ )
60861
+ ];
60421
60862
  })
60422
60863
  );
60423
- acc[fieldKey] = arr.every((item) => {
60424
- const keys2 = Object.keys(item).filter((key) => key !== FRONT_ROW_KEY);
60425
- return keys2.length === 1 && has(item, "group_");
60426
- }) ? [] : arr;
60864
+ acc[fieldKey] = arr;
60427
60865
  } else if (Array.isArray(formData[fieldKey])) {
60428
60866
  acc[fieldKey] = formData[fieldKey].map(
60429
60867
  (item) => Object.fromEntries(
@@ -60442,12 +60880,11 @@ const transformUtils = {
60442
60880
  console.log("0506 数据转成真实提交数据(二维表要平铺)", realFormData);
60443
60881
  return omit(realFormData, filterKeys);
60444
60882
  },
60445
- getFormDataIdsMap: (formData, preserveKeys = []) => {
60446
- const preserveKeySet = /* @__PURE__ */ new Set([FRONT_ROW_KEY, ...preserveKeys.filter(Boolean)]);
60447
- const shouldKeepAsIs = (key, isFirstLevel) => key === "id_" || isFirstLevel && key.startsWith("record_no_") || preserveKeySet.has(key);
60448
- const processEntry = (entry, isFirstLevel = false) => {
60883
+ getFormDataIdsMap: (formData, preserveKeys = [], shouldPreserveField) => {
60884
+ const preserveKeySet = /* @__PURE__ */ new Set([FRONT_ROW_KEY, "group_", ...preserveKeys.filter(Boolean)]);
60885
+ const processEntry = (entry, isFirstLevel = false, path = "") => {
60449
60886
  if (Array.isArray(entry)) {
60450
- const processed = entry.map((item) => processEntry(item, false)).filter(Boolean);
60887
+ const processed = entry.map((item, index2) => processEntry(item, false, `${path}.${index2}`)).filter(Boolean);
60451
60888
  return processed.length ? processed : void 0;
60452
60889
  }
60453
60890
  if (entry && typeof entry === "object") {
@@ -60455,23 +60892,15 @@ const transformUtils = {
60455
60892
  if ("id_" in entry) {
60456
60893
  result.id_ = entry.id_;
60457
60894
  }
60458
- if (isFirstLevel) {
60459
- for (const [key, value] of Object.entries(entry)) {
60460
- if (key.startsWith("record_no_")) {
60461
- result[key] = value;
60462
- }
60463
- }
60464
- }
60465
60895
  for (const [key, value] of Object.entries(entry)) {
60466
- if (preserveKeySet.has(key) && !(key in result)) {
60896
+ const fieldPath = path ? `${path}.${key}` : key;
60897
+ if (key === "id_" || isFirstLevel && key.startsWith("record_no_") || preserveKeySet.has(key) || shouldPreserveField?.(fieldPath)) {
60467
60898
  result[key] = value;
60468
- }
60469
- }
60470
- for (const [key, value] of Object.entries(entry)) {
60471
- if (shouldKeepAsIs(key, isFirstLevel)) continue;
60472
- const processed = processEntry(value, false);
60473
- if (processed !== void 0) {
60474
- result[key] = processed;
60899
+ } else {
60900
+ const processed = processEntry(value, false, fieldPath);
60901
+ if (processed !== void 0) {
60902
+ result[key] = processed;
60903
+ }
60475
60904
  }
60476
60905
  }
60477
60906
  return Object.keys(result).length ? result : void 0;
@@ -60617,6 +61046,73 @@ async function generateSnByRuleId(id) {
60617
61046
  return preview(res.data.config_);
60618
61047
  }
60619
61048
  }
61049
+ const withRequestCache = {
61050
+ pendingMap: /* @__PURE__ */ new Map(),
61051
+ cacheMap: /* @__PURE__ */ new Map(),
61052
+ defaultTTL: 2 * 60 * 1e3,
61053
+ // 默认缓存有效期 2分钟
61054
+ /** 生成唯一 key */
61055
+ getKey(url, params) {
61056
+ return `${url}_${JSON.stringify(params)}`;
61057
+ },
61058
+ /**
61059
+ * 处理带缓存与去重的请求
61060
+ * @param url 唯一逻辑标识(非实际 API 地址)
61061
+ * @param params 请求参数
61062
+ * @param requestFn 实际请求函数
61063
+ * @param ttl 可选,缓存有效期(毫秒)
61064
+ */
61065
+ async handleRequest(url, params, requestFn, ttl) {
61066
+ const key = this.getKey(url, params);
61067
+ const now2 = Date.now();
61068
+ const cacheTTL = ttl ?? this.defaultTTL;
61069
+ this.cleanupExpiredCache();
61070
+ const cached = this.cacheMap.get(key);
61071
+ if (cached && cached.expireAt > now2) {
61072
+ console.info(`[cache] 命中缓存: ${key}`);
61073
+ return cached.data;
61074
+ } else if (cached) {
61075
+ this.cacheMap.delete(key);
61076
+ }
61077
+ if (this.pendingMap.has(key)) {
61078
+ console.warn(`[pending] 返回进行中的 Promise: ${key}`);
61079
+ return this.pendingMap.get(key);
61080
+ }
61081
+ const reqPromise = requestFn(params).then((res) => {
61082
+ this.cacheMap.set(key, {
61083
+ data: res,
61084
+ expireAt: Date.now() + cacheTTL
61085
+ });
61086
+ return res;
61087
+ }).finally(() => {
61088
+ this.pendingMap.delete(key);
61089
+ });
61090
+ this.pendingMap.set(key, reqPromise);
61091
+ return reqPromise;
61092
+ },
61093
+ /** 清空全部缓存 */
61094
+ clearCache() {
61095
+ this.cacheMap.clear();
61096
+ },
61097
+ /** 清空 pending 状态 */
61098
+ clearPending() {
61099
+ this.pendingMap.clear();
61100
+ },
61101
+ /** 定期清理过期缓存 */
61102
+ cleanupExpiredCache() {
61103
+ const now2 = Date.now();
61104
+ let count = 0;
61105
+ for (const [key, entry] of this.cacheMap.entries()) {
61106
+ if (entry.expireAt <= now2) {
61107
+ this.cacheMap.delete(key);
61108
+ count++;
61109
+ }
61110
+ }
61111
+ if (count > 0) {
61112
+ console.debug(`[cache] 清理过期缓存 ${count} 项`);
61113
+ }
61114
+ }
61115
+ };
60620
61116
  const LOT_CONTAINER_ROLE = {
60621
61117
  /** 关联批父节点 */
60622
61118
  RELATED_PARENT: "related_parent",
@@ -60658,14 +61154,27 @@ function buildLotLikeQuery(searchFields, keyword, extraQuery = {}) {
60658
61154
  return { queryData, exp };
60659
61155
  }
60660
61156
  function buildLotSnListQuery(keyword = "", extraQuery = {}) {
60661
- return buildLotLikeQuery(["name_", "related_parent_name_", "product_id_code_", "product_id_name_", "spec_"], keyword, {
60662
- "container_role_.ne": LOT_CONTAINER_ROLE.RELATED_PARENT,
60663
- ...extraQuery
60664
- });
61157
+ return buildLotLikeQuery(
61158
+ [
61159
+ "name_.iLike:batch",
61160
+ "related_parent_name_.iLike:related",
61161
+ "product_id_$code_.iLike",
61162
+ "product_id_$name_.iLike",
61163
+ "product_id_$spec_.iLike"
61164
+ ],
61165
+ keyword,
61166
+ {
61167
+ "container_role_.ne": LOT_CONTAINER_ROLE.RELATED_PARENT,
61168
+ ...extraQuery
61169
+ }
61170
+ );
60665
61171
  }
60666
61172
  function buildProductionLotListQuery(keyword = "", extraQuery = {}) {
60667
61173
  return buildLotLikeQuery(["name_", "related_parent_name_"], keyword, {
60668
- "production_identification_type_.in": ["LOT", "SN"],
61174
+ "production_identification_type_.in": [
61175
+ ProductionIdentificationTypeEnum.LOT,
61176
+ ProductionIdentificationTypeEnum.SN
61177
+ ],
60669
61178
  is_rework_: 0,
60670
61179
  "container_role_.ne": LOT_CONTAINER_ROLE.RELATED_PARENT,
60671
61180
  ...extraQuery
@@ -60673,7 +61182,10 @@ function buildProductionLotListQuery(keyword = "", extraQuery = {}) {
60673
61182
  }
60674
61183
  function buildInspectionLotListQuery(keyword = "", extraQuery = {}) {
60675
61184
  return buildLotLikeQuery(["name_", "related_parent_name_"], keyword, {
60676
- "production_identification_type_.eq": "inspection",
61185
+ "production_identification_type_.in": [
61186
+ ProductionIdentificationTypeEnum.INSPECTION_CONTAINER,
61187
+ ProductionIdentificationTypeEnum.LEGACY_INSPECTION
61188
+ ],
60677
61189
  is_rework_: 0,
60678
61190
  "container_role_.ne": LOT_CONTAINER_ROLE.RELATED_PARENT,
60679
61191
  ...extraQuery
@@ -61121,73 +61633,6 @@ async function syncReInspectionDate(form, belongingObject, modelFields) {
61121
61633
  form.row[path] = resolved.value;
61122
61634
  }
61123
61635
  registerDateObjectHandler("sync-re-inspection-date", syncReInspectionDate);
61124
- const requestUtils = {
61125
- pendingMap: /* @__PURE__ */ new Map(),
61126
- cacheMap: /* @__PURE__ */ new Map(),
61127
- defaultTTL: 2 * 60 * 1e3,
61128
- // 默认缓存有效期 2分钟
61129
- /** 生成唯一 key */
61130
- getKey(url, params) {
61131
- return `${url}_${JSON.stringify(params)}`;
61132
- },
61133
- /**
61134
- * 处理带缓存与去重的请求
61135
- * @param url 唯一逻辑标识(非实际 API 地址)
61136
- * @param params 请求参数
61137
- * @param requestFn 实际请求函数
61138
- * @param ttl 可选,缓存有效期(毫秒)
61139
- */
61140
- async handleRequest(url, params, requestFn, ttl) {
61141
- const key = this.getKey(url, params);
61142
- const now2 = Date.now();
61143
- const cacheTTL = ttl ?? this.defaultTTL;
61144
- this.cleanupExpiredCache();
61145
- const cached = this.cacheMap.get(key);
61146
- if (cached && cached.expireAt > now2) {
61147
- console.info(`[cache] 命中缓存: ${key}`);
61148
- return cached.data;
61149
- } else if (cached) {
61150
- this.cacheMap.delete(key);
61151
- }
61152
- if (this.pendingMap.has(key)) {
61153
- console.warn(`[pending] 返回进行中的 Promise: ${key}`);
61154
- return this.pendingMap.get(key);
61155
- }
61156
- const reqPromise = requestFn(params).then((res) => {
61157
- this.cacheMap.set(key, {
61158
- data: res,
61159
- expireAt: Date.now() + cacheTTL
61160
- });
61161
- return res;
61162
- }).finally(() => {
61163
- this.pendingMap.delete(key);
61164
- });
61165
- this.pendingMap.set(key, reqPromise);
61166
- return reqPromise;
61167
- },
61168
- /** 清空全部缓存 */
61169
- clearCache() {
61170
- this.cacheMap.clear();
61171
- },
61172
- /** 清空 pending 状态 */
61173
- clearPending() {
61174
- this.pendingMap.clear();
61175
- },
61176
- /** 定期清理过期缓存 */
61177
- cleanupExpiredCache() {
61178
- const now2 = Date.now();
61179
- let count = 0;
61180
- for (const [key, entry] of this.cacheMap.entries()) {
61181
- if (entry.expireAt <= now2) {
61182
- this.cacheMap.delete(key);
61183
- count++;
61184
- }
61185
- }
61186
- if (count > 0) {
61187
- console.debug(`[cache] 清理过期缓存 ${count} 项`);
61188
- }
61189
- }
61190
- };
61191
61636
  async function getDeptList() {
61192
61637
  const data = await api.apaas.designerCommon.getGetCanBeUsedOrg() || [];
61193
61638
  data?.forEach((i2) => {
@@ -61217,7 +61662,7 @@ async function getEnumList(modelKey, fieldKey) {
61217
61662
  };
61218
61663
  }
61219
61664
  async function getUserList(modelKey, fieldKey) {
61220
- const result = await requestUtils.handleRequest(
61665
+ const result = await withRequestCache.handleRequest(
61221
61666
  "/api/getUserList",
61222
61667
  { modelKey, fieldKey, onlyHasSeat: true, pageSize: 999 },
61223
61668
  api.apaas.designerCommon.getGetCanBeUsedOrgUser
@@ -61257,6 +61702,17 @@ async function getRefList({
61257
61702
  totalCount: 0
61258
61703
  };
61259
61704
  }
61705
+ if ((bizType || fieldType) === FIELD_TYPE.E_SOP || refModelKey === "em_document") {
61706
+ const settings = window.NocodeAdapter.hooks?.useBusinessSetting?.();
61707
+ await settings?.ensureBusinessSettingLoaded?.();
61708
+ if (settings?.businessSetting?.enableSopDocApprove) {
61709
+ queryData = {
61710
+ ...queryData,
61711
+ operating_state_: true,
61712
+ approve_status_: "EFFECTIVE"
61713
+ };
61714
+ }
61715
+ }
61260
61716
  const params = {
61261
61717
  modelKey,
61262
61718
  fieldKey,
@@ -61282,7 +61738,7 @@ async function getRefList({
61282
61738
  }
61283
61739
  const useAvailableRoutingOperation = isRoutingOperationFieldType(fieldType, bizType);
61284
61740
  const url = useAvailableRoutingOperation ? "/api/routingOperation/available" : "/api/getRefList";
61285
- return requestUtils.handleRequest(url, params, async (props) => {
61741
+ return withRequestCache.handleRequest(url, params, async (props) => {
61286
61742
  const {
61287
61743
  modelKey: modelKey2,
61288
61744
  fieldKey: fieldKey2,
@@ -61391,7 +61847,7 @@ async function getLot2SnList({
61391
61847
  }
61392
61848
  const url = "/api/lot2SnList/v2";
61393
61849
  const params = { queryData, exp, pageNo, pageSize };
61394
- return requestUtils.handleRequest(url, params, async (props) => {
61850
+ return withRequestCache.handleRequest(url, params, async (props) => {
61395
61851
  const apiParams = {
61396
61852
  modelCategory: EntityModelCategoryEnum.ENTITY,
61397
61853
  modelKey: "em_production_identification",
@@ -61431,7 +61887,7 @@ async function getSterilizeLotList({
61431
61887
  } = {}) {
61432
61888
  const url = "/api/sterilizeLotList";
61433
61889
  const params = { queryData, pageNo, pageSize };
61434
- return requestUtils.handleRequest(url, params, async (props) => {
61890
+ return withRequestCache.handleRequest(url, params, async (props) => {
61435
61891
  const apiParams = {
61436
61892
  modelCategory: EntityModelCategoryEnum.ENTITY,
61437
61893
  modelKey: "em_production_identification",
@@ -61442,7 +61898,7 @@ async function getSterilizeLotList({
61442
61898
  {},
61443
61899
  {
61444
61900
  query: {
61445
- production_identification_type_: "STERILIZATION",
61901
+ production_identification_type_: ProductionIdentificationTypeEnum.STERILIZATION,
61446
61902
  "container_role_.ne": LOT_CONTAINER_ROLE.RELATED_PARENT,
61447
61903
  ...props.queryData
61448
61904
  },
@@ -61468,7 +61924,7 @@ async function getDeviceList({
61468
61924
  } = {}) {
61469
61925
  const url = "/api/deviceSearch";
61470
61926
  const params = { queryData, exp, pageNo, pageSize };
61471
- return requestUtils.handleRequest(url, params, async (props) => {
61927
+ return withRequestCache.handleRequest(url, params, async (props) => {
61472
61928
  const res = await api.apaas.modelComprehensive.postBizServiceModelCategoryModelKeyBsKey(
61473
61929
  DEVICE_SEARCH_API,
61474
61930
  {},
@@ -61496,7 +61952,7 @@ async function getDeviceList({
61496
61952
  async function getMaterialLotList({ queryData = {}, exp = "", pageNo = 1, pageSize = 20 } = {}) {
61497
61953
  const url = "/api/materialLotList";
61498
61954
  const params = { queryData, exp, pageNo, pageSize };
61499
- return requestUtils.handleRequest(url, params, async (props) => {
61955
+ return withRequestCache.handleRequest(url, params, async (props) => {
61500
61956
  const params2 = {
61501
61957
  modelCategory: EntityModelCategoryEnum.ENTITY,
61502
61958
  modelKey: "em_production_identification",
@@ -61510,7 +61966,7 @@ async function getMaterialLotList({ queryData = {}, exp = "", pageNo = 1, pageSi
61510
61966
  props.exp
61511
61967
  ),
61512
61968
  query: {
61513
- "production_identification_type_.eq": "MATERIAL",
61969
+ "production_identification_type_.eq": ProductionIdentificationTypeEnum.MATERIAL,
61514
61970
  "production_identification_type_.isNull": null,
61515
61971
  "container_role_.ne": LOT_CONTAINER_ROLE.RELATED_PARENT,
61516
61972
  ...props.queryData
@@ -61801,7 +62257,7 @@ const renderUtils = {
61801
62257
  if ([FIELD_TYPE.INTEGER, FIELD_TYPE.LONG].includes(fieldType)) {
61802
62258
  const _val_ = parseInt(value);
61803
62259
  return isNaN(_val_) ? void 0 : _val_;
61804
- } else if (fieldType === FIELD_TYPE.DECIMAL) {
62260
+ } else if ([FIELD_TYPE.DECIMAL, FIELD_TYPE.PRODUCT_RELEASE_QTY].includes(fieldType)) {
61805
62261
  const _val_ = parseFloat(value);
61806
62262
  return isNaN(_val_) ? void 0 : _val_;
61807
62263
  } else if (fieldType === FIELD_TYPE.BOOLEAN) {
@@ -62509,11 +62965,12 @@ const renderUtils = {
62509
62965
  for (const dataCenter of dataCenters) {
62510
62966
  await processWidgets(dataCenter, pushField);
62511
62967
  }
62512
- requestUtils.clearCache();
62968
+ withRequestCache.clearCache();
62513
62969
  },
62514
62970
  /** 获取默认值集合 */
62515
62971
  getDefaultValueMapByField: ({
62516
62972
  defaultValueFields,
62973
+ objectProductDefaults = /* @__PURE__ */ new WeakMap(),
62517
62974
  mainMaterialNo = void 0,
62518
62975
  mainRelatedLotNo = void 0,
62519
62976
  mainProductName = void 0,
@@ -62549,7 +63006,10 @@ const renderUtils = {
62549
63006
  };
62550
63007
  const getDefaultValue = (field) => {
62551
63008
  const { fieldType, timeType, dateType, defaultValue, belongingObject, bizType } = field;
62552
- if (belongingObject && (fieldType === FIELD_TYPE.PRODUCT || fieldType === FIELD_TYPE.MATERIAL_NO)) {
63009
+ if (belongingObject && fieldType === FIELD_TYPE.PRODUCT) {
63010
+ return objectProductDefaults.get(field)?.value;
63011
+ }
63012
+ if (belongingObject && fieldType === FIELD_TYPE.MATERIAL_NO) {
62553
63013
  return void 0;
62554
63014
  }
62555
63015
  if (bizType === FIELD_TYPE.WAREHOUSE || fieldType === FIELD_TYPE.WAREHOUSE) {
@@ -62617,6 +63077,7 @@ const renderUtils = {
62617
63077
  assignValue(key, `${fieldId}_id_`, mainSterilizationLotId);
62618
63078
  }
62619
63079
  if (!configuredDefaultFields.has(field) && enableAutofill !== false && Array.isArray(autofillRules) && autofillRules.length > 0) {
63080
+ const isObjectProduct = !!field.belongingObject && fieldType === FIELD_TYPE.PRODUCT;
62620
63081
  let sourceData = fieldType === FIELD_TYPE.PRODUCT ? productData : fieldType === FIELD_TYPE.ROUTING_OPERATION ? operationData : null;
62621
63082
  if (fieldType === FIELD_TYPE.MFG_ORDER) {
62622
63083
  sourceData = mfgOrderData;
@@ -62636,14 +63097,19 @@ const renderUtils = {
62636
63097
  if (bizType === FIELD_TYPE.WAREHOUSE) {
62637
63098
  sourceData = warehouseData;
62638
63099
  }
63100
+ if (isObjectProduct) {
63101
+ sourceData = objectProductDefaults.get(field)?.sourceData;
63102
+ }
62639
63103
  if (sourceData) {
62640
- autofillRules.forEach(({ fromField, toField, toFieldType }) => {
63104
+ autofillRules.forEach(({ fromField, toField, toFieldType, fromSubTableField }) => {
63105
+ if (!toField) return;
63106
+ const targetKey = isObjectProduct ? fromSubTableField || key : key;
62641
63107
  if (fromField === "uom_id_" && sourceData?.[fromField] && toFieldType !== FIELD_TYPE.REF) {
62642
- const dictVal = sourceData?._DICT?.[fromField][sourceData?.[fromField]];
63108
+ const dictVal = sourceData?._DICT?.[fromField]?.[sourceData?.[fromField]];
62643
63109
  const val = Array.isArray(dictVal) ? dictVal[0] : dictVal || sourceData?.[fromField];
62644
- assignValue(key, toField, val);
63110
+ assignValue(targetKey, toField, val);
62645
63111
  } else {
62646
- assignValue(key, toField, sourceData?.[fromField]);
63112
+ assignValue(targetKey, toField, sourceData?.[fromField]);
62647
63113
  }
62648
63114
  });
62649
63115
  }
@@ -66208,6 +66674,15 @@ function assembleRules(input) {
66208
66674
  }, buildError(validatorInfo, $t("sys.fieldNumericDigitsNoMoreThan")))
66209
66675
  );
66210
66676
  }
66677
+ const configuredMinCoversZero = enableRangeValidate && minValidateMode === RangeValidateMode.Fixed_Number && !isEmptyValue(minValue) && Number(minValue) >= 0 && (resolvedMinCompareOp === RangeCompareOp.GE || resolvedMinCompareOp === RangeCompareOp.GT);
66678
+ if (input.defaultMinValue === 0 && !configuredMinCoversZero) {
66679
+ RuleProps.push(
66680
+ createRule(
66681
+ (_rule, value) => isEmptyValue(value) || Number(value) >= 0,
66682
+ buildError(validatorInfo, rangeCompareMessage(RangeCompareOp.GE, 0))
66683
+ )
66684
+ );
66685
+ }
66211
66686
  if (!enableRangeValidate) {
66212
66687
  return RuleProps;
66213
66688
  }
@@ -67081,27 +67556,27 @@ var loadModule = (cmpMeta, hostRef, hmrVersionId) => {
67081
67556
  case "revo-grid":
67082
67557
  return import(
67083
67558
  /* webpackMode: "lazy" */
67084
- "./revo-grid.entry-BqbaKcyR.js"
67559
+ "./revo-grid.entry-BZADj2ve.js"
67085
67560
  ).then(processMod, consoleError);
67086
67561
  case "revogr-filter-panel":
67087
67562
  return import(
67088
67563
  /* webpackMode: "lazy" */
67089
- "./revogr-filter-panel.entry-C-1WXBDy.js"
67564
+ "./revogr-filter-panel.entry-BJEYteeW.js"
67090
67565
  ).then(processMod, consoleError);
67091
67566
  case "revogr-attribution_7":
67092
67567
  return import(
67093
67568
  /* webpackMode: "lazy" */
67094
- "./revogr-attribution_7.entry-jmN78nkb.js"
67569
+ "./revogr-attribution_7.entry-DbQASE7d.js"
67095
67570
  ).then(processMod, consoleError);
67096
67571
  case "revogr-clipboard_3":
67097
67572
  return import(
67098
67573
  /* webpackMode: "lazy" */
67099
- "./revogr-clipboard_3.entry-eK74i7_f.js"
67574
+ "./revogr-clipboard_3.entry-BUDhUelS.js"
67100
67575
  ).then(processMod, consoleError);
67101
67576
  case "revogr-data_4":
67102
67577
  return import(
67103
67578
  /* webpackMode: "lazy" */
67104
- "./revogr-data_4.entry-D2lAUBEM.js"
67579
+ "./revogr-data_4.entry-0V57Lz9p.js"
67105
67580
  ).then(processMod, consoleError);
67106
67581
  }
67107
67582
  }
@@ -72148,7 +72623,7 @@ function equalArrays(array, other, bitmask, customizer, equalFunc, stack) {
72148
72623
  stack["delete"](other);
72149
72624
  return result;
72150
72625
  }
72151
- var Uint8Array = root.Uint8Array;
72626
+ var Uint8Array$1 = root.Uint8Array;
72152
72627
  function mapToArray(map) {
72153
72628
  var index2 = -1, result = Array(map.size);
72154
72629
  map.forEach(function(value, key) {
@@ -72176,7 +72651,7 @@ function equalByTag(object, other, tag, bitmask, customizer, equalFunc, stack) {
72176
72651
  object = object.buffer;
72177
72652
  other = other.buffer;
72178
72653
  case arrayBufferTag$1:
72179
- if (object.byteLength != other.byteLength || !equalFunc(new Uint8Array(object), new Uint8Array(other))) {
72654
+ if (object.byteLength != other.byteLength || !equalFunc(new Uint8Array$1(object), new Uint8Array$1(other))) {
72180
72655
  return false;
72181
72656
  }
72182
72657
  return true;
@@ -77337,353 +77812,363 @@ function groupFixedTableRows(rows, options) {
77337
77812
  return result;
77338
77813
  }
77339
77814
  export {
77340
- PlatformEnum as $,
77341
- ParamModelTypeEnum as A,
77815
+ isDateObjectField as $,
77816
+ CellType as A,
77342
77817
  BwipCodeType as B,
77343
77818
  ComponentTypeEnum as C,
77344
77819
  DateObjectContext as D,
77345
- api as E,
77820
+ isDynamicCellSubTable as E,
77346
77821
  FIELD_TYPE as F,
77347
- FieldTypeToJs as G,
77348
- CreateType as H,
77349
- uuid2$1 as I,
77350
- useModal as J,
77351
- requireEstraverse as K,
77822
+ ParamModelTypeEnum as G,
77823
+ FieldTypeToJs as H,
77824
+ CreateType as I,
77825
+ uuid2$1 as J,
77826
+ useModal as K,
77352
77827
  LineType as L,
77353
- commonjsGlobal as M,
77354
- getDefaultExportFromCjs as N,
77828
+ requireEstraverse as M,
77829
+ commonjsGlobal as N,
77355
77830
  Orientation as O,
77356
77831
  PaginationFormat as P,
77357
- PaperWidgeValueType as Q,
77358
- getParseFormulaVarInfos as R,
77832
+ getDefaultExportFromCjs as Q,
77833
+ PaperWidgeValueType as R,
77359
77834
  SUB_TABLE_PANEL_TYPE_NAME as S,
77360
77835
  TRACE_FIELD_TYPES as T,
77361
- onlineFormMasterModelTypeEnum as U,
77362
- UniqueConstraintType as V,
77836
+ getParseFormulaVarInfos as U,
77837
+ onlineFormMasterModelTypeEnum as V,
77363
77838
  WAREHOUSE_FIELD_TYPES as W,
77364
- FieldDefaultValueTypeEnum as X,
77365
- FormTypeEnum as Y,
77366
- mitt as Z,
77367
- isDateObjectField as _,
77839
+ UniqueConstraintType as X,
77840
+ FieldDefaultValueTypeEnum as Y,
77841
+ FormTypeEnum as Z,
77842
+ mitt as _,
77368
77843
  getProfile as a,
77369
- BindCmpStyleEnum as a$,
77370
- LabelPosition as a0,
77371
- BooleanShowMode as a1,
77372
- SignatureImageDirectionEnum as a2,
77373
- FallbackSignTypeEnum as a3,
77374
- SignatureNumberTypeEnum as a4,
77375
- SignatureTimeTypeEnum as a5,
77376
- SignShowTypeEnum as a6,
77377
- SignatureTypeEnum as a7,
77378
- _export_sfc as a8,
77379
- normalizeFieldType as a9,
77380
- FormDesignEnum as aA,
77381
- BASIC_FIELD_TYPES as aB,
77382
- getExclusiveBusinessTypeTokens as aC,
77383
- getSubTableTypeByRefModelType as aD,
77384
- getAllTableProfiles as aE,
77385
- transformUtils as aF,
77386
- EmptySymbol as aG,
77387
- ASSIGNMENTSTRATEGY_ENUM as aH,
77388
- Dependency_ENUM as aI,
77389
- EntityModelCategoryEnum as aJ,
77390
- resolveLotDisplayLabel as aK,
77391
- CheckDsTypeEnum as aL,
77392
- DeviceLink as aM,
77393
- DeviceParamsTypeTitle as aN,
77394
- AITooltips as aO,
77395
- DenoiseMethodOptions as aP,
77396
- BinarizeMethodOptions as aQ,
77397
- JoinModelTypeEum as aR,
77398
- sqlUtils as aS,
77844
+ validateReinspectionDate as a$,
77845
+ PlatformEnum as a0,
77846
+ LabelPosition as a1,
77847
+ BooleanShowMode as a2,
77848
+ SignatureImageDirectionEnum as a3,
77849
+ FallbackSignTypeEnum as a4,
77850
+ SignatureNumberTypeEnum as a5,
77851
+ SignatureTimeTypeEnum as a6,
77852
+ SignShowTypeEnum as a7,
77853
+ SignatureTypeEnum as a8,
77854
+ _export_sfc as a9,
77855
+ getSubTableTypeByRefModelType as aA,
77856
+ findFieldMain as aB,
77857
+ DecimalDisplayMode as aC,
77858
+ ImageDisplayModeEnum as aD,
77859
+ FormDesignEnum as aE,
77860
+ BASIC_FIELD_TYPES as aF,
77861
+ getAllTableProfiles as aG,
77862
+ transformUtils as aH,
77863
+ EmptySymbol as aI,
77864
+ ASSIGNMENTSTRATEGY_ENUM as aJ,
77865
+ Dependency_ENUM as aK,
77866
+ EntityModelCategoryEnum as aL,
77867
+ resolveLotDisplayLabel as aM,
77868
+ CheckDsTypeEnum as aN,
77869
+ DeviceLink as aO,
77870
+ DeviceParamsTypeTitle as aP,
77871
+ AITooltips as aQ,
77872
+ DenoiseMethodOptions as aR,
77873
+ BinarizeMethodOptions as aS,
77399
77874
  DateFormat as aT,
77400
- LOT_CONTAINER_ROLE as aU,
77401
- buildLotSnListQuery as aV,
77402
- renderUtils as aW,
77403
- resolveLotRecordByValue as aX,
77404
- materialCheck as aY,
77405
- getLotLockedReason as aZ,
77406
- validateReinspectionDate as a_,
77407
- PaperSizeMap as aa,
77408
- clampSealPosition as ab,
77409
- normalizeSealDiameter as ac,
77410
- getFieldMain as ad,
77411
- buildUUID as ae,
77412
- FieldIconMap as af,
77413
- BigNumber as ag,
77414
- FieldSysVarDefaultValueEnum as ah,
77415
- CellWidgetViewState as ai,
77416
- DiagonalDirection as aj,
77417
- WidgetImageSizeMode as ak,
77418
- LineDirection as al,
77419
- TimeDiffFormat as am,
77420
- DiagonalVertex as an,
77421
- resolveDiagonalVertex as ao,
77422
- getThemeColorByTableType as ap,
77423
- ViewTypeEnum as aq,
77424
- isDynamicSubTablePanelType as ar,
77425
- isFixedSubTablePanelType as as,
77426
- ExpressionModeEnum as at,
77427
- ReturnTypeEnum as au,
77428
- ExpressionTabEnum as av,
77429
- RangeValidateMode as aw,
77430
- RangeCompareOp as ax,
77431
- DecimalDisplayMode as ay,
77432
- ImageDisplayModeEnum as az,
77875
+ withRequestCache as aU,
77876
+ LOT_CONTAINER_ROLE as aV,
77877
+ buildLotSnListQuery as aW,
77878
+ renderUtils as aX,
77879
+ resolveLotRecordByValue as aY,
77880
+ materialCheck as aZ,
77881
+ getLotLockedReason as a_,
77882
+ normalizeFieldType as aa,
77883
+ PaperSizeMap as ab,
77884
+ clampSealPosition as ac,
77885
+ normalizeSealDiameter as ad,
77886
+ getFieldMain as ae,
77887
+ buildUUID as af,
77888
+ FieldIconMap as ag,
77889
+ BigNumber as ah,
77890
+ FieldSysVarDefaultValueEnum as ai,
77891
+ CellWidgetViewState as aj,
77892
+ DiagonalDirection as ak,
77893
+ WidgetImageSizeMode as al,
77894
+ LineDirection as am,
77895
+ TimeDiffFormat as an,
77896
+ DiagonalVertex as ao,
77897
+ resolveDiagonalVertex as ap,
77898
+ getThemeColorByTableType as aq,
77899
+ ViewTypeEnum as ar,
77900
+ isDynamicSubTablePanelType as as,
77901
+ isFixedSubTablePanelType as at,
77902
+ ExpressionModeEnum as au,
77903
+ ReturnTypeEnum as av,
77904
+ ExpressionTabEnum as aw,
77905
+ RangeValidateMode as ax,
77906
+ RangeCompareOp as ay,
77907
+ getExclusiveBusinessTypeTokens as az,
77433
77908
  isBusinessSubTableProfile as b,
77434
- bindRuntimeTableColumns as b$,
77435
- getParseRuleInfo as b0,
77436
- getParseRuleValue as b1,
77437
- normalizeRefLoaderResult as b2,
77438
- STOCKTAKE_DIMENSION as b3,
77439
- F$8 as b4,
77440
- resolveStocktakeSelectApi as b5,
77441
- readSealValue as b6,
77442
- isSealStamped as b7,
77443
- RenderModeEnum as b8,
77444
- stampSealValue as b9,
77445
- baseDataUtils as bA,
77446
- initializeSealFields as bB,
77447
- normalizeToArray as bC,
77448
- safeParseArray as bD,
77449
- BpmnNodeTypeEnum as bE,
77450
- mergeByMultiKey as bF,
77451
- evaluateInspectionDecisionRule as bG,
77452
- areValidationCommentsEqual as bH,
77453
- useNocodeEmitter as bI,
77454
- commonUtils as bJ,
77455
- BpmnSignatureTypeEnum as bK,
77456
- ButtonTypeEnum as bL,
77457
- CHECK_TABLE_MEDPRO_PROTOCOL_KEY as bM,
77458
- CodeRunner as bN,
77459
- Config_Fields as bO,
77460
- ControlStatusEnum as bP,
77461
- DEVICE_SEARCH_API as bQ,
77462
- DeviceStatus as bR,
77463
- EBR_PROVIDE_ENUM as bS,
77464
- EFieldBizTypeEnum as bT,
77465
- MobileFillTypeEnum as bU,
77466
- OfficeTypeEnum as bV,
77467
- PosEnum as bW,
77468
- RUNTIME_COLUMN_ROW_KEY as bX,
77469
- SummaryApproveHisTypeEnum as bY,
77470
- applyCheckDsDataToRuntime as bZ,
77471
- applyMedProCheckDsDataToRuntime as b_,
77472
- isValidSealValue as ba,
77473
- clearSealValue as bb,
77474
- normalizeProductionContainerOptions as bc,
77475
- buildProductionLotListQuery as bd,
77476
- refUtils as be,
77477
- buildInspectionLotListQuery as bf,
77478
- buildDeviceFilterQuery as bg,
77479
- DEVICE_GROUP_QUERY_KEY as bh,
77480
- getRowId as bi,
77481
- findRuntimeTableRow as bj,
77482
- calculateFormula as bk,
77483
- findRuntimeParentRow as bl,
77484
- useOnlineFormTransformField2Component as bm,
77485
- FormulaRuleFieldKeyEnum as bn,
77486
- formulaRuleFieldDict as bo,
77487
- resolveDesignPanelFeatures as bp,
77488
- BIZ_TABLE_CONFIG_SEED_TYPES as bq,
77489
- STOCKTAKE_DIMENSION_OPTIONS as br,
77490
- isRepeatingSubTablePanelType as bs,
77491
- moveSealValue as bt,
77492
- uuid2 as bu,
77493
- assembleRules as bv,
77494
- isAttachFieldActive as bw,
77495
- fetchHistoryConsume as bx,
77496
- isBomGranted as by,
77497
- parseFrontConfig as bz,
77909
+ RUNTIME_COLUMN_ROW_KEY as b$,
77910
+ ProductionIdentificationTypeEnum as b0,
77911
+ BindCmpStyleEnum as b1,
77912
+ getParseRuleInfo as b2,
77913
+ getParseRuleValue as b3,
77914
+ normalizeRefLoaderResult as b4,
77915
+ STOCKTAKE_DIMENSION as b5,
77916
+ F$8 as b6,
77917
+ resolveStocktakeSelectApi as b7,
77918
+ readSealValue as b8,
77919
+ isSealStamped as b9,
77920
+ isBomGranted as bA,
77921
+ parseFrontConfig as bB,
77922
+ baseDataUtils as bC,
77923
+ initializeSealFields as bD,
77924
+ normalizeToArray as bE,
77925
+ safeParseArray as bF,
77926
+ BpmnNodeTypeEnum as bG,
77927
+ mergeByMultiKey as bH,
77928
+ evaluateInspectionDecisionRule as bI,
77929
+ areValidationCommentsEqual as bJ,
77930
+ useNocodeEmitter as bK,
77931
+ commonUtils as bL,
77932
+ BpmnSignatureTypeEnum as bM,
77933
+ ButtonTypeEnum as bN,
77934
+ CHECK_TABLE_MEDPRO_PROTOCOL_KEY as bO,
77935
+ CodeRunner as bP,
77936
+ Config_Fields as bQ,
77937
+ ControlStatusEnum as bR,
77938
+ DEVICE_SEARCH_API as bS,
77939
+ DeviceStatus as bT,
77940
+ EBR_PROVIDE_ENUM as bU,
77941
+ EFieldBizTypeEnum as bV,
77942
+ JoinModelTypeEum as bW,
77943
+ MAX_FRONT_ROW_KEY_LENGTH as bX,
77944
+ MobileFillTypeEnum as bY,
77945
+ OfficeTypeEnum as bZ,
77946
+ PosEnum as b_,
77947
+ stampSealValue as ba,
77948
+ isValidSealValue as bb,
77949
+ clearSealValue as bc,
77950
+ normalizeProductionContainerOptions as bd,
77951
+ buildProductionLotListQuery as be,
77952
+ refUtils as bf,
77953
+ buildInspectionLotListQuery as bg,
77954
+ buildDeviceFilterQuery as bh,
77955
+ DEVICE_GROUP_QUERY_KEY as bi,
77956
+ getRowId as bj,
77957
+ findRuntimeTableRow as bk,
77958
+ calculateFormula as bl,
77959
+ RenderModeEnum as bm,
77960
+ findRuntimeParentRow as bn,
77961
+ useOnlineFormTransformField2Component as bo,
77962
+ FormulaRuleFieldKeyEnum as bp,
77963
+ formulaRuleFieldDict as bq,
77964
+ resolveDesignPanelFeatures as br,
77965
+ BIZ_TABLE_CONFIG_SEED_TYPES as bs,
77966
+ STOCKTAKE_DIMENSION_OPTIONS as bt,
77967
+ isRepeatingSubTablePanelType as bu,
77968
+ moveSealValue as bv,
77969
+ uuid2 as bw,
77970
+ assembleRules as bx,
77971
+ isAttachFieldActive as by,
77972
+ fetchHistoryConsume as bz,
77498
77973
  getProfileByTableType as c,
77499
- F$5 as c$,
77500
- buildDeviceBaseQuery as c0,
77501
- calcFillData as c1,
77502
- calcUtils as c2,
77503
- ensureFrontRowKey as c3,
77504
- ensureTableRowKeys as c4,
77505
- extractKeywordFromQueryData as c5,
77506
- fetchCheckDsDataForTable as c6,
77507
- fetchCustomCheckDsData as c7,
77508
- fetchMedProCheckDsData as c8,
77509
- findRuntimeTableCell as c9,
77510
- groupFixedTableRows as cA,
77511
- processQuickFillRows as cB,
77512
- getIsGroupEmpty as cC,
77513
- getAugmentedNamespace as cD,
77514
- CardControlEnum as cE,
77515
- EntityModelTypeEnum as cF,
77516
- RecordNoGenerateEnum as cG,
77517
- TagTypeEnum as cH,
77518
- F$6 as cI,
77519
- SCAN_ROW_CONTENT_FIELDS as cJ,
77520
- F$3 as cK,
77521
- F$7 as cL,
77522
- runRowHandler as cM,
77523
- F$a as cN,
77524
- F$9 as cO,
77525
- FILL_FROM_SOURCE_PRODUCT_OPTION as cP,
77526
- FILL_FROM_TARGET_MATERIAL_NO_OPTION as cQ,
77527
- FILL_FROM_INVENTORY_OPTION$2 as cR,
77528
- FILL_FROM_PART_OPTION as cS,
77529
- FILL_FROM_INVENTORY_OPTION$3 as cT,
77530
- TABLE_TYPE$b as cU,
77531
- FILL_FROM_INVENTORY_OPTION$1 as cV,
77532
- INVENTORY_BASE_FIELDS as cW,
77533
- resolveGroupByWarehouse as cX,
77534
- AUTO_LOAD_READONLY_SELECT_FIELDS as cY,
77535
- buildFillFromInventoryOption as cZ,
77536
- resolveStocktakeInventoryApi as c_,
77537
- getCheckTableSnapshotKey as ca,
77538
- getParseRuleConfig as cb,
77539
- getReinspectionDate as cc,
77540
- getRenderedRuntimeTableCell as cd,
77541
- handleOldConfig as ce,
77542
- hasAnyCheckTableSnapshot as cf,
77543
- hasByTableCheckTableSnapshot as cg,
77544
- hasSharedCheckTableSnapshot as ch,
77545
- isMedProSuite as ci,
77546
- jsonSchemaUtils as cj,
77547
- judgeUnique as ck,
77548
- migrateDiagonalDirectionToVertex as cl,
77549
- relocateDeletedRowsToEnd as cm,
77550
- requestMedProCheckDsData as cn,
77551
- requestNonMedProCheckDsData as co,
77552
- stockCheck as cp,
77553
- useOnlineFormActionButton as cq,
77554
- getFieldPlaceholder as cr,
77555
- isReferenceOptionActive as cs,
77556
- FRONT_ROW_KEY as ct,
77557
- filterRulesByTrigger as cu,
77558
- isEmptyValue as cv,
77559
- buildError as cw,
77560
- resetTableRowIdentity as cx,
77561
- q as cy,
77562
- QUICK_FILL_ALLOWED_FIELDS as cz,
77974
+ FILL_FROM_PART_OPTION as c$,
77975
+ SummaryApproveHisTypeEnum as c0,
77976
+ applyCheckDsDataToRuntime as c1,
77977
+ applyMedProCheckDsDataToRuntime as c2,
77978
+ bindRuntimeTableColumns as c3,
77979
+ buildDeviceBaseQuery as c4,
77980
+ calcFillData as c5,
77981
+ calcUtils as c6,
77982
+ decodeTableCellRowKey as c7,
77983
+ encodeTableCellRowKey as c8,
77984
+ ensureFrontRowKey as c9,
77985
+ isReferenceOptionActive as cA,
77986
+ FRONT_ROW_KEY as cB,
77987
+ filterRulesByTrigger as cC,
77988
+ isEmptyValue as cD,
77989
+ buildError as cE,
77990
+ resetTableRowIdentity as cF,
77991
+ q as cG,
77992
+ QUICK_FILL_ALLOWED_FIELDS as cH,
77993
+ groupFixedTableRows as cI,
77994
+ processQuickFillRows as cJ,
77995
+ getIsGroupEmpty as cK,
77996
+ getAugmentedNamespace as cL,
77997
+ CardControlEnum as cM,
77998
+ EntityModelTypeEnum as cN,
77999
+ RecordNoGenerateEnum as cO,
78000
+ TagTypeEnum as cP,
78001
+ F$3 as cQ,
78002
+ FILL_FROM_TARGET_PRODUCT_OPTION as cR,
78003
+ F$6 as cS,
78004
+ SCAN_ROW_CONTENT_FIELDS as cT,
78005
+ F$7 as cU,
78006
+ runRowHandler as cV,
78007
+ F$a as cW,
78008
+ F$9 as cX,
78009
+ FILL_FROM_SOURCE_PRODUCT_OPTION as cY,
78010
+ FILL_FROM_TARGET_MATERIAL_NO_OPTION as cZ,
78011
+ FILL_FROM_INVENTORY_OPTION$2 as c_,
78012
+ ensureTableRowKeys as ca,
78013
+ extractKeywordFromQueryData as cb,
78014
+ fetchCheckDsDataForTable as cc,
78015
+ fetchCustomCheckDsData as cd,
78016
+ fetchMedProCheckDsData as ce,
78017
+ findRuntimeTableCell as cf,
78018
+ getCheckTableSnapshotKey as cg,
78019
+ getParseRuleConfig as ch,
78020
+ getReinspectionDate as ci,
78021
+ getRenderedRuntimeTableCell as cj,
78022
+ handleOldConfig as ck,
78023
+ hasAnyCheckTableSnapshot as cl,
78024
+ hasByTableCheckTableSnapshot as cm,
78025
+ hasSharedCheckTableSnapshot as cn,
78026
+ isMedProSuite as co,
78027
+ isTableRowKeyMatch as cp,
78028
+ jsonSchemaUtils as cq,
78029
+ judgeUnique as cr,
78030
+ migrateDiagonalDirectionToVertex as cs,
78031
+ relocateDeletedRowsToEnd as ct,
78032
+ requestMedProCheckDsData as cu,
78033
+ requestNonMedProCheckDsData as cv,
78034
+ sqlUtils as cw,
78035
+ stockCheck as cx,
78036
+ useOnlineFormActionButton as cy,
78037
+ getFieldPlaceholder as cz,
77563
78038
  getBusinessProfileByRefModelType as d,
77564
- getCellData as d$,
77565
- FILL_FROM_INVENTORY_OPTION as d0,
77566
- composeProductionLotListQuery as d1,
77567
- F as d2,
77568
- isProductManuallyEditable as d3,
77569
- applyFillFromMfgOrderOption as d4,
77570
- applyFillFromOption as d5,
77571
- applyFillFromProductOption as d6,
77572
- MATERIAL_CONTAINER_ID as d7,
77573
- F$c as d8,
77574
- PRODUCT_QUICK_SEARCH_FIELDS as d9,
77575
- BasePlugin as dA,
77576
- reduce as dB,
77577
- columnTypes as dC,
77578
- debounce$1 as dD,
77579
- RESIZE_INTERVAL as dE,
77580
- DimensionStore as dF,
77581
- gatherTrimmedItems as dG,
77582
- getColumnSizes as dH,
77583
- getItemByIndex as dI,
77584
- DataStore as dJ,
77585
- getSourceItem as dK,
77586
- getSourceItemVirtualIndexByProp as dL,
77587
- getColumnType as dM,
77588
- setSourceByPhysicalIndex as dN,
77589
- setSourceByVirtualIndex as dO,
77590
- SelectionStore as dP,
77591
- cropCellToMax as dQ,
77592
- nextCell as dR,
77593
- isRowType as dS,
77594
- ViewportStore as dT,
77595
- AndOrButton as dU,
77596
- ReorderButton as dV,
77597
- TrashButton as dW,
77598
- isFilterBtn as dX,
77599
- ColumnService as dY,
77600
- MOBILE_CLASS as dZ,
77601
- SELECTION_BORDER_CLASS as d_,
77602
- PRODUCT_QUICK_SEARCH_EXP as da,
77603
- isProductManuallyEditable$1 as db,
77604
- applyFillFromMaterialNoOption as dc,
77605
- applyFillFromProductOption$1 as dd,
77606
- F$b as de,
77607
- FILL_FROM_INVENTORY_OPTION$4 as df,
77608
- registerInstance as dg,
77609
- createEvent as dh,
77610
- getColumnByProp as di,
77611
- timeout as dj,
77612
- getVisibleSourceItem as dk,
77613
- getColumns as dl,
77614
- rowTypes as dm,
77615
- GroupingRowPlugin as dn,
77616
- StretchColumn as dp,
77617
- isStretchPlugin as dq,
77618
- AutoSizeColumnPlugin as dr,
77619
- FilterPlugin as ds,
77620
- ExportFilePlugin as dt,
77621
- SortingPlugin as du,
77622
- ColumnMovePlugin as dv,
77623
- ThemeService as dw,
77624
- h as dx,
77625
- Host as dy,
77626
- getElement as dz,
78039
+ nextCell as d$,
78040
+ FILL_FROM_INVENTORY_OPTION$3 as d0,
78041
+ TABLE_TYPE$b as d1,
78042
+ FILL_FROM_INVENTORY_OPTION$1 as d2,
78043
+ INVENTORY_BASE_FIELDS as d3,
78044
+ resolveGroupByWarehouse as d4,
78045
+ AUTO_LOAD_READONLY_SELECT_FIELDS as d5,
78046
+ buildFillFromInventoryOption as d6,
78047
+ resolveStocktakeInventoryApi as d7,
78048
+ F$5 as d8,
78049
+ FILL_FROM_INVENTORY_OPTION as d9,
78050
+ isStretchPlugin as dA,
78051
+ AutoSizeColumnPlugin as dB,
78052
+ FilterPlugin as dC,
78053
+ ExportFilePlugin as dD,
78054
+ SortingPlugin as dE,
78055
+ ColumnMovePlugin as dF,
78056
+ ThemeService as dG,
78057
+ h as dH,
78058
+ Host as dI,
78059
+ getElement as dJ,
78060
+ BasePlugin as dK,
78061
+ reduce as dL,
78062
+ columnTypes as dM,
78063
+ debounce$1 as dN,
78064
+ RESIZE_INTERVAL as dO,
78065
+ DimensionStore as dP,
78066
+ gatherTrimmedItems as dQ,
78067
+ getColumnSizes as dR,
78068
+ getItemByIndex as dS,
78069
+ DataStore as dT,
78070
+ getSourceItem as dU,
78071
+ getSourceItemVirtualIndexByProp as dV,
78072
+ getColumnType as dW,
78073
+ setSourceByPhysicalIndex as dX,
78074
+ setSourceByVirtualIndex as dY,
78075
+ SelectionStore as dZ,
78076
+ cropCellToMax as d_,
78077
+ LOCKED_INPUT_FIELDS as da,
78078
+ composeProductionLotListQuery as db,
78079
+ F as dc,
78080
+ isProductManuallyEditable as dd,
78081
+ applyFillFromMfgOrderOption as de,
78082
+ applyFillFromOption as df,
78083
+ applyFillFromProductOption as dg,
78084
+ MATERIAL_CONTAINER_ID as dh,
78085
+ F$c as di,
78086
+ PRODUCT_QUICK_SEARCH_FIELDS as dj,
78087
+ PRODUCT_QUICK_SEARCH_EXP as dk,
78088
+ isProductManuallyEditable$1 as dl,
78089
+ applyFillFromMaterialNoOption as dm,
78090
+ applyFillFromProductOption$1 as dn,
78091
+ F$b as dp,
78092
+ FILL_FROM_INVENTORY_OPTION$4 as dq,
78093
+ registerInstance as dr,
78094
+ createEvent as ds,
78095
+ getColumnByProp as dt,
78096
+ timeout as du,
78097
+ getVisibleSourceItem as dv,
78098
+ getColumns as dw,
78099
+ rowTypes as dx,
78100
+ GroupingRowPlugin as dy,
78101
+ StretchColumn as dz,
77627
78102
  expandAutofillTemplates as e,
77628
- getCellEditor as e0,
77629
- getRange as e1,
77630
- isRangeSingleCell as e2,
77631
- codesLetter as e3,
77632
- calculateRowHeaderSize as e4,
77633
- ROW_HEADER_TYPE as e5,
77634
- getScrollbarSize as e6,
77635
- FOCUS_CLASS as e7,
77636
- CELL_HANDLER_CLASS as e8,
77637
- TMP_SELECTION_BG_CLASS as e9,
77638
- MIN_COL_SIZE as eA,
77639
- FilterButton as eB,
77640
- HeaderCellRenderer as eC,
77641
- HEADER_CLASS as eD,
77642
- getItemByPosition as ea,
77643
- EDIT_INPUT_WR as eb,
77644
- keyValues as ec,
77645
- isObject as ed,
77646
- DRAGG_TEXT as ee,
77647
- PSEUDO_GROUP_ITEM as ef,
77648
- GROUP_EXPANDED as eg,
77649
- GROUP_DEPTH as eh,
77650
- GROUP_EXPAND_BTN as ei,
77651
- DATA_ROW as ej,
77652
- isGroupingColumn as ek,
77653
- GROUP_COLUMN_PROP as el,
77654
- getCellRaw as em,
77655
- DATA_COL as en,
77656
- CELL_CLASS as eo,
77657
- Build as ep,
77658
- isRowDragService as eq,
77659
- DRAG_ICON_CLASS as er,
77660
- DRAGGABLE_CLASS as es,
77661
- getCellDataParsed as et,
77662
- GROUP_EXPAND_EVENT as eu,
77663
- isGrouping as ev,
77664
- HEADER_ROW_CLASS as ew,
77665
- HEADER_ACTUAL_ROW_CLASS as ex,
77666
- ROW_FOCUSED_CLASS as ey,
77667
- HEADER_SORTABLE_CLASS as ez,
77668
- SubTableType as f,
78103
+ isRowType as e0,
78104
+ ViewportStore as e1,
78105
+ AndOrButton as e2,
78106
+ ReorderButton as e3,
78107
+ TrashButton as e4,
78108
+ isFilterBtn as e5,
78109
+ ColumnService as e6,
78110
+ MOBILE_CLASS as e7,
78111
+ SELECTION_BORDER_CLASS as e8,
78112
+ getCellData as e9,
78113
+ isRowDragService as eA,
78114
+ DRAG_ICON_CLASS as eB,
78115
+ DRAGGABLE_CLASS as eC,
78116
+ getCellDataParsed as eD,
78117
+ GROUP_EXPAND_EVENT as eE,
78118
+ isGrouping as eF,
78119
+ HEADER_ROW_CLASS as eG,
78120
+ HEADER_ACTUAL_ROW_CLASS as eH,
78121
+ ROW_FOCUSED_CLASS as eI,
78122
+ HEADER_SORTABLE_CLASS as eJ,
78123
+ MIN_COL_SIZE as eK,
78124
+ FilterButton as eL,
78125
+ HeaderCellRenderer as eM,
78126
+ HEADER_CLASS as eN,
78127
+ getCellEditor as ea,
78128
+ getRange as eb,
78129
+ isRangeSingleCell as ec,
78130
+ codesLetter as ed,
78131
+ calculateRowHeaderSize as ee,
78132
+ ROW_HEADER_TYPE as ef,
78133
+ getScrollbarSize as eg,
78134
+ FOCUS_CLASS as eh,
78135
+ CELL_HANDLER_CLASS as ei,
78136
+ TMP_SELECTION_BG_CLASS as ej,
78137
+ getItemByPosition as ek,
78138
+ EDIT_INPUT_WR as el,
78139
+ keyValues as em,
78140
+ isObject as en,
78141
+ DRAGG_TEXT as eo,
78142
+ PSEUDO_GROUP_ITEM as ep,
78143
+ GROUP_EXPANDED as eq,
78144
+ GROUP_DEPTH as er,
78145
+ GROUP_EXPAND_BTN as es,
78146
+ DATA_ROW as et,
78147
+ isGroupingColumn as eu,
78148
+ GROUP_COLUMN_PROP as ev,
78149
+ getCellRaw as ew,
78150
+ DATA_COL as ex,
78151
+ CELL_CLASS as ey,
78152
+ Build as ez,
78153
+ resolveAutofillToField as f,
77669
78154
  getAllDataProfiles as g,
77670
- getAllBusinessRefModelTypes as h,
78155
+ SubTableType as h,
77671
78156
  isDataTableProfile as i,
77672
- isBlank as j,
77673
- isSameFieldValue as k,
77674
- runDateObjectHandler as l,
77675
- companionIdKey as m,
77676
- companionLabelKey as n,
77677
- PaperWidgeType as o,
77678
- PageSizeEnum as p,
77679
- BUSINESS_FIELD_TYPES as q,
78157
+ getAllBusinessRefModelTypes as j,
78158
+ isBlank as k,
78159
+ isSameFieldValue as l,
78160
+ runDateObjectHandler as m,
78161
+ companionIdKey as n,
78162
+ companionLabelKey as o,
78163
+ api as p,
78164
+ PaperWidgeType as q,
77680
78165
  resolveCreateTargetByTableType as r,
77681
- src as s,
77682
- resolveFieldRenderComponent as t,
77683
- parse as u,
77684
- estraverse as v,
77685
- Syntax as w,
77686
- isDynamicCreateTarget as x,
77687
- CellType as y,
77688
- isDynamicCellSubTable as z
78166
+ PageSizeEnum as s,
78167
+ src as t,
78168
+ BUSINESS_FIELD_TYPES as u,
78169
+ resolveFieldRenderComponent as v,
78170
+ parse as w,
78171
+ estraverse as x,
78172
+ Syntax as y,
78173
+ isDynamicCreateTarget as z
77689
78174
  };