Commit 6bf50182 authored by 张子雨's avatar 张子雨

feat: 合同日期判断问题

parent 8e92e159
...@@ -39,6 +39,9 @@ const ContractView = () => { ...@@ -39,6 +39,9 @@ const ContractView = () => {
align: 'center', align: 'center',
hideInSearch: true, hideInSearch: true,
render: (val, data) => { render: (val, data) => {
if (data.signDate && typeof data.signDate === 'string') {
return data.signDate;
}
if (data.signDate && data?.signDate.length) { if (data.signDate && data?.signDate.length) {
let date = ''; let date = '';
data.signDate.forEach((item, index) => { data.signDate.forEach((item, index) => {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment