release/2.19.1.2503.01-业务线个税
This commit is contained in:
parent
5f95bab79d
commit
ec76b9cdca
|
|
@ -69,7 +69,7 @@ export function renderCols(initialState: any[], type: string, i18n?: AnyObject,
|
||||||
width: 185,
|
width: 185,
|
||||||
fixed: "right",
|
fixed: "right",
|
||||||
render: (__: string, record: any) => {
|
render: (__: string, record: any) => {
|
||||||
const { billStatus, customOptAuth } = record;
|
const { billStatus, customOptAuth, qzOpts = [] } = record;
|
||||||
const items: MenuProps["items"] = [
|
const items: MenuProps["items"] = [
|
||||||
{
|
{
|
||||||
key: "DeleteList",
|
key: "DeleteList",
|
||||||
|
|
@ -134,6 +134,7 @@ export function renderCols(initialState: any[], type: string, i18n?: AnyObject,
|
||||||
<Dropdown
|
<Dropdown
|
||||||
menu={{
|
menu={{
|
||||||
items: [
|
items: [
|
||||||
|
..._.map(qzOpts, (o) => ({ ...o, onClick: () => postMessageToParent(o.key, record) })),
|
||||||
{
|
{
|
||||||
key: "Log",
|
key: "Log",
|
||||||
label: i18n?.["操作日志"],
|
label: i18n?.["操作日志"],
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue