fix: 修改supplieraudit界面

This commit is contained in:
caoqianming 2026-01-06 11:20:56 +08:00
parent d3daab7ea8
commit 8f6ef463b0
1 changed files with 21 additions and 9 deletions

View File

@ -9,14 +9,14 @@
<el-main class="nopadding"> <el-main class="nopadding">
<scTable <scTable
ref="table" ref="table"
:apiObj="API.hrm.resignation.list" :apiObj="API.pum.supplieraudit.list"
row-key="id" row-key="id"
stripe stripe
:query="query" :query="query"
@row-click="(row)=>{t_id=row.id;mode='show';drawerVisible=true;}" @row-click="(row)=>{t_id=row.id;mode='show';drawerVisible=true;}"
> >
<el-table-column label="姓名" prop="employee_name" width="100" show-overflow-tooltip></el-table-column> <el-table-column label="供应商名称" prop="name" width="200" show-overflow-tooltip></el-table-column>
<el-table-column label="审批状态" width="200" show-overflow-tooltip> <el-table-column label="审批状态" width="250" show-overflow-tooltip>
<template #default="scope"> <template #default="scope">
<el-tag :type="actStateEnum[scope.row.ticket_?.act_state]?.type"> <el-tag :type="actStateEnum[scope.row.ticket_?.act_state]?.type">
{{ actStateEnum[scope.row.ticket_?.act_state]?.text }} {{ actStateEnum[scope.row.ticket_?.act_state]?.text }}
@ -24,12 +24,24 @@
<el-tag type="info" effect="plain">{{ scope.row.ticket_?.state_.name }}</el-tag> <el-tag type="info" effect="plain">{{ scope.row.ticket_?.state_.name }}</el-tag>
</template> </template>
</el-table-column>` </el-table-column>
<el-table-column label="部门" prop="belong_dept_name" width="120" show-overflow-tooltip></el-table-column>` <el-table-column label="物料名称" prop="material_name" width="200" show-overflow-tooltip></el-table-column>`
<el-table-column label="岗位" prop="post_name" width="120" show-overflow-tooltip></el-table-column> <el-table-column label="物料类别" prop="material_cate" width="200" show-overflow-tooltip></el-table-column>
<el-table-column label="身份证号" prop="employee_id_number" width="200" show-overflow-tooltip></el-table-column> <el-table-column label="调查表" prop="survery_form" width="100" show-overflow-tooltip>
<el-table-column label="离职日期" prop="end_date" width="100" show-overflow-tooltip></el-table-column> <template #default="scope">
<el-table-column label="原因" prop="reason" show-overflow-tooltip></el-table-column> <el-link v-if="scope.row.survery_form_" type="text" :href="scope.row.survery_form_.path" target="_blank" style="color:blue" @click.stop="">下载</el-link>
</template>
</el-table-column>
<el-table-column label="营业执照" prop="business_license" width="100" show-overflow-tooltip>
<template #default="scope">
<el-link v-if="scope.row.business_license_" type="text" :href="scope.row.business_license_.path" target="_blank" style="color:blue" @click.stop="">下载</el-link>
</template>
</el-table-column>
<el-table-column label="质量证书" prop="quality_certificate" show-overflow-tooltip>
<template #default="scope">
<el-link v-if="scope.row.quality_certificate_" type="text" :href="scope.row.quality_certificate_.path" target="_blank" style="color:blue" @click.stop="">下载</el-link>
</template>
</el-table-column>
</scTable> </scTable>
</el-main> </el-main>
</el-container> </el-container>