Commit 76b7d938 authored by 黄奎's avatar 黄奎

页面修改

parent 19379316
...@@ -23,15 +23,14 @@ ...@@ -23,15 +23,14 @@
<q-btn color="accent" size="sm" class="q-mr-md" icon="add" label="新增供应商" @click="EditSupplier(null)" /> <q-btn color="accent" size="sm" class="q-mr-md" icon="add" label="新增供应商" @click="EditSupplier(null)" />
</div> </div>
</template> </template>
<template v-slot:body-cell-Name="props"> <template v-slot:body-cell-ContractUrl="props">
<q-td> <q-td>
<template v-if="props.row.ContractUrl&&props.row.ContractUrl!=''"> <template v-if="props.row.ContractUrl&&props.row.ContractUrl!=''">
<a style="color:#2961FE;text-decoration:none;cursor:pointer" :href="props.row.ContractUrl" target="_blank" <a style="color:#2961FE;text-decoration:none;cursor:pointer" :href="props.row.ContractUrl" target="_blank"
title="点击查看合同">{{props.row.Name}}</a> title="点击查看合同">查看合同</a>
</template> </template>
<template v-else> <template v-else>
{{props.row.Name}} <a style="color:red;text-decoration:none;">未上传合同</a>
<a style="color:red;text-decoration:none;">(未上传合同)</a>
</template> </template>
</q-td> </q-td>
</template> </template>
...@@ -110,6 +109,12 @@ ...@@ -110,6 +109,12 @@
align: 'left', align: 'left',
field: 'TypeName' field: 'TypeName'
}, },
{
name: 'ContractUrl',
label: '合同',
align: 'left',
field: 'ContractUrl'
},
{ {
name: 'LinkMan', name: 'LinkMan',
label: '联系人', label: '联系人',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment