|
@@ -459,9 +459,25 @@ const NewService = Form.create()(
|
|
|
title: "项目说明",
|
|
|
dataIndex: "taskComment",
|
|
|
key: "taskComment",
|
|
|
- render: (text) => {
|
|
|
+ render: (text, record) => {
|
|
|
+ let textStr = text;
|
|
|
+ // let textArr = [];
|
|
|
+ // if (record.projectType == 1) {
|
|
|
+ // if (record.htMember === 1) {
|
|
|
+ // textArr.push("高新会员");
|
|
|
+ // }
|
|
|
+ // if (record.additionalDeduction === 1) {
|
|
|
+ // textArr.push("加计扣除");
|
|
|
+ // }
|
|
|
+ // if (record.rdAwardsubsidy === 1) {
|
|
|
+ // textArr.push("研发补助");
|
|
|
+ // }
|
|
|
+ // }
|
|
|
+ // if (textArr.length) {
|
|
|
+ // textStr = `${textArr.join("&")} ${!!text ? `(${text})` : ''}`
|
|
|
+ // }
|
|
|
return (
|
|
|
- <Tooltip title={text}>
|
|
|
+ <Tooltip title={textStr}>
|
|
|
<div
|
|
|
style={{
|
|
|
width: 100,
|
|
@@ -469,7 +485,7 @@ const NewService = Form.create()(
|
|
|
whiteSpace: "nowrap",
|
|
|
textOverflow: "ellipsis",
|
|
|
}}
|
|
|
- >{text}</div>
|
|
|
+ >{textStr}</div>
|
|
|
</Tooltip>
|
|
|
)
|
|
|
},
|
|
@@ -685,9 +701,25 @@ const NewService = Form.create()(
|
|
|
title: "项目说明",
|
|
|
dataIndex: "taskComment",
|
|
|
key: "taskComment",
|
|
|
- render: (text) => {
|
|
|
+ render: (text, record) => {
|
|
|
+ let textStr = text;
|
|
|
+ let textArr = [];
|
|
|
+ if (record.projectType == 1) {
|
|
|
+ if (record.htMember === 1) {
|
|
|
+ textArr.push("高新会员");
|
|
|
+ }
|
|
|
+ if (record.additionalDeduction === 1) {
|
|
|
+ textArr.push("加计扣除");
|
|
|
+ }
|
|
|
+ if (record.rdAwardsubsidy === 1) {
|
|
|
+ textArr.push("研发补助");
|
|
|
+ }
|
|
|
+ }
|
|
|
+ // if (textArr.length) {
|
|
|
+ // textStr = `${textArr.join("&")} ${!!text ? `(${text})` : ''}`
|
|
|
+ // }
|
|
|
return (
|
|
|
- <Tooltip title={text}>
|
|
|
+ <Tooltip title={textStr}>
|
|
|
<div
|
|
|
style={{
|
|
|
width: 100,
|
|
@@ -695,7 +727,7 @@ const NewService = Form.create()(
|
|
|
whiteSpace: "nowrap",
|
|
|
textOverflow: "ellipsis",
|
|
|
}}
|
|
|
- >{text}</div>
|
|
|
+ >{textStr}</div>
|
|
|
</Tooltip>
|
|
|
)
|
|
|
},
|
|
@@ -873,9 +905,25 @@ const NewService = Form.create()(
|
|
|
title: "项目说明",
|
|
|
dataIndex: "taskComment",
|
|
|
key: "taskComment",
|
|
|
- render: (text) => {
|
|
|
+ render: (text, record) => {
|
|
|
+ let textStr = text;
|
|
|
+ let textArr = [];
|
|
|
+ if (record.projectType == 1) {
|
|
|
+ if (record.htMember === 1) {
|
|
|
+ textArr.push("高新会员");
|
|
|
+ }
|
|
|
+ if (record.additionalDeduction === 1) {
|
|
|
+ textArr.push("加计扣除");
|
|
|
+ }
|
|
|
+ if (record.rdAwardsubsidy === 1) {
|
|
|
+ textArr.push("研发补助");
|
|
|
+ }
|
|
|
+ }
|
|
|
+ // if (textArr.length) {
|
|
|
+ // textStr = `${textArr.join("&")} ${!!text ? `(${text})` : ''}`
|
|
|
+ // }
|
|
|
return (
|
|
|
- <Tooltip title={text}>
|
|
|
+ <Tooltip title={textStr}>
|
|
|
<div
|
|
|
style={{
|
|
|
width: 100,
|
|
@@ -883,7 +931,7 @@ const NewService = Form.create()(
|
|
|
whiteSpace: "nowrap",
|
|
|
textOverflow: "ellipsis",
|
|
|
}}
|
|
|
- >{text}</div>
|
|
|
+ >{textStr}</div>
|
|
|
</Tooltip>
|
|
|
)
|
|
|
},
|
|
@@ -5589,9 +5637,10 @@ const NewService = Form.create()(
|
|
|
title: "项目说明",
|
|
|
dataIndex: "taskComment",
|
|
|
key: "taskComment",
|
|
|
- render: (text) => {
|
|
|
+ render: (text, record) => {
|
|
|
+ let textStr = text;
|
|
|
return (
|
|
|
- <Tooltip title={text}>
|
|
|
+ <Tooltip title={textStr}>
|
|
|
<div
|
|
|
style={{
|
|
|
width: 100,
|
|
@@ -5599,7 +5648,7 @@ const NewService = Form.create()(
|
|
|
whiteSpace: "nowrap",
|
|
|
textOverflow: "ellipsis",
|
|
|
}}
|
|
|
- >{text}</div>
|
|
|
+ >{textStr}</div>
|
|
|
</Tooltip>
|
|
|
)
|
|
|
},
|
|
@@ -5707,9 +5756,23 @@ const NewService = Form.create()(
|
|
|
title: "项目说明",
|
|
|
dataIndex: "taskComment",
|
|
|
key: "taskComment",
|
|
|
- render: (text) => {
|
|
|
+ render: (text, record) => {
|
|
|
+ let textStr = text;
|
|
|
+ let textArr = [];
|
|
|
+ if (record.htMember === 1) {
|
|
|
+ textArr.push("高新会员");
|
|
|
+ }
|
|
|
+ if (record.additionalDeduction === 1) {
|
|
|
+ textArr.push("加计扣除");
|
|
|
+ }
|
|
|
+ if (record.rdAwardsubsidy === 1) {
|
|
|
+ textArr.push("研发补助");
|
|
|
+ }
|
|
|
+ if (textArr.length) {
|
|
|
+ textStr = `${textArr.join("&")} ${!!text ? `(${text})` : ''}`
|
|
|
+ }
|
|
|
return (
|
|
|
- <Tooltip title={text}>
|
|
|
+ <Tooltip title={textStr}>
|
|
|
<div
|
|
|
// style={{
|
|
|
// width: 100,
|
|
@@ -5717,7 +5780,7 @@ const NewService = Form.create()(
|
|
|
// whiteSpace: "nowrap",
|
|
|
// textOverflow: "ellipsis",
|
|
|
// }}
|
|
|
- >{text}</div>
|
|
|
+ >{textStr}</div>
|
|
|
</Tooltip>
|
|
|
)
|
|
|
},
|
|
@@ -5836,9 +5899,23 @@ const NewService = Form.create()(
|
|
|
title: "项目说明",
|
|
|
dataIndex: "taskComment",
|
|
|
key: "taskComment",
|
|
|
- render: (text) => {
|
|
|
+ render: (text, record) => {
|
|
|
+ let textStr = text;
|
|
|
+ let textArr = [];
|
|
|
+ if (record.htMember === 1) {
|
|
|
+ textArr.push("高新会员");
|
|
|
+ }
|
|
|
+ if (record.additionalDeduction === 1) {
|
|
|
+ textArr.push("加计扣除");
|
|
|
+ }
|
|
|
+ if (record.rdAwardsubsidy === 1) {
|
|
|
+ textArr.push("研发补助");
|
|
|
+ }
|
|
|
+ if (textArr.length) {
|
|
|
+ textStr = `${textArr.join("&")} ${!!text ? `(${text})` : ''}`
|
|
|
+ }
|
|
|
return (
|
|
|
- <Tooltip title={text}>
|
|
|
+ <Tooltip title={textStr}>
|
|
|
<div
|
|
|
// style={{
|
|
|
// width: 100,
|
|
@@ -5846,7 +5923,7 @@ const NewService = Form.create()(
|
|
|
// whiteSpace: "nowrap",
|
|
|
// textOverflow: "ellipsis",
|
|
|
// }}
|
|
|
- >{text}</div>
|
|
|
+ >{textStr}</div>
|
|
|
</Tooltip>
|
|
|
)
|
|
|
},
|
|
@@ -5979,7 +6056,7 @@ const NewService = Form.create()(
|
|
|
whiteSpace: "nowrap",
|
|
|
textOverflow: "ellipsis",
|
|
|
}}
|
|
|
- >{text}</div>
|
|
|
+ >{textStr}</div>
|
|
|
</Tooltip>
|
|
|
)
|
|
|
},
|
|
@@ -6043,9 +6120,23 @@ const NewService = Form.create()(
|
|
|
title: "项目说明",
|
|
|
dataIndex: "taskComment",
|
|
|
key: "taskComment",
|
|
|
- render: (text) => {
|
|
|
+ render: (text, record) => {
|
|
|
+ let textStr = text;
|
|
|
+ let textArr = [];
|
|
|
+ if (record.htMember === 1) {
|
|
|
+ textArr.push("高新会员");
|
|
|
+ }
|
|
|
+ if (record.additionalDeduction === 1) {
|
|
|
+ textArr.push("加计扣除");
|
|
|
+ }
|
|
|
+ if (record.rdAwardsubsidy === 1) {
|
|
|
+ textArr.push("研发补助");
|
|
|
+ }
|
|
|
+ if (textArr.length) {
|
|
|
+ textStr = `${textArr.join("&")} ${!!text ? `(${text})` : ''}`
|
|
|
+ }
|
|
|
return (
|
|
|
- <Tooltip title={text}>
|
|
|
+ <Tooltip title={textStr}>
|
|
|
<div
|
|
|
style={{
|
|
|
width: 100,
|
|
@@ -6053,7 +6144,7 @@ const NewService = Form.create()(
|
|
|
whiteSpace: "nowrap",
|
|
|
textOverflow: "ellipsis",
|
|
|
}}
|
|
|
- >{text}</div>
|
|
|
+ >{textStr}</div>
|
|
|
</Tooltip>
|
|
|
)
|
|
|
},
|