master
lion 8 months ago
parent 2224eca894
commit 4286c20801

@ -864,9 +864,9 @@ export default {
customFn: (row) => { customFn: (row) => {
{ {
return row.money_way_detail.map(item => { return row.money_way_detail.map(item => {
return (< div> { return (<div> {
item.value item.value
} < /div>) } </div>)
}) })
} }
@ -879,11 +879,11 @@ export default {
customFn: (row) => { customFn: (row) => {
{ {
return row.plans.map(item => { return row.plans.map(item => {
return (< div> [{ return (<div> [{
item.year item.year
}] - { }]-{
item.name item.name
} < /div>) } </div>)
}) })
} }
@ -912,12 +912,11 @@ export default {
width: 140, width: 140,
customFn: (row) => { customFn: (row) => {
let per = ((((row.fund_log_total) / row.money) || 0) * 100)?.toFixed(2) || 0 let per = ((((row.fund_log_total) / row.money) || 0) * 100)?.toFixed(2) || 0
return (< return (<div style={
div style={
{ {
'color': per > 110 ? 'red' : 'green' 'color': per > 110 ? 'red' : 'green'
} }
}> { }>{
per per
} % } %
</div> </div>

@ -141,14 +141,29 @@ export default {
label: "年份", label: "年份",
width: 100, width: 100,
align: "center", align: "center",
fixed:'left'
}, },
{ {
prop: "name", prop: "name",
label: "项目名称", label: "项目名称",
width: 180, width: 180,
align: "left", align: "left",
fixed:'left'
},
{
label: '完成情况',
width: 160,
fixed:'left',
customFn:row => {
return (
<div>
{ row.public_act_date ? (<Tag color="success">采购意向公开已完成</Tag>) : (<Tag color="warning">采购意向公开未完成</Tag>) }
{ row.invite_act_date ? <Tag color="success">招标文件挂网已完成</Tag> : (<Tag color="warning">招标文件挂网未完成</Tag>) }
{ row.open_act_date ? <Tag color="success">项目开标已完成</Tag> : (<Tag color="warning">项目开标未完成</Tag>) }
</div>
)
}
}, },
{ {
prop: "is_face_small", prop: "is_face_small",
label: "是否面向专门面向中小企业采购", label: "是否面向专门面向中小企业采购",
@ -169,20 +184,6 @@ export default {
: "否"; : "否";
}, },
}, },
{
label: '完成情况',
width: 160,
customFn:row => {
return (
<div>
{ row.public_act_date ? '' : (<Tag color="warning">采购意向公开未完成</Tag>) }
{ row.invite_act_date ? '' : (<Tag color="warning">招标文件挂网未完成</Tag>) }
{ row.open_act_date ? '' : (<Tag color="warning">项目开标未完成</Tag>) }
{ (row.public_act_date && row.invite_act_date && row.open_act_date) ? (<Tag color="success">已完成</Tag>) : '' }
</div>
)
}
},
{ {
prop: "public_plane_date", prop: "public_plane_date",
label: "采购意向公开计划时间", label: "采购意向公开计划时间",

Loading…
Cancel
Save