master
xy 2 years ago
parent 16ea233ece
commit 8fee6f4f9d

@ -85,7 +85,7 @@
content: '', content: '',
plan_date: '', plan_date: '',
actually_date: '', actually_date: '',
report_date: '' date: ''
}) })
" "
>新增</el-button >新增</el-button
@ -252,7 +252,7 @@ export default {
}, },
}, },
{ {
prop: "report_date", prop: "date",
label: "出具报告时间", label: "出具报告时间",
sortable: false, sortable: false,
width: 160, width: 160,
@ -260,10 +260,9 @@ export default {
return ( return (
<el-date-picker <el-date-picker
placeholder="出具报告时间" placeholder="出具报告时间"
readonly={this.role == 0}
style="width: 100%;" style="width: 100%;"
value-format="yyyy-MM-dd" value-format="yyyy-MM-dd"
v-model={row.report_date} v-model={row.date}
size="mini" size="mini"
clearable={true} clearable={true}
></el-date-picker> ></el-date-picker>
@ -516,7 +515,7 @@ export default {
content: i.content || '', content: i.content || '',
plan_date: i.plan_date || '', plan_date: i.plan_date || '',
actually_date: i.actually_date || '', actually_date: i.actually_date || '',
report_date: i.report_date || '' date: i.date || ''
}; };
}); });
}, },

@ -240,7 +240,7 @@ export default {
}, },
}, },
{ {
prop: 'report_date', prop: 'date',
label: '出具报告时间', label: '出具报告时间',
width: 170, width: 170,
formatter: (cell, data, value) => { formatter: (cell, data, value) => {

@ -134,7 +134,7 @@ export default {
align: "left", align: "left",
}, },
{ {
label: '完成情况', label: '完成情况',
width: 160, width: 160,
customFn:row => { customFn:row => {
return ( return (
@ -142,6 +142,7 @@ export default {
{ row.public_act_date ? '' : (<Tag color="warning">采购意向公开未完成</Tag>) } { row.public_act_date ? '' : (<Tag color="warning">采购意向公开未完成</Tag>) }
{ row.invite_act_date ? '' : (<Tag color="warning">招标文件挂网未完成</Tag>) } { row.invite_act_date ? '' : (<Tag color="warning">招标文件挂网未完成</Tag>) }
{ row.open_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> </div>
) )
} }

Loading…
Cancel
Save