采购合同优化

This commit is contained in:
‘huanghaiixia’
2026-01-08 11:39:56 +08:00
parent 5184bc2ddc
commit 3c72582db5
6 changed files with 287 additions and 332 deletions

View File

@ -1,21 +1,19 @@
<template>
<div>
<Card title="签报列表" :bordered="false" >
<a-button type="primary" style="margin-bottom: 10px" v-if="!disabled" @click="onAppro">关联签报</a-button>
<a-table :columns="columns" :data-source="dataList" :pagination="false">
<template #bodyCell="{ column, record, index }">
<template v-if="column.dataIndex === 'file'">
<div v-for="item in (record.lngFileUploadList )">
<a @click="handleDownload(item)">{{item.fileOrg}}</a>
</div>
</template>
<template v-if="column.dataIndex === 'operation'">
<a style="margin-right: 10px" @click="btnCheck('view', record, index)">查看</a>
<a v-if="!disabled" style="margin-right: 10px" @click="btnCheck('delete', record, index)">删除</a>
</template>
<a-button type="primary" style="margin-bottom: 10px" v-if="!disabled" @click="onAppro">关联签报</a-button>
<a-table :columns="columns" :data-source="dataList" :pagination="false">
<template #bodyCell="{ column, record, index }">
<template v-if="column.dataIndex === 'file'">
<div v-for="item in (record.lngFileUploadList )">
<a @click="handleDownload(item)">{{item.fileOrg}}</a>
</div>
</template>
</a-table>
</Card>
<template v-if="column.dataIndex === 'operation'">
<a style="margin-right: 10px" @click="btnCheck('view', record, index)">查看</a>
<a v-if="!disabled" style="margin-right: 10px" @click="btnCheck('delete', record, index)">删除</a>
</template>
</template>
</a-table>
<approListModal @register="register" @success="handleSuccess" />
</div>
</template>