From 2eae3481271bd0b8da3dc1cee7388dbe1b009f42 Mon Sep 17 00:00:00 2001
From: yangjun <1173114630@qq.com>
Date: Wed, 4 Feb 2026 09:52:53 +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
---
.../NuConfigSuppliersApply.data.ts | 88 ++++++
.../NuConfigSuppliersAuditHistoryList.vue | 219 +++++++++++++++
.../NuConfigSuppliersAuditHistoryModal.vue | 94 +++++++
.../NuConfigSuppliersAuditList.vue | 16 +-
.../NuConfigSuppliersApplyHistoryForm.vue | 258 ++++++++++++++++++
.../NuConfigSuppliersApplyHistoryModal.vue | 85 ++++++
.../NuConfigSuppliersApplyUpInfoForm.vue | 2 +-
7 files changed, 760 insertions(+), 2 deletions(-)
create mode 100644 src/views/invoicing/configSuppliersApply/NuConfigSuppliersAuditHistoryList.vue
create mode 100644 src/views/invoicing/configSuppliersApply/NuConfigSuppliersAuditHistoryModal.vue
create mode 100644 src/views/invoicing/configSuppliersApply/components/NuConfigSuppliersApplyHistoryForm.vue
create mode 100644 src/views/invoicing/configSuppliersApply/components/NuConfigSuppliersApplyHistoryModal.vue
diff --git a/src/views/invoicing/configSuppliersApply/NuConfigSuppliersApply.data.ts b/src/views/invoicing/configSuppliersApply/NuConfigSuppliersApply.data.ts
index 7f73bc5..f727d58 100644
--- a/src/views/invoicing/configSuppliersApply/NuConfigSuppliersApply.data.ts
+++ b/src/views/invoicing/configSuppliersApply/NuConfigSuppliersApply.data.ts
@@ -15,6 +15,7 @@ export const columns: BasicColumn[] = [
title: '供应商性质',
align: 'center',
dataIndex: 'suppliersNature_dictText',
+ width: 100,
},
{
title: '供应商地址',
@@ -25,11 +26,13 @@ export const columns: BasicColumn[] = [
title: '负责人',
align: 'center',
dataIndex: 'personInCharge',
+ width: 100,
},
{
title: '联系电话',
align: 'center',
dataIndex: 'contactNumber',
+ width: 140,
},
{
title: '开户行',
@@ -50,6 +53,7 @@ export const columns: BasicColumn[] = [
const imageUrl = text ? opeMediaAddress + text : opeMediaAddress + import.meta.env.VITE_DEFAULT_DIRECTIVE_PRE_PIC;
return render.renderImage({ text: imageUrl });
},
+ width: 120,
},
{
title: '审核状态',
@@ -67,11 +71,95 @@ export const columns: BasicColumn[] = [
}
return applyStatus;
},
+ width: 100,
},
{
title: '审核备注',
align: 'center',
dataIndex: 'applyContent',
+ width: 150,
+ },
+];
+
+export const columns2: BasicColumn[] = [
+ {
+ title: '供应商名称',
+ align: 'center',
+ dataIndex: 'suppliersName',
+ },
+ {
+ title: '供应商性质',
+ align: 'center',
+ dataIndex: 'suppliersNature_dictText',
+ width: 100,
+ },
+ {
+ title: '供应商地址',
+ align: 'center',
+ dataIndex: 'suppliersAddress',
+ },
+ {
+ title: '负责人',
+ align: 'center',
+ dataIndex: 'personInCharge',
+ width: 100,
+ },
+ {
+ title: '联系电话',
+ align: 'center',
+ dataIndex: 'contactNumber',
+ width: 140,
+ },
+ {
+ title: '开户行',
+ align: 'center',
+ dataIndex: 'openingBank',
+ },
+ {
+ title: '开户行账号',
+ align: 'center',
+ dataIndex: 'openingBankNo',
+ },
+ {
+ title: '资质照片',
+ align: 'center',
+ dataIndex: 'imgPath',
+ customRender: ({ text }) => {
+ // 如果 text 为空或 null/undefined,使用默认图片
+ const imageUrl = text ? opeMediaAddress + text : opeMediaAddress + import.meta.env.VITE_DEFAULT_DIRECTIVE_PRE_PIC;
+ return render.renderImage({ text: imageUrl });
+ },
+ width: 120,
+ },
+ {
+ title: '审核状态',
+ align: 'center',
+ dataIndex: 'applyStatus',
+ customRender: ({ text, record }) => {
+ console.log(text);
+ var applyStatus = '';
+ if (text == '1' || text == '4') {
+ applyStatus = '待审核';
+ } else if (text == '2') {
+ applyStatus = '审核通过';
+ } else if (text == '3' || text == '5') {
+ applyStatus = '审核未通过';
+ }
+ return applyStatus;
+ },
+ width: 100,
+ },
+ {
+ title: '审核备注',
+ align: 'center',
+ dataIndex: 'applyContent',
+ width: 150,
+ },
+ {
+ title: '类型',
+ align: 'center',
+ dataIndex: 'optType',
+ width: 100,
},
];
diff --git a/src/views/invoicing/configSuppliersApply/NuConfigSuppliersAuditHistoryList.vue b/src/views/invoicing/configSuppliersApply/NuConfigSuppliersAuditHistoryList.vue
new file mode 100644
index 0000000..0d23849
--- /dev/null
+++ b/src/views/invoicing/configSuppliersApply/NuConfigSuppliersAuditHistoryList.vue
@@ -0,0 +1,219 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/invoicing/configSuppliersApply/NuConfigSuppliersAuditHistoryModal.vue b/src/views/invoicing/configSuppliersApply/NuConfigSuppliersAuditHistoryModal.vue
new file mode 100644
index 0000000..8b0bab7
--- /dev/null
+++ b/src/views/invoicing/configSuppliersApply/NuConfigSuppliersAuditHistoryModal.vue
@@ -0,0 +1,94 @@
+
+
+
+
+
+
+ 关闭
+ 确认
+
+
+
+
+
+
+
+
+
diff --git a/src/views/invoicing/configSuppliersApply/NuConfigSuppliersAuditList.vue b/src/views/invoicing/configSuppliersApply/NuConfigSuppliersAuditList.vue
index f34bece..1527843 100644
--- a/src/views/invoicing/configSuppliersApply/NuConfigSuppliersAuditList.vue
+++ b/src/views/invoicing/configSuppliersApply/NuConfigSuppliersAuditList.vue
@@ -58,6 +58,7 @@
+
@@ -69,6 +70,7 @@ import { columns, superQuerySchema } from './NuConfigSuppliersApply.data';
import { listPage, deleteOne, batchDelete, getImportUrl, getExportUrl } from './NuConfigSuppliersApply.api';
import { downloadFile } from '/@/utils/common/renderUtils';
import NuConfigSuppliersApplyModal from './components/NuConfigSuppliersApplyModal.vue'
+import NuConfigSuppliersAuditHistoryModal from './NuConfigSuppliersAuditHistoryModal.vue'
import { useUserStore } from '/@/store/modules/user';
import JInput from '/@/components/Form/src/jeecg/components/JInput.vue';
import JImageUpload from '/@/components/Form/src/jeecg/components/JImageUpload.vue';
@@ -78,6 +80,7 @@ const formRef = ref();
const queryParam = reactive({});
const toggleSearchStatus = ref(false);
const registerModal = ref();
+const registerHistoryModal = ref();
const userStore = useUserStore();
//注册table数据
const { prefixCls, tableContext, onExportXls, onImportXls } = useListPage({
@@ -88,7 +91,7 @@ const { prefixCls, tableContext, onExportXls, onImportXls } = useListPage({
canResize: false,
useSearchForm: false,
actionColumn: {
- width: 160,
+ width: 240,
fixed: 'right',
},
beforeFetch: async (params) => {
@@ -156,6 +159,13 @@ function handleDetail(record: Recordable) {
registerModal.value.disableSubmit = true;
registerModal.value.edit(record);
}
+/**
+ * 审核历史详情
+ */
+function handleHistoryList(record: Recordable) {
+ registerHistoryModal.value.disableSubmit = true;
+ registerHistoryModal.value.edit(record);
+}
/**
* 删除事件
@@ -206,6 +216,10 @@ function getTableAction(record) {
onClick: handleUpEdit.bind(null, record),
ifShow: record.applyStatus == '4'
},
+ {
+ label: '审核历史',
+ onClick: handleHistoryList.bind(null, record),
+ },
];
}
diff --git a/src/views/invoicing/configSuppliersApply/components/NuConfigSuppliersApplyHistoryForm.vue b/src/views/invoicing/configSuppliersApply/components/NuConfigSuppliersApplyHistoryForm.vue
new file mode 100644
index 0000000..f8690bd
--- /dev/null
+++ b/src/views/invoicing/configSuppliersApply/components/NuConfigSuppliersApplyHistoryForm.vue
@@ -0,0 +1,258 @@
+
+
+
+
+
+
+
+ {{ applyObj[record.d1] }}
+
+
+
+
+ 未上传
+
+
+
+
+ 未上传
+
+
+ {{ provinceOptions[record.d2] }}
+
+
+ {{ provinceOptions[record.d3] }}
+
+
+ {{ record.d2 }}㎡
+
+
+ {{ record.d3 }}㎡
+
+
+ {{ record.d2 == '9999-12-31' ? '长期' : record.d2 }}
+
+
+ {{ record.d3 == '9999-12-31' ? '长期' : record.d3 }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 审核通过
+ 审核驳回
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/views/invoicing/configSuppliersApply/components/NuConfigSuppliersApplyHistoryModal.vue b/src/views/invoicing/configSuppliersApply/components/NuConfigSuppliersApplyHistoryModal.vue
new file mode 100644
index 0000000..4688efe
--- /dev/null
+++ b/src/views/invoicing/configSuppliersApply/components/NuConfigSuppliersApplyHistoryModal.vue
@@ -0,0 +1,85 @@
+
+
+
+
+
+
+ 关闭
+ 确认
+
+
+
+
+
+
+
+
+
diff --git a/src/views/invoicing/configSuppliersApply/components/NuConfigSuppliersApplyUpInfoForm.vue b/src/views/invoicing/configSuppliersApply/components/NuConfigSuppliersApplyUpInfoForm.vue
index 644d89b..9ef717e 100644
--- a/src/views/invoicing/configSuppliersApply/components/NuConfigSuppliersApplyUpInfoForm.vue
+++ b/src/views/invoicing/configSuppliersApply/components/NuConfigSuppliersApplyUpInfoForm.vue
@@ -80,7 +80,7 @@ const AFormItem = Form.Item;
const useForm = Form.useForm;
const { createMessage } = useMessage();
// 表单标签布局配置
-const labelCol = { span: 4 }; // 标签宽度
+const labelCol = { span: 6 }; // 标签宽度
const wrapperCol = { span: 18 }; // 控件宽度
const isImg = (v_) => {
return v_ == 'imgPath'