@gct-paas/excel 0.1.28-beta.37 → 0.1.28-beta.39
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{BaseComponent-6NuDd3Ho.js → BaseComponent-BE08TK7F.js} +1 -1
- package/dist/{VueVideoPlayer-DgSPa3Nl.js → VueVideoPlayer-LoMZlxi3.js} +2 -2
- package/dist/{agg-props-CwCR9kin.js → agg-props-DMG-tjFR.js} +1 -1
- package/dist/{agg-style-BtrzP9wU.js → agg-style-Cx_6YgWb.js} +1 -1
- package/dist/{align-editor-Cta6veOi.js → align-editor-CeD_05TV.js} +1 -1
- package/dist/{attach-fields-editor-C-7pwjUV.js → attach-fields-editor-DzuYTsZn.js} +2 -2
- package/dist/{barcode-design-CA3-ts_W.js → barcode-design-BVhKLBHS.js} +2 -2
- package/dist/base/index.es.js +198 -160
- package/dist/{base-font-editor-Bgy5_M3y.js → base-font-editor-CFoC_Tm1.js} +2 -2
- package/dist/{boolean-props-DjkUZlAq.js → boolean-props-B22D5axg.js} +3 -3
- package/dist/{boolean-style-F6C6oTnL.js → boolean-style-DLDHs2XI.js} +4 -4
- package/dist/{date-range-editor-BKyhNGw0.js → date-range-editor-Lnp-HAiz.js} +2 -2
- package/dist/{date-time-props-Cxa7Dxsj.js → date-time-props-fREzNiKA.js} +3 -3
- package/dist/{date-time-style-BC44WST_.js → date-time-style-CS2cqaf7.js} +1 -1
- package/dist/{decimal-display-mode-CvhevMyd.js → decimal-display-mode-DYF0ZUgL.js} +2 -2
- package/dist/{decimal-props-BOJEE6gT.js → decimal-props-DkwhIIPG.js} +4 -4
- package/dist/{decimal-style-BO_DiRJp.js → decimal-style-Bd_SA_MW.js} +1 -1
- package/dist/{default-value-editor.vue_vue_type_script_setup_true_name_default-value-editor_lang-gXMwS1JI.js → default-value-editor.vue_vue_type_script_setup_true_name_default-value-editor_lang-LuAUu3Yn.js} +2 -2
- package/dist/{diagonal-design-Dj_WNkD0.js → diagonal-design-CAAb5AzJ.js} +2 -2
- package/dist/{double-props-CKwyf2XH.js → double-props-rwjpW7Tv.js} +6 -5
- package/dist/{double-style-aHL6-sl7.js → double-style-DpToYWPI.js} +1 -1
- package/dist/{dynamic-table-action-BPedH3bt.js → dynamic-table-action-mtuMZU7c.js} +250 -117
- package/dist/{dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-DjycyTLK.js → dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-DIBDgGHy.js} +1297 -339
- package/dist/{edit.utils-CXmmCnxE-pV-2gT1X.js → edit.utils-CXmmCnxE-DQe1nbqD.js} +1 -1
- package/dist/{enum-props-gLwtT4PK.js → enum-props-BVyK3wR6.js} +3 -3
- package/dist/{enum-style-CPP-BHDG.js → enum-style-bTMGjbNw.js} +3 -3
- package/dist/excel.css +1007 -1026
- package/dist/{exceljs.min-BAtPOQ0q.js → exceljs.min-C_exTIAc.js} +2 -2
- package/dist/{expression-props-CigACB1C.js → expression-props-Ba3Hbt9i.js} +1 -1
- package/dist/{expression-style-nezLv8tn.js → expression-style-ZvgoLpHs.js} +1 -1
- package/dist/{file-props-uFG_zFyO.js → file-props-BAr6j34p.js} +2 -2
- package/dist/{file-style-BlsxGD4C.js → file-style-BCQR3DVa.js} +1 -1
- package/dist/{font-editor-DCa9i7ik.js → font-editor-DjvY-w34.js} +3 -3
- package/dist/{image-design-BKxm8EAD.js → image-design-BJhMCOLe.js} +2 -2
- package/dist/{image-props-DJ4bos9n.js → image-props-ibqLLS0o.js} +1 -1
- package/dist/{image-style-BYWsqxqt.js → image-style-CAoLOlCG.js} +1 -1
- package/dist/{index-BUI2NZG5.js → index-B3WV8ard.js} +3 -3
- package/dist/{index-CYJMVcY6.js → index-B5MJAVNp.js} +1 -1
- package/dist/{index-B1Q_fW2t.js → index-BEdFv-Pw.js} +1 -1
- package/dist/{index-BLfrLeiD.js → index-BHQZDrQr.js} +1 -1
- package/dist/{index-C49KgVwX.js → index-BUoUjqpq.js} +2 -2
- package/dist/{index-CjQRWKuN.js → index-BZ3kybpe.js} +2 -2
- package/dist/{index-BxMmrkmS.js → index-BlZ4D7zF.js} +2 -2
- package/dist/{index-BJptobwM.js → index-BtDCOqQ8.js} +2 -2
- package/dist/{index-Bl7Zm5M_.js → index-By36-eC5.js} +3 -3
- package/dist/{index-DiWf3HVg.js → index-C2KEZm5t.js} +3 -3
- package/dist/{index-CC19DY8k.js → index-CFFuFVrE.js} +3 -3
- package/dist/{index-G4f0etJN.js → index-CIGPF6o5.js} +2 -2
- package/dist/{index-BT9K_Fbc.js → index-CccmS_xG.js} +2 -2
- package/dist/{index-DvcEm0Gb.js → index-Cg-orz8W.js} +2 -2
- package/dist/{index-C_OOM-ui.js → index-Cofiy3xZ.js} +2 -2
- package/dist/{index-ChwaE_CW.js → index-D02EHGAr.js} +1 -1
- package/dist/{index-Bmg5w6W1.js → index-DAZgpBi0.js} +2 -2
- package/dist/{index-D7pX57WI.js → index-DU2SlUPM.js} +1250 -725
- package/dist/{index-6-Uo9iSI.js → index-DqWxgb5J.js} +2 -2
- package/dist/{index-CLXF66xd.js → index-DvSttVVp.js} +1 -1
- package/dist/{index-DGn4gbnX.js → index-DySv_NU1.js} +1 -1
- package/dist/{index-CTXwz96p.js → index-OT5k5Tam.js} +1 -1
- package/dist/{index-DxpRyaYa.js → index-OgnDl0tT.js} +1 -1
- package/dist/{index-CvZBIX6M.js → index-T6YaIU2c.js} +1 -1
- package/dist/{index-rmELTLw6.js → index-bKUDTrnd.js} +2 -2
- package/dist/{index-ibcv3um4.js → index-cUXaoxFx.js} +2 -2
- package/dist/{index-Bo1ujsUW.js → index-fE_FgEQ8.js} +2 -2
- package/dist/{index-DeRms_NG.js → index-hLsDYqxf.js} +2 -2
- package/dist/{index-DnrddPL7.js → index-mFGarpb7.js} +2 -2
- package/dist/{index-DWBqqci-.js → index-rT8_jyRY.js} +2 -2
- package/dist/{index-CS8zQ8jl.js → index-ukTuS4Bh.js} +1 -1
- package/dist/{index-DOQOjzuf.js → index-w7fcTW97.js} +2 -2
- package/dist/{index-BfxNdcQg.js → index-zCyjOCaY.js} +2 -2
- package/dist/index.es.js +50 -49
- package/dist/{integer-props-DNq4Dtj7.js → integer-props-CBIsaAMc.js} +4 -4
- package/dist/{integer-style-DWyDWQCf.js → integer-style-BBxkr4QX.js} +1 -1
- package/dist/{mb-render-CQFv1ira.js → mb-render-C3bOewR0.js} +2 -2
- package/dist/{org-props-C_2h45VK.js → org-props-9RaWO3eu.js} +2 -2
- package/dist/{org-style-C95aWh0l.js → org-style-Cf0NWAvx.js} +1 -1
- package/dist/{pagination-design-CziUPsbt.js → pagination-design-oBbPAfsv.js} +2 -2
- package/dist/paper-widget-design-doII_LY9.js +4 -0
- package/dist/{qrcode-design-C4tE995I.js → qrcode-design-C9Y5pj44.js} +1 -1
- package/dist/{ref-autofill-editor-Ch6H5T3k.js → ref-autofill-editor-J6dR1X2Z.js} +2 -2
- package/dist/{ref-props-B3N8dx0-.js → ref-props-l0df4m8B.js} +3 -3
- package/dist/{ref-style-CuJ3e1qC.js → ref-style-Dnej8eF2.js} +1 -1
- package/dist/{regex-editor-Dlw935OF.js → regex-editor-DqK2AG_u.js} +2 -2
- package/dist/{revo-grid.entry-DHXp1TYt.js → revo-grid.entry--YMKXUN7.js} +1 -1
- package/dist/{revogr-attribution_7.entry-ivPtAkRM.js → revogr-attribution_7.entry-5Wa3Qkl6.js} +3 -3
- package/dist/{revogr-clipboard_3.entry-BM8KocCM.js → revogr-clipboard_3.entry-BxireGGo.js} +2 -2
- package/dist/{revogr-data_4.entry-Df6Swqfx.js → revogr-data_4.entry-DGov381k.js} +2 -2
- package/dist/{revogr-filter-panel.entry-gWKkKmOn.js → revogr-filter-panel.entry-B4b9AH_o.js} +1 -1
- package/dist/{select-render-type-editor.vue_vue_type_script_setup_true_lang-PxrDrgDX.js → select-render-type-editor.vue_vue_type_script_setup_true_lang-BLDOYGBV.js} +2 -2
- package/dist/{serialnumber-design-WrHpRYsP.js → serialnumber-design-C4Dr8HOd.js} +1 -1
- package/dist/shared/index.es.js +10 -10
- package/dist/{signature-props-BNqERW7z.js → signature-props-D7j5yUe4.js} +3 -3
- package/dist/{signature-style-DZxNtgmd.js → signature-style-Bin8Bamd.js} +1 -1
- package/dist/{single-field-drop-BpR1zDfp.js → single-field-drop-B9jbbEMF.js} +2 -2
- package/dist/{size-editor-B1FFkBeD.js → size-editor-DwyuiL5v.js} +1 -1
- package/dist/src/domain/field/auto-complete/material-container-manifest.d.ts +2 -0
- package/dist/src/domain/field/auto-complete/material-no-manifest.d.ts +2 -0
- package/dist/src/domain/field/auto-complete/related-lot-no-manifest.d.ts +2 -0
- package/dist/src/domain/field/auto-complete/scrap-material-no-manifest.d.ts +2 -0
- package/dist/src/domain/field/auto-complete/sterilization-container-manifest.d.ts +2 -0
- package/dist/src/domain/field/date/date-manifest.d.ts +2 -0
- package/dist/src/domain/field/date/date-time-manifest.d.ts +2 -0
- package/dist/src/domain/field/date/production-date-manifest.d.ts +2 -0
- package/dist/src/domain/field/date/re-inspection-date-manifest.d.ts +2 -0
- package/dist/src/domain/field/date/report-end-time-manifest.d.ts +2 -0
- package/dist/src/domain/field/date/report-start-time-manifest.d.ts +2 -0
- package/dist/src/domain/field/date/time-manifest.d.ts +2 -0
- package/dist/src/domain/field/date/trace-date-manifest.d.ts +2 -0
- package/dist/src/domain/field/date/validity-manifest.d.ts +2 -0
- package/dist/src/domain/field/date/warehouse-receipt-date-manifest.d.ts +2 -0
- package/dist/src/domain/field/index.d.ts +8 -0
- package/dist/src/domain/field/number/decimal-manifest.d.ts +2 -0
- package/dist/src/domain/field/number/destructive-test-qty-manifest.d.ts +2 -0
- package/dist/src/domain/field/number/double-manifest.d.ts +2 -0
- package/dist/src/domain/field/number/good-qty-manifest.d.ts +2 -0
- package/dist/src/domain/field/number/inspection-qty-manifest.d.ts +2 -0
- package/dist/src/domain/field/number/integer-manifest.d.ts +2 -0
- package/dist/src/domain/field/number/long-manifest.d.ts +2 -0
- package/dist/src/domain/field/number/material-check-qty-manifest.d.ts +2 -0
- package/dist/src/domain/field/number/not-good-qty-manifest.d.ts +2 -0
- package/dist/src/domain/field/number/of-inst-num-manifest.d.ts +2 -0
- package/dist/src/domain/field/number/operation-output-qty-manifest.d.ts +2 -0
- package/dist/src/domain/field/number/operation-receive-qty-manifest.d.ts +2 -0
- package/dist/src/domain/field/number/product-check-qty-manifest.d.ts +2 -0
- package/dist/src/domain/field/number/production-qty-manifest.d.ts +2 -0
- package/dist/src/domain/field/number/qty-consumed-manifest.d.ts +2 -0
- package/dist/src/domain/field/number/qty-manifest.d.ts +2 -0
- package/dist/src/domain/field/number/qty-required-manifest.d.ts +2 -0
- package/dist/src/domain/field/number/scrap-qty-manifest.d.ts +2 -0
- package/dist/src/domain/field/number/work-hours-manifest.d.ts +2 -0
- package/dist/src/domain/field/option/boolean-manifest.d.ts +2 -0
- package/dist/src/domain/field/option/enum-manifest.d.ts +2 -0
- package/dist/src/domain/field/option/enum-multi-manifest.d.ts +2 -0
- package/dist/src/domain/field/option/option-manifest.d.ts +2 -0
- package/dist/src/domain/field/option/option-multi-manifest.d.ts +2 -0
- package/dist/src/domain/field/rdo-select/product-manifest.d.ts +2 -0
- package/dist/src/domain/field/rdo-select/scrap-material-manifest.d.ts +2 -0
- package/dist/src/domain/field/select/device-manifest.d.ts +2 -0
- package/dist/src/domain/field/select/device-ref-manifest.d.ts +2 -0
- package/dist/src/domain/field/select/device-ref-multi-manifest.d.ts +2 -0
- package/dist/src/domain/field/select/e-sop-manifest.d.ts +2 -0
- package/dist/src/domain/field/select/location-manifest.d.ts +2 -0
- package/dist/src/domain/field/select/mfg-order-manifest.d.ts +2 -0
- package/dist/src/domain/field/select/model-relation-manifest.d.ts +2 -0
- package/dist/src/domain/field/select/not-good-group-manifest.d.ts +2 -0
- package/dist/src/domain/field/select/not-good-reason-manifest.d.ts +2 -0
- package/dist/src/domain/field/select/org-manifest.d.ts +2 -0
- package/dist/src/domain/field/select/org-multi-manifest.d.ts +2 -0
- package/dist/src/domain/field/select/production-container-manifest.d.ts +2 -0
- package/dist/src/domain/field/select/ref-manifest.d.ts +2 -0
- package/dist/src/domain/field/select/ref-multi-manifest.d.ts +2 -0
- package/dist/src/domain/field/select/routing-operation-manifest.d.ts +2 -0
- package/dist/src/domain/field/select/scrap-group-manifest.d.ts +2 -0
- package/dist/src/domain/field/select/scrap-reason-manifest.d.ts +2 -0
- package/dist/src/domain/field/select/shopfloor-manifest.d.ts +2 -0
- package/dist/src/domain/field/select/target-warehouse-manifest.d.ts +2 -0
- package/dist/src/domain/field/select/user-manifest.d.ts +2 -0
- package/dist/src/domain/field/select/user-multi-manifest.d.ts +2 -0
- package/dist/src/domain/field/select/warehouse-manifest.d.ts +2 -0
- package/dist/src/domain/field/text/e-sop-version-manifest.d.ts +2 -0
- package/dist/src/domain/field/text/external-reference-no-manifest.d.ts +2 -0
- package/dist/src/domain/field/text/long-text-manifest.d.ts +2 -0
- package/dist/src/domain/field/text/order-no-manifest.d.ts +2 -0
- package/dist/src/domain/field/text/record-no-manifest.d.ts +2 -0
- package/dist/src/domain/field/text/text-manifest.d.ts +2 -0
- package/dist/src/domain/field/text/warehouse-receipt-no-manifest.d.ts +2 -0
- package/dist/src/domain/field/types.d.ts +15 -0
- package/dist/src/domain/field/upload/attachment-manifest.d.ts +2 -0
- package/dist/src/domain/field/upload/image-manifest.d.ts +2 -0
- package/dist/src/domain/field/upload/reporter-manifest.d.ts +2 -0
- package/dist/src/domain/field/upload/signature-manifest.d.ts +2 -0
- package/dist/src/domain/field/upload/warehouse-manager-manifest.d.ts +2 -0
- package/dist/src/domain/index.d.ts +1 -0
- package/dist/src/domain/table/business/warehouse/warehouse-in/profile/field-keys.d.ts +37 -3
- package/dist/src/domain/table/business/warehouse/warehouse-in/runtime/row-change-handlers.d.ts +9 -1
- package/dist/src/index.d.ts +2 -0
- package/dist/src/nocode-base/src/components/document-sub-table-action/type.d.ts +2 -0
- package/dist/src/nocode-base/src/core/sub-table/warehouse-in-table-core.d.ts +12 -0
- package/dist/src/nocode-base/src/hooks/material-consume/material-consume-table-controller.d.ts +0 -4
- package/dist/src/nocode-base/src/hooks/material-consume/service.d.ts +6 -0
- package/dist/src/nocode-base/src/hooks/material-consume-object/bom-validator.d.ts +35 -4
- package/dist/src/nocode-base/src/hooks/material-consume-object/index.d.ts +1 -0
- package/dist/src/nocode-base/src/hooks/material-consume-object/product-lot-link.d.ts +32 -0
- package/dist/src/online-form/src/views/__cell_widgets__/fake-field/fake-input.vue.d.ts +13 -0
- package/dist/src/online-form/src/views/__cell_widgets__/fake-field/fake-number-input.vue.d.ts +9 -0
- package/dist/src/online-form/src/views/__cell_widgets__/fake-field/fake-option-select.vue.d.ts +11 -0
- package/dist/src/online-form/src/views/__cell_widgets__/fake-field/fake-select.vue.d.ts +11 -0
- package/dist/src/online-form/src/views/__cell_widgets__/fake-field/index.d.ts +4 -0
- package/dist/src/online-form/src/views/__cell_widgets__/field-design-components.d.ts +4 -0
- package/dist/src/online-form/src/views/__cell_widgets__/index.d.ts +0 -1
- package/dist/src/online-form/src/views/designer/constants/index.d.ts +2 -0
- package/dist/src/online-form/src/views/designer/hooks/useAllSpreadSheets.d.ts +8 -0
- package/dist/src/online-form/src/views/designer/hooks/useSpreadSheet.d.ts +11 -3
- package/dist/src/online-form/src/views/designer/modules/base/drag-box.vue.d.ts +1 -1
- package/dist/src/online-form/src/views/designer/modules/panel/panel-tmpl-config/ai-tmpl/ai-tmpl-editor-modal.vue.d.ts +30 -0
- package/dist/src/online-form/src/views/designer/modules/panel/panel-tmpl-config/ai-tmpl/ai-tmpl-editor.vue.d.ts +6 -17
- package/dist/src/online-form/src/views/designer/modules/panel/panel-tmpl-config/ai-tmpl/types.d.ts +20 -0
- package/dist/src/online-form/src/views/designer/modules/panel/sub-table/comps/use-dynamic-sub-table-panel.d.ts +4 -0
- package/dist/src/online-form/src/views/designer/modules/panel/sub-table/material-consumption/bom-entry-editor.vue.d.ts +2 -1
- package/dist/src/online-form/src/views/designer/utils/cell-content-style.d.ts +20 -1
- package/dist/src/shared/components/FieldStateIcon/index.d.ts +3 -0
- package/dist/src/shared/enum/field-type.d.ts +10 -0
- package/dist/src/shared/utils/field-size.d.ts +2 -4
- package/dist/{text-design-bDFN86xv.js → text-design-DC9ze0ij.js} +2 -2
- package/dist/{text-props-B4TolXfp.js → text-props-D3SUlQJY.js} +4 -4
- package/dist/{text-style-ByGpXZzf.js → text-style-img9gRIf.js} +1 -1
- package/dist/{throttle-Cpk1LoGk-BNIzA8BC.js → throttle-Cpk1LoGk-BF87UbRK.js} +1 -1
- package/dist/{timediff-design-BFQwc-2H.js → timediff-design-Dg2fKTii.js} +1 -1
- package/dist/{trace-props-BTsCeJLk.js → trace-props-1lEg9oFn.js} +6 -6
- package/dist/{trace-style-Cye2bJyD.js → trace-style-BdsptHpJ.js} +1 -1
- package/dist/{user-props-C4yiYlAe.js → user-props-C5mCsB1z.js} +2 -2
- package/dist/{user-style-DF9urN1m.js → user-style-CnR9vedV.js} +1 -1
- package/dist/{value-editor.vue_vue_type_style_index_0_lang-Gq3HDpxo.js → value-editor.vue_vue_type_style_index_0_lang-Bek6fd1A.js} +2 -2
- package/dist/{version-select-De-iOetE.js → version-select-lUMGIdM0.js} +1 -1
- package/dist/web-render/index.es.js +3 -3
- package/dist/{widget-barcode-Cp4uH0bF.js → widget-barcode-QVXo7Kp5.js} +4 -4
- package/dist/{widget-diagonal-Ck6rg9bb.js → widget-diagonal-CDXwsgKW.js} +3 -3
- package/dist/{widget-image-CJhQrE43.js → widget-image-B5AHMEAU.js} +5 -5
- package/dist/{widget-line-CcHz7NN3.js → widget-line-DUoHdqVu.js} +2 -2
- package/dist/{widget-pagination-D2bb-mvb.js → widget-pagination-BJAyuF_9.js} +5 -5
- package/dist/{widget-power-DB4K_P8w.js → widget-power-CuHydCIY.js} +3 -3
- package/dist/{widget-qrcode-C4ViM0z0.js → widget-qrcode-CBsLAOzc.js} +3 -3
- package/dist/{widget-rangelimit-C_va0atL.js → widget-rangelimit-Cd32syk3.js} +3 -3
- package/dist/{widget-serialnumber-DzI3em1g.js → widget-serialnumber-Dgxaco3B.js} +1 -1
- package/dist/{widget-text-CV0OjQMn.js → widget-text-krmbExkJ.js} +5 -5
- package/dist/{widget-timediff-N_44gzW3.js → widget-timediff-DcAkZha3.js} +2 -2
- package/package.json +1 -1
- package/dist/agg-design-B0_j5tk5.js +0 -24
- package/dist/boolean-design-DlDPEJV_.js +0 -131
- package/dist/cell-upload-BLX_CBXg.js +0 -35
- package/dist/date-time-design-CGZbHRhW.js +0 -64
- package/dist/decimal-design-DujwHRtY.js +0 -29
- package/dist/double-design-BZsn_5Ss.js +0 -28
- package/dist/enum-design-DAYQmrQH.js +0 -111
- package/dist/expression-design-CITooHV2.js +0 -24
- package/dist/file-design-Be3TMJIy.js +0 -17
- package/dist/image-design-Bd8pOYdt.js +0 -23
- package/dist/integer-design-DJ26KjjA.js +0 -28
- package/dist/number-input-ex-BYw2lrbX.js +0 -69
- package/dist/org-design-DIUiBvOC.js +0 -31
- package/dist/paper-widget-design-ilrJl1Bl.js +0 -4
- package/dist/ref-design-DqcXOG70.js +0 -31
- package/dist/signature-design-DDa9GRie.js +0 -20
- package/dist/src/shared/utils/field-placeholder.d.ts +0 -4
- package/dist/text-design-BOLcjdS2.js +0 -39
- package/dist/trace-design-DwcooR9a.js +0 -75
- package/dist/user-design-CHG89nmG.js +0 -31
- /package/dist/src/shared/components/{FieldStateIcon.vue.d.ts → FieldStateIcon/field-state-icon.vue.d.ts} +0 -0
package/dist/base/index.es.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { aB, aD, aN, $,
|
|
3
|
-
import { M as MaterialConsumptionPatternEnum,
|
|
4
|
-
import { B as B2,
|
|
1
|
+
import { bh as fetchHistoryConsume, bi as isBomGranted, F as FIELD_TYPE, A as api, bj as F$1, bk as F$2, bl as runRowHandler, h as getProfileByTableType, f as isBusinessSubTableProfile, bm as F$3, bn as F$4, bo as FILL_FROM_INVENTORY_OPTION, bp as FILL_FROM_PART_OPTION, bq as FILL_FROM_INVENTORY_OPTION$1, br as TABLE_TYPE, bs as FILL_FROM_INVENTORY_OPTION$2, bt as F$5, bu as INVENTORY_BASE_FIELDS, bv as WAREHOUSE_IDENTITY_GROUP_KEYS, bw as resolveGroupByWarehouse, bx as AUTO_LOAD_READONLY_SELECT_FIELDS, b4 as STOCKTAKE_DIMENSION, aX as getParseRuleInfo, by as FILL_FROM_INVENTORY_OPTION$3, bz as calcFillData, bA as resolveStocktakeInventoryApi, aY as getParseRuleValue, bB as F$6, bC as FILL_FROM_INVENTORY_OPTION$4, bD as extractKeywordFromQueryData, bE as composeProductionLotListQuery, ax as resolveLotDisplayLabel, bF as F$7, bG as isProductManuallyEditable, bH as applyFillFromMfgOrderOption, bI as applyFillFromOption$1, bJ as applyFillFromProductOption, aU as LOT_CONTAINER_ROLE, bK as MATERIAL_CONTAINER_ID, bL as F$8, bM as PRODUCT_QUICK_SEARCH_FIELDS, bN as PRODUCT_QUICK_SEARCH_EXP, bO as isProductManuallyEditable$1, bP as applyFillFromMaterialNoOption, bQ as applyFillFromProductOption$1, bR as F$9, bS as FILL_FROM_INVENTORY_OPTION$5, V as FormTypeEnum, aW as transformUtils, l as SubTableType, aP as NCB_PROVIDE, bT as settleAndValidateDisplay, bU as unregisterValidationContext, bV as clearFormRules, bW as registerValidationContext, q as ComponentTypeEnum, b7 as RenderModeEnum, bX as requestFullValidation, bY as requestDisplayValidation, aM as renderUtils, bZ as closeValidatorPopovers, b_ as baseDataUtils, b$ as getRawFormRuleMeta, c0 as enrichFormChangeRowDetails, c1 as settleAfterModeSwitch, c2 as calcUtils, ay as CheckDsTypeEnum, Z as PlatformEnum, c3 as uuid2, c4 as normalizeToArray, c5 as safeParseArray, c6 as BpmnNodeTypeEnum, c7 as mergeByMultiKey, bg as useNocodeEmitter, c8 as commonUtils, aw as EntityModelCategoryEnum, c9 as getRowId, ca as collectFormChangeFieldLocations, cb as nextFormChangeRowViewHistoryId } from "../dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-DIBDgGHy.js";
|
|
2
|
+
import { aB, aD, aN, $, cc, cd, B, ce, y, ab, cf, cg, ch, b3, ci, aL, aO, aC, az, aA, cj, ac, ag, ck, cl, ap, aa, av, aF, _, ae, L, cm, cn, O, o, P, a5, n, M, aE, co, cp, b6, a2, a0, a1, a3, cq, af, aj, ad, cr, cs, ct, b2, cu, cv, cw, cx, cy, cz, cA, cB, cC, cD, cE, b0, cF, cG, cH, cI, cJ, cK, cL, cM, cN, cO, cP, cQ, cR, cS, a$, cT, aQ, cU, cV, cW, aT, cX, cY, cZ, c_, ah, c$, d0, aJ, d1, aI, aG, d2, N, aZ, b8, aK, d3, u, aH, b1 } from "../dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-DIBDgGHy.js";
|
|
3
|
+
import { M as MaterialConsumptionPatternEnum, m as MaterialConsumeTableController, i as isEdhrSuite, o as SubTableCore, p as SubTableActionMenuTypeEnum, q as getMenuByAction, s as SubTableActionEnum, t as getInsertSubMenu, w as resolveScanAdjustType, x as resolveScanQty, y as toDateOnly, z as getCopySubMenu, A as resolveScanParsedValue, C as resolveScanFillData, F as isProductBatchEmptyRow, G as useMaterialBalance, H as validate, J as validateObjectBomQtyOnSubmit } from "../dynamic-table-action-mtuMZU7c.js";
|
|
4
|
+
import { B as B2, K, D, _ as _2, L as L2, k, N as N2, l, E, O as O2, P as P2, I, Q, T, e, c, f, U, b, g, V, W, X, Y, r, d, u as u2, h, a, j, v } from "../dynamic-table-action-mtuMZU7c.js";
|
|
5
5
|
import { ref, provide, watch, computed, onUnmounted, onBeforeMount } from "vue";
|
|
6
6
|
import { defaults, has, merge, isEmpty, cloneDeep, debounce } from "lodash-es";
|
|
7
7
|
import "dayjs";
|
|
8
|
-
import { B as B3, F
|
|
8
|
+
import { B as B3, F, M as M2, a as a4, u as u3 } from "../mb-render-C3bOewR0.js";
|
|
9
9
|
var MaterialStatusEnum = /* @__PURE__ */ ((MaterialStatusEnum2) => {
|
|
10
10
|
MaterialStatusEnum2["LOT"] = "LOT";
|
|
11
11
|
MaterialStatusEnum2["SN"] = "SN";
|
|
@@ -304,7 +304,7 @@ async function matchProductionIdentificationScanRecords(parsed) {
|
|
|
304
304
|
);
|
|
305
305
|
return unwrapBizServiceList(result);
|
|
306
306
|
}
|
|
307
|
-
function isBlank$
|
|
307
|
+
function isBlank$4(value) {
|
|
308
308
|
return value === void 0 || value === null || value === "";
|
|
309
309
|
}
|
|
310
310
|
function matchFieldKey(match, fieldKey) {
|
|
@@ -323,7 +323,7 @@ function buildDefaultMapFromProfile(profile, paramsConfig) {
|
|
|
323
323
|
);
|
|
324
324
|
for (const assignment of assignments) {
|
|
325
325
|
const value = paramsConfig?.[assignment.paramKey];
|
|
326
|
-
if (isBlank$
|
|
326
|
+
if (isBlank$4(value)) continue;
|
|
327
327
|
result[assignment.fieldKey] = value;
|
|
328
328
|
}
|
|
329
329
|
return result;
|
|
@@ -394,10 +394,10 @@ class ProfileDrivenSubTableCore extends SubTableCore {
|
|
|
394
394
|
super.handleChange(params);
|
|
395
395
|
}
|
|
396
396
|
}
|
|
397
|
-
function isBlank$
|
|
397
|
+
function isBlank$3(value) {
|
|
398
398
|
return value === void 0 || value === null || value === "";
|
|
399
399
|
}
|
|
400
|
-
function resolveOptionRecord(option) {
|
|
400
|
+
function resolveOptionRecord$1(option) {
|
|
401
401
|
if (!option) return void 0;
|
|
402
402
|
const nested = option._item;
|
|
403
403
|
if (nested && typeof nested === "object") {
|
|
@@ -406,7 +406,7 @@ function resolveOptionRecord(option) {
|
|
|
406
406
|
return option;
|
|
407
407
|
}
|
|
408
408
|
function applyOptionFill(rowData, option, mappings) {
|
|
409
|
-
const record = resolveOptionRecord(option) ?? option;
|
|
409
|
+
const record = resolveOptionRecord$1(option) ?? option;
|
|
410
410
|
for (const { optionField, toField } of mappings) {
|
|
411
411
|
if (record[optionField] !== void 0) {
|
|
412
412
|
rowData[toField] = record[optionField];
|
|
@@ -436,7 +436,7 @@ class WarehouseInboundTableCore extends ProfileDrivenSubTableCore {
|
|
|
436
436
|
handleChange(params) {
|
|
437
437
|
super.handleChange(params);
|
|
438
438
|
const { field, value, option, rowData } = params;
|
|
439
|
-
if (field !== F$3.part || isBlank$
|
|
439
|
+
if (field !== F$3.part || isBlank$3(value) || !option) return;
|
|
440
440
|
applyOptionFill(rowData, option, FILL_FROM_PART_OPTION);
|
|
441
441
|
}
|
|
442
442
|
}
|
|
@@ -456,7 +456,7 @@ class WarehouseOutboundTableCore extends ProfileDrivenSubTableCore {
|
|
|
456
456
|
handleChange(params) {
|
|
457
457
|
super.handleChange(params);
|
|
458
458
|
const { field, value, option, rowData } = params;
|
|
459
|
-
if (field !== F$4.part || isBlank$
|
|
459
|
+
if (field !== F$4.part || isBlank$3(value) || !option) return;
|
|
460
460
|
applyOptionFill(rowData, option, FILL_FROM_INVENTORY_OPTION$1);
|
|
461
461
|
}
|
|
462
462
|
}
|
|
@@ -476,7 +476,7 @@ class PartStocktakeTableCore extends ProfileDrivenSubTableCore {
|
|
|
476
476
|
handleChange(params) {
|
|
477
477
|
super.handleChange(params);
|
|
478
478
|
const { field, value, option, rowData } = params;
|
|
479
|
-
if (field !== F$2.part || isBlank$
|
|
479
|
+
if (field !== F$2.part || isBlank$3(value) || !option) return;
|
|
480
480
|
applyOptionFill(rowData, option, FILL_FROM_INVENTORY_OPTION);
|
|
481
481
|
runRowHandler(TABLE_TYPE, "stocktake-derived", {
|
|
482
482
|
rowData,
|
|
@@ -500,7 +500,7 @@ class DevicePartConsumeTableCore extends ProfileDrivenSubTableCore {
|
|
|
500
500
|
handleChange(params) {
|
|
501
501
|
super.handleChange(params);
|
|
502
502
|
const { field, value, option, rowData } = params;
|
|
503
|
-
if (field !== F$1.part || isBlank$
|
|
503
|
+
if (field !== F$1.part || isBlank$3(value) || !option) return;
|
|
504
504
|
applyOptionFill(rowData, option, FILL_FROM_INVENTORY_OPTION$2);
|
|
505
505
|
}
|
|
506
506
|
}
|
|
@@ -525,7 +525,7 @@ function toNumber(value, fallback = 0) {
|
|
|
525
525
|
const num = Number(value);
|
|
526
526
|
return Number.isNaN(num) ? fallback : num;
|
|
527
527
|
}
|
|
528
|
-
function isBlank$
|
|
528
|
+
function isBlank$2(value) {
|
|
529
529
|
return value == null || value === "";
|
|
530
530
|
}
|
|
531
531
|
function pickInventoryBase(record) {
|
|
@@ -564,7 +564,7 @@ function groupByWarehouseIdentity(records) {
|
|
|
564
564
|
return groups;
|
|
565
565
|
}
|
|
566
566
|
function getStocktakeDiff(stocktakeNum, stockNum) {
|
|
567
|
-
if (isBlank$
|
|
567
|
+
if (isBlank$2(stocktakeNum)) {
|
|
568
568
|
return void 0;
|
|
569
569
|
}
|
|
570
570
|
const stocktake = toNumber(stocktakeNum);
|
|
@@ -592,26 +592,26 @@ function buildStocktakeDerived(stocktakeNum, stockNum) {
|
|
|
592
592
|
};
|
|
593
593
|
}
|
|
594
594
|
function applyScanQtyToStocktake(current, scanQty, type = "add") {
|
|
595
|
-
if (isBlank$
|
|
595
|
+
if (isBlank$2(scanQty)) {
|
|
596
596
|
return current;
|
|
597
597
|
}
|
|
598
598
|
const qtyNum = toNumber(scanQty);
|
|
599
599
|
if (Number.isNaN(qtyNum)) {
|
|
600
600
|
return current;
|
|
601
601
|
}
|
|
602
|
-
const base = isBlank$
|
|
602
|
+
const base = isBlank$2(current) ? 0 : toNumber(current);
|
|
603
603
|
return base + (type === "minus" ? -qtyNum : qtyNum);
|
|
604
604
|
}
|
|
605
605
|
const MIN_STOCKTAKE_NUM = 0;
|
|
606
606
|
function getScanQtyDeductionBlockReason(current, scanQty, type = "add") {
|
|
607
|
-
if (type !== "minus" || isBlank$
|
|
607
|
+
if (type !== "minus" || isBlank$2(scanQty)) {
|
|
608
608
|
return void 0;
|
|
609
609
|
}
|
|
610
610
|
const qtyNum = Number(scanQty);
|
|
611
611
|
if (Number.isNaN(qtyNum) || qtyNum <= 0) {
|
|
612
612
|
return void 0;
|
|
613
613
|
}
|
|
614
|
-
const base = isBlank$
|
|
614
|
+
const base = isBlank$2(current) ? 0 : toNumber(current);
|
|
615
615
|
if (base - qtyNum >= MIN_STOCKTAKE_NUM) {
|
|
616
616
|
return void 0;
|
|
617
617
|
}
|
|
@@ -1033,7 +1033,7 @@ class AllocateTableCore extends ProfileDrivenSubTableCore {
|
|
|
1033
1033
|
}
|
|
1034
1034
|
};
|
|
1035
1035
|
}
|
|
1036
|
-
const
|
|
1036
|
+
const F2 = {
|
|
1037
1037
|
/** 产品 */
|
|
1038
1038
|
product: "product_id_",
|
|
1039
1039
|
/** 产品标签 */
|
|
@@ -1058,59 +1058,59 @@ const F3 = {
|
|
|
1058
1058
|
productionDate: "production_date_"
|
|
1059
1059
|
};
|
|
1060
1060
|
const STERILIZE_ALWAYS_DISABLED_FIELDS = [
|
|
1061
|
-
|
|
1062
|
-
|
|
1063
|
-
|
|
1064
|
-
|
|
1065
|
-
|
|
1066
|
-
|
|
1061
|
+
F2.product,
|
|
1062
|
+
F2.productCode,
|
|
1063
|
+
F2.productSpec,
|
|
1064
|
+
F2.productName,
|
|
1065
|
+
F2.mfgOrderCode,
|
|
1066
|
+
F2.mfgOrder
|
|
1067
1067
|
];
|
|
1068
1068
|
const CLEAR_ON_PROD_CONTAINER_EMPTY = [
|
|
1069
|
-
|
|
1070
|
-
|
|
1071
|
-
|
|
1072
|
-
|
|
1073
|
-
|
|
1074
|
-
|
|
1075
|
-
|
|
1076
|
-
|
|
1077
|
-
|
|
1078
|
-
|
|
1069
|
+
F2.product,
|
|
1070
|
+
F2.productLb,
|
|
1071
|
+
F2.productName,
|
|
1072
|
+
F2.productCode,
|
|
1073
|
+
F2.productSpec,
|
|
1074
|
+
F2.qty,
|
|
1075
|
+
F2.mfgOrderCode,
|
|
1076
|
+
F2.mfgOrder,
|
|
1077
|
+
F2.mfgOrderLb,
|
|
1078
|
+
F2.productionDate
|
|
1079
1079
|
];
|
|
1080
1080
|
const fillFromOption = [
|
|
1081
1081
|
{
|
|
1082
|
-
optionField:
|
|
1083
|
-
toField:
|
|
1082
|
+
optionField: F2.product,
|
|
1083
|
+
toField: F2.product
|
|
1084
1084
|
},
|
|
1085
1085
|
{
|
|
1086
|
-
optionField:
|
|
1087
|
-
toField:
|
|
1086
|
+
optionField: F2.productName,
|
|
1087
|
+
toField: F2.productName
|
|
1088
1088
|
},
|
|
1089
1089
|
{
|
|
1090
|
-
optionField:
|
|
1091
|
-
toField:
|
|
1090
|
+
optionField: F2.productCode,
|
|
1091
|
+
toField: F2.productCode
|
|
1092
1092
|
},
|
|
1093
1093
|
{
|
|
1094
|
-
optionField:
|
|
1095
|
-
toField:
|
|
1094
|
+
optionField: F2.productSpec,
|
|
1095
|
+
toField: F2.productSpec
|
|
1096
1096
|
},
|
|
1097
1097
|
{
|
|
1098
|
-
optionField:
|
|
1099
|
-
toField:
|
|
1098
|
+
optionField: F2.mfgOrder,
|
|
1099
|
+
toField: F2.mfgOrder
|
|
1100
1100
|
},
|
|
1101
1101
|
{
|
|
1102
|
-
optionField:
|
|
1102
|
+
optionField: F2.mfgOrderCode,
|
|
1103
1103
|
//工单号
|
|
1104
|
-
toField:
|
|
1104
|
+
toField: F2.mfgOrderCode
|
|
1105
1105
|
},
|
|
1106
1106
|
{
|
|
1107
1107
|
optionField: "real_start_date_",
|
|
1108
1108
|
//生产日期
|
|
1109
|
-
toField:
|
|
1109
|
+
toField: F2.productionDate
|
|
1110
1110
|
},
|
|
1111
1111
|
{
|
|
1112
|
-
optionField:
|
|
1113
|
-
toField:
|
|
1112
|
+
optionField: F2.qty,
|
|
1113
|
+
toField: F2.qty
|
|
1114
1114
|
}
|
|
1115
1115
|
];
|
|
1116
1116
|
function applyFillFromOption(A, B4) {
|
|
@@ -1133,15 +1133,15 @@ function mapContainerRowsToOptions(data = []) {
|
|
|
1133
1133
|
const SCAN_NOT_FOUND_MSG$1 = "扫描的物料批次不存在";
|
|
1134
1134
|
function buildEntrustScanRow(record, parsed, fillData) {
|
|
1135
1135
|
return {
|
|
1136
|
-
[
|
|
1137
|
-
[
|
|
1138
|
-
[
|
|
1139
|
-
[
|
|
1140
|
-
[
|
|
1141
|
-
[
|
|
1142
|
-
[
|
|
1143
|
-
[
|
|
1144
|
-
[
|
|
1136
|
+
[F2.productionContainer]: record.lot_sn_id_ ?? record.production_container_id_,
|
|
1137
|
+
[F2.product]: record.product_id_,
|
|
1138
|
+
[F2.productName]: record.product_id_name_,
|
|
1139
|
+
[F2.productCode]: record.product_id_code_,
|
|
1140
|
+
[F2.productSpec]: record.product_id_spec_,
|
|
1141
|
+
[F2.mfgOrderCode]: record.mfg_order_code_,
|
|
1142
|
+
[F2.mfgOrder]: record.mfg_order_id_,
|
|
1143
|
+
[F2.qty]: parsed.qty ?? record.qty_,
|
|
1144
|
+
[F2.productionDate]: toDateOnly(record.production_date_),
|
|
1145
1145
|
...fillData
|
|
1146
1146
|
};
|
|
1147
1147
|
}
|
|
@@ -1188,7 +1188,7 @@ class SterilizeBatchTableCore extends SubTableCore {
|
|
|
1188
1188
|
};
|
|
1189
1189
|
handleFieldTd = (params) => {
|
|
1190
1190
|
const { field, tdHandler } = params;
|
|
1191
|
-
if (field ===
|
|
1191
|
+
if (field === F2.productionContainer) {
|
|
1192
1192
|
tdHandler.mergeTd({
|
|
1193
1193
|
cellWidget: {
|
|
1194
1194
|
props: {
|
|
@@ -1210,7 +1210,7 @@ class SterilizeBatchTableCore extends SubTableCore {
|
|
|
1210
1210
|
}
|
|
1211
1211
|
calcFieldDataSource = (params) => {
|
|
1212
1212
|
const { field } = params;
|
|
1213
|
-
if (field !==
|
|
1213
|
+
if (field !== F2.productionContainer) return;
|
|
1214
1214
|
const loader = async (loaderParams) => {
|
|
1215
1215
|
const { mode, queryData = {}, pageNo = 1, pageSize = 100, ids = [] } = loaderParams;
|
|
1216
1216
|
const keyword = mode === "byIds" ? "" : extractKeywordFromQueryData(queryData) || "";
|
|
@@ -1260,7 +1260,7 @@ class SterilizeBatchTableCore extends SubTableCore {
|
|
|
1260
1260
|
};
|
|
1261
1261
|
handleChange = (params) => {
|
|
1262
1262
|
const { field, option, value, rowData } = params;
|
|
1263
|
-
if (field !==
|
|
1263
|
+
if (field !== F2.productionContainer) return;
|
|
1264
1264
|
if (option) {
|
|
1265
1265
|
applyFillFromOption(rowData, option);
|
|
1266
1266
|
return;
|
|
@@ -1443,7 +1443,7 @@ function createMaterialContainerLoader() {
|
|
|
1443
1443
|
};
|
|
1444
1444
|
};
|
|
1445
1445
|
}
|
|
1446
|
-
function isBlank(value) {
|
|
1446
|
+
function isBlank$1(value) {
|
|
1447
1447
|
return value === void 0 || value === null || value === "";
|
|
1448
1448
|
}
|
|
1449
1449
|
const SCAN_NOT_FOUND_MSG = "扫描的批次/物料不存在";
|
|
@@ -1540,7 +1540,7 @@ class PretreatmentListTableCore extends ProfileDrivenSubTableCore {
|
|
|
1540
1540
|
handleChange(params) {
|
|
1541
1541
|
super.handleChange(params);
|
|
1542
1542
|
const { field, option, value, rowData } = params;
|
|
1543
|
-
if (!option || isBlank(value)) return;
|
|
1543
|
+
if (!option || isBlank$1(value)) return;
|
|
1544
1544
|
const source = option._item ?? option;
|
|
1545
1545
|
if (field === F$7.mfgOrder) {
|
|
1546
1546
|
applyFillFromMfgOrderOption(rowData, source);
|
|
@@ -1595,6 +1595,17 @@ function buildWarehouseInScanRow(record, parsed, fillData) {
|
|
|
1595
1595
|
}
|
|
1596
1596
|
return row;
|
|
1597
1597
|
}
|
|
1598
|
+
function isBlank(value) {
|
|
1599
|
+
return value === void 0 || value === null || value === "";
|
|
1600
|
+
}
|
|
1601
|
+
function resolveOptionRecord(option) {
|
|
1602
|
+
if (!option) return void 0;
|
|
1603
|
+
const nested = option._item;
|
|
1604
|
+
if (nested && typeof nested === "object") {
|
|
1605
|
+
return nested;
|
|
1606
|
+
}
|
|
1607
|
+
return option;
|
|
1608
|
+
}
|
|
1598
1609
|
class WarehouseInTableCore extends ProfileDrivenSubTableCore {
|
|
1599
1610
|
isEmptyScanRow(row) {
|
|
1600
1611
|
return isProductBatchEmptyRow(row);
|
|
@@ -1618,6 +1629,27 @@ class WarehouseInTableCore extends ProfileDrivenSubTableCore {
|
|
|
1618
1629
|
}
|
|
1619
1630
|
super.handleFieldTd(params);
|
|
1620
1631
|
};
|
|
1632
|
+
calcFieldStatus(params) {
|
|
1633
|
+
const result = super.calcFieldStatus(params);
|
|
1634
|
+
if (params.field === F$8.product) {
|
|
1635
|
+
result.disabled = !isProductManuallyEditable$1(params.rowData);
|
|
1636
|
+
}
|
|
1637
|
+
return result;
|
|
1638
|
+
}
|
|
1639
|
+
handleChange(params) {
|
|
1640
|
+
super.handleChange(params);
|
|
1641
|
+
const { field, value, option, rowData } = params;
|
|
1642
|
+
if (isBlank(value) || !option) return;
|
|
1643
|
+
const source = resolveOptionRecord(option);
|
|
1644
|
+
if (!source) return;
|
|
1645
|
+
if (field === F$8.materialNo) {
|
|
1646
|
+
applyFillFromMaterialNoOption(rowData, source);
|
|
1647
|
+
return;
|
|
1648
|
+
}
|
|
1649
|
+
if (field === F$8.product) {
|
|
1650
|
+
applyFillFromProductOption$1(rowData, source);
|
|
1651
|
+
}
|
|
1652
|
+
}
|
|
1621
1653
|
calcSubTableActionMenu = (params) => {
|
|
1622
1654
|
const { showDelBtn } = params;
|
|
1623
1655
|
return [
|
|
@@ -2313,9 +2345,6 @@ function useRenderPageFactory(props, payload) {
|
|
|
2313
2345
|
console.log("Processing data for id:", result);
|
|
2314
2346
|
const { selfInfo, paramsConfig, fillModeType } = result || {};
|
|
2315
2347
|
const cloneRuntimeJson = cloneDeep(JSON.parse(selfInfo?.runtimeJson || "{}"));
|
|
2316
|
-
if (payload.factoryType === "template" || payload.factoryType === "batchTemplate") {
|
|
2317
|
-
migrateLegacyFieldWidths(cloneRuntimeJson, selfInfo?.designerJson);
|
|
2318
|
-
}
|
|
2319
2348
|
const paper = cloneRuntimeJson[ComponentTypeEnum.PAPER];
|
|
2320
2349
|
const isFormInstance = payload.factoryType === "instance" || payload.factoryType === "batchInstance" || !!selfInfo?.tmplId;
|
|
2321
2350
|
const hasCustomCheckTableDataSource = !!paper?.props?.checkTable2DList?.some((checkInfo) => {
|
|
@@ -2632,11 +2661,11 @@ function useRenderPageFactory(props, payload) {
|
|
|
2632
2661
|
if (info.uniqueId !== uniqueId) return;
|
|
2633
2662
|
const prevLocations = info.validatorLocationList ?? [];
|
|
2634
2663
|
const prevMap = info.validatorMessageMap ?? {};
|
|
2635
|
-
const sameLocations = prevLocations.length === nextLocations.length && nextLocations.every((
|
|
2636
|
-
const sameMessages = sameLocations && nextLocations.every((
|
|
2637
|
-
const a6 = prevMap[
|
|
2638
|
-
const
|
|
2639
|
-
return JSON.stringify(a6) === JSON.stringify(
|
|
2664
|
+
const sameLocations = prevLocations.length === nextLocations.length && nextLocations.every((k2, i) => k2 === prevLocations[i]);
|
|
2665
|
+
const sameMessages = sameLocations && nextLocations.every((k2) => {
|
|
2666
|
+
const a6 = prevMap[k2];
|
|
2667
|
+
const b4 = map[k2];
|
|
2668
|
+
return JSON.stringify(a6) === JSON.stringify(b4);
|
|
2640
2669
|
});
|
|
2641
2670
|
if (sameMessages) return;
|
|
2642
2671
|
closeValidatorPopovers();
|
|
@@ -2651,11 +2680,11 @@ function useRenderPageFactory(props, payload) {
|
|
|
2651
2680
|
if (info.uniqueId !== uniqueId) return;
|
|
2652
2681
|
const prevLocations = info.mcValidatorLocationList ?? [];
|
|
2653
2682
|
const prevMap = info.mcValidatorMessageMap ?? {};
|
|
2654
|
-
const sameLocations = prevLocations.length === nextLocations.length && nextLocations.every((
|
|
2655
|
-
const sameMessages = sameLocations && nextLocations.every((
|
|
2656
|
-
const a6 = prevMap[
|
|
2657
|
-
const
|
|
2658
|
-
return JSON.stringify(a6) === JSON.stringify(
|
|
2683
|
+
const sameLocations = prevLocations.length === nextLocations.length && nextLocations.every((k2, i) => k2 === prevLocations[i]);
|
|
2684
|
+
const sameMessages = sameLocations && nextLocations.every((k2) => {
|
|
2685
|
+
const a6 = prevMap[k2];
|
|
2686
|
+
const b4 = map[k2];
|
|
2687
|
+
return JSON.stringify(a6) === JSON.stringify(b4);
|
|
2659
2688
|
});
|
|
2660
2689
|
if (sameMessages) return;
|
|
2661
2690
|
closeValidatorPopovers();
|
|
@@ -3523,9 +3552,9 @@ function useFormulaExpWatcher(options) {
|
|
|
3523
3552
|
}
|
|
3524
3553
|
}
|
|
3525
3554
|
const existingIds = new Set(arr.map(getRowId));
|
|
3526
|
-
for (const
|
|
3527
|
-
if (!existingIds.has(
|
|
3528
|
-
const rid = `${
|
|
3555
|
+
for (const r2 of Array.from(rowMap.keys())) {
|
|
3556
|
+
if (!existingIds.has(r2)) {
|
|
3557
|
+
const rid = `${r2}_${processed}`;
|
|
3529
3558
|
const s = rowMap.get(rid);
|
|
3530
3559
|
s && s();
|
|
3531
3560
|
rowMap.delete(rid);
|
|
@@ -3717,45 +3746,46 @@ export {
|
|
|
3717
3746
|
$ as BooleanShowMode,
|
|
3718
3747
|
B2 as BorderTD,
|
|
3719
3748
|
BpmnNodeTypeEnum,
|
|
3720
|
-
|
|
3721
|
-
|
|
3749
|
+
cc as BpmnSignatureTypeEnum,
|
|
3750
|
+
cd as ButtonTypeEnum,
|
|
3722
3751
|
B as BwipCodeType,
|
|
3723
|
-
|
|
3752
|
+
ce as CHECK_TABLE_MEDPRO_PROTOCOL_KEY,
|
|
3724
3753
|
y as CellType,
|
|
3725
3754
|
ab as CellWidgetViewState,
|
|
3726
3755
|
CheckDsTypeEnum,
|
|
3727
|
-
|
|
3756
|
+
cf as CodeRunner,
|
|
3728
3757
|
ComponentTypeEnum,
|
|
3729
|
-
|
|
3730
|
-
|
|
3731
|
-
|
|
3732
|
-
|
|
3758
|
+
cg as Config_Fields,
|
|
3759
|
+
ch as ControlStatusEnum,
|
|
3760
|
+
b3 as DEVICE_GROUP_QUERY_KEY,
|
|
3761
|
+
ci as DEVICE_SEARCH_API,
|
|
3733
3762
|
aL as DateFormat,
|
|
3734
3763
|
aO as DecimalDisplayMode,
|
|
3735
3764
|
aC as DenoiseMethodOptions,
|
|
3736
|
-
|
|
3765
|
+
K as DeviceConnector,
|
|
3737
3766
|
az as DeviceLink,
|
|
3738
3767
|
D as DeviceLinkTmplUtil,
|
|
3739
3768
|
aA as DeviceParamsTypeTitle,
|
|
3740
3769
|
DevicePartConsumeTableCore,
|
|
3741
|
-
|
|
3770
|
+
cj as DeviceStatus,
|
|
3742
3771
|
ac as DiagonalDirection,
|
|
3743
3772
|
ag as DiagonalVertex,
|
|
3744
3773
|
_2 as DocumentLayout,
|
|
3745
|
-
|
|
3746
|
-
|
|
3747
|
-
|
|
3748
|
-
|
|
3749
|
-
|
|
3750
|
-
|
|
3774
|
+
L2 as DocumentLoading,
|
|
3775
|
+
k as DocumentPaper,
|
|
3776
|
+
N2 as DynamicQuickFillModal,
|
|
3777
|
+
l as DynamicTableAction,
|
|
3778
|
+
ck as EBR_PROVIDE_ENUM,
|
|
3779
|
+
cl as EFieldBizTypeEnum,
|
|
3780
|
+
E as EMPTY_PRODUCT_VERSION_ID,
|
|
3751
3781
|
ap as EmptySymbol,
|
|
3752
|
-
|
|
3782
|
+
aa as FieldSysVarDefaultValueEnum,
|
|
3753
3783
|
FillingTypeEnum,
|
|
3754
|
-
|
|
3784
|
+
O2 as FixedQuickFillModal,
|
|
3755
3785
|
FormAnnotationController,
|
|
3756
|
-
|
|
3786
|
+
F as FormModelController,
|
|
3757
3787
|
FormTmplBomController,
|
|
3758
|
-
|
|
3788
|
+
P2 as FormTmplConfigController,
|
|
3759
3789
|
FormTypeEnum,
|
|
3760
3790
|
av as ImageDisplayModeEnum,
|
|
3761
3791
|
I as InstanceStatusValues,
|
|
@@ -3764,16 +3794,16 @@ export {
|
|
|
3764
3794
|
ae as LineDirection,
|
|
3765
3795
|
L as LineType,
|
|
3766
3796
|
M2 as MBRender,
|
|
3767
|
-
|
|
3797
|
+
Q as MCDataUtil,
|
|
3768
3798
|
a4 as MCRender,
|
|
3769
3799
|
MaterialConsumeTableController,
|
|
3770
3800
|
MaterialConsumptionPatternEnum,
|
|
3771
3801
|
MaterialRequisitionTableCore,
|
|
3772
3802
|
MaterialStatusEnum,
|
|
3773
|
-
|
|
3803
|
+
cm as MobileFillTypeEnum,
|
|
3774
3804
|
NCB_PROVIDE,
|
|
3775
|
-
|
|
3776
|
-
|
|
3805
|
+
T as OCR_MODEL_PRECISION_ENUM_KEY,
|
|
3806
|
+
cn as OfficeTypeEnum,
|
|
3777
3807
|
O as Orientation,
|
|
3778
3808
|
o as PageSizeEnum,
|
|
3779
3809
|
P as PaginationFormat,
|
|
@@ -3783,11 +3813,11 @@ export {
|
|
|
3783
3813
|
aE as ParamModelTypeEnum,
|
|
3784
3814
|
PartStocktakeTableCore,
|
|
3785
3815
|
PlatformEnum,
|
|
3786
|
-
|
|
3816
|
+
co as PosEnum,
|
|
3787
3817
|
PretreatmentListTableCore,
|
|
3788
3818
|
ProfileDrivenSubTableCore,
|
|
3789
|
-
|
|
3790
|
-
|
|
3819
|
+
cp as RangeCompareOp,
|
|
3820
|
+
b6 as RangeValidateMode,
|
|
3791
3821
|
RenderModeEnum,
|
|
3792
3822
|
a2 as SignShowTypeEnum,
|
|
3793
3823
|
a0 as SignatureNumberTypeEnum,
|
|
@@ -3798,7 +3828,7 @@ export {
|
|
|
3798
3828
|
SubTableCore,
|
|
3799
3829
|
SubTableCoreFactory,
|
|
3800
3830
|
SubTableType,
|
|
3801
|
-
|
|
3831
|
+
cq as SummaryApproveHisTypeEnum,
|
|
3802
3832
|
af as TimeDiffFormat,
|
|
3803
3833
|
aj as ViewTypeEnum,
|
|
3804
3834
|
WarehouseInTableCore,
|
|
@@ -3806,86 +3836,93 @@ export {
|
|
|
3806
3836
|
WarehouseOutTableCore,
|
|
3807
3837
|
WarehouseOutboundTableCore,
|
|
3808
3838
|
ad as WidgetImageSizeMode,
|
|
3809
|
-
|
|
3810
|
-
|
|
3839
|
+
cr as applyCheckDsDataToRuntime,
|
|
3840
|
+
e as applyConsumeObjectTraceChange,
|
|
3841
|
+
cs as applyMedProCheckDsDataToRuntime,
|
|
3811
3842
|
baseDataUtils,
|
|
3812
|
-
|
|
3813
|
-
|
|
3814
|
-
|
|
3815
|
-
|
|
3843
|
+
ct as buildDeviceBaseQuery,
|
|
3844
|
+
b2 as buildDeviceFilterQuery,
|
|
3845
|
+
cu as buildFormChangeDisplayRows,
|
|
3846
|
+
c as buildObjectLotExtraQuery,
|
|
3847
|
+
cv as buildStableFieldLocation,
|
|
3816
3848
|
calcFillData,
|
|
3817
3849
|
calcUtils,
|
|
3818
3850
|
clearFormRules,
|
|
3819
3851
|
collectAnnotationItemsByLocation,
|
|
3820
3852
|
collectFormChangeFieldLocations,
|
|
3821
3853
|
commonUtils,
|
|
3822
|
-
|
|
3823
|
-
|
|
3854
|
+
cw as deleteSubtableRow,
|
|
3855
|
+
cx as detailsHaveFormChangeRowOps,
|
|
3824
3856
|
enrichFormChangeRowDetails,
|
|
3825
|
-
|
|
3857
|
+
cy as extractFormChangeRowDetails,
|
|
3826
3858
|
extractKeywordFromQueryData,
|
|
3827
|
-
|
|
3828
|
-
|
|
3859
|
+
cz as fetchCheckDsDataForTable,
|
|
3860
|
+
cA as fetchCustomCheckDsData,
|
|
3829
3861
|
fetchHistoryConsume,
|
|
3830
|
-
|
|
3862
|
+
cB as fetchMedProCheckDsData,
|
|
3831
3863
|
f as fetchOperationReceiveQty,
|
|
3832
3864
|
filterAnnotationItemsUpToCurrent,
|
|
3833
|
-
|
|
3834
|
-
|
|
3835
|
-
|
|
3836
|
-
|
|
3865
|
+
U as getAppInfo,
|
|
3866
|
+
cC as getCheckTableSnapshotKey,
|
|
3867
|
+
cD as getFormChangeRowKey,
|
|
3868
|
+
cE as getFormChangeRowOp,
|
|
3837
3869
|
b0 as getLotLockedReason,
|
|
3838
|
-
|
|
3839
|
-
|
|
3870
|
+
b as getObjectBomMaterialLotQuery,
|
|
3871
|
+
g as getObjectBomProductQuery,
|
|
3872
|
+
cF as getParseRuleConfig,
|
|
3840
3873
|
getParseRuleInfo,
|
|
3841
3874
|
getParseRuleValue,
|
|
3842
|
-
|
|
3843
|
-
|
|
3844
|
-
|
|
3845
|
-
|
|
3846
|
-
|
|
3847
|
-
|
|
3848
|
-
|
|
3849
|
-
|
|
3850
|
-
|
|
3875
|
+
cG as getReinspectionDate,
|
|
3876
|
+
cH as getSubTableQuickFillInfo,
|
|
3877
|
+
V as getSuiteKey,
|
|
3878
|
+
cI as handleOldConfig,
|
|
3879
|
+
cJ as hasAnyCheckTableSnapshot,
|
|
3880
|
+
cK as hasByTableCheckTableSnapshot,
|
|
3881
|
+
cL as hasSharedCheckTableSnapshot,
|
|
3882
|
+
cM as insertSubtableRows,
|
|
3883
|
+
cN as isAnnLocationSelected,
|
|
3884
|
+
W as isBlank,
|
|
3851
3885
|
isBomGranted,
|
|
3852
3886
|
isEdhrSuite,
|
|
3853
|
-
|
|
3854
|
-
|
|
3855
|
-
|
|
3856
|
-
|
|
3857
|
-
|
|
3858
|
-
|
|
3887
|
+
X as isEqmSuite,
|
|
3888
|
+
cO as isFormChangeGhostRow,
|
|
3889
|
+
cP as isMedProSuite,
|
|
3890
|
+
cQ as isRowAddedInCurrentFormChange,
|
|
3891
|
+
cR as jsonSchemaUtils,
|
|
3892
|
+
cS as judgeUnique,
|
|
3859
3893
|
a$ as materialCheck,
|
|
3860
|
-
|
|
3894
|
+
cT as migrateDiagonalDirectionToVertex,
|
|
3861
3895
|
nextFormChangeRowViewHistoryId,
|
|
3862
3896
|
aQ as normalizeRefLoaderResult,
|
|
3863
|
-
|
|
3864
|
-
|
|
3865
|
-
|
|
3897
|
+
cU as parseFrontConfig,
|
|
3898
|
+
Y as pickObjectFieldKeys,
|
|
3899
|
+
cV as recordSubtableRowAdd,
|
|
3900
|
+
cW as recordSubtableRowDelete,
|
|
3866
3901
|
aT as refUtils,
|
|
3867
3902
|
registerValidationContext,
|
|
3868
|
-
|
|
3903
|
+
cX as relocateDeletedRowsToEnd,
|
|
3869
3904
|
renderUtils,
|
|
3870
3905
|
requestDisplayValidation,
|
|
3871
3906
|
requestFullValidation,
|
|
3872
|
-
|
|
3873
|
-
|
|
3874
|
-
|
|
3907
|
+
cY as requestMedProCheckDsData,
|
|
3908
|
+
cZ as requestNonMedProCheckDsData,
|
|
3909
|
+
c_ as resolveAnnotationFieldLocation,
|
|
3875
3910
|
ah as resolveDiagonalVertex,
|
|
3876
|
-
|
|
3877
|
-
|
|
3911
|
+
c$ as resolveFormChangeRowUi,
|
|
3912
|
+
r as resolveObjectFieldKeys,
|
|
3913
|
+
d0 as resolveRowFormChangeMark,
|
|
3914
|
+
d as runWithFillProduct,
|
|
3878
3915
|
aJ as setSelectAnnotationId,
|
|
3879
|
-
|
|
3916
|
+
d1 as setSelectMobileTdId,
|
|
3880
3917
|
aI as setSelectValidatorId,
|
|
3881
3918
|
settleAndValidateDisplay,
|
|
3882
3919
|
aG as sqlUtils,
|
|
3883
|
-
|
|
3920
|
+
d2 as stockCheck,
|
|
3884
3921
|
transformUtils,
|
|
3885
3922
|
unregisterValidationContext,
|
|
3886
3923
|
N as useCalculateFormula,
|
|
3887
3924
|
aZ as useCurrentPageFormState,
|
|
3888
|
-
|
|
3925
|
+
b8 as useDependency,
|
|
3889
3926
|
useEbrWikiFactoryV2,
|
|
3890
3927
|
u3 as useFormModel,
|
|
3891
3928
|
u2 as useFormTmplConfig,
|
|
@@ -3893,14 +3930,15 @@ export {
|
|
|
3893
3930
|
useMaterialBalance,
|
|
3894
3931
|
useNocodeEmitter,
|
|
3895
3932
|
aK as useNocodeFormWidget,
|
|
3896
|
-
|
|
3933
|
+
d3 as useOnlineFormActionButton,
|
|
3897
3934
|
u as useOnlineFormTransformField2Component,
|
|
3898
3935
|
useRenderPageFactory,
|
|
3899
|
-
|
|
3936
|
+
h as useStyles,
|
|
3900
3937
|
a as useTmplBom,
|
|
3901
|
-
|
|
3938
|
+
j as useValidator,
|
|
3902
3939
|
aH as useWidgetStaticAttrs,
|
|
3903
3940
|
validate,
|
|
3904
3941
|
v as validateObjectBomForScan,
|
|
3905
|
-
validateObjectBomQtyOnSubmit
|
|
3942
|
+
validateObjectBomQtyOnSubmit,
|
|
3943
|
+
b1 as validateReinspectionDate
|
|
3906
3944
|
};
|