master
This commit is contained in:
parent
64d3b211da
commit
2d046da062
|
|
@ -24,7 +24,7 @@ export function renderCols(initialState: any[], type: string, i18n?: AnyObject,
|
|||
render: (text: string, record: any) => {
|
||||
const { billStatus } = record;
|
||||
return (<Button type="link"
|
||||
onClick={() => postMessageToParent(billStatus === "0" ? "CALC" : "VIEW", record)}>{text}</Button>);
|
||||
onClick={() => postMessageToParent((billStatus === "0" && extraParams?.permission) ? "CALC" : "VIEW", record)}>{text}</Button>);
|
||||
}
|
||||
};
|
||||
break;
|
||||
|
|
|
|||
Loading…
Reference in New Issue