From ebd2c48f764a25a8b3a755cdd4045ad7d5e19f84 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AD=99=E6=99=AF=E5=AD=A6?= <5412262+sun_jing_xue@user.noreply.gitee.com> Date: Thu, 17 Jul 2025 08:45:25 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BE=9B=E5=BA=94=E5=95=86=E5=88=86=E7=B1=BB?= =?UTF-8?q?=E6=94=B9=E4=B8=BA=E4=BC=81=E4=B8=9A=E7=B1=BB=E5=9E=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../CompanyInfo/component/DomesticForm.tsx | 4 +- .../components/CreateModal.tsx | 112 ++++++++++--- .../components/SupplierSelector.tsx | 156 ++++++++---------- .../components/SupplierAddModal.tsx | 2 +- .../components/SupplierListModal.tsx | 2 +- .../components/SupplierAddModal.tsx | 2 +- .../components/SupplierListModal.tsx | 2 +- .../components/SupplierListModal.tsx | 2 +- .../SupplierChangeReviewManage/index.tsx | 2 +- .../registrationQuery/index.tsx | 2 +- 10 files changed, 170 insertions(+), 116 deletions(-) diff --git a/src/components/CompanyInfo/component/DomesticForm.tsx b/src/components/CompanyInfo/component/DomesticForm.tsx index cf657cc..74f3840 100644 --- a/src/components/CompanyInfo/component/DomesticForm.tsx +++ b/src/components/CompanyInfo/component/DomesticForm.tsx @@ -111,8 +111,8 @@ const DomesticForm: React.FC = ({ form, countdown, handleGetCa {/* + { + if (e.target.value) { + setAccessWorkNameEdited(true); + } else { + setAccessWorkNameEdited(false); + } + }}/> void; }> = ({ vi + + + {`${form.getFieldValue('supplier')? form.getFieldValue('supplier')[0].supplierType === 'ovs' ? form.getFieldValue('supplier')[0].nameEn : form.getFieldValue('supplier')[0].name : ''}`} + + void; }> = ({ vi /> - - - - - - -
待选供应商
- { - const values = form.getFieldsValue(); - getTableList(values, pagination.current!, pagination.pageSize!) - }} - scroll={{ y: 300 }} - /> - - - - -
-
- - - - -
已选供应商
-
- - +
{ + setSelectedRowKey(selectedKeys[0] ? selectedKeys[0].toString() : null); + setSelectedSupplier(selectedRows[0] || null); + } + }} + rowKey="id" + dataSource={tableListData} + columns={columns} + loading={loading} + pagination={pagination} + onChange={pagination => { + const values = form.getFieldsValue(); + getTableList(values, pagination.current!, pagination.pageSize!); + }} + scroll={{ y: 300 }} + />