main
panliang 2024-05-03 20:27:46 +08:00
parent 0b0e30ed5f
commit 0e940ee6df
3 changed files with 12 additions and 48 deletions

View File

@ -33,9 +33,9 @@ const id = ref(0)
const columns = [
{ title: '审核状态', dataIndex: 'workflow_check.check_status', format: (value) => statusFun(value, 'statusExpense', 'name') },
{ title: '申请人', dataIndex: 'employee.name' },
{ title: '申请时间', dataIndex: 'created_format' },
{ title: '所属门店', dataIndex: 'store.title' },
{ title: '电话号码', dataIndex: 'employee.phone' },
{ title: '申请时间', dataIndex: 'created_format' },
{ title: '请假类型', dataIndex: 'type.name' },
{ title: '请假开始时间', dataIndex: 'start_format' },
{ title: '请假结束时间', dataIndex: 'end_format' },

View File

@ -84,11 +84,10 @@ export default {
},
data: [
{ title: '审核状态', dataIndex: 'check_status', format: (value) => statusFun(value, 'statusExpense2', 'name')},
{ title: '申请人', dataIndex: 'check.subject.employee.name'},
{ title: '申请时间', dataIndex: 'check.subject.created_format'},
{ title: '所属门店', dataIndex: 'check.subject.store.title'},
{ title: '电话号码', dataIndex: 'check.subject.employee.phone'},
{ title: '申请时间', dataIndex: 'check.subject.created_format'},
{ title: '请假类型', dataIndex: 'check.subject.type.name'},
{ title: '请假开始时间', dataIndex: 'check.subject.start_format'},
{ title: '请假结束时间', dataIndex: 'check.subject.end_format'},

View File

@ -32,51 +32,16 @@ const actions = ref([
])
const colums = [
{
title: '审核状态',
dataIndex: 'workflow_check.check_status',
format: (value) => statusFun(value, 'statusExpense', 'name')
},
{
title: '申请人',
dataIndex: 'employee.name',
},
{
title: '所属门店',
dataIndex: 'store.title',
},
{
title: '电话号码',
dataIndex: 'employee.phone',
},
{
title: '申请时间',
dataIndex: 'created_format',
},
{
title: '报销分类',
dataIndex: 'type.name',
},
{
title: '报销金额',
dataIndex: 'expense',
},
{
title: '报销原因',
dataIndex: 'reason',
labelPosition: 'top',
},
{
title: '报销凭证',
dataIndex: 'photos',
type: 'album',
},
{
title: '未通过原因',
dataIndex: 'workflow_check.check_remarks',
labelPosition: 'top',
isShow: (item) => item?.workflow_check.check_status == 4,
},
{ title: '审核状态', dataIndex: 'workflow_check.check_status', format: (value) => statusFun(value, 'statusExpense', 'name') },
{ title: '申请人', dataIndex: 'employee.name' },
{ title: '所属门店', dataIndex: 'store.title' },
{ title: '电话号码', dataIndex: 'employee.phone' },
{ title: '申请时间', dataIndex: 'created_format' },
{ title: '报销分类', dataIndex: 'type.name' },
{ title: '报销金额', dataIndex: 'expense' },
{ title: '报销原因', dataIndex: 'reason', labelPosition: 'top' },
{ title: '报销凭证', dataIndex: 'photos', type: 'album' },
{ title: '未通过原因', dataIndex: 'workflow_check.check_remarks', labelPosition: 'top', isShow: (item) => item?.workflow_check.check_status == 4 },
]
const actionSheet = ref(null)
const data = ref(null)