2025-08-14 19:43:46 +08:00
|
|
|
|
<template>
|
2025-09-08 10:21:17 +08:00
|
|
|
|
<div class="p-2">
|
|
|
|
|
<!-- 搜索区域 -->
|
|
|
|
|
<transition :enter-active-class="proxy?.animate.searchAnimate.enter" :leave-active-class="proxy?.animate.searchAnimate.leave">
|
|
|
|
|
<div v-show="showSearch" class="mb-[10px]">
|
|
|
|
|
<el-card shadow="hover">
|
|
|
|
|
<el-form ref="queryFormRef" :model="queryParams" :inline="true">
|
|
|
|
|
<el-form-item label="企业登记注册类型" prop="supplierType" label-width="140px">
|
|
|
|
|
<el-select v-model="queryParams.supplierType" placeholder="请选择类型" clearable>
|
|
|
|
|
<el-option label="劳务" value="劳务"></el-option>
|
|
|
|
|
<el-option label="技术服务" value="技术服务"></el-option>
|
|
|
|
|
<el-option label="物资设备" value="物资设备"></el-option>
|
|
|
|
|
</el-select>
|
2025-08-15 00:22:06 +08:00
|
|
|
|
</el-form-item>
|
2025-09-08 10:21:17 +08:00
|
|
|
|
<el-form-item label="企业名称" prop="supplierName">
|
|
|
|
|
<el-input v-model="queryParams.supplierName" placeholder="请输入企业名称" clearable style="width: 200px" />
|
2025-08-29 18:06:42 +08:00
|
|
|
|
</el-form-item>
|
|
|
|
|
<el-form-item>
|
2025-09-08 10:21:17 +08:00
|
|
|
|
<el-button type="primary" icon="Search" @click="handleQuery">搜索</el-button>
|
|
|
|
|
<el-button icon="Refresh" @click="resetQuery">重置</el-button>
|
2025-08-29 18:06:42 +08:00
|
|
|
|
</el-form-item>
|
2025-08-15 00:22:06 +08:00
|
|
|
|
</el-form>
|
2025-09-08 10:21:17 +08:00
|
|
|
|
</el-card>
|
|
|
|
|
</div>
|
|
|
|
|
</transition>
|
|
|
|
|
|
|
|
|
|
<!-- 列表及操作区域 -->
|
|
|
|
|
<el-card shadow="never">
|
|
|
|
|
<template #header>
|
|
|
|
|
<el-row :gutter="10" class="mb8">
|
|
|
|
|
<el-col :span="1.5">
|
|
|
|
|
<el-button type="primary" plain icon="Plus" @click="handleAdd" v-hasPermi="['supplierInput:supplierInput:add']">新增</el-button>
|
|
|
|
|
</el-col>
|
|
|
|
|
<!-- <el-col :span="1.5">
|
|
|
|
|
<el-button type="warning" plain icon="Download" @click="handleExport" v-hasPermi="['supplierInput:supplierInput:export']">导出</el-button>
|
|
|
|
|
</el-col> -->
|
|
|
|
|
<right-toolbar v-model:showSearch="showSearch" @queryTable="getList"></right-toolbar>
|
2025-08-15 00:22:06 +08:00
|
|
|
|
</el-row>
|
|
|
|
|
</template>
|
|
|
|
|
</el-card>
|
2025-09-04 18:42:45 +08:00
|
|
|
|
|
|
|
|
|
<!-- 本地数据懒加载表格 -->
|
2025-08-15 00:22:06 +08:00
|
|
|
|
<el-table
|
|
|
|
|
:data="state.tableData"
|
|
|
|
|
v-loading="state.loading.list"
|
2025-09-02 19:00:50 +08:00
|
|
|
|
ref="tableRef"
|
2025-08-15 00:22:06 +08:00
|
|
|
|
stripe
|
|
|
|
|
style="width: 100%; margin-bottom: 20px; height: calc(100vh - 230px)"
|
|
|
|
|
row-key="id"
|
|
|
|
|
border
|
2025-08-29 18:54:43 +08:00
|
|
|
|
:tree-props="{ children: 'children', hasChildren: 'hasChildren' }"
|
2025-09-04 18:42:45 +08:00
|
|
|
|
:lazy="true"
|
|
|
|
|
:load="loadLocalChildNodes"
|
|
|
|
|
@expand-change="handleExpandChange"
|
2025-08-15 00:22:06 +08:00
|
|
|
|
>
|
2025-08-29 20:59:59 +08:00
|
|
|
|
<el-table-column align="center" prop="num" label="编号" />
|
2025-08-15 02:11:07 +08:00
|
|
|
|
<el-table-column prop="name" label="工程或费用名称" width="180" />
|
2025-08-15 00:22:06 +08:00
|
|
|
|
<el-table-column prop="unit" label="单位" />
|
2025-08-29 20:59:59 +08:00
|
|
|
|
<el-table-column prop="specification" label="规格型号" width="80" />
|
|
|
|
|
<el-table-column prop="quantity" label="数量" width="100" />
|
2025-08-15 00:22:06 +08:00
|
|
|
|
<el-table-column prop="batchNumber" label="批次号" width="200" />
|
2025-09-08 10:21:17 +08:00
|
|
|
|
|
2025-09-04 18:42:45 +08:00
|
|
|
|
<!-- 优化的输入框列 -->
|
2025-08-29 18:06:42 +08:00
|
|
|
|
<el-table-column prop="brand" label="品牌">
|
|
|
|
|
<template #default="{ row }">
|
2025-08-29 20:59:59 +08:00
|
|
|
|
<el-input
|
2025-09-04 18:42:45 +08:00
|
|
|
|
v-model.lazy="row.brand"
|
2025-08-29 20:59:59 +08:00
|
|
|
|
:disabled="state.masterData.status != 'draft'"
|
2025-09-04 18:42:45 +08:00
|
|
|
|
v-if="!row.hasChildren"
|
2025-08-29 20:59:59 +08:00
|
|
|
|
placeholder=""
|
|
|
|
|
clearable
|
2025-09-04 18:42:45 +08:00
|
|
|
|
:key="`brand-${row.id}`"
|
|
|
|
|
@change="handleInputChange(row, 'brand')"
|
2025-08-29 20:59:59 +08:00
|
|
|
|
/>
|
2025-08-29 18:06:42 +08:00
|
|
|
|
</template>
|
|
|
|
|
</el-table-column>
|
2025-09-08 10:21:17 +08:00
|
|
|
|
|
2025-08-29 18:06:42 +08:00
|
|
|
|
<el-table-column prop="texture" label="材质">
|
|
|
|
|
<template #default="{ row }">
|
2025-08-29 20:59:59 +08:00
|
|
|
|
<el-input
|
2025-09-04 18:42:45 +08:00
|
|
|
|
v-model.lazy="row.texture"
|
2025-08-29 20:59:59 +08:00
|
|
|
|
:disabled="state.masterData.status != 'draft'"
|
2025-09-04 18:42:45 +08:00
|
|
|
|
v-if="!row.hasChildren"
|
2025-08-29 20:59:59 +08:00
|
|
|
|
placeholder=""
|
|
|
|
|
clearable
|
2025-09-04 18:42:45 +08:00
|
|
|
|
:key="`texture-${row.id}`"
|
|
|
|
|
@change="handleInputChange(row, 'texture')"
|
2025-08-29 20:59:59 +08:00
|
|
|
|
/>
|
2025-08-29 18:06:42 +08:00
|
|
|
|
</template>
|
|
|
|
|
</el-table-column>
|
2025-08-15 00:22:06 +08:00
|
|
|
|
</el-table>
|
2025-09-08 10:21:17 +08:00
|
|
|
|
|
2025-09-04 18:42:45 +08:00
|
|
|
|
<!-- 编辑弹窗 -->
|
2025-08-15 00:22:06 +08:00
|
|
|
|
<el-dialog v-model="visible" title="修改物料信息" :width="800" :close-on-click-modal="false" @close="handleClose">
|
|
|
|
|
<el-form ref="formRef" :model="formData" :rules="formRules" label-width="120px" class="space-y-4">
|
|
|
|
|
<el-row :gutter="20">
|
2025-09-08 10:21:17 +08:00
|
|
|
|
<el-col :span="12">
|
|
|
|
|
<el-form-item label="开户行账号" prop="bankAccount">
|
|
|
|
|
<el-input v-model="form.bankAccount" placeholder="请输入开户行账号" clearable />
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-col>
|
2025-08-15 00:22:06 +08:00
|
|
|
|
<el-col :span="12">
|
2025-09-08 10:21:17 +08:00
|
|
|
|
<el-form-item label="经营范围" prop="scope">
|
|
|
|
|
<el-input v-model="form.scope" placeholder="请输入经营范围" clearable />
|
2025-08-15 00:22:06 +08:00
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-col>
|
|
|
|
|
</el-row>
|
2025-09-08 10:21:17 +08:00
|
|
|
|
|
|
|
|
|
<!-- 第七行:企业资质 -->
|
|
|
|
|
<el-row :gutter="20" class="mb-4">
|
|
|
|
|
<el-col :span="12">
|
|
|
|
|
<el-form-item label="企业资质等级" prop="supplierLivel">
|
|
|
|
|
<el-input v-model="form.supplierLivel" placeholder="请输入资质等级" clearable />
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-col>
|
|
|
|
|
<el-col :span="12">
|
|
|
|
|
<el-form-item label="发证日期" prop="issueDate">
|
|
|
|
|
<el-date-picker v-model="form.issueDate" type="date" placeholder="请选择发证日期" value-format="YYYY-MM-DD" />
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-col>
|
|
|
|
|
</el-row>
|
|
|
|
|
|
|
|
|
|
<!-- 第八行:证书有效期与营业额 -->
|
|
|
|
|
<el-row :gutter="20" class="mb-4">
|
|
|
|
|
<el-col :span="12">
|
|
|
|
|
<el-form-item label="证书有效期" prop="certificateValidity">
|
|
|
|
|
<el-date-picker v-model="form.certificateValidity" type="date" placeholder="请选择证书有效期" value-format="YYYY-MM-DD" />
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-col>
|
|
|
|
|
<el-col :span="12">
|
|
|
|
|
<el-form-item label="近三年营业额" prop="pastThreeYears">
|
|
|
|
|
<el-input v-model="form.pastThreeYears" placeholder="请输入近三年营业额" clearable />
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-col>
|
|
|
|
|
</el-row>
|
|
|
|
|
|
|
|
|
|
<!-- 第九行:安全生产许可证(仅劳务类型显示) -->
|
|
|
|
|
<el-row :gutter="20" class="mb-4" v-if="form.supplierType === '劳务'">
|
|
|
|
|
<el-col :span="12">
|
|
|
|
|
<el-form-item label="安全生产许可证编号" prop="safeCode">
|
|
|
|
|
<el-input v-model="form.safeCode" placeholder="请输入许可证编号" clearable />
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-col>
|
|
|
|
|
<el-col :span="12">
|
|
|
|
|
<el-form-item label="安全生产许可证发证日期" prop="safeCodeData">
|
|
|
|
|
<el-date-picker v-model="form.safeCodeData" type="date" placeholder="请选择发证日期" />
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-col>
|
|
|
|
|
</el-row>
|
|
|
|
|
<!-- 第十行:安全生产许可证有效期(仅劳务类型显示) -->
|
|
|
|
|
<el-row :gutter="20" class="mb-4" v-if="form.supplierType === '劳务'">
|
|
|
|
|
<el-col :span="12">
|
|
|
|
|
<el-form-item label="安全生产许可证发证日期" prop="safeCertificateValidity">
|
|
|
|
|
<el-date-picker v-model="form.safeCertificateValidity" type="date" placeholder="请选择发证日期" />
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-col>
|
|
|
|
|
<el-col :span="12">
|
|
|
|
|
<!-- 空列占位 -->
|
|
|
|
|
</el-col>
|
|
|
|
|
</el-row>
|
|
|
|
|
<!-- 第十一行:注册人员数量(仅劳务类型显示) -->
|
|
|
|
|
<el-row :gutter="20" class="mb-4" v-if="form.supplierType === '劳务'">
|
|
|
|
|
<el-col :span="12">
|
|
|
|
|
<el-form-item label="一建建造师" prop="firstBuildingNumber">
|
|
|
|
|
<el-input v-model="form.firstBuildingNumber" placeholder="请输入一建建造师数量" clearable />
|
|
|
|
|
</el-form-item>
|
|
|
|
|
<el-form-item label="二建建造师" prop="secondBuildingNumber">
|
|
|
|
|
<el-input v-model="form.secondBuildingNumber" placeholder="请输入二建建造师数量" clearable />
|
|
|
|
|
</el-form-item>
|
|
|
|
|
<el-form-item label="注册造价工程师" prop="registeredEngineerNumber">
|
|
|
|
|
<el-input v-model="form.registeredEngineerNumber" placeholder="请输入注册造价工程师数量" clearable />
|
|
|
|
|
</el-form-item>
|
|
|
|
|
<el-form-item label="其他(分别写)" prop="otherBuildingNumber">
|
|
|
|
|
<el-input v-model="form.otherBuildingNumber" placeholder="请输入其他人员数量" clearable />
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-col>
|
|
|
|
|
<el-col :span="12">
|
|
|
|
|
<!-- 空列占位 -->
|
|
|
|
|
</el-col>
|
|
|
|
|
</el-row>
|
|
|
|
|
<!-- 第十二行:职称人员数量(仅劳务类型显示) -->
|
|
|
|
|
<el-row :gutter="20" class="mb-4" v-if="form.supplierType === '劳务'">
|
|
|
|
|
<el-col :span="12">
|
|
|
|
|
<el-form-item label="高级工程师人数" prop="seniorEngineerNumber">
|
|
|
|
|
<el-input v-model="form.seniorEngineerNumber" placeholder="请输高级工程师数量" clearable />
|
|
|
|
|
</el-form-item>
|
|
|
|
|
<el-form-item label="工程师数量" prop="engineerNumber">
|
|
|
|
|
<el-input v-model="form.engineerNumber" placeholder="请输入工程师数量" clearable />
|
|
|
|
|
</el-form-item>
|
|
|
|
|
<el-form-item label="助理工程师数量" prop="assistantEngineerNumber">
|
|
|
|
|
<el-input v-model="form.assistantEngineerNumber" placeholder="请输入助理工程师数量" clearable />
|
|
|
|
|
</el-form-item>
|
|
|
|
|
<el-form-item label="其他人员数量" prop="otherPersonnelNumber">
|
|
|
|
|
<el-input v-model="form.otherPersonnelNumber" placeholder="请输入其他人员数量" clearable />
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-col>
|
|
|
|
|
<el-col :span="12">
|
|
|
|
|
<!-- 空列占位 -->
|
|
|
|
|
</el-col>
|
|
|
|
|
</el-row>
|
|
|
|
|
<!-- 第十四行:入库资料上传 -->
|
|
|
|
|
<el-row class="mb-4">
|
2025-08-15 00:22:06 +08:00
|
|
|
|
<el-col :span="24">
|
2025-09-08 10:21:17 +08:00
|
|
|
|
<el-form-item label="入库资料" prop="inputFile">
|
|
|
|
|
<template #label> <span class="text-red">*</span> 入库资料 </template>
|
|
|
|
|
<file-upload
|
|
|
|
|
v-model="form.fileId"
|
|
|
|
|
:fileType="['doc', 'docx', 'pdf']"
|
|
|
|
|
:autoUpload="false"
|
|
|
|
|
ref="fileUploadRef"
|
|
|
|
|
:method="form.id ? 'put' : 'post'"
|
|
|
|
|
:data="form"
|
|
|
|
|
uploadUrl="/supplierInput/supplierInput"
|
|
|
|
|
:limit="1"
|
|
|
|
|
@handleChange="handleFileChange"
|
|
|
|
|
@handleRemove="handleFileRemove"
|
|
|
|
|
showFileList
|
|
|
|
|
>
|
|
|
|
|
<div><el-button type="primary">上传文件</el-button><br /></div>
|
|
|
|
|
</file-upload>
|
2025-08-15 00:22:06 +08:00
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-col>
|
|
|
|
|
</el-row>
|
|
|
|
|
</el-form>
|
2025-09-08 10:21:17 +08:00
|
|
|
|
<!-- 对话框底部按钮 -->
|
2025-08-15 00:22:06 +08:00
|
|
|
|
<template #footer>
|
2025-09-08 10:21:17 +08:00
|
|
|
|
<div class="dialog-footer">
|
|
|
|
|
<el-button :loading="buttonLoading" type="primary" @click="submitForm">确 定</el-button>
|
|
|
|
|
<el-button @click="cancel">取 消</el-button>
|
|
|
|
|
</div>
|
2025-08-15 00:22:06 +08:00
|
|
|
|
</template>
|
|
|
|
|
</el-dialog>
|
|
|
|
|
</div>
|
2025-08-14 19:43:46 +08:00
|
|
|
|
</template>
|
|
|
|
|
|
2025-09-08 10:21:17 +08:00
|
|
|
|
<script setup name="SupplierInput" lang="ts">
|
|
|
|
|
import { ComponentInternalInstance, getCurrentInstance, onMounted, ref, reactive, toRefs, computed } from 'vue';
|
|
|
|
|
import { ElFormInstance } from 'element-plus';
|
|
|
|
|
import { listSupplierInput, getSupplierInput, delSupplierInput, updateSupplierInput } from '@/api/supplierInput/supplierInput/index';
|
|
|
|
|
import { SupplierInputVO, SupplierInputQuery, SupplierInputForm, PageData, DialogOption } from '@/api/supplierInput/supplierInput/types';
|
|
|
|
|
import Pagination from '@/components/Pagination/index.vue';
|
|
|
|
|
import RightToolbar from '@/components/RightToolbar/index.vue';
|
|
|
|
|
import FileUpload from '@/components/FileUpload/index.vue';
|
2025-08-14 19:43:46 +08:00
|
|
|
|
import { useUserStoreHook } from '@/store/modules/user';
|
2025-09-08 10:21:17 +08:00
|
|
|
|
const { proxy } = getCurrentInstance() as ComponentInternalInstance;
|
|
|
|
|
const { wf_business_status } = toRefs<any>(proxy?.useDict('wf_business_status'));
|
|
|
|
|
// 组件引用
|
|
|
|
|
const fileUploadRef = ref<InstanceType<typeof FileUpload> | null>(null);
|
|
|
|
|
const queryFormRef = ref<ElFormInstance>();
|
|
|
|
|
const supplierInputFormRef = ref<ElFormInstance>();
|
|
|
|
|
// 获取用户 store
|
2025-08-14 19:43:46 +08:00
|
|
|
|
const userStore = useUserStoreHook();
|
|
|
|
|
const currentProject = computed(() => userStore.selectedProject);
|
2025-09-08 10:21:17 +08:00
|
|
|
|
// 基础数据
|
|
|
|
|
const supplierInputList = ref<SupplierInputVO[]>([]);
|
|
|
|
|
const buttonLoading = ref(false);
|
|
|
|
|
const loading = ref(true);
|
|
|
|
|
const showSearch = ref(true);
|
|
|
|
|
const ids = ref<Array<string | number>>([]);
|
|
|
|
|
const single = ref(true);
|
|
|
|
|
const multiple = ref(true);
|
|
|
|
|
const total = ref(0);
|
|
|
|
|
const fileUrl = ref('');
|
|
|
|
|
|
|
|
|
|
// 对话框配置
|
|
|
|
|
const dialog = reactive<DialogOption>({
|
|
|
|
|
visible: false,
|
|
|
|
|
title: ''
|
2025-08-14 19:43:46 +08:00
|
|
|
|
});
|
2025-09-04 18:42:45 +08:00
|
|
|
|
|
2025-09-08 10:21:17 +08:00
|
|
|
|
// 初始化表单数据:新增build1-build4、personnelNumber1-personnelNumber4字段(用于拆分拼接字符串)
|
|
|
|
|
const initFormData: any = {
|
2025-08-15 00:22:06 +08:00
|
|
|
|
id: undefined,
|
2025-09-08 10:21:17 +08:00
|
|
|
|
supplierType: undefined,
|
|
|
|
|
supplierName: undefined,
|
|
|
|
|
supplierPerson: undefined,
|
|
|
|
|
supplierCode: undefined,
|
|
|
|
|
supplierAddres: undefined,
|
|
|
|
|
personName: undefined,
|
|
|
|
|
personPhone: undefined,
|
|
|
|
|
bankPersonName: undefined,
|
|
|
|
|
bankName: undefined,
|
|
|
|
|
bankAccount: undefined,
|
|
|
|
|
taxScale: undefined,
|
|
|
|
|
scope: undefined,
|
|
|
|
|
supplierLivel: undefined,
|
|
|
|
|
issueDate: undefined,
|
|
|
|
|
certificateValidity: undefined,
|
|
|
|
|
pastThreeYears: undefined,
|
|
|
|
|
safeCode: undefined,
|
|
|
|
|
safeCodeData: undefined,
|
|
|
|
|
safeCertificateValidity: undefined,
|
|
|
|
|
registeredNumber: undefined, // 后端返回的拼接字符串(如“1,2,3,4”)
|
|
|
|
|
personnelNumber: undefined, // 后端返回的拼接字符串(如“5,6,7,8”)
|
|
|
|
|
fileId: undefined,
|
|
|
|
|
inputFile: undefined,
|
|
|
|
|
// state: '0', // 新增默认待审核
|
|
|
|
|
// 新增:用于表单输入的单独字段
|
|
|
|
|
firstBuildingNumber: undefined, // 一建建造师
|
|
|
|
|
secondBuildingNumber: undefined, // 二建建造师
|
|
|
|
|
registeredEngineerNumber: undefined, // 注册造价工程师
|
|
|
|
|
otherBuildingNumber: undefined, // 其他注册人员
|
|
|
|
|
seniorEngineerNumber: undefined, // 高级工程师
|
|
|
|
|
engineerNumber: undefined, // 工程师
|
|
|
|
|
assistantEngineerNumber: undefined, // 助理工程师
|
|
|
|
|
otherPersonnelNumber: undefined // 其他职称人员
|
|
|
|
|
};
|
|
|
|
|
// 核心数据(表单+查询参数)
|
|
|
|
|
const data = reactive<PageData<SupplierInputForm, SupplierInputQuery>>({
|
|
|
|
|
form: { ...initFormData },
|
|
|
|
|
queryParams: {
|
|
|
|
|
projectId: currentProject.value?.id,
|
|
|
|
|
pageNum: 1,
|
|
|
|
|
pageSize: 10,
|
|
|
|
|
supplierType: undefined,
|
|
|
|
|
supplierName: undefined,
|
|
|
|
|
state: undefined,
|
|
|
|
|
inputFile: undefined,
|
|
|
|
|
registeredNumber: undefined,
|
|
|
|
|
personnelNumber: undefined,
|
|
|
|
|
params: {}
|
|
|
|
|
}
|
2025-08-14 19:43:46 +08:00
|
|
|
|
});
|
2025-09-04 18:42:45 +08:00
|
|
|
|
|
2025-09-08 10:21:17 +08:00
|
|
|
|
// 解构响应式数据
|
|
|
|
|
const { queryParams, form } = toRefs(data);
|
|
|
|
|
|
|
|
|
|
// 动态验证规则:仅劳务类型需要校验【安全生产许可证+人员数量】字段
|
|
|
|
|
const rules = computed(() => {
|
|
|
|
|
const baseRules = {
|
|
|
|
|
supplierType: [{ required: true, message: '请选择企业登记注册类型', trigger: 'change' }],
|
|
|
|
|
supplierName: [{ required: true, message: '请输入企业名称', trigger: 'blur' }],
|
|
|
|
|
supplierPerson: [{ required: true, message: '请输入法定代表人', trigger: 'blur' }],
|
|
|
|
|
supplierCode: [{ required: true, message: '请输入统一社会信用代码', trigger: 'blur' }],
|
|
|
|
|
personName: [{ required: true, message: '请输入负责人姓名', trigger: 'blur' }],
|
|
|
|
|
personPhone: [
|
|
|
|
|
{ required: true, message: '请输入负责人联系电话', trigger: 'blur' },
|
|
|
|
|
{ pattern: /^1[3-9]\d{9}$/, message: '请输入正确的手机号格式', trigger: 'blur' }
|
|
|
|
|
],
|
|
|
|
|
id: [{ required: true, message: 'ID不能为空', trigger: 'blur' }],
|
|
|
|
|
firstBuildingNumber: [{ required: true, message: '请输入一建建造师数量', trigger: 'change' }],
|
|
|
|
|
secondBuildingNumber: [{ required: true, message: '请输入二建建造师数量', trigger: 'change' }],
|
|
|
|
|
registeredEngineerNumber: [{ required: true, message: '请输入注册造价工程师数量', trigger: 'change' }],
|
|
|
|
|
otherBuildingNumber: [{ required: true, message: '请输入其他数量', trigger: 'change' }],
|
|
|
|
|
seniorEngineerNumber: [{ required: true, message: '请输入高级工程师数量', trigger: 'change' }],
|
|
|
|
|
engineerNumber: [{ required: true, message: '请输入工程师数量', trigger: 'change' }],
|
|
|
|
|
assistantEngineerNumber: [{ required: true, message: '请输入助理工程师数量', trigger: 'change' }],
|
|
|
|
|
otherPersonnelNumber: [{ required: true, message: '请输入其他数量', trigger: 'change' }]
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
// 仅当类型为"劳务"时,添加安全生产许可证+人员数量校验
|
|
|
|
|
if (form.value.supplierType === '劳务') {
|
|
|
|
|
return {
|
|
|
|
|
...baseRules,
|
|
|
|
|
// 安全生产许可证相关校验
|
|
|
|
|
safeCode: [{ required: true, message: '请输入安全生产许可证编号', trigger: 'blur' }],
|
|
|
|
|
safeCodeData: [{ required: true, message: '请选择安全生产许可证发证日期', trigger: 'change' }],
|
|
|
|
|
safeCertificateValidity: [{ required: true, message: '请选择安全生产许可证有效期', trigger: 'change' }],
|
|
|
|
|
// 注册人员数量校验
|
|
|
|
|
firstBuildingNumber: [{ required: true, message: '请输入一建建造师数量', trigger: 'blur' }],
|
|
|
|
|
secondBuildingNumber: [{ required: true, message: '请输入二建建造师数量', trigger: 'blur' }],
|
|
|
|
|
registeredEngineerNumber: [{ required: true, message: '请输入注册造价工程师数量', trigger: 'blur' }],
|
|
|
|
|
otherBuildingNumber: [{ required: true, message: '请输入其他注册人员数量', trigger: 'blur' }],
|
|
|
|
|
// 职称人员数量校验
|
|
|
|
|
seniorEngineerNumber: [{ required: true, message: '请输入高级工程师数量', trigger: 'blur' }],
|
|
|
|
|
engineerNumber: [{ required: true, message: '请输入工程师数量', trigger: 'blur' }],
|
|
|
|
|
assistantEngineerNumber: [{ required: true, message: '请输入助理工程师数量', trigger: 'blur' }],
|
|
|
|
|
otherPersonnelNumber: [{ required: true, message: '请输入其他职称人员数量', trigger: 'blur' }]
|
|
|
|
|
};
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
return baseRules;
|
2025-08-14 19:43:46 +08:00
|
|
|
|
});
|
2025-09-04 18:42:45 +08:00
|
|
|
|
|
2025-09-08 10:21:17 +08:00
|
|
|
|
/** 企业类型变更时的处理:清空隐藏字段数据+重置校验 */
|
|
|
|
|
const handleTypeChange = () => {
|
|
|
|
|
// 非劳务类型:清空安全生产许可证+人员数量字段
|
|
|
|
|
if (form.value.supplierType !== '劳务') {
|
|
|
|
|
form.value.safeCode = undefined;
|
|
|
|
|
form.value.safeCodeData = undefined;
|
|
|
|
|
form.value.safeCertificateValidity = undefined;
|
|
|
|
|
form.value.registeredNumber = undefined;
|
|
|
|
|
form.value.personnelNumber = undefined;
|
|
|
|
|
// 清空表单单独字段
|
|
|
|
|
form.value.firstBuildingNumber =
|
|
|
|
|
form.value.secondBuildingNumber =
|
|
|
|
|
form.value.registeredEngineerNumber =
|
|
|
|
|
form.value.otherBuildingNumber =
|
|
|
|
|
undefined;
|
|
|
|
|
form.value.seniorEngineerNumber = form.value.engineerNumber = form.value.assistantEngineerNumber = form.value.otherPersonnelNumber = undefined;
|
2025-09-04 18:42:45 +08:00
|
|
|
|
}
|
2025-09-08 10:21:17 +08:00
|
|
|
|
// 重置隐藏字段的校验状态,避免错误提示残留
|
|
|
|
|
supplierInputFormRef.value?.clearValidate([
|
|
|
|
|
'safeCode',
|
|
|
|
|
'safeCodeData',
|
|
|
|
|
'safeCertificateValidity',
|
|
|
|
|
'firstBuildingNumber',
|
|
|
|
|
'secondBuildingNumber',
|
|
|
|
|
'registeredEngineerNumber',
|
|
|
|
|
'otherBuildingNumber',
|
|
|
|
|
'seniorEngineerNumber',
|
|
|
|
|
'engineerNumber',
|
|
|
|
|
'assistantEngineerNumber',
|
|
|
|
|
'otherPersonnelNumber'
|
|
|
|
|
]);
|
|
|
|
|
};
|
2025-09-04 18:42:45 +08:00
|
|
|
|
|
2025-09-08 10:21:17 +08:00
|
|
|
|
/** 查询供应商入库列表 */
|
|
|
|
|
const getList = async () => {
|
|
|
|
|
loading.value = true;
|
2025-09-04 18:42:45 +08:00
|
|
|
|
try {
|
2025-09-08 10:21:17 +08:00
|
|
|
|
const res = await listSupplierInput(queryParams.value);
|
|
|
|
|
supplierInputList.value = res.rows;
|
|
|
|
|
total.value = res.total;
|
2025-09-04 18:42:45 +08:00
|
|
|
|
} catch (error) {
|
2025-09-08 10:21:17 +08:00
|
|
|
|
proxy?.$modal.msgError('查询失败,请重试');
|
2025-09-04 18:42:45 +08:00
|
|
|
|
} finally {
|
2025-09-08 10:21:17 +08:00
|
|
|
|
loading.value = false;
|
2025-09-04 18:42:45 +08:00
|
|
|
|
}
|
|
|
|
|
};
|
|
|
|
|
|
2025-09-08 10:21:17 +08:00
|
|
|
|
/** 取消操作 */
|
|
|
|
|
const cancel = () => {
|
|
|
|
|
reset();
|
|
|
|
|
dialog.visible = false;
|
2025-09-02 19:00:50 +08:00
|
|
|
|
};
|
2025-09-04 18:42:45 +08:00
|
|
|
|
|
2025-09-08 10:21:17 +08:00
|
|
|
|
/** 表单重置:清空所有字段 */
|
|
|
|
|
const reset = () => {
|
|
|
|
|
form.value = { ...initFormData, projectId: currentProject.value?.id };
|
|
|
|
|
fileUrl.value = '';
|
|
|
|
|
form.value.inputFile = '';
|
|
|
|
|
supplierInputFormRef.value?.resetFields();
|
|
|
|
|
};
|
2025-09-04 18:42:45 +08:00
|
|
|
|
|
2025-09-08 10:21:17 +08:00
|
|
|
|
/** 搜索操作 */
|
|
|
|
|
const handleQuery = () => {
|
|
|
|
|
queryParams.value.pageNum = 1;
|
|
|
|
|
getList();
|
|
|
|
|
};
|
2025-09-04 18:42:45 +08:00
|
|
|
|
|
2025-09-08 10:21:17 +08:00
|
|
|
|
/** 重置搜索 */
|
|
|
|
|
const resetQuery = () => {
|
|
|
|
|
queryFormRef.value?.resetFields();
|
|
|
|
|
handleQuery();
|
2025-09-04 18:42:45 +08:00
|
|
|
|
};
|
|
|
|
|
|
2025-09-08 10:21:17 +08:00
|
|
|
|
const splitBackEndStrToForm = (resData: any) => {
|
|
|
|
|
if (resData.registeredNumber) {
|
|
|
|
|
const registeredArr = resData.registeredNumber.split(',');
|
|
|
|
|
form.value.firstBuildingNumber = registeredArr[0] || undefined; // 一建建造师
|
|
|
|
|
form.value.secondBuildingNumber = registeredArr[1] || undefined; // 二建建造师
|
|
|
|
|
form.value.registeredEngineerNumber = registeredArr[2] || undefined; // 注册造价工程师
|
|
|
|
|
form.value.otherBuildingNumber = registeredArr[3] || undefined; // 其他注册人员
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if (resData.personnelNumber) {
|
|
|
|
|
const personnelArr = resData.personnelNumber.split(',');
|
|
|
|
|
form.value.seniorEngineerNumber = personnelArr[0] || undefined; // 高级工程师
|
|
|
|
|
form.value.engineerNumber = personnelArr[1] || undefined; // 工程师
|
|
|
|
|
form.value.assistantEngineerNumber = personnelArr[2] || undefined; // 助理工程师
|
|
|
|
|
form.value.otherPersonnelNumber = personnelArr[3] || undefined; // 其他职称人员
|
2025-09-04 18:42:45 +08:00
|
|
|
|
}
|
|
|
|
|
};
|
2025-09-08 10:21:17 +08:00
|
|
|
|
/** 审核过程按钮操作 */
|
|
|
|
|
const handleAudit = async (row) => {
|
|
|
|
|
proxy.$tab.closePage(proxy.$route);
|
|
|
|
|
proxy.$router.push({
|
|
|
|
|
path: `/approval/supplierInput/indexEdit`,
|
|
|
|
|
query: {
|
|
|
|
|
id: row.id,
|
|
|
|
|
type: 'update'
|
2025-08-15 00:22:06 +08:00
|
|
|
|
}
|
2025-09-08 10:21:17 +08:00
|
|
|
|
});
|
|
|
|
|
};
|
|
|
|
|
/** 查看按钮操作 */
|
|
|
|
|
const handleAuditView = async (row) => {
|
|
|
|
|
proxy.$tab.closePage(proxy.$route);
|
|
|
|
|
proxy.$router.push({
|
|
|
|
|
path: `/approval/supplierInput/indexEdit`,
|
|
|
|
|
query: {
|
|
|
|
|
id: row.id,
|
|
|
|
|
type: 'view'
|
2025-08-14 19:43:46 +08:00
|
|
|
|
}
|
2025-09-08 10:21:17 +08:00
|
|
|
|
});
|
|
|
|
|
};
|
|
|
|
|
/** 文件选择变更 */
|
|
|
|
|
const change = () => {
|
|
|
|
|
fileUrl.value = '';
|
|
|
|
|
};
|
2025-09-04 18:42:45 +08:00
|
|
|
|
|
2025-09-08 10:21:17 +08:00
|
|
|
|
/** 表格多选回调 */
|
|
|
|
|
const handleSelectionChange = (selection: SupplierInputVO[]) => {
|
|
|
|
|
ids.value = selection.map((item) => item.id);
|
|
|
|
|
single.value = selection.length !== 1;
|
|
|
|
|
multiple.value = selection.length === 0;
|
|
|
|
|
};
|
2025-08-29 18:06:42 +08:00
|
|
|
|
|
2025-09-08 10:21:17 +08:00
|
|
|
|
/** 新增操作 */
|
|
|
|
|
const handleAdd = () => {
|
|
|
|
|
reset();
|
|
|
|
|
dialog.visible = true;
|
|
|
|
|
dialog.title = '添加供应商入库';
|
2025-08-29 18:06:42 +08:00
|
|
|
|
};
|
2025-09-04 18:42:45 +08:00
|
|
|
|
|
2025-09-08 10:21:17 +08:00
|
|
|
|
const editFileId = ref('');
|
|
|
|
|
const handleUpdate = async (row?: SupplierInputVO) => {
|
|
|
|
|
reset();
|
|
|
|
|
const _id = row?.id || ids.value[0];
|
|
|
|
|
if (!_id) return proxy?.$modal.msgWarning('请选择需要修改的数据');
|
|
|
|
|
|
2025-08-15 00:22:06 +08:00
|
|
|
|
try {
|
2025-09-08 10:21:17 +08:00
|
|
|
|
const res = await getSupplierInput(_id);
|
|
|
|
|
const resData: any = res.data || {};
|
|
|
|
|
editFileId.value = resData.fileId;
|
|
|
|
|
// 1. 基础字段回显
|
|
|
|
|
form.value = { ...form.value, ...resData, inputFile: '' };
|
|
|
|
|
// 2. 核心修复:拆分后端拼接字符串到表单单独字段
|
|
|
|
|
splitBackEndStrToForm(resData);
|
|
|
|
|
// 3. 文件地址回显
|
|
|
|
|
fileUrl.value = resData.inputFile || '';
|
|
|
|
|
// 4. 打开对话框
|
|
|
|
|
dialog.visible = true;
|
|
|
|
|
dialog.title = '修改供应商入库';
|
2025-08-15 00:22:06 +08:00
|
|
|
|
} catch (error) {
|
2025-09-08 10:21:17 +08:00
|
|
|
|
proxy?.$modal.msgError('获取数据失败,请重试');
|
2025-08-15 00:22:06 +08:00
|
|
|
|
}
|
2025-08-14 19:43:46 +08:00
|
|
|
|
};
|
|
|
|
|
|
2025-09-08 10:21:17 +08:00
|
|
|
|
const fileStatus = ref(false);
|
|
|
|
|
const updateFileStatus = ref(true);
|
|
|
|
|
const isUpdateFile = ref(false); //记录是否在修改页面时是否有新上传的文件
|
|
|
|
|
const handleFileChange = (file, fileList) => {
|
|
|
|
|
if (form.value.id) {
|
|
|
|
|
updateFileStatus.value = true;
|
|
|
|
|
isUpdateFile.value = true; //记录是否在修改页面时是否有新上传的文件
|
|
|
|
|
}
|
|
|
|
|
fileStatus.value = true;
|
2025-08-14 19:43:46 +08:00
|
|
|
|
};
|
|
|
|
|
|
2025-09-08 10:21:17 +08:00
|
|
|
|
const handleFileRemove = (file, fileList) => {
|
|
|
|
|
if (form.value.id) {
|
|
|
|
|
updateFileStatus.value = false;
|
|
|
|
|
isUpdateFile.value = false; //记录是否在修改页面时是否有新上传的文件
|
|
|
|
|
}
|
2025-09-04 18:42:45 +08:00
|
|
|
|
|
2025-09-08 10:21:17 +08:00
|
|
|
|
fileStatus.value = false;
|
|
|
|
|
};
|
|
|
|
|
/** 提交表单 */
|
|
|
|
|
const submitForm = () => {
|
|
|
|
|
supplierInputFormRef.value?.validate(async (valid: boolean) => {
|
|
|
|
|
if (!valid) return;
|
|
|
|
|
if (form.value.supplierType === '劳务') {
|
|
|
|
|
form.value.registeredNumber = [
|
|
|
|
|
form.value.firstBuildingNumber,
|
|
|
|
|
form.value.secondBuildingNumber,
|
|
|
|
|
form.value.registeredEngineerNumber,
|
|
|
|
|
form.value.otherBuildingNumber
|
|
|
|
|
].join(',');
|
|
|
|
|
form.value.personnelNumber = [
|
|
|
|
|
form.value.seniorEngineerNumber,
|
|
|
|
|
form.value.engineerNumber,
|
|
|
|
|
form.value.assistantEngineerNumber,
|
|
|
|
|
form.value.otherPersonnelNumber
|
|
|
|
|
].join(',');
|
|
|
|
|
}
|
|
|
|
|
buttonLoading.value = true;
|
|
|
|
|
try {
|
|
|
|
|
if (fileUploadRef.value) {
|
|
|
|
|
if (form.value.fileId === editFileId.value && !isUpdateFile.value) {
|
|
|
|
|
console.log(1111111111);
|
|
|
|
|
|
|
|
|
|
editFormData();
|
|
|
|
|
} else {
|
|
|
|
|
fileUploadRef.value.submitUpload().then((res) => {
|
|
|
|
|
if (res == 'noFile') {
|
|
|
|
|
proxy?.$modal.msgError('请上传文件');
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
proxy?.$modal.msgSuccess('操作成功');
|
|
|
|
|
dialog.visible = false;
|
|
|
|
|
getList();
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
} catch (error) {
|
|
|
|
|
proxy?.$modal.msgError('提交失败,请重试');
|
|
|
|
|
} finally {
|
|
|
|
|
buttonLoading.value = false;
|
|
|
|
|
}
|
2025-08-15 00:22:06 +08:00
|
|
|
|
});
|
2025-09-08 10:21:17 +08:00
|
|
|
|
};
|
|
|
|
|
const editFormData = async () => {
|
|
|
|
|
const res = await updateSupplierInput(form.value);
|
|
|
|
|
if ((res.code = 200)) {
|
|
|
|
|
proxy?.$modal.msgSuccess('操作成功');
|
|
|
|
|
dialog.visible = false;
|
|
|
|
|
getList();
|
|
|
|
|
}
|
|
|
|
|
};
|
|
|
|
|
/** 删除操作 */
|
|
|
|
|
const handleDelete = async (row?: SupplierInputVO) => {
|
|
|
|
|
const _ids = row?.id || ids.value;
|
|
|
|
|
if (!_ids || (Array.isArray(_ids) && _ids.length === 0)) {
|
|
|
|
|
return proxy?.$modal.msgWarning('请选择需要删除的数据');
|
2025-09-04 18:42:45 +08:00
|
|
|
|
}
|
|
|
|
|
|
2025-09-08 10:21:17 +08:00
|
|
|
|
try {
|
|
|
|
|
await proxy?.$modal.confirm(`是否确认删除供应商入库编号为"${_ids}"的数据项?`);
|
|
|
|
|
await delSupplierInput(_ids);
|
|
|
|
|
proxy?.$modal.msgSuccess('删除成功');
|
|
|
|
|
getList();
|
|
|
|
|
} catch (error) {
|
|
|
|
|
proxy?.$modal.msgError('删除失败,请重试');
|
|
|
|
|
}
|
2025-09-04 18:42:45 +08:00
|
|
|
|
};
|
|
|
|
|
|
2025-09-08 10:21:17 +08:00
|
|
|
|
/** 导出操作 */
|
|
|
|
|
const handleExport = () => {
|
|
|
|
|
proxy?.download('supplierInput/supplierInput/export', { ...queryParams.value }, `supplierInput_${new Date().getTime()}.xlsx`);
|
|
|
|
|
};
|
|
|
|
|
//调用projectId并获取列表
|
2025-09-04 18:42:45 +08:00
|
|
|
|
onMounted(() => {
|
2025-09-08 10:21:17 +08:00
|
|
|
|
// 若需要依赖项目ID,可先判断项目是否已选中,再调用接口
|
2025-09-04 18:42:45 +08:00
|
|
|
|
if (currentProject.value?.id) {
|
2025-09-08 10:21:17 +08:00
|
|
|
|
queryParams.value.projectId = currentProject.value.id;
|
|
|
|
|
form.value.projectId = currentProject.value.id;
|
|
|
|
|
getList(); // 首次进入自动调取listSupplierInput接口
|
|
|
|
|
} else {
|
|
|
|
|
// 若项目未选中,可提示或后续监听项目变化时再加载(已有监听逻辑)
|
|
|
|
|
getList();
|
2025-09-04 18:42:45 +08:00
|
|
|
|
}
|
|
|
|
|
});
|
2025-09-08 10:21:17 +08:00
|
|
|
|
// 监听项目id刷新数据
|
|
|
|
|
const listeningProject = watch(
|
|
|
|
|
() => currentProject.value?.id,
|
|
|
|
|
(nid, oid) => {
|
|
|
|
|
queryParams.value.projectId = nid;
|
|
|
|
|
form.value.projectId = nid;
|
|
|
|
|
getList();
|
|
|
|
|
}
|
|
|
|
|
);
|
2025-09-04 18:42:45 +08:00
|
|
|
|
onUnmounted(() => {
|
|
|
|
|
listeningProject();
|
2025-08-15 00:22:06 +08:00
|
|
|
|
});
|
2025-08-14 19:43:46 +08:00
|
|
|
|
</script>
|
2025-09-04 18:42:45 +08:00
|
|
|
|
|
2025-09-08 10:21:17 +08:00
|
|
|
|
<style scoped lang="scss">
|
|
|
|
|
/* 文件上传样式 */
|
|
|
|
|
.upload-file-list {
|
|
|
|
|
margin: 0;
|
|
|
|
|
.el-upload-list__item {
|
|
|
|
|
border: 1px solid #e4e7ed;
|
|
|
|
|
line-height: 2;
|
|
|
|
|
margin-bottom: 0;
|
|
|
|
|
position: relative;
|
|
|
|
|
}
|
2025-08-14 19:43:46 +08:00
|
|
|
|
}
|
|
|
|
|
|
2025-09-08 10:21:17 +08:00
|
|
|
|
.upload-file-list .ele-upload-list__item-content {
|
|
|
|
|
display: flex;
|
|
|
|
|
justify-content: space-between;
|
|
|
|
|
align-items: center;
|
|
|
|
|
color: inherit;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* PDF预览样式(若有) */
|
|
|
|
|
.pdf {
|
|
|
|
|
display: flex;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
align-items: center;
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
border-radius: 6px;
|
|
|
|
|
position: relative;
|
|
|
|
|
width: 100%;
|
|
|
|
|
img {
|
|
|
|
|
width: 40%;
|
|
|
|
|
}
|
|
|
|
|
&:hover {
|
|
|
|
|
.Shadow {
|
|
|
|
|
opacity: 1;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
> span {
|
|
|
|
|
width: 100%;
|
|
|
|
|
}
|
2025-08-14 19:43:46 +08:00
|
|
|
|
}
|
|
|
|
|
|
2025-09-08 10:21:17 +08:00
|
|
|
|
.Shadow {
|
|
|
|
|
align-items: center;
|
|
|
|
|
background-color: rgba(0, 0, 0, 0.5);
|
|
|
|
|
color: #fff;
|
|
|
|
|
cursor: default;
|
|
|
|
|
display: inline-flex;
|
|
|
|
|
font-size: 20px;
|
|
|
|
|
height: 100%;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
left: 0;
|
|
|
|
|
opacity: 0;
|
|
|
|
|
position: absolute;
|
|
|
|
|
top: 0;
|
|
|
|
|
transition: opacity 0.3s;
|
|
|
|
|
width: 100%;
|
|
|
|
|
z-index: 1;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* 头像上传样式(备用) */
|
|
|
|
|
.el-icon.avatar-uploader-icon {
|
|
|
|
|
border: 1px dashed #cdd0d6;
|
|
|
|
|
border-radius: 6px;
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
position: relative;
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
transition: 0.3s;
|
|
|
|
|
font-size: 28px;
|
|
|
|
|
color: #8c939d;
|
|
|
|
|
width: 200px;
|
|
|
|
|
height: 178px;
|
|
|
|
|
text-align: center;
|
|
|
|
|
&:hover {
|
|
|
|
|
border-color: #409eff;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* 表格操作列样式 */
|
|
|
|
|
.small-padding {
|
|
|
|
|
padding: 0 5px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.fixed-width {
|
|
|
|
|
width: 120px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* 行间距调整 */
|
|
|
|
|
.mb8 {
|
|
|
|
|
margin-bottom: 8px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.mb-4 {
|
|
|
|
|
margin-bottom: 16px;
|
2025-08-14 19:43:46 +08:00
|
|
|
|
}
|
|
|
|
|
</style>
|