Skip to content

在crud中 的columns中,怎么根据其中某一个字段判断是否可以进行点击 #11013

Open
@gdlnb666

Description

@gdlnb666

你好,请问一下 在crud中 的columns中,怎么根据其中某一个字段判断是否可以进行点击
{
name: 'erpNo',
label: '备发货通知单',
// type: 'button',
type: 'tpl',
// level: 'link',
tpl: "${erpNo}",
id: 'u:78bb251741cd',
sortable: true,
fixed: 'left',
// onClick: () => {
// console.log(222);
// },
onEvent: {
click: {
actions: [
{
actionType: 'url',
args: {
url: '/spare/detail?id=${deliveryId}',
},
stopPropagation:false
},
],
},
},
},

Metadata

Metadata

Assignees

No one assigned

    Labels

    fixstyleBug or PR related to component's style

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions