ztxkui 4.2.23-32 → 4.2.23-321-beta
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/README.md +57 -57
- package/dist/App.d.ts +1 -3
- package/dist/App.js +3 -1394
- package/dist/Demo.js +30 -41
- package/dist/DemoCom/BasicDemo.js +4 -2
- package/dist/DemoCom/CollapseDemo.js +1 -1
- package/dist/DemoCom/DragSort.js +1 -1
- package/dist/DemoCom/FormDemo.js +239 -51
- package/dist/DemoCom/FormDemo1.d.ts +3 -0
- package/dist/DemoCom/FormDemo1.js +95 -0
- package/dist/DemoCom/PrintContainerDemo.d.ts +0 -1
- package/dist/DemoCom/PrintContainerDemo.js +51 -276
- package/dist/DemoCom/PrintDemo.js +1 -1
- package/dist/DemoCom/SinaturesDemo.js +91 -101
- package/dist/DemoCom/TableAnalyse.js +1 -1
- package/dist/DemoCom/TableDemo.js +1 -2
- package/dist/DemoCom/TableDemo1.js +5 -0
- package/dist/DemoCom/TableDemo2.d.ts +14 -0
- package/dist/DemoCom/TableDemo2.js +550 -0
- package/dist/DemoCom/TestCom.js +1 -1
- package/dist/DemoCom/TestDemo.d.ts +3 -0
- package/dist/DemoCom/TestDemo.js +17 -0
- package/dist/DemoCom/diaobodan.d.ts +3 -0
- package/dist/DemoCom/diaobodan.js +310 -0
- package/dist/DemoCom/moveTidan.d.ts +6 -0
- package/dist/DemoCom/moveTidan.js +147 -0
- package/dist/DemoCom/tidan.d.ts +6 -0
- package/dist/DemoCom/tidan.js +154 -0
- package/dist/TableDemo/BasicTable.js +128 -4
- package/dist/TableDemo/EditableTable.d.ts +1 -0
- package/dist/TableDemo/EditableTable.js +69 -87
- package/dist/TableDemo/ElseTable.d.ts +9 -0
- package/dist/TableDemo/ElseTable.js +58 -0
- package/dist/TableDemo/ModalTable.js +1 -1
- package/dist/TableDemo/VirtualTable.d.ts +9 -0
- package/dist/TableDemo/VirtualTable.js +127 -0
- package/dist/TableDemo/data.d.ts +28 -0
- package/dist/TableDemo/data.js +122 -1
- package/dist/TableDemo/index.js +6 -5
- package/dist/UI/Asr/index.d.ts +3 -0
- package/dist/UI/Asr/index.js +7 -0
- package/dist/UI/Basic/index.js +57 -5
- package/dist/UI/ChatRoom/data.d.ts +16 -0
- package/dist/UI/ChatRoom/data.js +52 -0
- package/dist/UI/ChatRoom/index.d.ts +3 -0
- package/dist/UI/ChatRoom/index.js +50 -0
- package/dist/UI/Form/index.js +205 -34
- package/dist/UI/Modal/hooks.js +1 -1
- package/dist/UI/Modal/index.js +1 -1
- package/dist/UI/OCR/index.d.ts +2 -0
- package/dist/UI/OCR/index.js +34 -0
- package/dist/UI/OCRCom/CommonOcr.d.ts +2 -0
- package/dist/UI/OCRCom/CommonOcr.js +34 -0
- package/dist/UI/OCRCom/ModalOcr.d.ts +2 -0
- package/dist/UI/OCRCom/ModalOcr.js +39 -0
- package/dist/UI/OCRCom/UserOcr.d.ts +2 -0
- package/dist/UI/OCRCom/UserOcr.js +41 -0
- package/dist/UI/OCRCom/index.d.ts +2 -0
- package/dist/UI/OCRCom/index.js +34 -0
- package/dist/UI/Table/CheckModal.d.ts +9 -0
- package/dist/UI/Table/CheckModal.js +28 -0
- package/dist/UI/Table/DefaultTable.js +190 -9
- package/dist/UI/Table/EditTable.js +73 -2
- package/dist/UI/Table/data.d.ts +10 -1
- package/dist/UI/Table/data.js +12 -2
- package/dist/UI/Table/hooks.d.ts +20 -0
- package/dist/UI/Table/hooks.js +48 -0
- package/dist/UI/index.js +29 -1
- package/dist/UploadDemo.js +4 -2
- package/dist/components/Asr/index.d.ts +8 -0
- package/dist/components/Asr/index.js +24 -0
- package/dist/components/Button/button.d.ts +6 -2
- package/dist/components/Button/button.js +126 -22
- package/dist/components/Button/demoComponents/index.d.ts +3 -0
- package/dist/components/Button/demoComponents/index.js +68 -0
- package/dist/components/ChatRoom/components/AntModal.d.ts +8 -0
- package/dist/components/ChatRoom/components/AntModal.js +80 -0
- package/dist/components/ChatRoom/components/ChatIcon.d.ts +7 -0
- package/dist/components/ChatRoom/components/ChatIcon.js +6 -0
- package/dist/components/ChatRoom/components/ChatInput.d.ts +7 -0
- package/dist/components/ChatRoom/components/ChatInput.js +97 -0
- package/dist/components/ChatRoom/components/ChatItem.d.ts +15 -0
- package/dist/components/ChatRoom/components/ChatItem.js +13 -0
- package/dist/components/ChatRoom/components/ChatItemTime.d.ts +7 -0
- package/dist/components/ChatRoom/components/ChatItemTime.js +7 -0
- package/dist/components/ChatRoom/components/Room.d.ts +9 -0
- package/dist/components/ChatRoom/components/Room.js +17 -0
- package/dist/components/ChatRoom/components/RoomItem.d.ts +19 -0
- package/dist/components/ChatRoom/components/RoomItem.js +24 -0
- package/dist/components/ChatRoom/components/RoomOperation.d.ts +7 -0
- package/dist/components/ChatRoom/components/RoomOperation.js +6 -0
- package/dist/components/ChatRoom/components/RoomTitle.d.ts +7 -0
- package/dist/components/ChatRoom/components/RoomTitle.js +22 -0
- package/dist/components/ChatRoom/components/index.d.ts +5 -0
- package/dist/components/ChatRoom/components/index.js +5 -0
- package/dist/components/ChatRoom/hooks/index.d.ts +2 -0
- package/dist/components/ChatRoom/hooks/index.js +2 -0
- package/dist/components/ChatRoom/hooks/useRoomList.d.ts +10 -0
- package/dist/components/ChatRoom/hooks/useRoomList.js +23 -0
- package/dist/components/ChatRoom/hooks/useRoomOperation.d.ts +5 -0
- package/dist/components/ChatRoom/hooks/useRoomOperation.js +17 -0
- package/dist/components/ChatRoom/index.d.ts +4 -0
- package/dist/components/ChatRoom/index.js +42 -0
- package/dist/components/ChatRoom/interface.d.ts +46 -0
- package/dist/components/ChatRoom/interface.js +1 -0
- package/dist/components/ChatRoom/utils.d.ts +4 -0
- package/dist/components/ChatRoom/utils.js +7 -0
- package/dist/components/Collapse/collapse.d.ts +1 -0
- package/dist/components/Collapse/collapse.js +2 -2
- package/dist/components/EnhanceSelect/cacheUtils.d.ts +21 -0
- package/dist/components/EnhanceSelect/cacheUtils.js +103 -0
- package/dist/components/EnhanceSelect/index.d.ts +24 -2
- package/dist/components/EnhanceSelect/index.js +158 -70
- package/dist/components/Export/export.js +1 -1
- package/dist/components/Form/form.d.ts +10 -3
- package/dist/components/Form/form.js +60 -4
- package/dist/components/Input/InputModal.d.ts +8 -0
- package/dist/components/Input/InputModal.js +64 -0
- package/dist/components/Input/InputQuill.d.ts +8 -0
- package/dist/components/Input/InputQuill.js +47 -0
- package/dist/components/Input/InputQuillRead.d.ts +5 -0
- package/dist/components/Input/InputQuillRead.js +6 -0
- package/dist/components/Input/input.js +67 -9
- package/dist/components/InputNumber/demoComponents/index.d.ts +3 -0
- package/dist/components/InputNumber/demoComponents/index.js +19 -0
- package/dist/components/InputNumber/input-number-fix.d.ts +4 -0
- package/dist/components/InputNumber/input-number-fix.js +33 -0
- package/dist/components/InputNumber/input-number.d.ts +14 -2
- package/dist/components/InputNumber/input-number.js +53 -6
- package/dist/components/Modal/modal.d.ts +5 -0
- package/dist/components/Modal/modal.js +44 -3
- package/dist/components/NumberCase/demoComponents/index.d.ts +3 -0
- package/dist/components/NumberCase/demoComponents/index.js +11 -0
- package/dist/components/NumberCase/demoComponents/test.d.ts +1 -0
- package/dist/components/NumberCase/demoComponents/test.js +137 -0
- package/dist/components/NumberCase/index.js +71 -13
- package/dist/components/OCR/Camera/Container.d.ts +4 -0
- package/dist/components/OCR/Camera/Container.js +40 -0
- package/dist/components/OCR/Camera/Item.d.ts +7 -0
- package/dist/components/OCR/Camera/Item.js +10 -0
- package/dist/components/OCR/Camera/camera.d.ts +61 -0
- package/dist/components/OCR/Camera/camera.js +166 -0
- package/dist/components/OCR/Camera/cameraUtils.d.ts +10 -0
- package/dist/components/OCR/Camera/cameraUtils.js +109 -0
- package/dist/components/OCR/Camera/constants.d.ts +3 -0
- package/dist/components/OCR/Camera/constants.js +3 -0
- package/dist/components/OCR/Camera/hooks.d.ts +20 -0
- package/dist/components/OCR/Camera/hooks.js +129 -0
- package/dist/components/OCR/Camera/index.d.ts +10 -0
- package/dist/components/OCR/Camera/index.js +28 -0
- package/dist/components/OCR/Camera/wsCamera.d.ts +22 -0
- package/dist/components/OCR/Camera/wsCamera.js +456 -0
- package/dist/components/OCR/CanvasCom.d.ts +8 -0
- package/dist/components/OCR/CanvasCom.js +28 -0
- package/dist/components/OCR/LoadPicture.d.ts +11 -0
- package/dist/components/OCR/LoadPicture.js +56 -0
- package/dist/components/OCR/SelectTemplate.d.ts +10 -0
- package/dist/components/OCR/SelectTemplate.js +14 -0
- package/dist/components/OCR/SettingCom.d.ts +14 -0
- package/dist/components/OCR/SettingCom.js +363 -0
- package/dist/components/OCR/constants.d.ts +1 -0
- package/dist/components/OCR/constants.js +2 -0
- package/dist/components/OCR/data.d.ts +6 -0
- package/dist/components/OCR/data.js +596 -0
- package/dist/components/OCR/hooks.d.ts +21 -0
- package/dist/components/OCR/hooks.js +270 -0
- package/dist/components/OCR/index.d.ts +11 -0
- package/dist/components/OCR/index.js +52 -0
- package/dist/components/OCR/selectTemplateHooks.d.ts +9 -0
- package/dist/components/OCR/selectTemplateHooks.js +74 -0
- package/dist/components/OCR/settingHooks.d.ts +5 -0
- package/dist/components/OCR/settingHooks.js +45 -0
- package/dist/components/OCR/utils.d.ts +6 -0
- package/dist/components/OCR/utils.js +153 -0
- package/dist/components/OCR_COM/Camera/Container.d.ts +3 -0
- package/dist/components/OCR_COM/Camera/Container.js +53 -0
- package/dist/components/OCR_COM/Camera/Item.d.ts +7 -0
- package/dist/components/OCR_COM/Camera/Item.js +10 -0
- package/dist/components/OCR_COM/Camera/camera.d.ts +61 -0
- package/dist/components/OCR_COM/Camera/camera.js +170 -0
- package/dist/components/OCR_COM/Camera/cameraUtils.d.ts +10 -0
- package/dist/components/OCR_COM/Camera/cameraUtils.js +109 -0
- package/dist/components/OCR_COM/Camera/constants.d.ts +3 -0
- package/dist/components/OCR_COM/Camera/constants.js +3 -0
- package/dist/components/OCR_COM/Camera/hooks.d.ts +20 -0
- package/dist/components/OCR_COM/Camera/hooks.js +132 -0
- package/dist/components/OCR_COM/Camera/index.d.ts +11 -0
- package/dist/components/OCR_COM/Camera/index.js +51 -0
- package/dist/components/OCR_COM/Camera/wsCamera.d.ts +22 -0
- package/dist/components/OCR_COM/Camera/wsCamera.js +456 -0
- package/dist/components/OCR_COM/DrawerOcr.d.ts +8 -0
- package/dist/components/OCR_COM/DrawerOcr.js +118 -0
- package/dist/components/OCR_COM/canvasUtils.d.ts +12 -0
- package/dist/components/OCR_COM/canvasUtils.js +41 -0
- package/dist/components/OCR_COM/components/IconButton.d.ts +8 -0
- package/dist/components/OCR_COM/components/IconButton.js +8 -0
- package/dist/components/OCR_COM/components/IconGpy.d.ts +3 -0
- package/dist/components/OCR_COM/components/IconGpy.js +5 -0
- package/dist/components/OCR_COM/components/IconTop.d.ts +3 -0
- package/dist/components/OCR_COM/components/IconTop.js +5 -0
- package/dist/components/OCR_COM/components/IconUpload.d.ts +3 -0
- package/dist/components/OCR_COM/components/IconUpload.js +5 -0
- package/dist/components/OCR_COM/components/ImgPagination.d.ts +19 -0
- package/dist/components/OCR_COM/components/ImgPagination.js +54 -0
- package/dist/components/OCR_COM/components/OperationContainer.d.ts +9 -0
- package/dist/components/OCR_COM/components/OperationContainer.js +9 -0
- package/dist/components/OCR_COM/components/PaginationOcr.d.ts +2 -0
- package/dist/components/OCR_COM/components/PaginationOcr.js +20 -0
- package/dist/components/OCR_COM/components/Placeholder.d.ts +3 -0
- package/dist/components/OCR_COM/components/Placeholder.js +12 -0
- package/dist/components/OCR_COM/components/RectifyImg.d.ts +2 -0
- package/dist/components/OCR_COM/components/RectifyImg.js +102 -0
- package/dist/components/OCR_COM/components/SettingOcr.d.ts +12 -0
- package/dist/components/OCR_COM/components/SettingOcr.js +223 -0
- package/dist/components/OCR_COM/components/UploadGroup.d.ts +17 -0
- package/dist/components/OCR_COM/components/UploadGroup.js +26 -0
- package/dist/components/OCR_COM/components/UploadGroupModal.d.ts +2 -0
- package/dist/components/OCR_COM/components/UploadGroupModal.js +20 -0
- package/dist/components/OCR_COM/components/UploadOcr.d.ts +9 -0
- package/dist/components/OCR_COM/components/UploadOcr.js +119 -0
- package/dist/components/OCR_COM/components/UserList.d.ts +36 -0
- package/dist/components/OCR_COM/components/UserList.js +59 -0
- package/dist/components/OCR_COM/components/UserOcr.d.ts +14 -0
- package/dist/components/OCR_COM/components/UserOcr.js +85 -0
- package/dist/components/OCR_COM/components/UserOcrTable.d.ts +14 -0
- package/dist/components/OCR_COM/components/UserOcrTable.js +120 -0
- package/dist/components/OCR_COM/components/index.d.ts +15 -0
- package/dist/components/OCR_COM/components/index.js +15 -0
- package/dist/components/OCR_COM/constants.d.ts +1 -0
- package/dist/components/OCR_COM/constants.js +2 -0
- package/dist/components/OCR_COM/copyIndex.d.ts +30 -0
- package/dist/components/OCR_COM/copyIndex.js +154 -0
- package/dist/components/OCR_COM/hooks/index.d.ts +12 -0
- package/dist/components/OCR_COM/hooks/index.js +12 -0
- package/dist/components/OCR_COM/hooks/useCamera.d.ts +5 -0
- package/dist/components/OCR_COM/hooks/useCamera.js +12 -0
- package/dist/components/OCR_COM/hooks/useDictionary.d.ts +11 -0
- package/dist/components/OCR_COM/hooks/useDictionary.js +56 -0
- package/dist/components/OCR_COM/hooks/useDrawImgFile.d.ts +30 -0
- package/dist/components/OCR_COM/hooks/useDrawImgFile.js +242 -0
- package/dist/components/OCR_COM/hooks/useFiles.d.ts +28 -0
- package/dist/components/OCR_COM/hooks/useFiles.js +111 -0
- package/dist/components/OCR_COM/hooks/useLoading.d.ts +8 -0
- package/dist/components/OCR_COM/hooks/useLoading.js +12 -0
- package/dist/components/OCR_COM/hooks/useOcrIdentify.d.ts +8 -0
- package/dist/components/OCR_COM/hooks/useOcrIdentify.js +43 -0
- package/dist/components/OCR_COM/hooks/usePrevious.d.ts +3 -0
- package/dist/components/OCR_COM/hooks/usePrevious.js +12 -0
- package/dist/components/OCR_COM/hooks/useRectify.d.ts +13 -0
- package/dist/components/OCR_COM/hooks/useRectify.js +173 -0
- package/dist/components/OCR_COM/hooks/useRectifyServer.d.ts +6 -0
- package/dist/components/OCR_COM/hooks/useRectifyServer.js +79 -0
- package/dist/components/OCR_COM/hooks/useSetting.d.ts +27 -0
- package/dist/components/OCR_COM/hooks/useSetting.js +288 -0
- package/dist/components/OCR_COM/hooks/useUser.d.ts +14 -0
- package/dist/components/OCR_COM/hooks/useUser.js +110 -0
- package/dist/components/OCR_COM/hooks/useUserClickItem.d.ts +7 -0
- package/dist/components/OCR_COM/hooks/useUserClickItem.js +35 -0
- package/dist/components/OCR_COM/hooks/useUserClickRow.d.ts +7 -0
- package/dist/components/OCR_COM/hooks/useUserClickRow.js +38 -0
- package/dist/components/OCR_COM/index.d.ts +32 -0
- package/dist/components/OCR_COM/index.js +207 -0
- package/dist/components/OCR_COM/utils.d.ts +10 -0
- package/dist/components/OCR_COM/utils.js +73 -0
- package/dist/components/Print/print.js +1 -1
- package/dist/components/PrintBox/demoComponents/index.d.ts +4 -0
- package/dist/components/PrintBox/demoComponents/index.js +141 -0
- package/dist/components/PrintBox/demoComponents/usePrintBox.d.ts +10 -0
- package/dist/components/PrintBox/demoComponents/usePrintBox.js +14 -0
- package/dist/components/PrintBox/hooks/useAutoSeal.d.ts +25 -0
- package/dist/components/PrintBox/hooks/useAutoSeal.js +317 -0
- package/dist/components/PrintBox/hooks/useBrowserPrint.d.ts +4 -0
- package/dist/components/PrintBox/hooks/useBrowserPrint.js +90 -0
- package/dist/components/PrintBox/hooks/useCanExecuteClick.d.ts +2 -0
- package/dist/components/PrintBox/hooks/useCanExecuteClick.js +83 -0
- package/dist/components/PrintBox/hooks/useCreatePdf.d.ts +17 -0
- package/dist/components/PrintBox/hooks/useCreatePdf.js +148 -0
- package/dist/components/PrintBox/hooks/useCreateWater.d.ts +10 -0
- package/dist/components/PrintBox/hooks/useCreateWater.js +21 -0
- package/dist/components/PrintBox/hooks/useFont.d.ts +14 -0
- package/dist/components/PrintBox/hooks/useFont.js +82 -0
- package/dist/components/PrintBox/index.d.ts +2 -0
- package/dist/components/PrintBox/index.js +2 -0
- package/dist/components/PrintBox/interface.d.ts +93 -0
- package/dist/components/PrintBox/interface.js +1 -0
- package/dist/components/PrintBox/pdf/canvas.d.ts +4 -0
- package/dist/components/PrintBox/pdf/canvas.js +11 -0
- package/dist/components/PrintBox/pdf/htmlToPdf.d.ts +47 -0
- package/dist/components/PrintBox/pdf/htmlToPdf.js +181 -0
- package/dist/components/PrintBox/pdf/pdf.d.ts +91 -0
- package/dist/components/PrintBox/pdf/pdf.js +304 -0
- package/dist/components/PrintBox/pdf/water.d.ts +51 -0
- package/dist/components/PrintBox/pdf/water.js +84 -0
- package/dist/components/PrintBox/print-box.d.ts +4 -0
- package/dist/components/PrintBox/print-box.js +213 -0
- package/dist/components/PrintBox/utils.d.ts +1 -0
- package/dist/components/PrintBox/utils.js +25 -0
- package/dist/components/PrintContainer/AttachPreviewModal.js +1 -1
- package/dist/components/PrintContainer/PrintModal.js +1 -1
- package/dist/components/PrintContainer/handle.js +117 -47
- package/dist/components/PrintContainer/hooks.d.ts +15 -1
- package/dist/components/PrintContainer/hooks.js +63 -2
- package/dist/components/PrintContainer/interface.d.ts +4 -0
- package/dist/components/PrintContainer/kkJSBridge.d.ts +32 -0
- package/dist/components/PrintContainer/kkJSBridge.js +135 -0
- package/dist/components/PrintContainer/parseParams.d.ts +7 -0
- package/dist/components/PrintContainer/parseParams.js +36 -0
- package/dist/components/PrintContainer/print-container.d.ts +17 -0
- package/dist/components/PrintContainer/print-container.js +515 -437
- package/dist/components/PrintContainer/sealHooks.d.ts +19 -0
- package/dist/components/PrintContainer/sealHooks.js +222 -0
- package/dist/components/PrintContainer/service.d.ts +22 -0
- package/dist/components/PrintContainer/service.js +296 -3
- package/dist/components/PrintContainer/useAboutExport.d.ts +7 -0
- package/dist/components/PrintContainer/useAboutExport.js +134 -0
- package/dist/components/PrintContainer/useFont.d.ts +5 -0
- package/dist/components/PrintContainer/useFont.js +89 -0
- package/dist/components/PrintContainer/utils.js +8 -7
- package/dist/components/ProForm/detail.d.ts +4 -0
- package/dist/components/ProForm/detail.js +30 -0
- package/dist/components/ProForm/hooks.js +13 -0
- package/dist/components/ProForm/index.js +48 -11
- package/dist/components/ProForm/interface.d.ts +73 -3
- package/dist/components/ProForm/item.d.ts +13 -0
- package/dist/components/ProForm/item.js +175 -0
- package/dist/components/ProForm/items.js +19 -119
- package/dist/components/ProForm/search-drawer.js +1 -1
- package/dist/components/ProForm/setting.js +1 -1
- package/dist/components/ProModal/hooks.js +1 -1
- package/dist/components/ProTable/hooks.d.ts +5 -3
- package/dist/components/ProTable/hooks.js +25 -8
- package/dist/components/ProTable/index.js +12 -4
- package/dist/components/ProTable/interface.d.ts +1 -0
- package/dist/components/RangePicker/range-picker.js +1 -1
- package/dist/components/Table/components/FillDown.d.ts +8 -0
- package/dist/components/Table/components/FillDown.js +10 -0
- package/dist/components/Table/components/FilterDropdown.d.ts +15 -0
- package/dist/components/Table/components/FilterDropdown.js +92 -0
- package/dist/components/Table/hooks/useColumns.d.ts +15 -6
- package/dist/components/Table/hooks/useColumns.js +327 -43
- package/dist/components/Table/hooks/useDropRef.js +2 -1
- package/dist/components/Table/hooks/useSelectSubtotal.d.ts +4 -0
- package/dist/components/Table/hooks/useSelectSubtotal.js +192 -0
- package/dist/components/Table/index.d.ts +13 -0
- package/dist/components/Table/table-adddel-column.d.ts +7 -5
- package/dist/components/Table/table-adddel-column.js +15 -7
- package/dist/components/Table/table-dynamic.js +63 -5
- package/dist/components/Table/table-enhance-cell.d.ts +1 -1
- package/dist/components/Table/table-enhance-cell.js +69 -10
- package/dist/components/Table/table-enhance-row.d.ts +1 -0
- package/dist/components/Table/table-enhance-row.js +5 -2
- package/dist/components/Table/table-headTooltip.d.ts +6 -0
- package/dist/components/Table/table-headTooltip.js +13 -0
- package/dist/components/Table/table-menu.d.ts +7 -0
- package/dist/components/Table/table-menu.js +43 -0
- package/dist/components/Table/table-resizable-title.js +4 -4
- package/dist/components/Table/table-sort.d.ts +11 -0
- package/dist/components/Table/table-sort.js +65 -0
- package/dist/components/Table/table.d.ts +33 -6
- package/dist/components/Table/table.js +502 -72
- package/dist/components/Table/utils/dom.d.ts +26 -0
- package/dist/components/Table/utils/dom.js +122 -0
- package/dist/components/Table/utils/filterHandle.d.ts +9 -0
- package/dist/components/Table/utils/filterHandle.js +102 -0
- package/dist/components/Table/utils/getSummaryData.d.ts +1 -0
- package/dist/components/Table/utils/getSummaryData.js +7 -1
- package/dist/components/Table/utils/validate.d.ts +1 -1
- package/dist/components/Table/utils/validate.js +5 -2
- package/dist/components/Upload/upload-table.js +31 -14
- package/dist/components/Upload/upload.d.ts +4 -0
- package/dist/components/Upload/upload.js +25 -5
- package/dist/components/Upload/useBatchDownload.d.ts +3 -0
- package/dist/components/Upload/useBatchDownload.js +61 -0
- package/dist/components/Upload/utils.js +29 -5
- package/dist/components/UploadCustom/demoComponents/index.d.ts +3 -0
- package/dist/components/UploadCustom/demoComponents/index.js +242 -0
- package/dist/components/UploadCustom/dg-result-button.d.ts +12 -0
- package/dist/components/UploadCustom/dg-result-button.js +94 -0
- package/dist/components/UploadCustom/hooks/constants.d.ts +1 -0
- package/dist/components/UploadCustom/hooks/constants.js +1 -0
- package/dist/components/UploadCustom/hooks/useDg.d.ts +6 -0
- package/dist/components/UploadCustom/hooks/useDg.js +54 -0
- package/dist/components/UploadCustom/hooks/useFieldNames.d.ts +2 -0
- package/dist/components/UploadCustom/hooks/useFieldNames.js +20 -0
- package/dist/components/UploadCustom/hooks/useFileOperate.d.ts +18 -0
- package/dist/components/UploadCustom/hooks/useFileOperate.js +148 -0
- package/dist/components/UploadCustom/hooks/useFileType.d.ts +3 -0
- package/dist/components/UploadCustom/hooks/useFileType.js +28 -0
- package/dist/components/UploadCustom/hooks/useParseData.d.ts +7 -0
- package/dist/components/UploadCustom/hooks/useParseData.js +48 -0
- package/dist/components/UploadCustom/index.d.ts +3 -0
- package/dist/components/UploadCustom/index.js +322 -0
- package/dist/components/UploadCustom/interface.d.ts +155 -0
- package/dist/components/UploadCustom/interface.js +1 -0
- package/dist/components/UploadCustom/upload-button-delete.d.ts +10 -0
- package/dist/components/UploadCustom/upload-button-delete.js +14 -0
- package/dist/components/UploadCustom/upload-button.d.ts +23 -0
- package/dist/components/UploadCustom/upload-button.js +221 -0
- package/dist/components/UploadCustom/upload-custom-table.d.ts +4 -0
- package/dist/components/UploadCustom/upload-custom-table.js +231 -0
- package/dist/components/UploadSingle/upload-single.js +1 -1
- package/dist/components/ZtIcon/index.js +4 -1
- package/dist/components/basic/message.js +21 -13
- package/dist/components/business/Analyse/index.js +1 -1
- package/dist/components/business/CodeQuery/component/SearchForm.js +1 -1
- package/dist/components/business/CodeQuery/component/TableList.js +1 -1
- package/dist/components/business/CodeQuery/hooks.js +1 -1
- package/dist/components/business/CodeQuery/index.js +1 -1
- package/dist/components/business/Common/UserForgetPassword/index.js +18 -7
- package/dist/components/business/Common/UserInfo/component/MakingForm.js +1 -1
- package/dist/components/business/Common/UserInfo/index.js +98 -141
- package/dist/components/business/Common/UserPassword/index.d.ts +1 -0
- package/dist/components/business/Common/UserPassword/index.js +42 -14
- package/dist/components/business/Container/operation-middle.js +1 -1
- package/dist/components/business/DetailList/index.js +1 -1
- package/dist/components/business/DgColumns/index.js +1 -1
- package/dist/components/business/ExportButton/index.js +1 -1
- package/dist/components/business/Footer/index.d.ts +1 -0
- package/dist/components/business/Footer/index.js +4 -4
- package/dist/components/business/NewList/item.js +1 -1
- package/dist/components/business/OperationBtnGroup/index.js +1 -1
- package/dist/components/business/SearchContainer/hooks/useDynamic.js +143 -16
- package/dist/components/business/SearchContainer/hooks/useToggle.d.ts +1 -1
- package/dist/components/business/SearchContainer/hooks/useToggle.js +11 -8
- package/dist/components/business/SearchContainer/search-container.d.ts +6 -0
- package/dist/components/business/SearchContainer/search-container.js +8 -2
- package/dist/components/business/SearchContainer/search-drawer.js +1 -1
- package/dist/components/business/SearchContainer/search-item.d.ts +2 -0
- package/dist/components/business/SearchContainer/search-item.js +21 -4
- package/dist/components/business/SearchContainer/search-left.d.ts +1 -0
- package/dist/components/business/SearchContainer/search-left.js +13 -6
- package/dist/components/business/SearchContainer/search-right.d.ts +2 -0
- package/dist/components/business/SearchContainer/search-right.js +56 -5
- package/dist/components/business/Signatures/components/AttachOperation.js +17 -2
- package/dist/components/business/Signatures/components/CodeModal.d.ts +3 -0
- package/dist/components/business/Signatures/components/CodeModal.js +155 -0
- package/dist/components/business/Signatures/components/CompareResult.js +1 -1
- package/dist/components/business/Signatures/components/DetailTable.d.ts +4 -0
- package/dist/components/business/Signatures/components/DetailTable.js +38 -17
- package/dist/components/business/Signatures/components/ElectronicSeal.js +1 -1
- package/dist/components/business/Signatures/components/QunjSeal.js +3 -3
- package/dist/components/business/Signatures/components/SealCheckbox.js +2 -1
- package/dist/components/business/Signatures/components/TemplateAttach.js +1 -1
- package/dist/components/business/Signatures/hooks.js +7 -0
- package/dist/components/business/Signatures/index.js +175 -103
- package/dist/components/business/Signatures/props.d.ts +16 -0
- package/dist/components/business/SortList/sort-drawer.js +1 -1
- package/dist/components/business/Template/index.js +1 -1
- package/dist/components/electron-signatures/demoComponents/data.d.ts +5 -0
- package/dist/components/electron-signatures/demoComponents/data.js +1249 -0
- package/dist/components/electron-signatures/demoComponents/index.d.ts +3 -0
- package/dist/components/electron-signatures/demoComponents/index.js +341 -0
- package/dist/components/electron-signatures/dgComponents/contract-comparison.d.ts +37 -0
- package/dist/components/electron-signatures/dgComponents/contract-comparison.js +51 -0
- package/dist/components/electron-signatures/dgComponents/useContractColumns.d.ts +18 -0
- package/dist/components/electron-signatures/dgComponents/useContractColumns.js +60 -0
- package/dist/components/electron-signatures/electron-signatures-fragment.d.ts +8 -0
- package/dist/components/electron-signatures/electron-signatures-fragment.js +329 -0
- package/dist/components/electron-signatures/electronComponents/electron-seal-batch-download.d.ts +23 -0
- package/dist/components/electron-signatures/electronComponents/electron-seal-batch-download.js +339 -0
- package/dist/components/electron-signatures/electronComponents/electron-seal-detail.d.ts +8 -0
- package/dist/components/electron-signatures/electronComponents/electron-seal-detail.js +30 -0
- package/dist/components/electron-signatures/electronComponents/electron-seal-download.d.ts +15 -0
- package/dist/components/electron-signatures/electronComponents/electron-seal-download.js +82 -0
- package/dist/components/electron-signatures/electronComponents/electron-seal-firstLevelPerson.d.ts +9 -0
- package/dist/components/electron-signatures/electronComponents/electron-seal-firstLevelPerson.js +13 -0
- package/dist/components/electron-signatures/electronComponents/electron-seal-item.d.ts +16 -0
- package/dist/components/electron-signatures/electronComponents/electron-seal-item.js +43 -0
- package/dist/components/electron-signatures/electronComponents/electron-seal-list.d.ts +10 -0
- package/dist/components/electron-signatures/electronComponents/electron-seal-list.js +59 -0
- package/dist/components/electron-signatures/electronComponents/electron-seal-setting.d.ts +15 -0
- package/dist/components/electron-signatures/electronComponents/electron-seal-setting.js +9 -0
- package/dist/components/electron-signatures/electronComponents/last-qys-modal.d.ts +7 -0
- package/dist/components/electron-signatures/electronComponents/last-qys-modal.js +39 -0
- package/dist/components/electron-signatures/electronComponents/useCheckedSealInfoList.d.ts +3 -0
- package/dist/components/electron-signatures/electronComponents/useCheckedSealInfoList.js +40 -0
- package/dist/components/electron-signatures/electronComponents/useElectronColumns.d.ts +27 -0
- package/dist/components/electron-signatures/electronComponents/useElectronColumns.js +189 -0
- package/dist/components/electron-signatures/electronComponents/useFetchElectronData.d.ts +19 -0
- package/dist/components/electron-signatures/electronComponents/useFetchElectronData.js +115 -0
- package/dist/components/electron-signatures/fileComponents/file-operation.d.ts +7 -0
- package/dist/components/electron-signatures/fileComponents/file-operation.js +55 -0
- package/dist/components/electron-signatures/fileComponents/file-type-select.d.ts +12 -0
- package/dist/components/electron-signatures/fileComponents/file-type-select.js +10 -0
- package/dist/components/electron-signatures/fileComponents/file-upload.d.ts +11 -0
- package/dist/components/electron-signatures/fileComponents/file-upload.js +139 -0
- package/dist/components/electron-signatures/fileComponents/fileUtils.d.ts +16 -0
- package/dist/components/electron-signatures/fileComponents/fileUtils.js +36 -0
- package/dist/components/electron-signatures/fileComponents/useFetchFileTypeData.d.ts +13 -0
- package/dist/components/electron-signatures/fileComponents/useFetchFileTypeData.js +43 -0
- package/dist/components/electron-signatures/fileComponents/useFileColumns.d.ts +31 -0
- package/dist/components/electron-signatures/fileComponents/useFileColumns.js +182 -0
- package/dist/components/electron-signatures/fileComponents/useFileTypeColumns.d.ts +19 -0
- package/dist/components/electron-signatures/fileComponents/useFileTypeColumns.js +62 -0
- package/dist/components/electron-signatures/hooks/useMergeRecords.d.ts +15 -0
- package/dist/components/electron-signatures/hooks/useMergeRecords.js +45 -0
- package/dist/components/electron-signatures/hooks/useParseElectronListData.d.ts +49 -0
- package/dist/components/electron-signatures/hooks/useParseElectronListData.js +110 -0
- package/dist/components/electron-signatures/hooks/useParseElectronSetting.d.ts +94 -0
- package/dist/components/electron-signatures/hooks/useParseElectronSetting.js +333 -0
- package/dist/components/electron-signatures/hooks/useParseIsNeedElectronData.d.ts +39 -0
- package/dist/components/electron-signatures/hooks/useParseIsNeedElectronData.js +116 -0
- package/dist/components/electron-signatures/hooks/useParseIsNeedQunjData.d.ts +36 -0
- package/dist/components/electron-signatures/hooks/useParseIsNeedQunjData.js +39 -0
- package/dist/components/electron-signatures/hooks/useParseQunjListData.d.ts +55 -0
- package/dist/components/electron-signatures/hooks/useParseQunjListData.js +171 -0
- package/dist/components/electron-signatures/hooks/useParseQunjSingleData.d.ts +32 -0
- package/dist/components/electron-signatures/hooks/useParseQunjSingleData.js +76 -0
- package/dist/components/electron-signatures/hooks/useParseRecords.d.ts +63 -0
- package/dist/components/electron-signatures/hooks/useParseRecords.js +153 -0
- package/dist/components/electron-signatures/index.d.ts +4 -0
- package/dist/components/electron-signatures/index.js +762 -0
- package/dist/components/electron-signatures/interface.d.ts +664 -0
- package/dist/components/electron-signatures/interface.js +52 -0
- package/dist/components/electron-signatures/qunjComponents/qunj-check.d.ts +19 -0
- package/dist/components/electron-signatures/qunjComponents/qunj-check.js +40 -0
- package/dist/components/electron-signatures/qunjComponents/qunj-detail.d.ts +16 -0
- package/dist/components/electron-signatures/qunjComponents/qunj-detail.js +77 -0
- package/dist/components/electron-signatures/qunjComponents/qunj-list.d.ts +22 -0
- package/dist/components/electron-signatures/qunjComponents/qunj-list.js +146 -0
- package/dist/components/electron-signatures/qunjComponents/useFetchQunjData.d.ts +15 -0
- package/dist/components/electron-signatures/qunjComponents/useFetchQunjData.js +55 -0
- package/dist/components/electron-signatures/qunjComponents/useQunjColumns.d.ts +26 -0
- package/dist/components/electron-signatures/qunjComponents/useQunjColumns.js +240 -0
- package/dist/components/electron-signatures/utils.d.ts +20 -0
- package/dist/components/electron-signatures/utils.js +55 -0
- package/dist/components/utils/ZtxkContext.d.ts +7 -0
- package/dist/components/utils/ZtxkContext.js +7 -0
- package/dist/components/utils/fetch.d.ts +10 -0
- package/dist/components/utils/fetch.js +119 -0
- package/dist/components/utils/index.d.ts +1 -0
- package/dist/components/utils/index.js +20 -0
- package/dist/components/utils/isEqual.d.ts +2 -0
- package/dist/components/utils/isEqual.js +43 -0
- package/dist/components/utils/upload.js +2 -1
- package/dist/components/utils/useAsr.d.ts +92 -0
- package/dist/components/utils/useAsr.js +508 -0
- package/dist/components/utils/useBaseContext.d.ts +5 -0
- package/dist/components/utils/useBaseContext.js +10 -0
- package/dist/components/utils/useLastest.d.ts +2 -0
- package/dist/components/utils/useLastest.js +6 -0
- package/dist/components/utils/useMemoizedFn.d.ts +6 -0
- package/dist/components/utils/useMemoizedFn.js +22 -0
- package/dist/components/utils/usePrevious.d.ts +3 -0
- package/dist/components/utils/usePrevious.js +13 -0
- package/dist/constants.d.ts +1 -1
- package/dist/constants.js +1 -1
- package/dist/hooks/index.d.ts +4 -0
- package/dist/hooks/index.js +4 -0
- package/dist/hooks/useFormatter.d.ts +4 -0
- package/dist/hooks/useFormatter.js +63 -3
- package/dist/hooks/useLatest.d.ts +3 -0
- package/dist/hooks/useLatest.js +7 -0
- package/dist/hooks/useMemoizedFn.d.ts +3 -0
- package/dist/hooks/useMemoizedFn.js +19 -0
- package/dist/hooks/useMount.d.ts +2 -0
- package/dist/hooks/useMount.js +8 -0
- package/dist/index.build.d.ts +65 -0
- package/dist/index.build.js +65 -0
- package/dist/index.css +1510 -16
- package/dist/index.css.map +1 -1
- package/dist/index.d.ts +2 -57
- package/dist/index.js +27 -175
- package/dist/pages/UI.d.ts +2 -0
- package/dist/pages/UI.js +24 -0
- package/dist/pages/routes.d.ts +5 -0
- package/dist/pages/routes.js +108 -0
- package/dist/request.js +3 -2
- package/package.json +16 -6
- package/dist/components/Input/input.d.ts +0 -16
- package/dist/components/PrintContainer/text.json +0 -3
- package/dist/components/ProForm/index.d.ts +0 -6
- package/dist/components/ProModal/hooks.d.ts +0 -33
package/dist/App.js
CHANGED
|
@@ -1,1395 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
s = arguments[i];
|
|
5
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
6
|
-
t[p] = s[p];
|
|
7
|
-
}
|
|
8
|
-
return t;
|
|
9
|
-
};
|
|
10
|
-
return __assign.apply(this, arguments);
|
|
11
|
-
};
|
|
12
|
-
var __spreadArray = (this && this.__spreadArray) || function (to, from) {
|
|
13
|
-
for (var i = 0, il = from.length, j = to.length; i < il; i++, j++)
|
|
14
|
-
to[j] = from[i];
|
|
15
|
-
return to;
|
|
16
|
-
};
|
|
17
|
-
import React, { useCallback, useState, useMemo, useEffect } from 'react';
|
|
18
|
-
import Button from './components/Button';
|
|
19
|
-
import DatePicker from './components/DatePicker';
|
|
20
|
-
import TimePicker from './components/TimePicker';
|
|
21
|
-
import Calendar from './components/Calendar';
|
|
22
|
-
import Select from './components/Select';
|
|
23
|
-
import Input from './components/Input';
|
|
24
|
-
import InputNumber from './components/InputNumber';
|
|
25
|
-
import Checkbox from './components/Checkbox';
|
|
26
|
-
import Radio from './components/Radio';
|
|
27
|
-
import Tabs from './components/Tabs';
|
|
28
|
-
import Pagination from './components/Pagination';
|
|
29
|
-
import Table from './components/Table';
|
|
30
|
-
import Container from './components/business/Container';
|
|
31
|
-
import DetailHeader from './components/business/DetailHeader';
|
|
32
|
-
import DetailCard from './components/business/DetailCard';
|
|
33
|
-
import DetailList from './components/business/DetailList';
|
|
34
|
-
import SearchContainer from './components/business/SearchContainer';
|
|
35
|
-
import Upload from './components/Upload';
|
|
36
|
-
import Form from './components/Form';
|
|
37
|
-
import TransList from './components/business/List';
|
|
38
|
-
import GridList from 'components/business/GridList';
|
|
39
|
-
import './styles/index.scss';
|
|
40
|
-
var RangePicker = DatePicker.RangePicker;
|
|
41
|
-
var FormItem = TransList.FormItem;
|
|
42
|
-
var SearchItem = SearchContainer.SearchItem, SearchLeft = SearchContainer.SearchLeft, SearchRight = SearchContainer.SearchRight;
|
|
43
|
-
var OperationMiddle = Container.OperationMiddle, OperationRight = Container.OperationRight;
|
|
44
|
-
var data = [
|
|
45
|
-
{
|
|
46
|
-
id: '1376442369617358850',
|
|
47
|
-
createUser: '1367288180815400961',
|
|
48
|
-
createDept: '1295909543961944065',
|
|
49
|
-
createTime: '2021-03-29 15:53:29',
|
|
50
|
-
updateUser: '1367288180815400961',
|
|
51
|
-
updateTime: '2021-03-29 15:55:23',
|
|
52
|
-
status: 9,
|
|
53
|
-
isDeleted: null,
|
|
54
|
-
xid: null,
|
|
55
|
-
psNo: 'PF210300012',
|
|
56
|
-
companyName: '浙商中拓集团(重庆)有限公司',
|
|
57
|
-
companyId: '1295908627984670722',
|
|
58
|
-
depName: '工程三部',
|
|
59
|
-
depId: '1295909488001540097',
|
|
60
|
-
memberName: '首钢水城钢铁(集团)有限责任公司遵义销售分公司',
|
|
61
|
-
memberId: 100,
|
|
62
|
-
settlementDate: '2021-03-29',
|
|
63
|
-
postDate: '2021-03-29',
|
|
64
|
-
invoiceType: '10',
|
|
65
|
-
invoiceDate: '2021-03-29',
|
|
66
|
-
invoiceCode: '1235659877',
|
|
67
|
-
invoiceNo: '1615151616',
|
|
68
|
-
invoiceAmount: 210000,
|
|
69
|
-
invoiceTax: 24159.29,
|
|
70
|
-
currency: 'RMB',
|
|
71
|
-
rate: 1,
|
|
72
|
-
settlementUnitAmount: 210000,
|
|
73
|
-
settlementTax: 24159.29,
|
|
74
|
-
settlementAmount: 185840.71,
|
|
75
|
-
diffAmount: 0,
|
|
76
|
-
settlementQuantity: 70,
|
|
77
|
-
quantityUnit: '吨',
|
|
78
|
-
taxCode: 'IH',
|
|
79
|
-
taxRate: '0.13',
|
|
80
|
-
mark: null,
|
|
81
|
-
approveUser: null,
|
|
82
|
-
approveTime: null,
|
|
83
|
-
approveOpinion: null,
|
|
84
|
-
profitCenterName: null,
|
|
85
|
-
profitCenterId: null,
|
|
86
|
-
postingDate: null,
|
|
87
|
-
postingFlag: null,
|
|
88
|
-
postingVoucherNo: null,
|
|
89
|
-
hongchongDate: null,
|
|
90
|
-
hongchongFlag: '0',
|
|
91
|
-
hongchongVoucherNo: null,
|
|
92
|
-
hongchongInvoiceNo: null,
|
|
93
|
-
hongchongInvoiceCode: null,
|
|
94
|
-
hongchongInvoiceDate: null,
|
|
95
|
-
invoiceTypeName: '正数发票',
|
|
96
|
-
taxCodeName: '13%进项税(国内采购,国内销售)- 价内税',
|
|
97
|
-
taxRateName: '13.00%',
|
|
98
|
-
currencyName: '人民币',
|
|
99
|
-
statusName: '已作废',
|
|
100
|
-
createUserName: '吕常武',
|
|
101
|
-
updateUserName: '吕常武',
|
|
102
|
-
approveUserName: null,
|
|
103
|
-
postingFlagName: null,
|
|
104
|
-
hongchongFlagName: '未红冲',
|
|
105
|
-
},
|
|
106
|
-
{
|
|
107
|
-
id: '1374980963038527489',
|
|
108
|
-
createUser: '1123598821738675201',
|
|
109
|
-
createDept: '1295909488001540097',
|
|
110
|
-
createTime: '2021-03-25 15:06:22',
|
|
111
|
-
updateUser: '1123598821738675201',
|
|
112
|
-
updateTime: '2021-03-25 15:07:32',
|
|
113
|
-
status: 50,
|
|
114
|
-
isDeleted: null,
|
|
115
|
-
xid: null,
|
|
116
|
-
psNo: 'PF210300009',
|
|
117
|
-
companyName: '浙商中拓集团(重庆)有限公司',
|
|
118
|
-
companyId: '1295908627984670722',
|
|
119
|
-
depName: '工程三部',
|
|
120
|
-
depId: '1295909488001540097',
|
|
121
|
-
memberName: '首钢水城钢铁(集团)有限责任公司遵义销售分公司',
|
|
122
|
-
memberId: 100,
|
|
123
|
-
settlementDate: '2021-03-25',
|
|
124
|
-
postDate: '2021-03-25',
|
|
125
|
-
invoiceType: '10',
|
|
126
|
-
invoiceDate: '2021-03-25',
|
|
127
|
-
invoiceCode: '1',
|
|
128
|
-
invoiceNo: '1',
|
|
129
|
-
invoiceAmount: 50000,
|
|
130
|
-
invoiceTax: 1,
|
|
131
|
-
currency: 'RMB',
|
|
132
|
-
rate: 1,
|
|
133
|
-
settlementUnitAmount: 1750000,
|
|
134
|
-
settlementTax: 201327.43,
|
|
135
|
-
settlementAmount: 1548672.57,
|
|
136
|
-
diffAmount: -1700000,
|
|
137
|
-
settlementQuantity: 500,
|
|
138
|
-
quantityUnit: '吨',
|
|
139
|
-
taxCode: 'IH',
|
|
140
|
-
taxRate: '0.13',
|
|
141
|
-
mark: null,
|
|
142
|
-
approveUser: '1123598821738675201',
|
|
143
|
-
approveTime: '2021-03-25 15:07:32',
|
|
144
|
-
approveOpinion: '同意',
|
|
145
|
-
profitCenterName: null,
|
|
146
|
-
profitCenterId: null,
|
|
147
|
-
postingDate: null,
|
|
148
|
-
postingFlag: null,
|
|
149
|
-
postingVoucherNo: null,
|
|
150
|
-
hongchongDate: null,
|
|
151
|
-
hongchongFlag: '0',
|
|
152
|
-
hongchongVoucherNo: null,
|
|
153
|
-
hongchongInvoiceNo: null,
|
|
154
|
-
hongchongInvoiceCode: null,
|
|
155
|
-
hongchongInvoiceDate: null,
|
|
156
|
-
invoiceTypeName: '正数发票',
|
|
157
|
-
taxCodeName: '13%进项税(国内采购,国内销售)- 价内税',
|
|
158
|
-
taxRateName: '13.00%',
|
|
159
|
-
currencyName: '人民币',
|
|
160
|
-
statusName: '已生效',
|
|
161
|
-
createUserName: '管理员',
|
|
162
|
-
updateUserName: '管理员',
|
|
163
|
-
approveUserName: '管理员',
|
|
164
|
-
postingFlagName: null,
|
|
165
|
-
hongchongFlagName: '未红冲',
|
|
166
|
-
},
|
|
167
|
-
{
|
|
168
|
-
id: '1362307289265418242',
|
|
169
|
-
createUser: '1123598821738675201',
|
|
170
|
-
createDept: '1295909488001540097',
|
|
171
|
-
createTime: '2021-02-18 15:45:43',
|
|
172
|
-
updateUser: '1123598821738675201',
|
|
173
|
-
updateTime: '2021-02-18 15:45:57',
|
|
174
|
-
status: 15,
|
|
175
|
-
isDeleted: null,
|
|
176
|
-
xid: null,
|
|
177
|
-
psNo: 'PF210200004',
|
|
178
|
-
companyName: '浙商中拓集团(重庆)有限公司',
|
|
179
|
-
companyId: '1295908627984670722',
|
|
180
|
-
depName: '工程三部',
|
|
181
|
-
depId: '1295909488001540097',
|
|
182
|
-
memberName: '首钢水城钢铁(集团)有限责任公司遵义销售分公司',
|
|
183
|
-
memberId: 100,
|
|
184
|
-
settlementDate: '2021-02-18',
|
|
185
|
-
postDate: '2021-02-18',
|
|
186
|
-
invoiceType: '11',
|
|
187
|
-
invoiceDate: '2021-02-18',
|
|
188
|
-
invoiceCode: '111',
|
|
189
|
-
invoiceNo: '111',
|
|
190
|
-
invoiceAmount: 111,
|
|
191
|
-
invoiceTax: 111,
|
|
192
|
-
currency: 'RMB',
|
|
193
|
-
rate: 1,
|
|
194
|
-
settlementUnitAmount: 0,
|
|
195
|
-
settlementTax: 0,
|
|
196
|
-
settlementAmount: 0,
|
|
197
|
-
diffAmount: 111,
|
|
198
|
-
settlementQuantity: 0,
|
|
199
|
-
quantityUnit: '吨',
|
|
200
|
-
taxCode: 'IH',
|
|
201
|
-
taxRate: '0.13',
|
|
202
|
-
mark: null,
|
|
203
|
-
approveUser: '1123598821738675201',
|
|
204
|
-
approveTime: '2021-02-18 15:45:51',
|
|
205
|
-
approveOpinion: '',
|
|
206
|
-
profitCenterName: null,
|
|
207
|
-
profitCenterId: null,
|
|
208
|
-
postingDate: null,
|
|
209
|
-
postingFlag: null,
|
|
210
|
-
postingVoucherNo: null,
|
|
211
|
-
hongchongDate: null,
|
|
212
|
-
hongchongFlag: null,
|
|
213
|
-
hongchongVoucherNo: null,
|
|
214
|
-
hongchongInvoiceNo: null,
|
|
215
|
-
hongchongInvoiceCode: null,
|
|
216
|
-
hongchongInvoiceDate: null,
|
|
217
|
-
invoiceTypeName: '负数发票',
|
|
218
|
-
taxCodeName: '13%进项税(国内采购,国内销售)- 价内税',
|
|
219
|
-
taxRateName: '13.00%',
|
|
220
|
-
currencyName: '人民币',
|
|
221
|
-
statusName: '待审核',
|
|
222
|
-
createUserName: '管理员',
|
|
223
|
-
updateUserName: '管理员',
|
|
224
|
-
approveUserName: '管理员',
|
|
225
|
-
postingFlagName: null,
|
|
226
|
-
hongchongFlagName: '未红冲',
|
|
227
|
-
},
|
|
228
|
-
{
|
|
229
|
-
id: '1362292918212571138',
|
|
230
|
-
createUser: '1123598821738675201',
|
|
231
|
-
createDept: '1295909488001540097',
|
|
232
|
-
createTime: '2021-02-18 14:48:37',
|
|
233
|
-
updateUser: '1123598821738675201',
|
|
234
|
-
updateTime: '2021-02-18 15:42:30',
|
|
235
|
-
status: 9,
|
|
236
|
-
isDeleted: null,
|
|
237
|
-
xid: null,
|
|
238
|
-
psNo: 'PF210200003',
|
|
239
|
-
companyName: '浙商中拓集团(重庆)有限公司',
|
|
240
|
-
companyId: '1295908627984670722',
|
|
241
|
-
depName: '工程三部',
|
|
242
|
-
depId: '1295909488001540097',
|
|
243
|
-
memberName: '首钢水城钢铁(集团)有限责任公司遵义销售分公司',
|
|
244
|
-
memberId: 100,
|
|
245
|
-
settlementDate: '2021-02-18',
|
|
246
|
-
postDate: '2021-02-18',
|
|
247
|
-
invoiceType: '10',
|
|
248
|
-
invoiceDate: '2021-02-18',
|
|
249
|
-
invoiceCode: '3',
|
|
250
|
-
invoiceNo: '3',
|
|
251
|
-
invoiceAmount: 3,
|
|
252
|
-
invoiceTax: 3,
|
|
253
|
-
currency: 'RMB',
|
|
254
|
-
rate: 1,
|
|
255
|
-
settlementUnitAmount: 0,
|
|
256
|
-
settlementTax: 0,
|
|
257
|
-
settlementAmount: 0,
|
|
258
|
-
diffAmount: 3,
|
|
259
|
-
settlementQuantity: 0,
|
|
260
|
-
quantityUnit: '吨',
|
|
261
|
-
taxCode: 'IH',
|
|
262
|
-
taxRate: '0.13',
|
|
263
|
-
mark: null,
|
|
264
|
-
approveUser: '1123598821738675201',
|
|
265
|
-
approveTime: '2021-02-18 14:48:43',
|
|
266
|
-
approveOpinion: '',
|
|
267
|
-
profitCenterName: null,
|
|
268
|
-
profitCenterId: null,
|
|
269
|
-
postingDate: null,
|
|
270
|
-
postingFlag: null,
|
|
271
|
-
postingVoucherNo: null,
|
|
272
|
-
hongchongDate: null,
|
|
273
|
-
hongchongFlag: null,
|
|
274
|
-
hongchongVoucherNo: null,
|
|
275
|
-
hongchongInvoiceNo: null,
|
|
276
|
-
hongchongInvoiceCode: null,
|
|
277
|
-
hongchongInvoiceDate: null,
|
|
278
|
-
invoiceTypeName: '正数发票',
|
|
279
|
-
taxCodeName: '13%进项税(国内采购,国内销售)- 价内税',
|
|
280
|
-
taxRateName: '13.00%',
|
|
281
|
-
currencyName: '人民币',
|
|
282
|
-
statusName: '已作废',
|
|
283
|
-
createUserName: '管理员',
|
|
284
|
-
updateUserName: '管理员',
|
|
285
|
-
approveUserName: '管理员',
|
|
286
|
-
postingFlagName: null,
|
|
287
|
-
hongchongFlagName: '未红冲',
|
|
288
|
-
},
|
|
289
|
-
{
|
|
290
|
-
id: '1362284857775304706',
|
|
291
|
-
createUser: '1123598821738675201',
|
|
292
|
-
createDept: '1295909488001540097',
|
|
293
|
-
createTime: '2021-02-18 14:16:35',
|
|
294
|
-
updateUser: '1123598821738675201',
|
|
295
|
-
updateTime: '2021-02-18 15:34:07',
|
|
296
|
-
status: 50,
|
|
297
|
-
isDeleted: null,
|
|
298
|
-
xid: null,
|
|
299
|
-
psNo: 'PF210200002',
|
|
300
|
-
companyName: '浙商中拓集团(重庆)有限公司',
|
|
301
|
-
companyId: '1295908627984670722',
|
|
302
|
-
depName: '工程三部',
|
|
303
|
-
depId: '1295909488001540097',
|
|
304
|
-
memberName: '首钢水城钢铁(集团)有限责任公司遵义销售分公司',
|
|
305
|
-
memberId: 100,
|
|
306
|
-
settlementDate: '2021-02-18',
|
|
307
|
-
postDate: '2021-02-18',
|
|
308
|
-
invoiceType: '10',
|
|
309
|
-
invoiceDate: '2021-02-18',
|
|
310
|
-
invoiceCode: '2',
|
|
311
|
-
invoiceNo: '2',
|
|
312
|
-
invoiceAmount: 2,
|
|
313
|
-
invoiceTax: 2,
|
|
314
|
-
currency: 'RMB',
|
|
315
|
-
rate: 1,
|
|
316
|
-
settlementUnitAmount: 0,
|
|
317
|
-
settlementTax: 0,
|
|
318
|
-
settlementAmount: 0,
|
|
319
|
-
diffAmount: 2,
|
|
320
|
-
settlementQuantity: 0,
|
|
321
|
-
quantityUnit: '吨',
|
|
322
|
-
taxCode: 'IH',
|
|
323
|
-
taxRate: '0.13',
|
|
324
|
-
mark: null,
|
|
325
|
-
approveUser: '1123598821738675201',
|
|
326
|
-
approveTime: '2021-02-18 15:32:45',
|
|
327
|
-
approveOpinion: '',
|
|
328
|
-
profitCenterName: null,
|
|
329
|
-
profitCenterId: null,
|
|
330
|
-
postingDate: null,
|
|
331
|
-
postingFlag: null,
|
|
332
|
-
postingVoucherNo: null,
|
|
333
|
-
hongchongDate: '2021-02-18',
|
|
334
|
-
hongchongFlag: '1',
|
|
335
|
-
hongchongVoucherNo: null,
|
|
336
|
-
hongchongInvoiceNo: '1',
|
|
337
|
-
hongchongInvoiceCode: '1',
|
|
338
|
-
hongchongInvoiceDate: '2021-02-18',
|
|
339
|
-
invoiceTypeName: '正数发票',
|
|
340
|
-
taxCodeName: '13%进项税(国内采购,国内销售)- 价内税',
|
|
341
|
-
taxRateName: '13.00%',
|
|
342
|
-
currencyName: '人民币',
|
|
343
|
-
statusName: '已生效',
|
|
344
|
-
createUserName: '管理员',
|
|
345
|
-
updateUserName: '管理员',
|
|
346
|
-
approveUserName: '管理员',
|
|
347
|
-
postingFlagName: null,
|
|
348
|
-
hongchongFlagName: '已红冲',
|
|
349
|
-
},
|
|
350
|
-
{
|
|
351
|
-
id: '1362282579207073793',
|
|
352
|
-
createUser: '1123598821738675201',
|
|
353
|
-
createDept: '1295909488001540097',
|
|
354
|
-
createTime: '2021-02-18 14:07:32',
|
|
355
|
-
updateUser: '1123598821738675201',
|
|
356
|
-
updateTime: '2021-02-18 14:32:00',
|
|
357
|
-
status: 9,
|
|
358
|
-
isDeleted: null,
|
|
359
|
-
xid: null,
|
|
360
|
-
psNo: 'PF210200001',
|
|
361
|
-
companyName: '浙商中拓集团(重庆)有限公司',
|
|
362
|
-
companyId: '1295908627984670722',
|
|
363
|
-
depName: '工程三部',
|
|
364
|
-
depId: '1295909488001540097',
|
|
365
|
-
memberName: '首钢水城钢铁(集团)有限责任公司遵义销售分公司',
|
|
366
|
-
memberId: 100,
|
|
367
|
-
settlementDate: '2021-02-18',
|
|
368
|
-
postDate: '2021-02-18',
|
|
369
|
-
invoiceType: '10',
|
|
370
|
-
invoiceDate: '2021-02-18',
|
|
371
|
-
invoiceCode: '1',
|
|
372
|
-
invoiceNo: '1',
|
|
373
|
-
invoiceAmount: 1,
|
|
374
|
-
invoiceTax: 10,
|
|
375
|
-
currency: 'RMB',
|
|
376
|
-
rate: 1,
|
|
377
|
-
settlementUnitAmount: 0,
|
|
378
|
-
settlementTax: 0,
|
|
379
|
-
settlementAmount: 0,
|
|
380
|
-
diffAmount: 1,
|
|
381
|
-
settlementQuantity: 0,
|
|
382
|
-
quantityUnit: '吨',
|
|
383
|
-
taxCode: 'IH',
|
|
384
|
-
taxRate: '0.13',
|
|
385
|
-
mark: null,
|
|
386
|
-
approveUser: null,
|
|
387
|
-
approveTime: null,
|
|
388
|
-
approveOpinion: null,
|
|
389
|
-
profitCenterName: null,
|
|
390
|
-
profitCenterId: null,
|
|
391
|
-
postingDate: null,
|
|
392
|
-
postingFlag: null,
|
|
393
|
-
postingVoucherNo: null,
|
|
394
|
-
hongchongDate: null,
|
|
395
|
-
hongchongFlag: null,
|
|
396
|
-
hongchongVoucherNo: null,
|
|
397
|
-
hongchongInvoiceNo: null,
|
|
398
|
-
hongchongInvoiceCode: null,
|
|
399
|
-
hongchongInvoiceDate: null,
|
|
400
|
-
invoiceTypeName: '正数发票',
|
|
401
|
-
taxCodeName: '13%进项税(国内采购,国内销售)- 价内税',
|
|
402
|
-
taxRateName: '13.00%',
|
|
403
|
-
currencyName: '人民币',
|
|
404
|
-
statusName: '已作废',
|
|
405
|
-
createUserName: '管理员',
|
|
406
|
-
updateUserName: '管理员',
|
|
407
|
-
approveUserName: null,
|
|
408
|
-
postingFlagName: null,
|
|
409
|
-
hongchongFlagName: '未红冲',
|
|
410
|
-
},
|
|
411
|
-
{
|
|
412
|
-
id: '1347817812069437442',
|
|
413
|
-
createUser: '1123598821738675201',
|
|
414
|
-
createDept: '1295909488001540097',
|
|
415
|
-
createTime: '2021-01-09 16:09:42',
|
|
416
|
-
updateUser: '1123598821738675201',
|
|
417
|
-
updateTime: '2021-02-18 14:46:27',
|
|
418
|
-
status: 50,
|
|
419
|
-
isDeleted: null,
|
|
420
|
-
xid: null,
|
|
421
|
-
psNo: 'PF210100004',
|
|
422
|
-
companyName: '浙商中拓集团(重庆)有限公司',
|
|
423
|
-
companyId: '1295908627984670722',
|
|
424
|
-
depName: '工程三部',
|
|
425
|
-
depId: '1295909488001540097',
|
|
426
|
-
memberName: '首钢水城钢铁(集团)有限责任公司遵义销售分公司',
|
|
427
|
-
memberId: 100,
|
|
428
|
-
settlementDate: '2021-01-09',
|
|
429
|
-
postDate: '2021-01-09',
|
|
430
|
-
invoiceType: '10',
|
|
431
|
-
invoiceDate: '2021-01-09',
|
|
432
|
-
invoiceCode: '1',
|
|
433
|
-
invoiceNo: '111',
|
|
434
|
-
invoiceAmount: 100,
|
|
435
|
-
invoiceTax: 5,
|
|
436
|
-
currency: 'RMB',
|
|
437
|
-
rate: 1,
|
|
438
|
-
settlementUnitAmount: 0,
|
|
439
|
-
settlementTax: 0,
|
|
440
|
-
settlementAmount: 0,
|
|
441
|
-
diffAmount: 100,
|
|
442
|
-
settlementQuantity: 0,
|
|
443
|
-
quantityUnit: '吨',
|
|
444
|
-
taxCode: 'J6',
|
|
445
|
-
taxRate: '0.13',
|
|
446
|
-
mark: null,
|
|
447
|
-
approveUser: '1123598821738675201',
|
|
448
|
-
approveTime: '2021-02-18 14:46:27',
|
|
449
|
-
approveOpinion: '',
|
|
450
|
-
profitCenterName: null,
|
|
451
|
-
profitCenterId: null,
|
|
452
|
-
postingDate: null,
|
|
453
|
-
postingFlag: null,
|
|
454
|
-
postingVoucherNo: null,
|
|
455
|
-
hongchongDate: '2021-01-26',
|
|
456
|
-
hongchongFlag: '1',
|
|
457
|
-
hongchongVoucherNo: null,
|
|
458
|
-
hongchongInvoiceNo: '123123123',
|
|
459
|
-
hongchongInvoiceCode: '123123123',
|
|
460
|
-
hongchongInvoiceDate: '2021-01-26',
|
|
461
|
-
invoiceTypeName: '正数发票',
|
|
462
|
-
taxCodeName: '16%进项税(国内采购,出口销售)-不退税',
|
|
463
|
-
taxRateName: '13.00%',
|
|
464
|
-
currencyName: '人民币',
|
|
465
|
-
statusName: '已生效',
|
|
466
|
-
createUserName: '管理员',
|
|
467
|
-
updateUserName: '管理员',
|
|
468
|
-
approveUserName: '管理员',
|
|
469
|
-
postingFlagName: null,
|
|
470
|
-
hongchongFlagName: '已红冲',
|
|
471
|
-
},
|
|
472
|
-
{
|
|
473
|
-
id: '1347817541469720578',
|
|
474
|
-
createUser: '1123598821738675201',
|
|
475
|
-
createDept: '1295909488001540097',
|
|
476
|
-
createTime: '2021-01-09 16:08:38',
|
|
477
|
-
updateUser: '1123598821738675201',
|
|
478
|
-
updateTime: '2021-01-09 16:08:55',
|
|
479
|
-
status: 9,
|
|
480
|
-
isDeleted: null,
|
|
481
|
-
xid: null,
|
|
482
|
-
psNo: 'PF210100003',
|
|
483
|
-
companyName: '浙商中拓集团(重庆)有限公司',
|
|
484
|
-
companyId: '1295908627984670722',
|
|
485
|
-
depName: '工程三部',
|
|
486
|
-
depId: '1295909488001540097',
|
|
487
|
-
memberName: '首钢水城钢铁(集团)有限责任公司遵义销售分公司',
|
|
488
|
-
memberId: 100,
|
|
489
|
-
settlementDate: '2021-01-09',
|
|
490
|
-
postDate: '2021-01-09',
|
|
491
|
-
invoiceType: '10',
|
|
492
|
-
invoiceDate: '2021-01-09',
|
|
493
|
-
invoiceCode: '1',
|
|
494
|
-
invoiceNo: '11',
|
|
495
|
-
invoiceAmount: 100,
|
|
496
|
-
invoiceTax: 3,
|
|
497
|
-
currency: 'RMB',
|
|
498
|
-
rate: 6.5,
|
|
499
|
-
settlementUnitAmount: 0,
|
|
500
|
-
settlementTax: 0,
|
|
501
|
-
settlementAmount: 0,
|
|
502
|
-
diffAmount: 100,
|
|
503
|
-
settlementQuantity: 0,
|
|
504
|
-
quantityUnit: '吨',
|
|
505
|
-
taxCode: 'IH',
|
|
506
|
-
taxRate: '0.13',
|
|
507
|
-
mark: null,
|
|
508
|
-
approveUser: null,
|
|
509
|
-
approveTime: null,
|
|
510
|
-
approveOpinion: null,
|
|
511
|
-
profitCenterName: null,
|
|
512
|
-
profitCenterId: null,
|
|
513
|
-
postingDate: null,
|
|
514
|
-
postingFlag: null,
|
|
515
|
-
postingVoucherNo: null,
|
|
516
|
-
hongchongDate: null,
|
|
517
|
-
hongchongFlag: null,
|
|
518
|
-
hongchongVoucherNo: null,
|
|
519
|
-
hongchongInvoiceNo: null,
|
|
520
|
-
hongchongInvoiceCode: null,
|
|
521
|
-
hongchongInvoiceDate: null,
|
|
522
|
-
invoiceTypeName: '正数发票',
|
|
523
|
-
taxCodeName: '13%进项税(国内采购,国内销售)- 价内税',
|
|
524
|
-
taxRateName: '13.00%',
|
|
525
|
-
currencyName: '人民币',
|
|
526
|
-
statusName: '已作废',
|
|
527
|
-
createUserName: '管理员',
|
|
528
|
-
updateUserName: '管理员',
|
|
529
|
-
approveUserName: null,
|
|
530
|
-
postingFlagName: null,
|
|
531
|
-
hongchongFlagName: '未红冲',
|
|
532
|
-
},
|
|
533
|
-
{
|
|
534
|
-
id: '1347817104939143169',
|
|
535
|
-
createUser: '1123598821738675201',
|
|
536
|
-
createDept: '1295909488001540097',
|
|
537
|
-
createTime: '2021-01-09 16:06:54',
|
|
538
|
-
updateUser: '1123598821738675201',
|
|
539
|
-
updateTime: '2021-01-09 16:12:03',
|
|
540
|
-
status: 50,
|
|
541
|
-
isDeleted: null,
|
|
542
|
-
xid: null,
|
|
543
|
-
psNo: 'PF210100002',
|
|
544
|
-
companyName: '浙商中拓集团(重庆)有限公司',
|
|
545
|
-
companyId: '1295908627984670722',
|
|
546
|
-
depName: '工程三部',
|
|
547
|
-
depId: '1295909488001540097',
|
|
548
|
-
memberName: '首钢水城钢铁(集团)有限责任公司遵义销售分公司',
|
|
549
|
-
memberId: 100,
|
|
550
|
-
settlementDate: '2021-01-09',
|
|
551
|
-
postDate: '2021-01-09',
|
|
552
|
-
invoiceType: '10',
|
|
553
|
-
invoiceDate: '2021-01-09',
|
|
554
|
-
invoiceCode: '1',
|
|
555
|
-
invoiceNo: '111',
|
|
556
|
-
invoiceAmount: 100,
|
|
557
|
-
invoiceTax: 10,
|
|
558
|
-
currency: 'RMB',
|
|
559
|
-
rate: 6.3,
|
|
560
|
-
settlementUnitAmount: 0,
|
|
561
|
-
settlementTax: 0,
|
|
562
|
-
settlementAmount: 0,
|
|
563
|
-
diffAmount: 100,
|
|
564
|
-
settlementQuantity: 0,
|
|
565
|
-
quantityUnit: '吨',
|
|
566
|
-
taxCode: 'IH',
|
|
567
|
-
taxRate: '0.03',
|
|
568
|
-
mark: null,
|
|
569
|
-
approveUser: '1123598821738675201',
|
|
570
|
-
approveTime: '2021-01-09 16:12:03',
|
|
571
|
-
approveOpinion: '',
|
|
572
|
-
profitCenterName: null,
|
|
573
|
-
profitCenterId: null,
|
|
574
|
-
postingDate: null,
|
|
575
|
-
postingFlag: null,
|
|
576
|
-
postingVoucherNo: null,
|
|
577
|
-
hongchongDate: null,
|
|
578
|
-
hongchongFlag: null,
|
|
579
|
-
hongchongVoucherNo: null,
|
|
580
|
-
hongchongInvoiceNo: null,
|
|
581
|
-
hongchongInvoiceCode: null,
|
|
582
|
-
hongchongInvoiceDate: null,
|
|
583
|
-
invoiceTypeName: '正数发票',
|
|
584
|
-
taxCodeName: '13%进项税(国内采购,国内销售)- 价内税',
|
|
585
|
-
taxRateName: '3.00%',
|
|
586
|
-
currencyName: '人民币',
|
|
587
|
-
statusName: '已生效',
|
|
588
|
-
createUserName: '管理员',
|
|
589
|
-
updateUserName: '管理员',
|
|
590
|
-
approveUserName: '管理员',
|
|
591
|
-
postingFlagName: null,
|
|
592
|
-
hongchongFlagName: '未红冲',
|
|
593
|
-
},
|
|
594
|
-
];
|
|
595
|
-
// const newData: User[] = data.map((item, index) => ({ ...item, id: index }));
|
|
596
|
-
function toThousand(num) {
|
|
597
|
-
var str = (num + '').replace(/(\d{1,3})(?=(\d{3})+(?:$|\.))/g, '$1,');
|
|
598
|
-
return str;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export default function App() {
|
|
3
|
+
return React.createElement("div", null, "Hello World");
|
|
599
4
|
}
|
|
600
|
-
var summaryConfig = [
|
|
601
|
-
{
|
|
602
|
-
type: 'subtotal',
|
|
603
|
-
fields: [
|
|
604
|
-
{
|
|
605
|
-
key: 'invoiceAmount',
|
|
606
|
-
showKey: ['invoiceAmount', 'invoiceTax'],
|
|
607
|
-
toFixedNum: [2, 3],
|
|
608
|
-
lastFn: function (data) {
|
|
609
|
-
var _a;
|
|
610
|
-
if (Array.isArray(data)) {
|
|
611
|
-
return (_a = data === null || data === void 0 ? void 0 : data.join) === null || _a === void 0 ? void 0 : _a.call(data, '/');
|
|
612
|
-
}
|
|
613
|
-
return data;
|
|
614
|
-
},
|
|
615
|
-
},
|
|
616
|
-
{
|
|
617
|
-
key: 'invoiceTax',
|
|
618
|
-
toFixedNum: 2,
|
|
619
|
-
},
|
|
620
|
-
{
|
|
621
|
-
key: 'settlementQuantity',
|
|
622
|
-
toFixedNum: 3,
|
|
623
|
-
},
|
|
624
|
-
],
|
|
625
|
-
onClickHandle: function (data) {
|
|
626
|
-
console.log(data);
|
|
627
|
-
},
|
|
628
|
-
},
|
|
629
|
-
{
|
|
630
|
-
type: 'total',
|
|
631
|
-
fields: [
|
|
632
|
-
{
|
|
633
|
-
key: 'settlementQuantity',
|
|
634
|
-
toFixedNum: 3,
|
|
635
|
-
value: 0,
|
|
636
|
-
},
|
|
637
|
-
{
|
|
638
|
-
key: 'settlementUnitAmount',
|
|
639
|
-
toFixedNum: 2,
|
|
640
|
-
value: 1960000,
|
|
641
|
-
fn: toThousand,
|
|
642
|
-
},
|
|
643
|
-
{
|
|
644
|
-
key: 'invoiceAmount',
|
|
645
|
-
toFixedNum: [2, 3],
|
|
646
|
-
value: [260417, 260417],
|
|
647
|
-
fn: toThousand,
|
|
648
|
-
lastFn: function (data) {
|
|
649
|
-
var _a;
|
|
650
|
-
if (Array.isArray(data)) {
|
|
651
|
-
return (_a = data === null || data === void 0 ? void 0 : data.join) === null || _a === void 0 ? void 0 : _a.call(data, '/');
|
|
652
|
-
}
|
|
653
|
-
return data;
|
|
654
|
-
},
|
|
655
|
-
},
|
|
656
|
-
],
|
|
657
|
-
},
|
|
658
|
-
];
|
|
659
|
-
var originFileList = [];
|
|
660
|
-
var detailData = {
|
|
661
|
-
inspectionName: '测试巡检01',
|
|
662
|
-
inspectionCode: 'XJ2107010001',
|
|
663
|
-
inspectionTypeName: '风控巡检',
|
|
664
|
-
progress: '超期',
|
|
665
|
-
createDate: '2021-07-01',
|
|
666
|
-
createUserName: '宋宇环',
|
|
667
|
-
};
|
|
668
|
-
var inspectionData = [
|
|
669
|
-
{
|
|
670
|
-
inspectionName: '增洲库2021年4月巡检记录',
|
|
671
|
-
inspectionMan: '朱小兵',
|
|
672
|
-
inspectionTime: '2021-4-20 10:20',
|
|
673
|
-
rectifyMan: '李四',
|
|
674
|
-
statusName: '审核未通过',
|
|
675
|
-
inspectionRecords: [
|
|
676
|
-
{
|
|
677
|
-
operationMan: '张三',
|
|
678
|
-
operationName: '巡检记录提交',
|
|
679
|
-
operationTime: '2021-04-20 10:20',
|
|
680
|
-
operationDesc: '1、现场有一堆货物未挂起货权标识;2、仓库东北角新增了一台监控,但目前未接入杭州监控中心;3、缺少2020年3月份的盘库记录',
|
|
681
|
-
},
|
|
682
|
-
{
|
|
683
|
-
operationMan: '张三',
|
|
684
|
-
operationName: '整改提交',
|
|
685
|
-
operationTime: '2021-04-20 18:10',
|
|
686
|
-
operationDesc: '1、该货物已挂货权标识;2、已于杭州总部郑超联系,将该监控接入杭州监控中心,画面预览正常;3、2020年3月份属于疫情期间,期间未发生货物往来,且人员配置没有到位,拟计入本月一并盘点',
|
|
687
|
-
},
|
|
688
|
-
{
|
|
689
|
-
operationMan: '张三',
|
|
690
|
-
operationName: '审核不通过',
|
|
691
|
-
operationTime: '2021-04-20 20:03',
|
|
692
|
-
operationDesc: '请立即盘点,并出具问题整改说明',
|
|
693
|
-
},
|
|
694
|
-
{
|
|
695
|
-
operationMan: '张三',
|
|
696
|
-
operationName: '整改提交',
|
|
697
|
-
operationTime: '2021-04-21 09:40',
|
|
698
|
-
operationDesc: '已盘点库存,现场账物一致,盘点结果及整改说明请见附件',
|
|
699
|
-
},
|
|
700
|
-
],
|
|
701
|
-
},
|
|
702
|
-
{
|
|
703
|
-
inspectionName: '增洲库2020年11月巡检记录',
|
|
704
|
-
inspectionMan: '朱小兵',
|
|
705
|
-
inspectionTime: '2021-4-20 10:20',
|
|
706
|
-
rectifyMan: '李四',
|
|
707
|
-
statusName: '审核中',
|
|
708
|
-
inspectionRecords: [
|
|
709
|
-
{
|
|
710
|
-
operationMan: '张三',
|
|
711
|
-
operationName: '巡检记录提交',
|
|
712
|
-
operationTime: '2021-04-20 10:20',
|
|
713
|
-
operationDesc: '1、现场有一堆货物未挂起货权标识;2、仓库东北角新增了一台监控,但目前未接入杭州监控中心;3、缺少2020年3月份的盘库记录',
|
|
714
|
-
},
|
|
715
|
-
{
|
|
716
|
-
operationMan: '张三',
|
|
717
|
-
operationName: '整改提交',
|
|
718
|
-
operationTime: '2021-04-20 18:10',
|
|
719
|
-
operationDesc: '1、该货物已挂货权标识;2、已于杭州总部郑超联系,将该监控接入杭州监控中心,画面预览正常;3、2020年3月份属于疫情期间,期间未发生货物往来,且人员配置没有到位,拟计入本月一并盘点',
|
|
720
|
-
},
|
|
721
|
-
{
|
|
722
|
-
operationMan: '张三',
|
|
723
|
-
operationName: '审核不通过',
|
|
724
|
-
operationTime: '2021-04-20 20:03',
|
|
725
|
-
operationDesc: '请立即盘点,并出具问题整改说明',
|
|
726
|
-
},
|
|
727
|
-
{
|
|
728
|
-
operationMan: '张三',
|
|
729
|
-
operationName: '整改提交',
|
|
730
|
-
operationTime: '2021-04-21 09:40',
|
|
731
|
-
operationDesc: '已盘点库存,现场账物一致,盘点结果及整改说明请见附件',
|
|
732
|
-
},
|
|
733
|
-
],
|
|
734
|
-
},
|
|
735
|
-
];
|
|
736
|
-
var inspectionDetail = [
|
|
737
|
-
{ label: '巡检人', isManOrDate: true, content: '朱小兵、李总、王总' },
|
|
738
|
-
{ label: '巡检日期', isManOrDate: true, content: '2021-04-09 → 2021-04-11' },
|
|
739
|
-
{
|
|
740
|
-
label: '问题描述',
|
|
741
|
-
content: '1、该仓库监控未安装; 2、该仓库未贴注意标识 3、该仓库XXX',
|
|
742
|
-
},
|
|
743
|
-
{
|
|
744
|
-
label: '整改意见',
|
|
745
|
-
content: '问题描述问题描述问题描述问题描述问题描述问题描述问题描述问题描述问题描述问题描述问题描述问题描述问题描述问题描述问题描述问题描述问题描述问题描述问题描述问题描述问题描述问题描述问题描述问题描述问题描述问题描述问题描述问题描述问题描述问题描述问题描述问题描述问题描述问题描述问题描述问题描述问题描述问题描述问题描述问题描述问题描述问题描述问题描述问题描述问题描述问题描述问题描述问题描述问题描述问题描述问题描述问题描述问题描述问题描述问题描述问题描述问题描述问题描述问题描述问题描述问题描述问题描述问题描述问题描述问题描述问题描述问题描述问题描述问题描述问题描述问题描述问题描述问题描述问题描述问题描述问题描述问题描述问题描述问题描述问题描述问题描述问题描述问题描述问题描述问题描述问题描述问题描述问题描述问题描述问题描述问题描述问题描述问题描述问题描述问题描述问题描述问题描述问题描述问题描述问题描述问题描述问题描述问题描述问题描述问题描述问题描述问题描述问题描述问题描述问题描述问题描述问题描述问题描述问题描述问题描述问题描述问题描述问题描述问题描述问题描述问题描述问题描述问题描述问题描述问题描述',
|
|
746
|
-
},
|
|
747
|
-
{
|
|
748
|
-
label: '附件',
|
|
749
|
-
isAttach: true,
|
|
750
|
-
content: [
|
|
751
|
-
{ attachName: '迁安增洲-巡检照片1.jpg', attachLink: '123' },
|
|
752
|
-
{ attachName: '迁安增洲-巡检照片2.jpg', attachLink: '123' },
|
|
753
|
-
{ attachName: '迁安增洲-巡检照片3.jpg', attachLink: '123' },
|
|
754
|
-
{ attachName: '迁安增洲-巡检照片4.jpg', attachLink: '123' },
|
|
755
|
-
],
|
|
756
|
-
},
|
|
757
|
-
];
|
|
758
|
-
function App() {
|
|
759
|
-
var _a = useState(data), dataSource = _a[0], setDataSource = _a[1];
|
|
760
|
-
var _b = useState([]), keys = _b[0], setKeys = _b[1];
|
|
761
|
-
var _c = useState([]), setSearchLayout = _c[1];
|
|
762
|
-
var form = Form.useForm()[0];
|
|
763
|
-
var _d = useState(originFileList), fileList = _d[0], setFileList = _d[1];
|
|
764
|
-
var columns = useMemo(function () { return [
|
|
765
|
-
{
|
|
766
|
-
title: '序号',
|
|
767
|
-
width: 62,
|
|
768
|
-
fixed: 'left',
|
|
769
|
-
align: 'center',
|
|
770
|
-
render: function (text, record, index) { return "" + (index + 1); },
|
|
771
|
-
},
|
|
772
|
-
{
|
|
773
|
-
title: '采购货款结算单号',
|
|
774
|
-
width: 160,
|
|
775
|
-
dataIndex: 'psNo',
|
|
776
|
-
key: 'psNo',
|
|
777
|
-
ellipsis: true,
|
|
778
|
-
editable: true,
|
|
779
|
-
editableConfig: {
|
|
780
|
-
type: 'textArea',
|
|
781
|
-
maxLength: 2000,
|
|
782
|
-
autoSize: { maxRows: 3 },
|
|
783
|
-
},
|
|
784
|
-
},
|
|
785
|
-
{
|
|
786
|
-
title: '测试下拉框1',
|
|
787
|
-
dataIndex: 'select1',
|
|
788
|
-
key: 'select1',
|
|
789
|
-
width: 150,
|
|
790
|
-
render: function () {
|
|
791
|
-
return (React.createElement(Select, null,
|
|
792
|
-
React.createElement(Select.Option, { key: "1", value: "1" }, "\u4F60\u597D")));
|
|
793
|
-
},
|
|
794
|
-
},
|
|
795
|
-
{
|
|
796
|
-
title: '测试下拉框',
|
|
797
|
-
dataIndex: 'select',
|
|
798
|
-
key: 'select',
|
|
799
|
-
editable: true,
|
|
800
|
-
width: 150,
|
|
801
|
-
editableConfig: {
|
|
802
|
-
type: 'select',
|
|
803
|
-
},
|
|
804
|
-
},
|
|
805
|
-
{
|
|
806
|
-
title: '测试下拉框',
|
|
807
|
-
dataIndex: 'datate',
|
|
808
|
-
key: 'datate',
|
|
809
|
-
width: 150,
|
|
810
|
-
render: function () {
|
|
811
|
-
return React.createElement(DatePicker, null);
|
|
812
|
-
},
|
|
813
|
-
},
|
|
814
|
-
{
|
|
815
|
-
title: '测试下拉框',
|
|
816
|
-
dataIndex: 'datate1',
|
|
817
|
-
key: 'datate1',
|
|
818
|
-
width: 150,
|
|
819
|
-
render: function () {
|
|
820
|
-
return React.createElement(DatePicker.RangePicker, null);
|
|
821
|
-
},
|
|
822
|
-
},
|
|
823
|
-
{
|
|
824
|
-
title: '测试数字输入框',
|
|
825
|
-
dataIndex: 'inputNumber1',
|
|
826
|
-
key: 'inputNumber1',
|
|
827
|
-
editable: true,
|
|
828
|
-
width: 150,
|
|
829
|
-
editableConfig: {
|
|
830
|
-
type: 'inputNumber',
|
|
831
|
-
},
|
|
832
|
-
},
|
|
833
|
-
{
|
|
834
|
-
title: '测试数字金额输入框',
|
|
835
|
-
dataIndex: 'inputNumber2',
|
|
836
|
-
key: 'inputNumber2',
|
|
837
|
-
editable: true,
|
|
838
|
-
width: 150,
|
|
839
|
-
editableConfig: {
|
|
840
|
-
type: 'inputNumber',
|
|
841
|
-
maxHandle: function (record) { return record.invoiceAmount; },
|
|
842
|
-
minHandle: function (record) { return 0; },
|
|
843
|
-
formatterType: 'currency',
|
|
844
|
-
currencySymbol: '¥',
|
|
845
|
-
precision: 5,
|
|
846
|
-
},
|
|
847
|
-
},
|
|
848
|
-
{
|
|
849
|
-
title: '测试下拉框',
|
|
850
|
-
dataIndex: 'selector1',
|
|
851
|
-
key: 'selector1',
|
|
852
|
-
editable: true,
|
|
853
|
-
width: 150,
|
|
854
|
-
editableConfig: {
|
|
855
|
-
type: 'select',
|
|
856
|
-
data: [
|
|
857
|
-
{
|
|
858
|
-
dictKey: '1',
|
|
859
|
-
dictValue: '张三',
|
|
860
|
-
},
|
|
861
|
-
{
|
|
862
|
-
dictKey: '2',
|
|
863
|
-
dictValue: '李四',
|
|
864
|
-
},
|
|
865
|
-
],
|
|
866
|
-
},
|
|
867
|
-
},
|
|
868
|
-
{
|
|
869
|
-
title: '结算日期',
|
|
870
|
-
width: 120,
|
|
871
|
-
align: 'center',
|
|
872
|
-
dataIndex: 'settlementDate',
|
|
873
|
-
key: 'settlementDate',
|
|
874
|
-
ellipsis: true,
|
|
875
|
-
},
|
|
876
|
-
{
|
|
877
|
-
title: '过账日期',
|
|
878
|
-
width: 120,
|
|
879
|
-
align: 'center',
|
|
880
|
-
dataIndex: 'postDate',
|
|
881
|
-
key: 'postDate',
|
|
882
|
-
ellipsis: true,
|
|
883
|
-
},
|
|
884
|
-
{
|
|
885
|
-
title: '发票类型',
|
|
886
|
-
width: 100,
|
|
887
|
-
// align: 'center',
|
|
888
|
-
dataIndex: 'invoiceTypeName',
|
|
889
|
-
key: 'invoiceTypeName',
|
|
890
|
-
ellipsis: true,
|
|
891
|
-
},
|
|
892
|
-
{
|
|
893
|
-
title: '发票日期',
|
|
894
|
-
width: 120,
|
|
895
|
-
dataIndex: 'invoiceDate',
|
|
896
|
-
key: 'invoiceDate',
|
|
897
|
-
ellipsis: true,
|
|
898
|
-
},
|
|
899
|
-
{
|
|
900
|
-
title: '发票代码',
|
|
901
|
-
width: 120,
|
|
902
|
-
align: 'left',
|
|
903
|
-
dataIndex: 'invoiceCode',
|
|
904
|
-
key: 'invoiceCode',
|
|
905
|
-
ellipsis: true,
|
|
906
|
-
},
|
|
907
|
-
{
|
|
908
|
-
title: '发票号码',
|
|
909
|
-
width: 120,
|
|
910
|
-
align: 'left',
|
|
911
|
-
dataIndex: 'invoiceNo',
|
|
912
|
-
key: 'invoiceNo',
|
|
913
|
-
ellipsis: true,
|
|
914
|
-
},
|
|
915
|
-
{
|
|
916
|
-
title: '发票金额',
|
|
917
|
-
width: 120,
|
|
918
|
-
align: 'left',
|
|
919
|
-
dataIndex: 'invoiceAmount',
|
|
920
|
-
key: 'invoiceAmount',
|
|
921
|
-
ellipsis: true,
|
|
922
|
-
sorter: function (a, b) { return a.invoiceAmount - b.invoiceAmount; },
|
|
923
|
-
},
|
|
924
|
-
{
|
|
925
|
-
title: '发票税额',
|
|
926
|
-
width: 120,
|
|
927
|
-
align: 'left',
|
|
928
|
-
dataIndex: 'invoiceTax',
|
|
929
|
-
key: 'invoiceTax',
|
|
930
|
-
ellipsis: true,
|
|
931
|
-
},
|
|
932
|
-
{
|
|
933
|
-
title: '结算含税金额',
|
|
934
|
-
width: 120,
|
|
935
|
-
align: 'left',
|
|
936
|
-
dataIndex: 'settlementUnitAmount',
|
|
937
|
-
key: 'settlementUnitAmount',
|
|
938
|
-
ellipsis: true,
|
|
939
|
-
},
|
|
940
|
-
{
|
|
941
|
-
title: '结算不含税金额',
|
|
942
|
-
width: 120,
|
|
943
|
-
align: 'left',
|
|
944
|
-
dataIndex: 'settlementAmount',
|
|
945
|
-
key: 'settlementAmount',
|
|
946
|
-
ellipsis: true,
|
|
947
|
-
},
|
|
948
|
-
{
|
|
949
|
-
title: '结算税额',
|
|
950
|
-
width: 120,
|
|
951
|
-
align: 'left',
|
|
952
|
-
dataIndex: 'settlementTax',
|
|
953
|
-
key: 'settlementTax',
|
|
954
|
-
ellipsis: true,
|
|
955
|
-
},
|
|
956
|
-
{
|
|
957
|
-
title: '税率',
|
|
958
|
-
width: 100,
|
|
959
|
-
dataIndex: 'taxRateName',
|
|
960
|
-
key: 'taxRateName',
|
|
961
|
-
ellipsis: true,
|
|
962
|
-
},
|
|
963
|
-
{
|
|
964
|
-
title: '税码',
|
|
965
|
-
width: 220,
|
|
966
|
-
align: 'left',
|
|
967
|
-
dataIndex: 'taxCodeName',
|
|
968
|
-
key: 'taxCodeName',
|
|
969
|
-
ellipsis: true,
|
|
970
|
-
},
|
|
971
|
-
{
|
|
972
|
-
title: '结算数量',
|
|
973
|
-
width: 120,
|
|
974
|
-
align: 'left',
|
|
975
|
-
dataIndex: 'settlementQuantity',
|
|
976
|
-
key: 'settlementQuantity',
|
|
977
|
-
ellipsis: true,
|
|
978
|
-
},
|
|
979
|
-
{
|
|
980
|
-
title: '数量单位',
|
|
981
|
-
width: 100,
|
|
982
|
-
dataIndex: 'quantityUnit',
|
|
983
|
-
key: 'quantityUnit',
|
|
984
|
-
ellipsis: true,
|
|
985
|
-
},
|
|
986
|
-
{
|
|
987
|
-
title: '货币',
|
|
988
|
-
width: 100,
|
|
989
|
-
dataIndex: 'currencyName',
|
|
990
|
-
key: 'currencyName',
|
|
991
|
-
ellipsis: true,
|
|
992
|
-
},
|
|
993
|
-
{
|
|
994
|
-
title: '汇率',
|
|
995
|
-
width: 100,
|
|
996
|
-
dataIndex: 'rate',
|
|
997
|
-
key: 'rate',
|
|
998
|
-
ellipsis: true,
|
|
999
|
-
},
|
|
1000
|
-
{
|
|
1001
|
-
title: '公司名称',
|
|
1002
|
-
width: 220,
|
|
1003
|
-
align: 'left',
|
|
1004
|
-
dataIndex: 'companyName',
|
|
1005
|
-
key: 'companyName',
|
|
1006
|
-
ellipsis: true,
|
|
1007
|
-
},
|
|
1008
|
-
{
|
|
1009
|
-
title: '部门名称',
|
|
1010
|
-
width: 220,
|
|
1011
|
-
dataIndex: 'depName',
|
|
1012
|
-
key: 'depName',
|
|
1013
|
-
ellipsis: true,
|
|
1014
|
-
align: 'left',
|
|
1015
|
-
},
|
|
1016
|
-
{
|
|
1017
|
-
title: '供应商名称',
|
|
1018
|
-
width: 220,
|
|
1019
|
-
dataIndex: 'memberName',
|
|
1020
|
-
key: 'memberName',
|
|
1021
|
-
ellipsis: true,
|
|
1022
|
-
align: 'left',
|
|
1023
|
-
},
|
|
1024
|
-
{
|
|
1025
|
-
title: '备注',
|
|
1026
|
-
width: 220,
|
|
1027
|
-
dataIndex: 'mark',
|
|
1028
|
-
key: 'mark',
|
|
1029
|
-
ellipsis: true,
|
|
1030
|
-
align: 'left',
|
|
1031
|
-
},
|
|
1032
|
-
{
|
|
1033
|
-
title: '创建人',
|
|
1034
|
-
width: 120,
|
|
1035
|
-
dataIndex: 'createUserName',
|
|
1036
|
-
key: 'createUserName',
|
|
1037
|
-
ellipsis: true,
|
|
1038
|
-
align: 'left',
|
|
1039
|
-
},
|
|
1040
|
-
{
|
|
1041
|
-
title: '创建日期',
|
|
1042
|
-
width: 100,
|
|
1043
|
-
dataIndex: 'createTime',
|
|
1044
|
-
key: 'createTime',
|
|
1045
|
-
render: function (text) { return text; },
|
|
1046
|
-
},
|
|
1047
|
-
{
|
|
1048
|
-
title: '修改人',
|
|
1049
|
-
width: 120,
|
|
1050
|
-
dataIndex: 'updateUserName',
|
|
1051
|
-
key: 'updateUserName',
|
|
1052
|
-
ellipsis: true,
|
|
1053
|
-
align: 'left',
|
|
1054
|
-
},
|
|
1055
|
-
{
|
|
1056
|
-
title: '修改日期',
|
|
1057
|
-
width: 100,
|
|
1058
|
-
dataIndex: 'updateTime',
|
|
1059
|
-
key: 'updateTime',
|
|
1060
|
-
},
|
|
1061
|
-
{
|
|
1062
|
-
title: '审核人',
|
|
1063
|
-
width: 120,
|
|
1064
|
-
dataIndex: 'approveUserName',
|
|
1065
|
-
key: 'approveUserName',
|
|
1066
|
-
ellipsis: true,
|
|
1067
|
-
align: 'left',
|
|
1068
|
-
},
|
|
1069
|
-
{
|
|
1070
|
-
title: '审核日期',
|
|
1071
|
-
width: 100,
|
|
1072
|
-
dataIndex: 'approveTime',
|
|
1073
|
-
key: 'approveTime',
|
|
1074
|
-
},
|
|
1075
|
-
{
|
|
1076
|
-
title: '审核意见',
|
|
1077
|
-
width: 220,
|
|
1078
|
-
align: 'left',
|
|
1079
|
-
dataIndex: 'approveOpinion',
|
|
1080
|
-
key: 'approveOpinion',
|
|
1081
|
-
ellipsis: true,
|
|
1082
|
-
},
|
|
1083
|
-
{
|
|
1084
|
-
title: '单据状态',
|
|
1085
|
-
width: 100,
|
|
1086
|
-
dataIndex: 'statusName',
|
|
1087
|
-
key: 'statusName',
|
|
1088
|
-
fixed: 'right',
|
|
1089
|
-
align: 'left',
|
|
1090
|
-
},
|
|
1091
|
-
{
|
|
1092
|
-
title: '操作',
|
|
1093
|
-
width: 200,
|
|
1094
|
-
fixed: 'right',
|
|
1095
|
-
render: function (text, record, index) {
|
|
1096
|
-
return (React.createElement(React.Fragment, null,
|
|
1097
|
-
React.createElement(Button, { type: "link" }, "\u4FEE\u6539"),
|
|
1098
|
-
React.createElement(Button, { type: "link" }, "\u5220\u9664")));
|
|
1099
|
-
},
|
|
1100
|
-
},
|
|
1101
|
-
]; }, []);
|
|
1102
|
-
useEffect(function () {
|
|
1103
|
-
setKeys(['1376442369617358850']);
|
|
1104
|
-
}, []);
|
|
1105
|
-
useEffect(function () {
|
|
1106
|
-
setTimeout(function () {
|
|
1107
|
-
setFileList([
|
|
1108
|
-
{
|
|
1109
|
-
name: '奔奔.jpg',
|
|
1110
|
-
uid: '1418469936545132546',
|
|
1111
|
-
size: 36742,
|
|
1112
|
-
response: {
|
|
1113
|
-
code: 200,
|
|
1114
|
-
data: {
|
|
1115
|
-
attachId: '1418469936545132546',
|
|
1116
|
-
attachLink: 'http://192.168.0.83:9199/zmdms/upload/20210723/985557e75342c8f99ce532f232f3aa54.jpg',
|
|
1117
|
-
attachName: '奔奔.jpg',
|
|
1118
|
-
createDept: '1397081930328424449',
|
|
1119
|
-
createTime: '2021-07-23 15:16:12',
|
|
1120
|
-
createUser: '1407239998672388098',
|
|
1121
|
-
createUserName: '哈哈哈啊',
|
|
1122
|
-
fileSize: 36742,
|
|
1123
|
-
id: '1418469980262313986',
|
|
1124
|
-
isDeleted: 0,
|
|
1125
|
-
link: 'http://192.168.0.83:9199/zmdms/upload/20210723/985557e75342c8f99ce532f232f3aa54.jpg',
|
|
1126
|
-
name: 'http://192.168.0.83:9199/zmdms/upload/20210723/985557e75342c8f99ce532f232f3aa54.jpg',
|
|
1127
|
-
originalName: '奔奔.jpg',
|
|
1128
|
-
projectId: '1418469948842782722',
|
|
1129
|
-
status: 1,
|
|
1130
|
-
updateTime: '2021-07-23 15:16:12',
|
|
1131
|
-
},
|
|
1132
|
-
},
|
|
1133
|
-
percent: 100,
|
|
1134
|
-
status: 'done',
|
|
1135
|
-
},
|
|
1136
|
-
]);
|
|
1137
|
-
setSearchLayout([
|
|
1138
|
-
{ name: 'type4', show: true },
|
|
1139
|
-
{ name: 'pwNo', label: '入库单号', show: true, disabled: true },
|
|
1140
|
-
{ name: 'status', label: '单据状态', show: true },
|
|
1141
|
-
{ name: 'intime', label: '入库日期', show: true },
|
|
1142
|
-
{ name: 'warehouseId', label: '仓库名称', show: true },
|
|
1143
|
-
{ name: 'companyId', label: '公司名称', show: true },
|
|
1144
|
-
{ name: 'depId', label: '部门名称', show: true },
|
|
1145
|
-
{ name: 'test1', label: '部门名称', show: true },
|
|
1146
|
-
{ name: 'test2', label: '部门名称', show: true },
|
|
1147
|
-
{ name: 'type1', show: true },
|
|
1148
|
-
{ name: 'type2', show: true },
|
|
1149
|
-
{ name: 'type3', show: true },
|
|
1150
|
-
]);
|
|
1151
|
-
}, 3000);
|
|
1152
|
-
}, []);
|
|
1153
|
-
// const onMoveRowHandle = useCallback((newDataSource) => {
|
|
1154
|
-
// console.log(newDataSource);
|
|
1155
|
-
// setDataSource(newDataSource);
|
|
1156
|
-
// }, []);
|
|
1157
|
-
// const onAddAndDelHandle = useCallback((type, index) => {
|
|
1158
|
-
// console.log(type, index);
|
|
1159
|
-
// }, []);
|
|
1160
|
-
var onEditableSaveHandle = useCallback(function (record, index, dataIndex) {
|
|
1161
|
-
console.log(record, dataIndex, index);
|
|
1162
|
-
if (typeof index === 'number') {
|
|
1163
|
-
var copyRecords = __spreadArray([], dataSource);
|
|
1164
|
-
var item = copyRecords[index];
|
|
1165
|
-
copyRecords.splice(index, 1, __assign(__assign({}, item), record));
|
|
1166
|
-
console.log(copyRecords);
|
|
1167
|
-
setDataSource(copyRecords);
|
|
1168
|
-
}
|
|
1169
|
-
}, [dataSource]);
|
|
1170
|
-
var rowSelection = useMemo(function () { return ({
|
|
1171
|
-
type: 'checkbox',
|
|
1172
|
-
selectedRowKeys: keys,
|
|
1173
|
-
onChange: function (selectedRowKeys, selectedRows) {
|
|
1174
|
-
console.log(selectedRowKeys, selectedRows);
|
|
1175
|
-
setKeys(selectedRowKeys);
|
|
1176
|
-
},
|
|
1177
|
-
getCheckboxProps: function (record) {
|
|
1178
|
-
return {};
|
|
1179
|
-
},
|
|
1180
|
-
}); }, [keys]);
|
|
1181
|
-
var onSearchLayoutChange = useCallback(function (searchLayout) {
|
|
1182
|
-
setSearchLayout(searchLayout);
|
|
1183
|
-
}, []);
|
|
1184
|
-
var uploadCallbackFn = useCallback(function (filelist) {
|
|
1185
|
-
console.log(filelist);
|
|
1186
|
-
if (filelist.every(function (item) { return item.status === 'done' || item.status === 'error'; })) {
|
|
1187
|
-
// 获取上传成功的
|
|
1188
|
-
var successFileList = filelist.filter(function (item) { return item.status === 'done'; });
|
|
1189
|
-
console.log(successFileList);
|
|
1190
|
-
setFileList(filelist);
|
|
1191
|
-
}
|
|
1192
|
-
}, []);
|
|
1193
|
-
return (React.createElement("div", { className: "App", style: { padding: '10px' } },
|
|
1194
|
-
React.createElement("div", { style: { padding: '10px', width: '60%' } },
|
|
1195
|
-
React.createElement(GridList, null,
|
|
1196
|
-
React.createElement(GridList.Item, { span: 8, title: "\u59D3\u540D\u59D3\u540D\u59D3\u540D\u59D3\u540D\u59D3\u540D\u59D3\u540D\u59D3\u540D" }, "\u59D3\u540D"),
|
|
1197
|
-
React.createElement(GridList.Item, { span: 8, title: "\u59D3\u540D" }, "\u59D3\u540D"),
|
|
1198
|
-
React.createElement(GridList.Item, { span: 8, title: "\u59D3\u540D" }, "\u59D3\u540D")),
|
|
1199
|
-
React.createElement(GridList, null,
|
|
1200
|
-
React.createElement(GridList.Item, { span: 12, titleSpan: 8, title: "\u59D3\u540D\u59D3\u540D\u59D3\u540D\u59D3\u540D\u59D3\u540D\u59D3\u540D\u59D3\u540D" }, "\u59D3\u540D"),
|
|
1201
|
-
React.createElement(GridList.Item, { span: 12, titleSpan: 8, title: "\u59D3\u540D" }, "\u59D3\u540D")),
|
|
1202
|
-
React.createElement(GridList, null,
|
|
1203
|
-
React.createElement(GridList.Item, { span: 24, title: "\u59D3\u540D", titleSpan: 8 }, "\u59D3\u540D\u59D3\u540D\u59D3\u540D\u59D3\u540D\u59D3\u540D\u59D3\u540D\u59D3\u540D\u59D3\u540D\u59D3\u540D\u59D3\u540D\u59D3\u540D\u59D3\u540D\u59D3\u540D\u59D3\u540D\u59D3\u540D\u59D3\u540D\u59D3\u540D\u59D3\u540D\u59D3\u540D\u59D3\u540D\u59D3\u540D\u59D3\u540D\u59D3\u540D\u59D3\u540D\u59D3\u540D\u59D3\u540D\u59D3\u540D\u59D3\u540D\u59D3\u540D\u59D3\u540D\u59D3\u540D\u59D3\u540D\u59D3\u540D\u59D3\u540D\u59D3\u540D\u59D3\u540D\u59D3\u540D\u59D3\u540D\u59D3\u540D\u59D3\u540D\u59D3\u540D\u59D3\u540D\u59D3\u540D\u59D3\u540D\u59D3\u540D\u59D3\u540D\u59D3\u540D\u59D3\u540D\u59D3\u540D\u59D3\u540D\u59D3\u540D\u59D3\u540D")),
|
|
1204
|
-
React.createElement(GridList, null,
|
|
1205
|
-
React.createElement(GridList.Item, { span: 24, title: "\u59D3\u540D", titleSpan: 12 }, "\u59D3\u540D\u59D3\u540D\u59D3\u540D\u59D3\u540D\u59D3\u540D\u59D3\u540D\u59D3\u540D\u59D3\u540D\u59D3\u540D\u59D3\u540D\u59D3\u540D\u59D3\u540D\u59D3\u540D\u59D3\u540D\u59D3\u540D\u59D3\u540D\u59D3\u540D\u59D3\u540D\u59D3\u540D\u59D3\u540D\u59D3\u540D\u59D3\u540D\u59D3\u540D\u59D3\u540D\u59D3\u540D\u59D3\u540D\u59D3\u540D\u59D3\u540D\u59D3\u540D\u59D3\u540D\u59D3\u540D\u59D3\u540D\u59D3\u540D\u59D3\u540D\u59D3\u540D\u59D3\u540D\u59D3\u540D\u59D3\u540D\u59D3\u540D\u59D3\u540D\u59D3\u540D\u59D3\u540D\u59D3\u540D\u59D3\u540D\u59D3\u540D\u59D3\u540D\u59D3\u540D\u59D3\u540D\u59D3\u540D\u59D3\u540D\u59D3\u540D\u59D3"))),
|
|
1206
|
-
React.createElement(DetailList, { records: inspectionDetail, labelWidth: 10, labelAlign: "left", apiBaseUrl: "http://192.168.0.83:8888", fileBaseUrl: "http://192.168.0.83:88",
|
|
1207
|
-
// downloadBtnDisable={true}
|
|
1208
|
-
hasManOrDate: true, hasSignArea: true, isDark: true }),
|
|
1209
|
-
React.createElement(DetailList, { records: inspectionDetail, labelWidth: 10, labelAlign: "center", apiBaseUrl: "http://192.168.0.83:8888", fileBaseUrl: "http://192.168.0.83:88", previewBtnDisable: true, hasManOrDate: true, hasSignArea: true }),
|
|
1210
|
-
React.createElement(DetailList, { records: inspectionDetail, labelWidth: 10, labelAlign: "right", apiBaseUrl: "http://192.168.0.83:8888", fileBaseUrl: "http://192.168.0.83:88", previewBtnDisable: true, hasManOrDate: true, hasSignArea: true }),
|
|
1211
|
-
React.createElement(DetailList, { apiBaseUrl: "http://192.168.0.83:8888", fileBaseUrl: "http://192.168.0.83:88", hasSignArea: true, isDark: true, labelWidth: 10 }),
|
|
1212
|
-
inspectionData.map(function (item) {
|
|
1213
|
-
var inspectionDesc = [
|
|
1214
|
-
{ title: '巡检人', content: item.inspectionMan },
|
|
1215
|
-
{ title: '上传时间', content: item.inspectionTime },
|
|
1216
|
-
{ title: '整改人', content: item.rectifyMan },
|
|
1217
|
-
{ title: '状态', content: item.statusName },
|
|
1218
|
-
];
|
|
1219
|
-
var records = [];
|
|
1220
|
-
if (item.inspectionRecords.length > 0) {
|
|
1221
|
-
records = item.inspectionRecords.map(function (item) {
|
|
1222
|
-
var itemObj = {
|
|
1223
|
-
man: item.operationMan,
|
|
1224
|
-
operation: item.operationName,
|
|
1225
|
-
time: item.operationTime,
|
|
1226
|
-
desc: item.operationDesc,
|
|
1227
|
-
};
|
|
1228
|
-
return itemObj;
|
|
1229
|
-
});
|
|
1230
|
-
}
|
|
1231
|
-
return (React.createElement(DetailCard, { title: item.inspectionName, desc: inspectionDesc, records: records }));
|
|
1232
|
-
}),
|
|
1233
|
-
React.createElement(Upload, { method: "post", headers: {
|
|
1234
|
-
'Zmdms-Auth': 'bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ0ZW5hbnRfaWQiOiIwMDAwMDAiLCJtZW1iZXJfdHlwZSI6MSwiaGFuZGxlX2hyX3Bob25lIjpudWxsLCJpbmR1Y3Rpb25fc291cmNlX3R5cGUiOm51bGwsInJlc3VtZV9kYXRlIjpudWxsLCJ1c2VyX25hbWUiOiJZRzIxMDE0IiwiaW10X2lkIjpudWxsLCJyZWFsX25hbWUiOiLpmYjkuprpm4QiLCJjbGllbnRfdHlwZSI6IndlYiIsImRhdGFfcm9sZV9pZCI6IjEzNDM0OTA2ODYyNjAyMjgwOTcsMTM0NTk3ODUwNTMwMjA1Njk2MiIsImNsaWVudF9pZCI6InN3b3JkIiwiZW1wbG95bWVudF9mb3JtX3R5cGUiOm51bGwsInVzZXJfdHlwZSI6IndlYiIsInJvbGVfaWQiOiIxMTIzNTk4ODE2NzM4Njc1MjAxLDEzNDM0OTA0MjUwMDEyMjYyNDIiLCJwb3N0X25hbWUiOm51bGwsInNjb3BlIjpbImFsbCJdLCJpbnRlcnZpZXdfaWQiOm51bGwsImV4cCI6MTYzMjQ2NzEyNSwianRpIjoiZmNiZTYwYWEtOTJjOC00ODhjLTgxYTUtOTQ2ZDJiYzJiNDM4IiwibWVtYmVyX2lkIjoxMzQ1OTkyODc4MTYyNjQ5MDkwLCJjb21wYW55X2lkIjoxMjk1OTA4NjI3OTg0NjcwNzIyLCJzeXN0ZW1faWQiOiIyIiwiZGVwdF9uYW1lIjoi5rWL6K-V6YOo6ZeoMjIxMjEyMTIiLCJhdmF0YXIiOiIiLCJkYXRhX3JvbGVfbmFtZSI6Im51bGwsbnVsbCIsImF1dGhvcml0aWVzIjpbIuWGheWLpCIsImFkbWluaXN0cmF0b3IiXSwicm9sZV9uYW1lIjoiYWRtaW5pc3RyYXRvcizlhoXli6QiLCJsaWNlbnNlIjoicG93ZXJlZCBieSB6bWRtcyIsInBvc3RfaWQiOiIiLCJ1c2VyX2lkIjoiMTM0NTk5OTc3MDM4NTU4MDAzNCIsIm5pY2tfbmFtZSI6IumZiOS6mumbhCIsImNvbXBhbnlfbmFtZSI6Iua1meWVhuS4reaLk-mbhuWbou-8iOmHjeW6hu-8ieaciemZkOWFrOWPuGxjeSIsImRlcHRfaWQiOiIxMjk1OTA5NDg4MDAxNTQwMDk3IiwiaGFuZGxlX2hyX25hbWUiOm51bGwsImFjY291bnQiOiJZRzIxMDE0IiwicmVzdW1lX2lkIjpudWxsfQ.uWW6lWQyAPWeQmTNw9w4PMYPNWHPGvhCxquaA958J5o',
|
|
1235
|
-
}, showUploadList: {
|
|
1236
|
-
showDownloadIcon: true,
|
|
1237
|
-
showRemoveIcon: true,
|
|
1238
|
-
}, apiBaseUrl: "http://192.168.0.83:8888", fileBaseUrl: "http://192.168.0.83:88", showTable: false, showTip: false, originFileList: fileList, maxCount: 2, callback: uploadCallbackFn, onDeleteCallback: function (index, file) {
|
|
1239
|
-
console.log(index, file);
|
|
1240
|
-
} }),
|
|
1241
|
-
React.createElement(Upload, { method: "post", headers: {
|
|
1242
|
-
'Zmdms-Auth': 'bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ0ZW5hbnRfaWQiOiIwMDAwMDAiLCJtZW1iZXJfdHlwZSI6MSwidXNlcl9uYW1lIjoiY2hlbnl4IiwicmVhbF9uYW1lIjoi6ZmI5Lqa6ZuEMSIsImNsaWVudF90eXBlIjoid2ViIiwiZGF0YV9yb2xlX2lkIjoiMTQxMjYxNDExMDY0NzM4NjExNCIsImNsaWVudF9pZCI6InN3b3JkIiwidXNlcl90eXBlIjoid2ViIiwicm9sZV9pZCI6IjE0MTI2MTAwNzg0NzQyMDcyMzMiLCJzY29wZSI6WyJhbGwiXSwiZXhwIjoxNjMxMTcxMzQyLCJqdGkiOiIwNDRiZDFlNC0yZTYwLTQ3YTAtYjlmMy00MjhjOWIxMjlhNTMiLCJtZW1iZXJfaWQiOjE0MTI5NTMyMDUyNjk1MTYyOTAsImNvbXBhbnlfaWQiOjEzOTcwNzQ2MDU0MTI2OTYwNjYsImRlcHRfbmFtZSI6IuS4muWKoeS4gOmDqCIsImF2YXRhciI6IiIsImRhdGFfcm9sZV9uYW1lIjoidXNlciIsImF1dGhvcml0aWVzIjpbInVzZXIiXSwicm9sZV9uYW1lIjoidXNlciIsImxpY2Vuc2UiOiJwb3dlcmVkIGJ5IHptZG1zIiwicG9zdF9pZCI6IiIsInVzZXJfaWQiOiIxNDEyOTUzODA0MzMzNTU1NzE0Iiwibmlja19uYW1lIjoi6ZmI5Lqa6ZuEIiwiY29tcGFueV9uYW1lIjoi5rWZ5ZWG5Lit5ouT6ZuG5Zui54mp5rWB56eR5oqA5pyJ6ZmQ5YWs5Y-4IiwiZGVwdF9pZCI6IjEzOTcwODE5MzAzMjg0MjQ0NDkiLCJhY2NvdW50IjoiY2hlbnl4In0.J0qIs6J1siCnzbrpisxli0DlP3M1-j_Df0z_a1RCgYM',
|
|
1243
|
-
}, data: {
|
|
1244
|
-
system: '2',
|
|
1245
|
-
}, apiBaseUrl: "http://192.168.0.83:8888", fileBaseUrl: "http://192.168.0.83:88", originFileList: fileList, callback: uploadCallbackFn, onDeleteCallback: function (index, file) {
|
|
1246
|
-
console.log(index, file);
|
|
1247
|
-
} }),
|
|
1248
|
-
React.createElement("div", { style: {
|
|
1249
|
-
background: '#e9ecf3',
|
|
1250
|
-
padding: '10px',
|
|
1251
|
-
} },
|
|
1252
|
-
React.createElement("div", { style: {
|
|
1253
|
-
background: '#ffffff',
|
|
1254
|
-
height: '110vh',
|
|
1255
|
-
padding: '10px',
|
|
1256
|
-
} },
|
|
1257
|
-
React.createElement(Container, null,
|
|
1258
|
-
React.createElement(DetailHeader, { headerName: detailData === null || detailData === void 0 ? void 0 : detailData.inspectionName, code: detailData === null || detailData === void 0 ? void 0 : detailData.inspectionCode, type: detailData === null || detailData === void 0 ? void 0 : detailData.inspectionTypeName, progress: detailData === null || detailData === void 0 ? void 0 : detailData.progress, createDate: detailData === null || detailData === void 0 ? void 0 : detailData.createDate, createrName: detailData === null || detailData === void 0 ? void 0 : detailData.createUserName }),
|
|
1259
|
-
React.createElement(TransList, { gutter: 16 },
|
|
1260
|
-
React.createElement(FormItem, { span: 6, title: "\u9879\u76EE\u7C7B\u578B" }, "\u7269\u6D41\u91D1\u878D"),
|
|
1261
|
-
React.createElement(FormItem, { span: 6, title: "\u6240\u5C5E\u90E8\u95E8" }, "\u4E1A\u52A1\u4E8C\u90E8"),
|
|
1262
|
-
React.createElement(FormItem, { span: 6, title: "\u9879\u76EE\u8D1F\u8D23\u4EBA" }, "\u8C0C\u59DA\u7426"),
|
|
1263
|
-
React.createElement(FormItem, { span: 6, title: "\u4E1A\u52A1\u8D1F\u8D23\u4EBA" }, "\u674E\u5BCC\u4E30 \u674E\u5BCC\u4E30 \u674E\u5BCC\u4E30 \u674E\u5BCC\u4E30")),
|
|
1264
|
-
React.createElement(TransList, { gutter: 16 },
|
|
1265
|
-
React.createElement(FormItem, { span: 6, title: "\u9879\u76EE\u7C7B\u578B" }, "\u7269\u6D41\u91D1\u878D"),
|
|
1266
|
-
React.createElement(FormItem, { span: 6, title: "\u6240\u5C5E\u90E8\u95E8" }, "\u4E1A\u52A1\u4E8C\u90E8"),
|
|
1267
|
-
React.createElement(FormItem, { span: 6, title: "\u9879\u76EE\u8D1F\u8D23\u4EBA" }, "\u8C0C\u59DA\u7426"),
|
|
1268
|
-
React.createElement(FormItem, { span: 6, title: "\u4E1A\u52A1\u8D1F\u8D23\u4EBA" }, "\u674E\u5BCC\u4E30")),
|
|
1269
|
-
React.createElement(TransList, { gutter: 16 },
|
|
1270
|
-
React.createElement(FormItem, { span: 6, title: "\u9879\u76EE\u7C7B\u578B" }, "\u7269\u6D41\u91D1\u878D"),
|
|
1271
|
-
React.createElement(FormItem, { span: 6, title: "\u6240\u5C5E\u90E8\u95E8" }, "\u4E1A\u52A1\u4E8C\u90E8"),
|
|
1272
|
-
React.createElement(FormItem, { span: 6, title: "\u9879\u76EE\u8D1F\u8D23\u4EBA" }, "\u8C0C\u59DA\u7426"),
|
|
1273
|
-
React.createElement(FormItem, { span: 6, title: "\u4E1A\u52A1\u8D1F\u8D23\u4EBA" }, "\u674E\u5BCC\u4E30")),
|
|
1274
|
-
React.createElement(Form, { name: "test-list", form: form },
|
|
1275
|
-
React.createElement(SearchContainer, { dark: true },
|
|
1276
|
-
React.createElement(SearchLeft, { isDynamic: true,
|
|
1277
|
-
// searchLayout={searchLayout}
|
|
1278
|
-
onChange: onSearchLayoutChange },
|
|
1279
|
-
React.createElement(SearchItem, { width: "half", name: "pwNo", label: "\u5165\u5E93\u5355\u53F7", disabled: true },
|
|
1280
|
-
React.createElement(Input.TextArea, { autoSize: true, allowClear: true, disabled: true })),
|
|
1281
|
-
React.createElement(SearchItem, { width: "half", name: "pwNo1", label: "\u5165\u5E93\u5355\u53F71" },
|
|
1282
|
-
React.createElement(Input, null)),
|
|
1283
|
-
React.createElement(SearchItem, { width: "half", name: "status", label: "\u5355\u636E\u72B6\u6001" },
|
|
1284
|
-
React.createElement(Select, null)),
|
|
1285
|
-
React.createElement(SearchItem, { name: "intime", label: "\u5165\u5E93\u65E5\u671F" },
|
|
1286
|
-
React.createElement(RangePicker, null)),
|
|
1287
|
-
React.createElement(SearchItem, { name: "warehouseId", label: "\u4ED3\u5E93\u540D\u79F0" },
|
|
1288
|
-
React.createElement(Select, null)),
|
|
1289
|
-
React.createElement(SearchItem, { name: "companyId", label: "\u516C\u53F8\u540D\u79F0" },
|
|
1290
|
-
React.createElement(Select, null)),
|
|
1291
|
-
React.createElement(SearchItem, { name: "companyId1", label: "\u516C\u53F8\u540D\u79F01" },
|
|
1292
|
-
React.createElement(Input.TextArea, { autoSize: true })),
|
|
1293
|
-
React.createElement(SearchItem, { name: "depId", label: "\u90E8\u95E8\u540D\u79F0", rules: [{ required: true, message: '请选择仓库名称' }] },
|
|
1294
|
-
React.createElement(Select, null)),
|
|
1295
|
-
React.createElement(SearchItem, { name: "test1", label: "\u90E8\u95E8\u540D\u79F0" },
|
|
1296
|
-
React.createElement(Checkbox.Group, null,
|
|
1297
|
-
React.createElement(Checkbox, { value: "1" }, "\u662F"),
|
|
1298
|
-
React.createElement(Checkbox, { value: "2" }, "\u5426"))),
|
|
1299
|
-
React.createElement(SearchItem, { name: "sss", label: "", noLabelShowBg: true },
|
|
1300
|
-
React.createElement(Checkbox, { value: "1" }, "\u662F")),
|
|
1301
|
-
React.createElement(SearchItem, { name: "sss1", label: "", hiddenLabelName: "\u52A8\u6001\u8868\u5355\u914D\u7F6E", noLabelShowBg: true },
|
|
1302
|
-
React.createElement(Checkbox, { value: "1" }, "\u662F")),
|
|
1303
|
-
React.createElement(SearchItem, { name: "sss2", label: "", hiddenLabelName: "\u52A8\u6001\u8868\u5355\u914D\u7F6E", noLabelShowBg: true },
|
|
1304
|
-
React.createElement(Checkbox, { value: "1" }, "\u662F")),
|
|
1305
|
-
React.createElement(SearchItem, { name: "sss2", label: "", hiddenLabelName: "\u52A8\u6001\u8868\u5355\u914D\u7F6E", noLabelShowBg: true },
|
|
1306
|
-
React.createElement(Radio, { value: "1" }, "\u662F")),
|
|
1307
|
-
React.createElement(SearchItem, { name: "test2", label: "\u90E8\u95E8\u540D\u79F0", rules: [{ required: true, message: '请选择仓库名称' }] },
|
|
1308
|
-
React.createElement(Radio.Group, null,
|
|
1309
|
-
React.createElement(Radio, { value: "1" }, "\u662F"),
|
|
1310
|
-
React.createElement(Radio, { value: "2" }, "\u5426"))),
|
|
1311
|
-
React.createElement(SearchItem, { name: "test3", label: "\u90E8\u95E8\u540D\u79F0", rules: [{ required: true, message: '请选择仓库名称' }] },
|
|
1312
|
-
React.createElement(InputNumber, null)),
|
|
1313
|
-
React.createElement(SearchItem, { name: "test4", label: "\u90E8\u95E8\u540D\u79F0", rules: [{ required: true, message: '请选择仓库名称' }] },
|
|
1314
|
-
React.createElement(Input.TextArea, { autoSize: true })),
|
|
1315
|
-
React.createElement(SearchItem, { name: "type1", width: "half", noLabel: true },
|
|
1316
|
-
React.createElement(Select, null)),
|
|
1317
|
-
React.createElement(SearchItem, { name: "type2", width: "half", noLabel: true },
|
|
1318
|
-
React.createElement(Input, null)),
|
|
1319
|
-
React.createElement(SearchItem, { name: "type3", width: "half", noLabel: true },
|
|
1320
|
-
React.createElement(Select, null)),
|
|
1321
|
-
React.createElement(SearchItem, { name: "type4", width: "half", noLabel: true },
|
|
1322
|
-
React.createElement(Select, null))),
|
|
1323
|
-
React.createElement(SearchRight, null,
|
|
1324
|
-
React.createElement(Button, { type: "primary", onClick: function () { return console.log(form.validateFields()); } }, "\u67E5\u8BE2"),
|
|
1325
|
-
React.createElement(Button, { type: "default" }, "\u91CD\u7F6E")))),
|
|
1326
|
-
React.createElement(OperationMiddle, { paddingTop: false },
|
|
1327
|
-
React.createElement(Button, { type: "primary" }, "\u67E5\u8BE2"),
|
|
1328
|
-
React.createElement(Button, { type: "primary" }, "\u67E5\u8BE2"),
|
|
1329
|
-
React.createElement(OperationRight, null,
|
|
1330
|
-
"\u603B\u8BA1\uFF1A\u5171\u67E5\u8BE2\u8BB0\u5F55",
|
|
1331
|
-
React.createElement("strong", null, "10"),
|
|
1332
|
-
"\u6761\uFF0C \u5165\u5E93\u4EF6\u6570",
|
|
1333
|
-
React.createElement("strong", null, "22"),
|
|
1334
|
-
"\u4EF6\uFF0C \u5165\u5E93\u6570\u91CF",
|
|
1335
|
-
React.createElement("strong", null, "33"),
|
|
1336
|
-
"\u5428")),
|
|
1337
|
-
React.createElement(Table, { columns: columns,
|
|
1338
|
-
// dataSource={data.concat(newData)}
|
|
1339
|
-
dataSource: dataSource, rowKey: "id", showColumnDynamic: true,
|
|
1340
|
-
// onAddAndDelHandle={onAddAndDelHandle}
|
|
1341
|
-
// onMoveRow={onMoveRowHandle}
|
|
1342
|
-
summaryConfig: summaryConfig, summaryFixed: true,
|
|
1343
|
-
// scroll={{ y: 200 }}
|
|
1344
|
-
onEditableSave: onEditableSaveHandle, rowSelection: rowSelection })))),
|
|
1345
|
-
React.createElement("br", null),
|
|
1346
|
-
React.createElement("br", null),
|
|
1347
|
-
React.createElement("br", null),
|
|
1348
|
-
React.createElement(Pagination, { total: 100, showTotal: function (total, range) { return "\u5171" + total + "\u6761"; }, showSizeChanger: true }),
|
|
1349
|
-
React.createElement(Tabs, null,
|
|
1350
|
-
React.createElement(Tabs.TabPane, { tab: "\u4F60\u597D" })),
|
|
1351
|
-
React.createElement(Tabs, { type: "card" },
|
|
1352
|
-
React.createElement(Tabs.TabPane, { tab: "\u4F60\u597D" })),
|
|
1353
|
-
React.createElement(Tabs, { type: "editable-card" },
|
|
1354
|
-
React.createElement(Tabs.TabPane, { tab: "\u4F60\u597D" })),
|
|
1355
|
-
React.createElement(Tabs, { isHeader: true, marginTop: true },
|
|
1356
|
-
React.createElement(Tabs.TabPane, { key: "1", tab: React.createElement(Button, { type: "link" }, "\u4F60\u597D") }),
|
|
1357
|
-
React.createElement(Tabs.TabPane, { key: "2", tab: React.createElement(Button, { type: "link" }, "\u4F60\u597D") }),
|
|
1358
|
-
React.createElement(Tabs.TabPane, { key: "3", tab: React.createElement("a", { href: "/" }, "\u4F60\u597D") }),
|
|
1359
|
-
React.createElement(Tabs.TabPane, { key: "4", tab: React.createElement("a", { href: "/" }, "\u4F60\u597D") }),
|
|
1360
|
-
React.createElement(Tabs.TabPane, { key: "5", tab: React.createElement("a", { href: "/" }, "\u4F60\u597D") }),
|
|
1361
|
-
React.createElement(Tabs.TabPane, { key: "6", tab: React.createElement("a", { href: "/" }, "\u4F60\u597D") }),
|
|
1362
|
-
React.createElement(Tabs.TabPane, { key: "7", tab: React.createElement("a", { href: "/" }, "\u4F60\u597D") }),
|
|
1363
|
-
React.createElement(Tabs.TabPane, { key: "8", tab: React.createElement("a", { href: "/" }, "\u4F60\u597D") }),
|
|
1364
|
-
React.createElement(Tabs.TabPane, { key: "9", tab: React.createElement("a", { href: "/" }, "\u4F60\u597D") }),
|
|
1365
|
-
React.createElement(Tabs.TabPane, { key: "10", tab: React.createElement("a", { href: "/" }, "\u4F60\u597D") }),
|
|
1366
|
-
React.createElement(Tabs.TabPane, { key: "11", tab: React.createElement("a", { href: "/" }, "\u4F60\u597D") })),
|
|
1367
|
-
React.createElement(Tabs, { isContent: true },
|
|
1368
|
-
React.createElement(Tabs.TabPane, { key: "1", tab: "\u4F60\u597D" }),
|
|
1369
|
-
React.createElement(Tabs.TabPane, { key: "2", tab: "\u4F60\u597D" }),
|
|
1370
|
-
React.createElement(Tabs.TabPane, { key: "3", tab: "\u4F60\u597D" }),
|
|
1371
|
-
React.createElement(Tabs.TabPane, { key: "4", tab: "\u4F60\u597D" }),
|
|
1372
|
-
React.createElement(Tabs.TabPane, { key: "5", tab: "\u4F60\u597D" }),
|
|
1373
|
-
React.createElement(Tabs.TabPane, { key: "6", tab: "\u4F60\u597D" }),
|
|
1374
|
-
React.createElement(Tabs.TabPane, { key: "7", tab: "\u4F60\u597D" }),
|
|
1375
|
-
React.createElement(Tabs.TabPane, { key: "8", tab: "\u4F60\u597D" }),
|
|
1376
|
-
React.createElement(Tabs.TabPane, { key: "9", tab: "\u4F60\u597D" }),
|
|
1377
|
-
React.createElement(Tabs.TabPane, { key: "10", tab: "\u4F60\u597D" }),
|
|
1378
|
-
React.createElement(Tabs.TabPane, { key: "11", tab: "\u4F60\u597D" })),
|
|
1379
|
-
React.createElement(Button, null, "\u4F60\u597D"),
|
|
1380
|
-
React.createElement(DatePicker, { allowClear: true, bordered: false }),
|
|
1381
|
-
React.createElement(RangePicker, null),
|
|
1382
|
-
React.createElement(TimePicker, null),
|
|
1383
|
-
React.createElement(Calendar, null),
|
|
1384
|
-
React.createElement(Select, { style: { width: 200 } },
|
|
1385
|
-
React.createElement(Select.Option, { value: "js" }, "JavaScript")),
|
|
1386
|
-
React.createElement(Input, null),
|
|
1387
|
-
React.createElement(Input.Group, null,
|
|
1388
|
-
React.createElement(Input, null),
|
|
1389
|
-
React.createElement(Input, null)),
|
|
1390
|
-
React.createElement(Input.Password, null),
|
|
1391
|
-
React.createElement(Input.TextArea, null),
|
|
1392
|
-
React.createElement(InputNumber, { style: { width: 200 }, formatterType: "currency", precision: 2, onChange: function (value) { return console.log(value); } }),
|
|
1393
|
-
React.createElement(Checkbox, null, "\u4F60\u597D")));
|
|
1394
|
-
}
|
|
1395
|
-
export default App;
|