From 474de2892abd939789f7203b464f982515572902 Mon Sep 17 00:00:00 2001 From: yangjun <1173114630@qq.com> Date: Tue, 24 Mar 2026 16:03:47 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../bizSuppliers/NuBizSuppliersApplyList.vue | 14 ++-- .../bizSuppliers/NuBizSuppliersInfoList.vue | 8 +- .../components/NuBizSuppliersApplyForm.vue | 5 ++ .../components/OrgApplyInfoForm.vue | 82 +++++++++---------- 4 files changed, 57 insertions(+), 52 deletions(-) diff --git a/src/views/admin/bizSuppliers/NuBizSuppliersApplyList.vue b/src/views/admin/bizSuppliers/NuBizSuppliersApplyList.vue index a56733a..c2853e7 100644 --- a/src/views/admin/bizSuppliers/NuBizSuppliersApplyList.vue +++ b/src/views/admin/bizSuppliers/NuBizSuppliersApplyList.vue @@ -13,7 +13,7 @@ - 全部 待审核 @@ -24,8 +24,8 @@ - - + + @@ -105,13 +105,13 @@ const [registerTable, { reload, collapseAll, updateTableDataRecord, findTableDataRecord, getDataSource }, { rowSelection, selectedRowKeys }] = tableContext; const labelCol = reactive({ xs:24, - sm:6, - xl:6, - xxl:6 + sm:7, + xl:7, + xxl:7 }); const wrapperCol = reactive({ xs: 24, - sm: 18, + sm: 17, }); diff --git a/src/views/admin/bizSuppliers/NuBizSuppliersInfoList.vue b/src/views/admin/bizSuppliers/NuBizSuppliersInfoList.vue index c113459..756635f 100644 --- a/src/views/admin/bizSuppliers/NuBizSuppliersInfoList.vue +++ b/src/views/admin/bizSuppliers/NuBizSuppliersInfoList.vue @@ -6,7 +6,7 @@ - + @@ -104,9 +104,9 @@ const [registerTable, { reload, collapseAll, updateTableDataRecord, findTableDataRecord, getDataSource }, { rowSelection, selectedRowKeys }] = tableContext; const labelCol = reactive({ xs:24, - sm:6, - xl:6, - xxl:6 + sm:7, + xl:7, + xxl:7 }); const wrapperCol = reactive({ xs: 24, diff --git a/src/views/admin/bizSuppliers/components/NuBizSuppliersApplyForm.vue b/src/views/admin/bizSuppliers/components/NuBizSuppliersApplyForm.vue index b3e1502..9a00651 100644 --- a/src/views/admin/bizSuppliers/components/NuBizSuppliersApplyForm.vue +++ b/src/views/admin/bizSuppliers/components/NuBizSuppliersApplyForm.vue @@ -195,6 +195,11 @@ } } } + + if(formData.status == 'modifyFail' && !formData.applyContent){ + createMessage.warning('请填写驳回原因'); + return; + } await auditSubmit(formData) .then((res) => { diff --git a/src/views/admin/orgapplyinfo/components/OrgApplyInfoForm.vue b/src/views/admin/orgapplyinfo/components/OrgApplyInfoForm.vue index 7f27e73..8609dbe 100644 --- a/src/views/admin/orgapplyinfo/components/OrgApplyInfoForm.vue +++ b/src/views/admin/orgapplyinfo/components/OrgApplyInfoForm.vue @@ -57,49 +57,58 @@ - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - + @@ -200,12 +209,7 @@ - - - - - + @@ -305,12 +309,6 @@ placeholder="" allow-clear /> - @@ -442,6 +440,8 @@ const sfsh = ref('0'); const { createMessage } = useMessage(); const labelCol = ref({ xs: { span: 24 }, sm: { span: 8 } }); const wrapperCol = ref({ xs: { span: 24 }, sm: { span: 16 } }); +const labelCol4 = ref({ xs: { span: 24 }, sm: { span: 12 } }); +const wrapperCol4 = ref({ xs: { span: 24 }, sm: { span: 12 } }); const confirmLoading = ref(false); //表单验证 const validatorRules = reactive({ @@ -452,7 +452,7 @@ const validatorRules = reactive({ if (formData.status === '3' && !value) { return Promise.reject('请输入驳回原因!'); } - return Promise.resolve(); + // return Promise.resolve(); }, }, ],