|
@@ -313,7 +313,13 @@
|
|
|
{
|
|
|
label: '编辑(edit)',
|
|
|
onClick: handleEdit.bind(null, record),
|
|
|
- auth: 'saleCode:sale_inquiry_form:edit'
|
|
|
+ auth: 'saleCode:sale_inquiry_form:edit',
|
|
|
+ ifShow: record.submit=='0'||!record.submit
|
|
|
+ },
|
|
|
+ {
|
|
|
+ label: '详情(detail)',
|
|
|
+ onClick: handleDetail.bind(null, record),
|
|
|
+ ifShow: record.submit='1'
|
|
|
}
|
|
|
]
|
|
|
}
|
|
@@ -325,14 +331,17 @@
|
|
|
{
|
|
|
label: '详情(detail)',
|
|
|
onClick: handleDetail.bind(null, record),
|
|
|
- }, {
|
|
|
+ ifShow: record.submit=='0'||!record.submit
|
|
|
+ },
|
|
|
+ {
|
|
|
label: '删除(delete)',
|
|
|
popConfirm: {
|
|
|
title: '是否确认删除',
|
|
|
confirm: handleDelete.bind(null, record),
|
|
|
placement: 'topLeft'
|
|
|
},
|
|
|
- auth: 'saleCode:sale_inquiry_form:delete'
|
|
|
+ auth: 'saleCode:sale_inquiry_form:delete',
|
|
|
+ ifShow: record.submit=='0'||!record.submit
|
|
|
}
|
|
|
]
|
|
|
}
|