@gct-paas/excel 0.1.27 → 0.1.28-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{VueVideoPlayer-D5r4RRnv.js → VueVideoPlayer-B6X1JmEL.js} +2 -2
- package/dist/{agg-design-BVxNAUfK.js → agg-design-qUcK9OAF.js} +1 -1
- package/dist/{agg-props-BM1V7-82.js → agg-props-ockP_cAM.js} +1 -1
- package/dist/{agg-style-bu1csor3.js → agg-style-BV0qjEEw.js} +1 -1
- package/dist/{align-editor-D2IrDyiX.js → align-editor-DpWvsI_x.js} +1 -1
- package/dist/{attach-fields-editor-cbkBKnao.js → attach-fields-editor-B55NB5QH.js} +5 -5
- package/dist/{barcode-design-BRx1bmVT.js → barcode-design-D1Ll_5lG.js} +2 -2
- package/dist/base/index.es.js +401 -552
- package/dist/{base-font-editor-DvxGgHGz.js → base-font-editor-Bc5Nq5zV.js} +2 -2
- package/dist/{boolean-design-bh0IRiJd.js → boolean-design-quBCeS1G.js} +2 -2
- package/dist/{boolean-props-CblOGRwR.js → boolean-props-BqRbb2XN.js} +3 -3
- package/dist/{boolean-style-DwRYZG46.js → boolean-style-BLJfwtaX.js} +4 -4
- package/dist/{cell-upload-C-xtn3eM.js → cell-upload-PkWTiWYW.js} +1 -1
- package/dist/{date-range-editor-DgRj3qWq.js → date-range-editor-DptQq6pH.js} +2 -2
- package/dist/{date-time-design-CmzyZZ0f.js → date-time-design-DmeUPsi-.js} +1 -1
- package/dist/{date-time-props-D2g7OYyD.js → date-time-props-B5jOoX4Y.js} +3 -3
- package/dist/{date-time-style-D1hsou32.js → date-time-style-DFtXaN2d.js} +1 -1
- package/dist/{decimal-design-mtrsEocu.js → decimal-design-DQ-61MMF.js} +1 -1
- package/dist/{decimal-display-mode-DBBORdt8.js → decimal-display-mode-C1KBlKKw.js} +2 -2
- package/dist/{decimal-props-BAnCY6iG.js → decimal-props-CDo5SCYL.js} +4 -4
- package/dist/{decimal-style-B_3SjSrk.js → decimal-style-DwLrDj_1.js} +1 -1
- package/dist/{default-value-editor.vue_vue_type_script_setup_true_name_default-value-editor_lang-CaXarLgm.js → default-value-editor.vue_vue_type_script_setup_true_name_default-value-editor_lang-MEsfM8dF.js} +2 -2
- package/dist/{diagonal-design-CcD7fvfW.js → diagonal-design-cdmqJBTe.js} +2 -2
- package/dist/{double-design-7vcqNVyg.js → double-design-Bpuy9Ss3.js} +1 -1
- package/dist/{double-props-B-y0KH2n.js → double-props-DXysqniB.js} +4 -4
- package/dist/{double-style-CA5tNsrD.js → double-style-BnEd4QED.js} +1 -1
- package/dist/{dynamic-table-action-C2GfKCbJ.js → dynamic-table-action-CT_aYOca.js} +8 -10
- package/dist/{dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-Dti3Kjh8.js → dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-SAa6KGYz.js} +2240 -392
- package/dist/{edit.utils-CXmmCnxE-Ca3Pb0IU.js → edit.utils-CXmmCnxE-CrBcZqbG.js} +1 -1
- package/dist/{enum-design-QV-rTgR9.js → enum-design-CGIgeXrw.js} +2 -2
- package/dist/{enum-props-75ShzzCh.js → enum-props-XT85YcrM.js} +3 -3
- package/dist/{enum-style-BMtWgRC6.js → enum-style-Cqw4JjzR.js} +3 -3
- package/dist/excel.css +150 -148
- package/dist/{exceljs.min-0mQdhEhP.js → exceljs.min-BHpCeDsd.js} +2 -2
- package/dist/{expression-design-E4gBR1RY.js → expression-design-DO5gzF-x.js} +1 -1
- package/dist/{expression-props-BwPz0GJc.js → expression-props-DuvdDUWt.js} +1 -1
- package/dist/{expression-style-D7o1udLl.js → expression-style-BYJ-iIYc.js} +1 -1
- package/dist/{file-design-CY5qOoTr.js → file-design-Cix4ztNq.js} +1 -1
- package/dist/{file-props-zXWQ1bVe.js → file-props-DwUasn2W.js} +2 -2
- package/dist/{file-style-BxiYD3KK.js → file-style-DTXliETB.js} +1 -1
- package/dist/{font-editor-Dvzk8M-U.js → font-editor-CxdKktbw.js} +3 -3
- package/dist/{image-design-lVRSbqr7.js → image-design-BxFQTm4-.js} +2 -2
- package/dist/{image-design-BhK2hIpf.js → image-design-IaQbw4Bv.js} +1 -1
- package/dist/{image-props-BzWQmFnm.js → image-props-ENaIXFCE.js} +1 -1
- package/dist/{image-style-COx37YQA.js → image-style-BuGQiWh9.js} +1 -1
- package/dist/{index-D4c8S3QX.js → index-1kSDRqJL.js} +1 -1
- package/dist/{index-DQUYeRO2.js → index-5E89tzgQ.js} +1 -1
- package/dist/{index-Xo3mSme0.js → index-6AnvwL1T.js} +1 -1
- package/dist/{index-_sBfWkw5.js → index-BCFgHqQ4.js} +1 -1
- package/dist/{index-DJMQPKtC.js → index-BKQgEYOt.js} +1 -1
- package/dist/{index-BKl3sdLV.js → index-BSWx0ysi.js} +1 -1
- package/dist/{index-FsRMnSH6.js → index-BUEsJ6db.js} +1 -1
- package/dist/{index-n08cOEu4.js → index-BuucdbMD.js} +1 -1
- package/dist/{index-xAiRicc_.js → index-C7XazAkv.js} +27 -22
- package/dist/{index-Bnw3rp6T.js → index-CLFPSEpt.js} +5 -3
- package/dist/{index-BxJDx07D.js → index-CO1Iw_97.js} +1 -1
- package/dist/{index-BfFR4_sj.js → index-CSGDQQxf.js} +1 -1
- package/dist/{index-BOJ1qa5y.js → index-CYc23F99.js} +1 -1
- package/dist/{index-CLiI_jbj.js → index-CmfE-VkX.js} +1 -1
- package/dist/{index--0Kpxacn.js → index-CvefH3Ld.js} +1 -1
- package/dist/{index-C3vFg5YC.js → index-DBt-6fax.js} +2 -2
- package/dist/{index-sDAMzgHy.js → index-DG8SGSHV.js} +11 -1
- package/dist/{index-DX751NRk.js → index-DIHeOfRf.js} +1 -1
- package/dist/{index-7I61fuwY.js → index-DJsySg7Z.js} +1 -1
- package/dist/{index-BZUfZUe_.js → index-DayP0trN.js} +1 -1
- package/dist/{index-LPi5gPDc.js → index-DgbS8dwI.js} +2 -2
- package/dist/{index-Cv8PAOND.js → index-Dl48Dmuf.js} +1 -1
- package/dist/{index-D1eAo-Nu.js → index-DuELqbrc.js} +1 -1
- package/dist/{index-gZDQm5ZQ.js → index-HHW_GvS9.js} +1 -1
- package/dist/{index-BcFJ5NMo.js → index-PgmRu5Zh.js} +1 -1
- package/dist/{index-BQkzdAys.js → index-V3KPtSlA.js} +1 -1
- package/dist/{index-BKcbh7wy.js → index-VU8yct3A.js} +1 -1
- package/dist/{index-D_EbV20_.js → index-VjzaY3fS.js} +2 -2
- package/dist/{index-JMdllXCQ.js → index-aZhb-M_v.js} +1 -1
- package/dist/{index-uPWALfQF.js → index-hkXYQoCV.js} +1 -1
- package/dist/{index-CvgNTIj3.js → index-pkv7_FaG.js} +1372 -1287
- package/dist/{index-C8YcRZdY.js → index-uIR6j0YE.js} +1 -1
- package/dist/{index-CvnUTiu5.js → index-w83mSV_k.js} +5 -3
- package/dist/index.es.js +45 -45
- package/dist/{integer-design-B4_XsKZo.js → integer-design-B48BapfF.js} +1 -1
- package/dist/{integer-props-C6PM1TRQ.js → integer-props-1bbkhP4A.js} +4 -4
- package/dist/{integer-style-BEQYgQr6.js → integer-style-BDe6Dudv.js} +1 -1
- package/dist/{mb-render-Cuhqw431.js → mb-render-DiWQ5hOn.js} +12 -1
- package/dist/{number-input-ex-C-lDRF5x.js → number-input-ex-6e_-B7y7.js} +1 -1
- package/dist/{org-props-COEjPBZu.js → org-props-CVEkrQTH.js} +2 -2
- package/dist/{org-style-BCAm4c-t.js → org-style-CDb_GH8S.js} +1 -1
- package/dist/{pagination-design-BCbcTaoL.js → pagination-design-wrFXRg3I.js} +2 -2
- package/dist/paper-widget-design-pzfwtqOo.js +4 -0
- package/dist/{qrcode-design-DsWOsTMb.js → qrcode-design-D4SZHVWw.js} +1 -1
- package/dist/{ref-autofill-editor-M4SwZwAT.js → ref-autofill-editor-C_73eGxk.js} +7 -6
- package/dist/{ref-props-z-4FJ63a.js → ref-props-CH853iFu.js} +3 -3
- package/dist/{ref-style-Cd4xxgki.js → ref-style-DNNTi1cL.js} +1 -1
- package/dist/{regex-editor-Clq3qEOM.js → regex-editor-BjpdR0tH.js} +2 -2
- package/dist/{revo-grid.entry-mK396nD_.js → revo-grid.entry-Cg-4cMIo.js} +1 -1
- package/dist/{revogr-attribution_7.entry-CVFYs2_S.js → revogr-attribution_7.entry-DzamtFvo.js} +3 -3
- package/dist/{revogr-clipboard_3.entry-CXob_C6H.js → revogr-clipboard_3.entry-CIxDfW07.js} +2 -2
- package/dist/{revogr-data_4.entry-DdIOstSg.js → revogr-data_4.entry-BNENcgpR.js} +2 -2
- package/dist/{revogr-filter-panel.entry-CbN2tKV5.js → revogr-filter-panel.entry-BrYsomo0.js} +1 -1
- package/dist/{select-render-type-editor.vue_vue_type_script_setup_true_lang-BRaJttUU.js → select-render-type-editor.vue_vue_type_script_setup_true_lang-Dr3dZp--.js} +2 -2
- package/dist/{serialnumber-design-lwuR-KrB.js → serialnumber-design-BsAogg1u.js} +1 -1
- package/dist/shared/index.es.js +29 -29
- package/dist/{signature-design-CWKOqjMe.js → signature-design-sSyiIxFB.js} +1 -1
- package/dist/{signature-props-B4yndn4q.js → signature-props-BvPvVkD0.js} +3 -3
- package/dist/{signature-style-5DImPCv-.js → signature-style-wLJo19Kd.js} +1 -1
- package/dist/{single-field-drop-C0IXAiGz.js → single-field-drop-lP3_RRCL.js} +2 -2
- package/dist/{size-editor-DKIp_UFV.js → size-editor-DnyvSWUn.js} +1 -1
- package/dist/src/assets/svgs/table/index.d.ts +5 -0
- package/dist/src/domain/suite/suite-features.d.ts +14 -0
- package/dist/src/domain/table/business/material/material-requisition/index.d.ts +2 -0
- package/dist/src/domain/table/business/material/material-requisition/profile/field-keys.d.ts +35 -0
- package/dist/src/domain/table/business/material/material-requisition/profile/fields.d.ts +2 -0
- package/dist/src/domain/table/business/material/material-requisition/profile/index.d.ts +3 -0
- package/dist/src/domain/table/business/material/material-requisition/runtime/register-handlers.d.ts +1 -0
- package/dist/src/domain/table/business/material/material-requisition/runtime/row-change-handlers.d.ts +6 -0
- package/dist/src/domain/table/business/preprocess/pretreatment-list/index.d.ts +2 -1
- package/dist/src/domain/table/business/preprocess/pretreatment-list/profile/field-keys.d.ts +187 -0
- package/dist/src/domain/table/business/preprocess/pretreatment-list/profile/fields.d.ts +2 -0
- package/dist/src/domain/table/business/preprocess/pretreatment-list/runtime/register-handlers.d.ts +1 -0
- package/dist/src/domain/table/business/preprocess/pretreatment-list/runtime/row-change-handlers.d.ts +26 -0
- package/dist/src/domain/table/business/warehouse/device-part-consume/index.d.ts +2 -0
- package/dist/src/domain/table/business/warehouse/device-part-consume/profile/field-keys.d.ts +65 -0
- package/dist/src/domain/table/business/warehouse/device-part-consume/profile/fields.d.ts +2 -0
- package/dist/src/domain/table/business/warehouse/device-part-consume/profile/index.d.ts +3 -0
- package/dist/src/domain/table/business/warehouse/device-part-consume/runtime/register-handlers.d.ts +1 -0
- package/dist/src/domain/table/business/warehouse/device-part-consume/runtime/row-change-handlers.d.ts +6 -0
- package/dist/src/domain/table/business/warehouse/part-stocktake/index.d.ts +2 -0
- package/dist/src/domain/table/business/warehouse/part-stocktake/profile/field-keys.d.ts +70 -0
- package/dist/src/domain/table/business/warehouse/part-stocktake/profile/fields.d.ts +2 -0
- package/dist/src/domain/table/business/warehouse/part-stocktake/profile/index.d.ts +3 -0
- package/dist/src/domain/table/business/warehouse/part-stocktake/runtime/register-handlers.d.ts +1 -0
- package/dist/src/domain/table/business/warehouse/part-stocktake/runtime/row-change-handlers.d.ts +10 -0
- package/dist/src/domain/table/business/warehouse/warehouse-allocate/index.d.ts +2 -1
- package/dist/src/domain/table/business/warehouse/warehouse-allocate/profile/field-keys.d.ts +87 -0
- package/dist/src/domain/table/business/warehouse/warehouse-allocate/profile/fields.d.ts +2 -0
- package/dist/src/domain/table/business/warehouse/warehouse-allocate/runtime/register-handlers.d.ts +1 -0
- package/dist/src/domain/table/business/warehouse/warehouse-allocate/runtime/row-change-handlers.d.ts +7 -0
- package/dist/src/domain/table/business/warehouse/warehouse-in/index.d.ts +1 -0
- package/dist/src/domain/table/business/warehouse/warehouse-in/profile/field-keys.d.ts +39 -0
- package/dist/src/domain/table/business/warehouse/warehouse-in/profile/fields.d.ts +2 -0
- package/dist/src/domain/table/business/warehouse/warehouse-in/runtime/register-handlers.d.ts +1 -0
- package/dist/src/domain/table/business/warehouse/warehouse-in/runtime/row-change-handlers.d.ts +6 -0
- package/dist/src/domain/table/business/warehouse/warehouse-inbound/index.d.ts +2 -0
- package/dist/src/domain/table/business/warehouse/warehouse-inbound/profile/field-keys.d.ts +33 -0
- package/dist/src/domain/table/business/warehouse/warehouse-inbound/profile/fields.d.ts +2 -0
- package/dist/src/domain/table/business/warehouse/warehouse-inbound/profile/index.d.ts +3 -0
- package/dist/src/domain/table/business/warehouse/warehouse-inbound/runtime/register-handlers.d.ts +1 -0
- package/dist/src/domain/table/business/warehouse/warehouse-inbound/runtime/row-change-handlers.d.ts +6 -0
- package/dist/src/domain/table/business/warehouse/warehouse-inventory/index.d.ts +2 -1
- package/dist/src/domain/table/business/warehouse/warehouse-inventory/profile/field-keys.d.ts +114 -0
- package/dist/src/domain/table/business/warehouse/warehouse-inventory/profile/fields.d.ts +2 -0
- package/dist/src/domain/table/business/warehouse/warehouse-inventory/runtime/register-handlers.d.ts +1 -0
- package/dist/src/domain/table/business/warehouse/warehouse-inventory/runtime/row-change-handlers.d.ts +11 -0
- package/dist/src/domain/table/business/warehouse/warehouse-out/index.d.ts +1 -0
- package/dist/src/domain/table/business/warehouse/warehouse-out/profile/field-keys.d.ts +84 -0
- package/dist/src/domain/table/business/warehouse/warehouse-out/profile/fields.d.ts +2 -0
- package/dist/src/domain/table/business/warehouse/warehouse-out/runtime/register-handlers.d.ts +1 -0
- package/dist/src/domain/table/business/warehouse/warehouse-out/runtime/row-change-handlers.d.ts +6 -0
- package/dist/src/domain/table/business/warehouse/warehouse-outbound/index.d.ts +2 -0
- package/dist/src/domain/table/business/warehouse/warehouse-outbound/profile/field-keys.d.ts +64 -0
- package/dist/src/domain/table/business/warehouse/warehouse-outbound/profile/fields.d.ts +2 -0
- package/dist/src/domain/table/business/warehouse/warehouse-outbound/profile/index.d.ts +3 -0
- package/dist/src/domain/table/business/warehouse/warehouse-outbound/runtime/register-handlers.d.ts +1 -0
- package/dist/src/domain/table/business/warehouse/warehouse-outbound/runtime/row-change-handlers.d.ts +6 -0
- package/dist/src/domain/table/design/autofill-expander.d.ts +19 -0
- package/dist/src/domain/table/design/hooks/on-field-attach.d.ts +13 -0
- package/dist/src/domain/table/index.d.ts +4 -0
- package/dist/src/domain/table/runtime/apply-profile.d.ts +16 -0
- package/dist/src/domain/table/runtime/runtime-handlers.d.ts +9 -0
- package/dist/src/domain/table/types.d.ts +61 -2
- package/dist/src/nocode-base/src/constant/index.d.ts +11 -1
- package/dist/src/nocode-base/src/core/sub-table/allocate-table-core.d.ts +12 -7
- package/dist/src/nocode-base/src/core/sub-table/index.d.ts +1 -0
- package/dist/src/nocode-base/src/core/sub-table/pretreatment-list-table-core.d.ts +12 -5
- package/dist/src/nocode-base/src/core/sub-table/profile-driven-sub-table-core.d.ts +61 -0
- package/dist/src/nocode-base/src/core/sub-table/stocktake-table-core.d.ts +17 -19
- package/dist/src/nocode-base/src/core/sub-table/utils/pretreatment/field-keys.d.ts +2 -117
- package/dist/src/nocode-base/src/core/sub-table/utils/stocktake/field-keys.d.ts +2 -60
- package/dist/src/nocode-base/src/hooks/app-info/index.d.ts +4 -0
- package/dist/src/nocode-base/src/hooks/form-model/form-model-controller.d.ts +6 -1
- package/dist/src/nocode-base/src/hooks/form-model/types.d.ts +5 -0
- package/dist/src/nocode-base/src/hooks/material-date/material-date.d.ts +44 -0
- package/dist/src/nocode-base/src/hooks/material-date/service.d.ts +4 -0
- package/dist/src/nocode-base/src/hooks/material-date/use-material-date.d.ts +2 -0
- package/dist/src/nocode-base/src/interface/render.d.ts +2 -1
- package/dist/src/nocode-base/src/types/business/allocate.d.ts +8 -0
- package/dist/src/nocode-base/src/types/widgets/i-paper.d.ts +14 -0
- package/dist/src/nocode-web-render/src/render/sub-table/common/scan-modal.vue.d.ts +2 -3
- package/dist/src/online-form/src/views/__cell_widgets__/common/input-prop-editor/input-prop-editor.vue.d.ts +2 -0
- package/dist/src/online-form/src/views/designer/constants/index.d.ts +1 -0
- package/dist/src/online-form/src/views/designer/enums/index.d.ts +6 -1
- package/dist/src/online-form/src/views/designer/hooks/useAllSpreadSheets.d.ts +8 -0
- package/dist/src/online-form/src/views/designer/hooks/useSpreadSheet.d.ts +11 -17
- 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/shared/enum/field-type.d.ts +10 -4
- package/dist/src/shared/enum/online-form.d.ts +11 -1
- package/dist/{text-design-Cvkrx7Ay.js → text-design-CE2RPOMG.js} +2 -2
- package/dist/{text-design-Buv9yt9S.js → text-design-DhW8EogW.js} +2 -2
- package/dist/{text-props-CkVBSTXP.js → text-props-SHUEXLgb.js} +4 -4
- package/dist/{text-style-ByQS_L5l.js → text-style-aUG_dSEM.js} +1 -1
- package/dist/{throttle-Cpk1LoGk-G-XhI3O-.js → throttle-Cpk1LoGk-BYyz4gtI.js} +1 -1
- package/dist/{timediff-design-DDoTcrkV.js → timediff-design-JHt1-ug6.js} +1 -1
- package/dist/{trace-design-BCzk8EyB.js → trace-design-ZgPtVMap.js} +2 -2
- package/dist/{trace-props-BL3L-jup.js → trace-props-C1sYAcFN.js} +6 -6
- package/dist/{trace-style-BlpFFb55.js → trace-style-BVzEquy0.js} +1 -1
- package/dist/{user-props-B-vYJaSq.js → user-props-DFN3xNvd.js} +2 -2
- package/dist/{user-style-CbvEdi3Y.js → user-style-CQL88-69.js} +1 -1
- package/dist/{value-editor.vue_vue_type_style_index_0_lang-s8AB671m.js → value-editor.vue_vue_type_style_index_0_lang-BdgFyP-I.js} +2 -2
- package/dist/{version-select-CgXKULuu.js → version-select-Bw8yzDaH.js} +1 -1
- package/dist/web-render/index.es.js +2 -2
- package/dist/{widget-barcode-DSSIOMEn.js → widget-barcode-7P0lBeMG.js} +4 -4
- package/dist/{widget-diagonal-Ce7X4BVB.js → widget-diagonal-DOTVKoIQ.js} +3 -3
- package/dist/{widget-image-B07sa8Hv.js → widget-image-COhPjcF3.js} +5 -5
- package/dist/{widget-line-gfOAwJ73.js → widget-line-BMc5nU5m.js} +2 -2
- package/dist/{widget-pagination-DQT0Hcnv.js → widget-pagination-DxFNovQR.js} +5 -5
- package/dist/{widget-power-DB41Q7HC.js → widget-power-CAmZZQVa.js} +3 -3
- package/dist/{widget-qrcode-DPMDGtjU.js → widget-qrcode-CGE3qC2v.js} +3 -3
- package/dist/{widget-rangelimit-BpxO9qfT.js → widget-rangelimit-ZRtD4u7u.js} +3 -3
- package/dist/{widget-serialnumber-CM-Lm2mW.js → widget-serialnumber-CG997c4V.js} +1 -1
- package/dist/{widget-text-DnHhMcYh.js → widget-text-VWrSiodT.js} +5 -5
- package/dist/{widget-timediff-CHA6cLPN.js → widget-timediff-D_67OMYb.js} +2 -2
- package/package.json +1 -1
- package/dist/paper-widget-design-B1eAfVY6.js +0 -4
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import { SubTableCore } from './sub-table-core';
|
|
2
|
+
import { BusinessSubTableProfile } from '../../../../domain/table';
|
|
3
|
+
import { IDefaultValueMap, IFieldStatus } from '../types';
|
|
4
|
+
/**
|
|
5
|
+
* Profile 驱动的子表 Core 基类
|
|
6
|
+
*
|
|
7
|
+
* 将 BusinessSubTableProfile 声明转为 defaultMap / status / change 行为。
|
|
8
|
+
*/
|
|
9
|
+
export declare class ProfileDrivenSubTableCore extends SubTableCore {
|
|
10
|
+
get profile(): BusinessSubTableProfile | undefined;
|
|
11
|
+
calcDefaultMap(): IDefaultValueMap;
|
|
12
|
+
calcFieldStatus(params: {
|
|
13
|
+
rowData: any;
|
|
14
|
+
field: string;
|
|
15
|
+
}): IFieldStatus;
|
|
16
|
+
handleChange(params: {
|
|
17
|
+
rowData: any;
|
|
18
|
+
field: string;
|
|
19
|
+
value: any;
|
|
20
|
+
option?: any;
|
|
21
|
+
}): void;
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* 入库明细表 Core
|
|
25
|
+
*/
|
|
26
|
+
export declare class WarehouseInTableCore extends ProfileDrivenSubTableCore {
|
|
27
|
+
}
|
|
28
|
+
/**
|
|
29
|
+
* EQM 入库明细表 Core
|
|
30
|
+
*/
|
|
31
|
+
export declare class WarehouseInboundTableCore extends ProfileDrivenSubTableCore {
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* 出库明细表 Core
|
|
35
|
+
* - 物料走库存选择(allocateProduct)
|
|
36
|
+
* - 选中后按 FILL_FROM_INVENTORY_OPTION 回填
|
|
37
|
+
* - 查询条件带页面仓库 id
|
|
38
|
+
*/
|
|
39
|
+
export declare class WarehouseOutTableCore extends ProfileDrivenSubTableCore {
|
|
40
|
+
get warehouseId(): any;
|
|
41
|
+
handleFieldTd: SubTableCore['handleFieldTd'];
|
|
42
|
+
calcFieldQuery: SubTableCore['calcFieldQuery'];
|
|
43
|
+
handleChange(params: {
|
|
44
|
+
rowData: any;
|
|
45
|
+
field: string;
|
|
46
|
+
value: any;
|
|
47
|
+
option?: any;
|
|
48
|
+
}): void;
|
|
49
|
+
}
|
|
50
|
+
/**
|
|
51
|
+
* EQM 出库 / 盘点 / 消耗:Profile 驱动(库存选择后续按备件能力补齐)
|
|
52
|
+
*/
|
|
53
|
+
export declare class WarehouseOutboundTableCore extends ProfileDrivenSubTableCore {
|
|
54
|
+
}
|
|
55
|
+
export declare class PartStocktakeTableCore extends ProfileDrivenSubTableCore {
|
|
56
|
+
}
|
|
57
|
+
export declare class DevicePartConsumeTableCore extends ProfileDrivenSubTableCore {
|
|
58
|
+
}
|
|
59
|
+
/** 生产收料表 Core */
|
|
60
|
+
export declare class MaterialRequisitionTableCore extends ProfileDrivenSubTableCore {
|
|
61
|
+
}
|
|
@@ -1,17 +1,22 @@
|
|
|
1
|
+
import { ProfileDrivenSubTableCore } from './profile-driven-sub-table-core';
|
|
1
2
|
import { SubTableCore } from './sub-table-core';
|
|
2
3
|
import { IFieldStatus } from '../types';
|
|
3
4
|
/**
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
*
|
|
5
|
+
* 库存盘点表 Core
|
|
6
|
+
* - Profile:只读信息字段 / 行默认仓库 / 物料清空 / 盘点衍生
|
|
7
|
+
* - 物料:allocateProduct + FILL_FROM_INVENTORY_OPTION
|
|
8
|
+
* - 保留:按 row_source_ 禁用、自动加载、扫码合并
|
|
7
9
|
*/
|
|
8
|
-
export declare class StocktakeTableCore extends
|
|
10
|
+
export declare class StocktakeTableCore extends ProfileDrivenSubTableCore {
|
|
9
11
|
initData: any[];
|
|
10
12
|
get isGroupByWarehouse(): boolean;
|
|
11
13
|
get paramsWarehouseId(): any;
|
|
12
|
-
/** 绘制UI相关工具 */
|
|
13
14
|
get render(): import('../..').ISubTableRender;
|
|
14
15
|
compUnmount(): Promise<void>;
|
|
16
|
+
/**
|
|
17
|
+
* 运行态禁用优先按 row_source_(manual / auto / scan),
|
|
18
|
+
* Profile READONLY_INFO_FIELDS 作为基线由 super 合并。
|
|
19
|
+
*/
|
|
15
20
|
calcFieldStatus(params: {
|
|
16
21
|
rowData: any;
|
|
17
22
|
field: string;
|
|
@@ -19,24 +24,17 @@ export declare class StocktakeTableCore extends SubTableCore {
|
|
|
19
24
|
calcFieldQuery: SubTableCore['calcFieldQuery'];
|
|
20
25
|
handleFieldTd: SubTableCore['handleFieldTd'];
|
|
21
26
|
calcSubTableActionMenu: SubTableCore['calcSubTableActionMenu'];
|
|
22
|
-
/**
|
|
23
|
-
* 初始化时,需要执行的异步方法
|
|
24
|
-
*/
|
|
25
27
|
init(): Promise<void>;
|
|
26
|
-
|
|
27
|
-
* @param params 初始化塞默认数据,不能用异步,只有未填报时才会执行
|
|
28
|
-
* @returns
|
|
29
|
-
*/
|
|
30
|
-
handleInitializeFormState(params: {
|
|
31
|
-
/** 所有的表单数据 */
|
|
28
|
+
handleInitializeFormState(_params: {
|
|
32
29
|
formState: any;
|
|
33
|
-
/** 所有的默认值 */
|
|
34
30
|
defaultMap: Record<string, any>;
|
|
35
31
|
}): any[];
|
|
36
|
-
handleChange:
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
32
|
+
handleChange(params: {
|
|
33
|
+
rowData: any;
|
|
34
|
+
field: string;
|
|
35
|
+
value: any;
|
|
36
|
+
option?: any;
|
|
37
|
+
}): void;
|
|
40
38
|
protected onScan({ barcode, type }: {
|
|
41
39
|
barcode: any;
|
|
42
40
|
type: any;
|
|
@@ -1,119 +1,4 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* 预处理表字段 key
|
|
2
|
+
* 预处理表字段 key — 统一从 domain Profile 导出,保持原 import 路径兼容
|
|
3
3
|
*/
|
|
4
|
-
|
|
5
|
-
export declare const F: {
|
|
6
|
-
/** 物料 */
|
|
7
|
-
readonly product: "product_id_";
|
|
8
|
-
/** 物料名称 */
|
|
9
|
-
readonly productName: "product_id_name_";
|
|
10
|
-
/** 编码 */
|
|
11
|
-
readonly productCode: "product_id_code_";
|
|
12
|
-
/** 规格 */
|
|
13
|
-
readonly productSpec: "product_id_spec_";
|
|
14
|
-
/** 生产批次号 */
|
|
15
|
-
readonly productionContainer: "production_container_id_";
|
|
16
|
-
/** 生产批次号标签 */
|
|
17
|
-
readonly productionContainerLb: "production_container_id__lb_";
|
|
18
|
-
/** 数量 */
|
|
19
|
-
readonly qty: "qty_";
|
|
20
|
-
/** 工单号 */
|
|
21
|
-
readonly mfgOrderCode: "mfg_order_code_";
|
|
22
|
-
/** 工单 */
|
|
23
|
-
readonly mfgOrder: "mfg_order_id_";
|
|
24
|
-
/** 生产日期 */
|
|
25
|
-
readonly productionDate: "production_date_";
|
|
26
|
-
/** 物料批号 */
|
|
27
|
-
readonly materialContainerNo: "material_container_no_";
|
|
28
|
-
/** 物料批号 ID */
|
|
29
|
-
readonly materialContainerNoId: "material_container_no__id_";
|
|
30
|
-
};
|
|
31
|
-
/** 预处理表:必然禁用字段(展示字段,禁止手填) */
|
|
32
|
-
export declare const PRETREATMENT_ALWAYS_DISABLED_FIELDS: readonly ["product_id_code_", "product_id_spec_", "product_id_name_"];
|
|
33
|
-
/** 工单清空时联动清空 */
|
|
34
|
-
export declare const CLEAR_ON_MFG_ORDER_EMPTY: readonly ["mfg_order_code_", "product_id_", "product_id_name_", "product_id_code_", "product_id_spec_", "qty_", "production_date_"];
|
|
35
|
-
/** 生产批次号清空时联动清空 */
|
|
36
|
-
export declare const CLEAR_ON_PROD_CONTAINER_EMPTY: readonly ["product_id_", "product_id_name_", "product_id_code_", "product_id_spec_", "qty_", "mfg_order_code_", "mfg_order_id_", "production_date_"];
|
|
37
|
-
/** 物料批号清空时联动清空 */
|
|
38
|
-
export declare const CLEAR_ON_MATERIAL_CONTAINER_EMPTY: readonly ["product_id_", "product_id_name_", "product_id_code_", "product_id_spec_", "qty_", "mfg_order_code_", "mfg_order_id_", "production_date_", "material_container_no__id_", "production_container_id_"];
|
|
39
|
-
/**
|
|
40
|
-
* 生产批次号 / 工单 / 物料批号 三选一互斥:
|
|
41
|
-
* 选中某一项时清空另外两项(及物料批关联 id)
|
|
42
|
-
*/
|
|
43
|
-
export declare const CLEAR_ON_MFG_ORDER_SELECT: readonly ["production_container_id_", "material_container_no_", "material_container_no__id_"];
|
|
44
|
-
export declare const CLEAR_ON_PROD_CONTAINER_SELECT: readonly ["mfg_order_id_", "mfg_order_code_", "material_container_no_", "material_container_no__id_"];
|
|
45
|
-
export declare const CLEAR_ON_MATERIAL_CONTAINER_SELECT: readonly ["production_container_id_", "mfg_order_id_", "mfg_order_code_"];
|
|
46
|
-
/** 数据源回填映射 */
|
|
47
|
-
export declare const fillFromOption: ({
|
|
48
|
-
optionField: "product_id_";
|
|
49
|
-
toField: "product_id_";
|
|
50
|
-
} | {
|
|
51
|
-
optionField: "product_id_name_";
|
|
52
|
-
toField: "product_id_name_";
|
|
53
|
-
} | {
|
|
54
|
-
optionField: "product_id_code_";
|
|
55
|
-
toField: "product_id_code_";
|
|
56
|
-
} | {
|
|
57
|
-
optionField: "product_id_spec_";
|
|
58
|
-
toField: "product_id_spec_";
|
|
59
|
-
} | {
|
|
60
|
-
optionField: "mfg_order_id_";
|
|
61
|
-
toField: "mfg_order_id_";
|
|
62
|
-
} | {
|
|
63
|
-
optionField: "mfg_order_code_";
|
|
64
|
-
toField: "mfg_order_code_";
|
|
65
|
-
} | {
|
|
66
|
-
optionField: string;
|
|
67
|
-
toField: "production_date_";
|
|
68
|
-
} | {
|
|
69
|
-
optionField: "qty_";
|
|
70
|
-
toField: "qty_";
|
|
71
|
-
})[];
|
|
72
|
-
/** 工单实体(em_mfg_order)回填映射:id_/code_ → 行内 mfg_order_id_/mfg_order_code_ */
|
|
73
|
-
export declare const fillFromMfgOrderOption: readonly [{
|
|
74
|
-
readonly optionField: "id_";
|
|
75
|
-
readonly toField: "mfg_order_id_";
|
|
76
|
-
}, {
|
|
77
|
-
readonly optionField: "code_";
|
|
78
|
-
readonly toField: "mfg_order_code_";
|
|
79
|
-
}, {
|
|
80
|
-
readonly optionField: "product_id_";
|
|
81
|
-
readonly toField: "product_id_";
|
|
82
|
-
}, {
|
|
83
|
-
readonly optionField: "product_id_name_";
|
|
84
|
-
readonly toField: "product_id_name_";
|
|
85
|
-
}, {
|
|
86
|
-
readonly optionField: "product_id_code_";
|
|
87
|
-
readonly toField: "product_id_code_";
|
|
88
|
-
}, {
|
|
89
|
-
readonly optionField: "product_id_spec_";
|
|
90
|
-
readonly toField: "product_id_spec_";
|
|
91
|
-
}, {
|
|
92
|
-
readonly optionField: "real_start_date_";
|
|
93
|
-
readonly toField: "production_date_";
|
|
94
|
-
}, {
|
|
95
|
-
readonly optionField: "qty_";
|
|
96
|
-
readonly toField: "qty_";
|
|
97
|
-
}];
|
|
98
|
-
/** 物料字段回填映射 */
|
|
99
|
-
export declare const fillFromProductOption: ({
|
|
100
|
-
optionField: string;
|
|
101
|
-
toField: "product_id_name_";
|
|
102
|
-
} | {
|
|
103
|
-
optionField: string;
|
|
104
|
-
toField: "product_id_code_";
|
|
105
|
-
} | {
|
|
106
|
-
optionField: string;
|
|
107
|
-
toField: "product_id_spec_";
|
|
108
|
-
})[];
|
|
109
|
-
/** 物料字段清空时联动清空(仅 fillFromProductOption 负责填充的字段) */
|
|
110
|
-
export declare const CLEAR_ON_PRODUCT_EMPTY: readonly ["product_id_name_", "product_id_code_", "product_id_spec_"];
|
|
111
|
-
/**
|
|
112
|
-
* 根据 fillFromOption 映射关系,将对象 B 中的字段值回填到对象 A
|
|
113
|
-
* B 中不存在的字段不会修改 A 中对应属性
|
|
114
|
-
*/
|
|
115
|
-
export declare function applyFillFromOption<T extends Record<string, any>>(A: T, B: Record<string, any>): T;
|
|
116
|
-
/** 根据 fillFromProductOption 映射关系,将物料选项回填到当前行 */
|
|
117
|
-
export declare function applyFillFromProductOption<T extends Record<string, any>>(A: T, B: Record<string, any>): T;
|
|
118
|
-
/** 根据 fillFromMfgOrderOption 映射关系,将工单选项回填到当前行 */
|
|
119
|
-
export declare function applyFillFromMfgOrderOption<T extends Record<string, any>>(A: T, B: Record<string, any>): T;
|
|
4
|
+
export * from '../../../../../../domain/table/business/preprocess/pretreatment-list/profile/field-keys';
|
|
@@ -1,62 +1,4 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* 盘点表字段 key
|
|
2
|
+
* 盘点表字段 key — 统一从 domain Profile 导出,保持原 import 路径兼容
|
|
3
3
|
*/
|
|
4
|
-
|
|
5
|
-
export declare const F: {
|
|
6
|
-
readonly batch: "production_identification_id_";
|
|
7
|
-
readonly batchLb: "production_identification_id__lb_";
|
|
8
|
-
readonly product: "product_id_";
|
|
9
|
-
readonly productLb: "product_id__lb_";
|
|
10
|
-
readonly productName: "product_id_name_";
|
|
11
|
-
readonly productCode: "product_id_code_";
|
|
12
|
-
readonly productSpec: "product_id_spec_";
|
|
13
|
-
readonly warehouse: "warehouse_id_";
|
|
14
|
-
readonly location: "location_id_";
|
|
15
|
-
readonly locationLb: "location_id__lb_";
|
|
16
|
-
readonly stock: "stock_num_";
|
|
17
|
-
readonly stocktake: "stocktake_num_";
|
|
18
|
-
readonly diff: "diff_num_";
|
|
19
|
-
readonly stocktakeStatus: "stocktake_status_";
|
|
20
|
-
readonly stocktakeStatusLb: "stocktake_status__lb_";
|
|
21
|
-
readonly matno: "material_no_";
|
|
22
|
-
readonly matcode: "product_code_";
|
|
23
|
-
readonly locationAutoResolved: "_location_auto_resolved_";
|
|
24
|
-
readonly inventoryLocationIds: "_inventory_location_ids_";
|
|
25
|
-
readonly rowSource: "row_source_";
|
|
26
|
-
};
|
|
27
|
-
export type InventoryFieldKey = (typeof F)[keyof typeof F];
|
|
28
|
-
/** 含 label 的身份字段组 */
|
|
29
|
-
export declare const BATCH_IDENTITY: readonly ["production_identification_id_", "production_identification_id__lb_"];
|
|
30
|
-
export declare const PRODUCT_IDENTITY: readonly ["product_id_", "product_id__lb_"];
|
|
31
|
-
export declare const PRODUCT_DESC: readonly ["product_id_name_", "product_id_code_", "product_id_spec_"];
|
|
32
|
-
export declare const LOCATION_FIELDS: readonly ["location_id_", "location_id__lb_"];
|
|
33
|
-
export declare const STOCK_FIELDS: readonly ["stock_num_", "stocktake_num_"];
|
|
34
|
-
/** remoteSync 触发字段(含仅触发、不入请求的库位) */
|
|
35
|
-
export declare const INVENTORY_IDENTITY_FIELDS: readonly ["production_identification_id_", "warehouse_id_", "location_id_", "product_id_"];
|
|
36
|
-
/** remoteSync 请求体字段 */
|
|
37
|
-
export declare const INVENTORY_REMOTE_SYNC_REQUEST_FIELDS: readonly ["production_identification_id_", "warehouse_id_", "product_id_", "material_no_", "product_code_"];
|
|
38
|
-
/** remoteSync 仅触发、排除出请求的字段 */
|
|
39
|
-
export declare const INVENTORY_REMOTE_SYNC_EXCLUDE_REQUEST_FIELDS: readonly ["location_id_"];
|
|
40
|
-
export declare const INVENTORY_INFO_APPLY_FIELDS: readonly ["production_identification_id_", "product_id_name_", "product_id_code_", "product_id_spec_", "warehouse_id_", "location_id_", "stock_num_"];
|
|
41
|
-
/** remoteSync 查无数据时清空的字段 */
|
|
42
|
-
export declare const INVENTORY_INFO_CLEAR_FIELDS: readonly ["production_identification_id_", "production_identification_id__lb_", "product_id_", "product_id__lb_", "product_id_name_", "product_id_code_", "product_id_spec_", "location_id_", "location_id__lb_", "stock_num_", "stocktake_num_"];
|
|
43
|
-
/** 行变更 handler:批次清空 / 切换时的字段集 */
|
|
44
|
-
export declare const CLEAR_ON_BATCH_EMPTY: readonly ["product_id_", "product_id__lb_", "product_id_name_", "product_id_code_", "product_id_spec_", "location_id_", "location_id__lb_", "stock_num_", "stocktake_num_"];
|
|
45
|
-
export declare const CLEAR_ON_BATCH_SWITCH: readonly ["location_id_", "location_id__lb_", "stock_num_", "stocktake_num_"];
|
|
46
|
-
/** 行变更 handler:物料清空 / 切换时的字段集 */
|
|
47
|
-
export declare const CLEAR_ON_PRODUCT_EMPTY: readonly ["production_identification_id_", "production_identification_id__lb_", "product_id_name_", "product_id_code_", "product_id_spec_", "location_id_", "location_id__lb_", "stock_num_", "stocktake_num_"];
|
|
48
|
-
export declare const CLEAR_ON_PRODUCT_SWITCH: readonly ["production_identification_id_", "production_identification_id__lb_", "location_id_", "location_id__lb_", "stock_num_", "stocktake_num_"];
|
|
49
|
-
/** runtimeRules:始终只读的信息字段 */
|
|
50
|
-
export declare const READONLY_INFO_FIELDS: readonly ["product_id_name_", "product_id_code_", "product_id_spec_", "warehouse_id_", "stock_num_", "diff_num_", "stocktake_status_"];
|
|
51
|
-
/** auto 行只读的可选字段 */
|
|
52
|
-
export declare const AUTO_LOAD_READONLY_SELECT_FIELDS: readonly ["product_id_", "production_identification_id_", "location_id_"];
|
|
53
|
-
/** scan 行只读:物料/批次;库位待选时可编辑,单库位自动解析后走 _location_auto_resolved_ 只读 */
|
|
54
|
-
export declare const SCAN_READONLY_SELECT_FIELDS: readonly ["product_id_", "production_identification_id_"];
|
|
55
|
-
/** rowHandlers:盘点衍生字段监听 */
|
|
56
|
-
export declare const STOCKTAKE_DERIVED_WATCH_FIELDS: readonly ["stocktake_num_", "stock_num_"];
|
|
57
|
-
/** 按批次+物料+仓库分组 */
|
|
58
|
-
export declare const WAREHOUSE_IDENTITY_GROUP_KEYS: readonly ["production_identification_id_", "product_id_", "warehouse_id_"];
|
|
59
|
-
/** 扫码合并键(含库位) */
|
|
60
|
-
export declare const SCAN_MERGE_GROUP_KEYS: readonly ["production_identification_id_", "product_id_", "warehouse_id_", "location_id_"];
|
|
61
|
-
/** 库存唯一标识基础字段 */
|
|
62
|
-
export declare const INVENTORY_BASE_FIELDS: readonly ["production_identification_id_", "product_id_", "product_id_name_", "product_id_code_", "product_id_spec_", "warehouse_id_"];
|
|
4
|
+
export * from '../../../../../../domain/table/business/warehouse/warehouse-inventory/profile/field-keys';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Ref } from 'vue';
|
|
2
|
-
import { IFormModel, IFormModelFetcher } from './types';
|
|
2
|
+
import { FormFieldOption, IFormModel, IFormModelFetcher } from './types';
|
|
3
3
|
import { FieldMetaDTO } from '@gct-paas/api/apaas';
|
|
4
4
|
/**
|
|
5
5
|
* 表单模型处理
|
|
@@ -23,6 +23,11 @@ export declare class FormModelController {
|
|
|
23
23
|
getSubModel(subModelKey: string): any;
|
|
24
24
|
/** 获取子模型字段集合 */
|
|
25
25
|
getSubModelFields(subModelKey: string): any;
|
|
26
|
+
/**
|
|
27
|
+
* 表单字段下拉选项(排除系统字段和子表字段)
|
|
28
|
+
* value 格式为 modelKey.fieldKey,与字段映射存储格式一致
|
|
29
|
+
*/
|
|
30
|
+
getFormFieldOptions(subModelKey?: string): FormFieldOption[];
|
|
26
31
|
/**
|
|
27
32
|
* 初始化
|
|
28
33
|
*
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
/** Opt-in contract: never infer this business type from a historical consume table. */
|
|
2
|
+
export declare const MATERIAL_DATE_TYPE = "material_date";
|
|
3
|
+
export declare const DATE_FIELDS: readonly ["production_date_", "retest_date_", "expiration_date_"];
|
|
4
|
+
export type DateField = (typeof DATE_FIELDS)[number];
|
|
5
|
+
export type MaterialDateRow = Record<string, any>;
|
|
6
|
+
export interface MaterialDateContext {
|
|
7
|
+
isNewInstance?: boolean;
|
|
8
|
+
inspectionType?: string;
|
|
9
|
+
}
|
|
10
|
+
export interface MaterialDateSource {
|
|
11
|
+
id_?: string;
|
|
12
|
+
production_date_?: string | null;
|
|
13
|
+
retest_date_?: string | null;
|
|
14
|
+
expiration_date_?: string | null;
|
|
15
|
+
retest_period_?: number;
|
|
16
|
+
retest_period_unit_?: string;
|
|
17
|
+
}
|
|
18
|
+
export type MaterialDateLoader = (product: string, batch: string) => Promise<MaterialDateSource>;
|
|
19
|
+
export declare function normalizeMaterialDate(value: unknown): string | undefined;
|
|
20
|
+
export declare function addRetestPeriod(date: string, period?: number, unit?: string): string | undefined;
|
|
21
|
+
/** Per-object/per-row state; no changes to legacy material-consumption controllers. */
|
|
22
|
+
export declare class MaterialDateSession {
|
|
23
|
+
private row;
|
|
24
|
+
private load;
|
|
25
|
+
private context;
|
|
26
|
+
private selection?;
|
|
27
|
+
private product?;
|
|
28
|
+
private sequence;
|
|
29
|
+
private source?;
|
|
30
|
+
private autoRetest?;
|
|
31
|
+
private pending?;
|
|
32
|
+
error: string;
|
|
33
|
+
constructor(row: MaterialDateRow, load: MaterialDateLoader, context?: MaterialDateContext);
|
|
34
|
+
dispose(): void;
|
|
35
|
+
productionChanged(): void;
|
|
36
|
+
sync(): Promise<void>;
|
|
37
|
+
}
|
|
38
|
+
/** Explicit built-in keys or backend-provided role metadata; custom fields remain untouched. */
|
|
39
|
+
export declare function materialDateFields(fields: Array<{
|
|
40
|
+
key: string;
|
|
41
|
+
materialDateRole?: string;
|
|
42
|
+
}>): {
|
|
43
|
+
[k: string]: string;
|
|
44
|
+
};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { MaterialDateSource } from './material-date';
|
|
2
|
+
/** Read only. Production-identification persistence remains part of the host submit API. */
|
|
3
|
+
export declare function loadMaterialDate(product: string, batch: string): Promise<MaterialDateSource>;
|
|
4
|
+
export declare function searchMaterialDateBatches(product: string, keyword: string): Promise<any>;
|
|
@@ -76,7 +76,7 @@ export declare const renderUtils: {
|
|
|
76
76
|
/** 提前设置值给widget */
|
|
77
77
|
setRequestInfo2DataCenter: (dataCenter: any, modelKeys: any, platformType: any, isMockReport: any, formType: FormTypeEnum, paramsConfig: any, useSignFields: any, useClsReasonDataLink: any, useClsGroupDataLink: any, tmplBomC: FormTmplBomController, modelQueries: any) => Promise<void>;
|
|
78
78
|
/** 获取默认值集合 */
|
|
79
|
-
getDefaultValueMapByField: ({ defaultValueFields, mainMaterialNo, mainRelatedLotNo, mainProductName, mainRoutingOperation, mainMfgOrderId, mainWarehouseId, mainProductQty, mainSterilizationLot, mainSterilizationLotId, defaultUserId, defaultOrgId, operationData, productData, mfgOrderData, sopList, ESOPData, materialNoData, relatedLotNoData, sterilizeLotData, warehouseData, }: {
|
|
79
|
+
getDefaultValueMapByField: ({ defaultValueFields, mainMaterialNo, mainRelatedLotNo, mainProductName, mainRoutingOperation, mainMfgOrderId, mainWarehouseId, mainLotSnId, mainProductQty, mainSterilizationLot, mainSterilizationLotId, defaultUserId, defaultOrgId, operationData, productData, mfgOrderData, sopList, ESOPData, materialNoData, relatedLotNoData, sterilizeLotData, warehouseData, }: {
|
|
80
80
|
defaultValueFields: any;
|
|
81
81
|
mainMaterialNo?: undefined;
|
|
82
82
|
mainRelatedLotNo?: undefined;
|
|
@@ -84,6 +84,7 @@ export declare const renderUtils: {
|
|
|
84
84
|
mainRoutingOperation?: undefined;
|
|
85
85
|
mainMfgOrderId?: undefined;
|
|
86
86
|
mainWarehouseId?: undefined;
|
|
87
|
+
mainLotSnId?: undefined;
|
|
87
88
|
mainProductQty?: undefined;
|
|
88
89
|
mainSterilizationLot?: undefined;
|
|
89
90
|
mainSterilizationLotId?: undefined;
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
export interface IAllocateData {
|
|
2
2
|
/** 唯一标识 */
|
|
3
3
|
id_?: string;
|
|
4
|
+
/** 库存主键(选库存回填,用于唯一回显) */
|
|
5
|
+
inventory_id_?: string;
|
|
4
6
|
/** 物料 */
|
|
5
7
|
product_id_?: string;
|
|
6
8
|
/** 物料名称 */
|
|
@@ -13,6 +15,8 @@ export interface IAllocateData {
|
|
|
13
15
|
production_identification_id_?: string;
|
|
14
16
|
/** 有效期 */
|
|
15
17
|
validity_?: string;
|
|
18
|
+
/** 复检日期 */
|
|
19
|
+
re_inspection_date_?: string;
|
|
16
20
|
/** 库存数量 */
|
|
17
21
|
stock_num_?: number;
|
|
18
22
|
/** 目标仓库 */
|
|
@@ -23,6 +27,10 @@ export interface IAllocateData {
|
|
|
23
27
|
origin_warehouse_id_?: string;
|
|
24
28
|
/** 源库位 */
|
|
25
29
|
origin_location_id_?: string;
|
|
30
|
+
/** 工单 */
|
|
31
|
+
mfg_order_id_?: string;
|
|
32
|
+
/** 批次/SN */
|
|
33
|
+
lot_sn_id_?: string;
|
|
26
34
|
/** 调拨原因 */
|
|
27
35
|
allocate_reason_?: string;
|
|
28
36
|
/** 调拨数量 */
|
|
@@ -32,6 +32,20 @@ export interface IPaperProps {
|
|
|
32
32
|
customDataSource: Array<any>;
|
|
33
33
|
/** Object initialization */
|
|
34
34
|
objectInitialValues: Array<any>;
|
|
35
|
+
/** Opt-in form-only material date objects (main model or submodel). */
|
|
36
|
+
materialDateObjects?: Array<{
|
|
37
|
+
modelKey: string;
|
|
38
|
+
objectField: string;
|
|
39
|
+
subFields: Array<{
|
|
40
|
+
key: string;
|
|
41
|
+
materialDateRole?: string;
|
|
42
|
+
}>;
|
|
43
|
+
}>;
|
|
44
|
+
/** Supplied by host only for a newly created reinspection instance; never infer from viewing. */
|
|
45
|
+
materialDateContext?: {
|
|
46
|
+
isNewInstance?: boolean;
|
|
47
|
+
inspectionType?: string;
|
|
48
|
+
};
|
|
35
49
|
/** table 单元格宽度 */
|
|
36
50
|
colsWidth: number[];
|
|
37
51
|
/**表头 ids */
|
|
@@ -1,18 +1,17 @@
|
|
|
1
1
|
import { IModal } from '../../../../../shared/types';
|
|
2
|
-
import {
|
|
2
|
+
import { ParseRuleProps, FormFieldOption } from '../../../../../nocode-base/src';
|
|
3
3
|
import { ScanParamType } from '../../../../../nocode-base/src/types/common/base';
|
|
4
4
|
type __VLS_Props = {
|
|
5
5
|
modal: IModal;
|
|
6
6
|
title?: string;
|
|
7
|
-
subModelKey?: string;
|
|
8
7
|
scanParam?: ScanParamType;
|
|
9
8
|
scanRules?: ParseRuleProps;
|
|
9
|
+
formFieldOptions?: FormFieldOption[];
|
|
10
10
|
onScan: (params: {
|
|
11
11
|
str?: string;
|
|
12
12
|
parsedValue?: any;
|
|
13
13
|
transformedData?: any;
|
|
14
14
|
}) => void;
|
|
15
|
-
formModelController: FormModelController;
|
|
16
15
|
ruleTip?: string;
|
|
17
16
|
};
|
|
18
17
|
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
@@ -53,6 +53,7 @@ export declare const FieldTypeToCellWidgetMap: {
|
|
|
53
53
|
model_relation: CellWidgetCategory;
|
|
54
54
|
warehouse: CellWidgetCategory;
|
|
55
55
|
location: CellWidgetCategory;
|
|
56
|
+
production_container: CellWidgetCategory;
|
|
56
57
|
ref_multi: CellWidgetCategory;
|
|
57
58
|
electronic_signature: CellWidgetCategory;
|
|
58
59
|
expression: CellWidgetCategory;
|
|
@@ -54,7 +54,12 @@ export declare enum PanelType {
|
|
|
54
54
|
PretreatmentTable = 21,
|
|
55
55
|
WarehouseInTable = 22,
|
|
56
56
|
WarehouseOutTable = 23,
|
|
57
|
-
WarehouseInOutTable = 24
|
|
57
|
+
WarehouseInOutTable = 24,
|
|
58
|
+
WarehouseInboundTable = 25,
|
|
59
|
+
WarehouseOutboundTable = 26,
|
|
60
|
+
PartStocktakeTable = 27,
|
|
61
|
+
DevicePartConsumeTable = 28,
|
|
62
|
+
MaterialRequisitionTable = 29
|
|
58
63
|
}
|
|
59
64
|
/**
|
|
60
65
|
* 页码样式
|
|
@@ -92,6 +92,7 @@ export declare const useAllSpreadSheets: () => {
|
|
|
92
92
|
category: import('../enums').CellWidgetCategory;
|
|
93
93
|
required?: boolean | undefined;
|
|
94
94
|
disabled?: boolean | undefined;
|
|
95
|
+
fieldDisabled?: boolean | undefined;
|
|
95
96
|
keepExceptionHighlight?: boolean | undefined;
|
|
96
97
|
renderComp: import('../enums').CellWidgetRenderComp;
|
|
97
98
|
viewState?: import('../../../../../nocode-base/src').CellWidgetViewState | undefined;
|
|
@@ -179,6 +180,7 @@ export declare const useAllSpreadSheets: () => {
|
|
|
179
180
|
category: import('../enums').CellWidgetCategory;
|
|
180
181
|
required?: boolean | undefined;
|
|
181
182
|
disabled?: boolean | undefined;
|
|
183
|
+
fieldDisabled?: boolean | undefined;
|
|
182
184
|
keepExceptionHighlight?: boolean | undefined;
|
|
183
185
|
renderComp: import('../enums').CellWidgetRenderComp;
|
|
184
186
|
viewState?: import('../../../../../nocode-base/src').CellWidgetViewState | undefined;
|
|
@@ -730,6 +732,7 @@ export declare const useAllSpreadSheets: () => {
|
|
|
730
732
|
category: import('../enums').CellWidgetCategory;
|
|
731
733
|
required?: boolean | undefined;
|
|
732
734
|
disabled?: boolean | undefined;
|
|
735
|
+
fieldDisabled?: boolean | undefined;
|
|
733
736
|
keepExceptionHighlight?: boolean | undefined;
|
|
734
737
|
renderComp: import('../enums').CellWidgetRenderComp;
|
|
735
738
|
viewState?: import('../../../../../nocode-base/src').CellWidgetViewState | undefined;
|
|
@@ -817,6 +820,7 @@ export declare const useAllSpreadSheets: () => {
|
|
|
817
820
|
category: import('../enums').CellWidgetCategory;
|
|
818
821
|
required?: boolean | undefined;
|
|
819
822
|
disabled?: boolean | undefined;
|
|
823
|
+
fieldDisabled?: boolean | undefined;
|
|
820
824
|
keepExceptionHighlight?: boolean | undefined;
|
|
821
825
|
renderComp: import('../enums').CellWidgetRenderComp;
|
|
822
826
|
viewState?: import('../../../../../nocode-base/src').CellWidgetViewState | undefined;
|
|
@@ -1366,6 +1370,7 @@ export declare const useAllSpreadSheets: () => {
|
|
|
1366
1370
|
category: import('../enums').CellWidgetCategory;
|
|
1367
1371
|
required?: boolean | undefined;
|
|
1368
1372
|
disabled?: boolean | undefined;
|
|
1373
|
+
fieldDisabled?: boolean | undefined;
|
|
1369
1374
|
keepExceptionHighlight?: boolean | undefined;
|
|
1370
1375
|
renderComp: import('../enums').CellWidgetRenderComp;
|
|
1371
1376
|
viewState?: import('../../../../../nocode-base/src').CellWidgetViewState | undefined;
|
|
@@ -1453,6 +1458,7 @@ export declare const useAllSpreadSheets: () => {
|
|
|
1453
1458
|
category: import('../enums').CellWidgetCategory;
|
|
1454
1459
|
required?: boolean | undefined;
|
|
1455
1460
|
disabled?: boolean | undefined;
|
|
1461
|
+
fieldDisabled?: boolean | undefined;
|
|
1456
1462
|
keepExceptionHighlight?: boolean | undefined;
|
|
1457
1463
|
renderComp: import('../enums').CellWidgetRenderComp;
|
|
1458
1464
|
viewState?: import('../../../../../nocode-base/src').CellWidgetViewState | undefined;
|
|
@@ -2000,6 +2006,7 @@ export declare const useAllSpreadSheets: () => {
|
|
|
2000
2006
|
category: import('../enums').CellWidgetCategory;
|
|
2001
2007
|
required?: boolean | undefined;
|
|
2002
2008
|
disabled?: boolean | undefined;
|
|
2009
|
+
fieldDisabled?: boolean | undefined;
|
|
2003
2010
|
keepExceptionHighlight?: boolean | undefined;
|
|
2004
2011
|
renderComp: import('../enums').CellWidgetRenderComp;
|
|
2005
2012
|
viewState?: import('../../../../../nocode-base/src').CellWidgetViewState | undefined;
|
|
@@ -2087,6 +2094,7 @@ export declare const useAllSpreadSheets: () => {
|
|
|
2087
2094
|
category: import('../enums').CellWidgetCategory;
|
|
2088
2095
|
required?: boolean | undefined;
|
|
2089
2096
|
disabled?: boolean | undefined;
|
|
2097
|
+
fieldDisabled?: boolean | undefined;
|
|
2090
2098
|
keepExceptionHighlight?: boolean | undefined;
|
|
2091
2099
|
renderComp: import('../enums').CellWidgetRenderComp;
|
|
2092
2100
|
viewState?: import('../../../../../nocode-base/src').CellWidgetViewState | undefined;
|