下拉框回显
This commit is contained in:
@ -150,9 +150,9 @@
|
||||
<template v-if="column.dataIndex === 'dateTo'">
|
||||
{{ record.dateTo ? dayjs(record.dateTo).format('YYYY-MM-DD') : ''}}
|
||||
</template>
|
||||
<template v-if="column.dataIndex === 'docTypeCode'">
|
||||
<!-- <template v-if="column.dataIndex === 'docTypeCode'">
|
||||
{{ (optionSelect.docCpList.find(v=>v.code == record.docTypeCode) || {}).fullName }}
|
||||
</template>
|
||||
</template> -->
|
||||
<template v-if="column.dataIndex === 'operation'">
|
||||
<a v-if="!isDisable" style="margin-right: 10px" @click="btnCheck('certificate', 'edit', record, index)">编辑</a>
|
||||
<a v-if="!isDisable" style="margin-right: 10px" @click="btnCheck('certificate', 'delete', record, index)">删除</a>
|
||||
@ -300,7 +300,7 @@
|
||||
|
||||
const columnsCertificate = ref([
|
||||
{ title: t('序号'), dataIndex: 'index', key: 'index', customRender: (column) => `${column.index + 1}` ,width: 100},
|
||||
{ title: t('资质证书名称'), dataIndex: 'docTypeCode' , width:200},
|
||||
{ title: t('资质证书名称'), dataIndex: 'docTypeName' , width:200},
|
||||
{ title: t('有效期开始'), dataIndex: 'dateFrom', width: 140},
|
||||
{ title: t('有效期结束'), dataIndex: 'dateTo', width: 140},
|
||||
{ title: t('备注'), dataIndex: 'note', },
|
||||
@ -399,7 +399,7 @@
|
||||
optionSelect.signList = await getDictionary('LNG_YN')
|
||||
optionSelect.validList = await getDictionary('LNG_VALID')
|
||||
optionSelect.approCodeList = await getDictionary('LNG_APPRO')
|
||||
optionSelect.docCpList = await getDocCpList()
|
||||
// optionSelect.docCpList = await getDocCpList()
|
||||
}
|
||||
const handleAdd = (val)=> {
|
||||
curIdx.value = null
|
||||
|
||||
Reference in New Issue
Block a user