|
@@ -246,6 +246,23 @@ export default {
|
|
|
return new Date(a.fsubmitDate) > new Date(b.fsubmitDate) ? 1 : -1;
|
|
|
},
|
|
|
},
|
|
|
+ {
|
|
|
+ title: '刷成衣结束日期',
|
|
|
+ width: 170,
|
|
|
+ dataIndex: 'readyEndDate',
|
|
|
+ customRender: text => {
|
|
|
+ if(text!==''&&text){
|
|
|
+ return moment(text).format('YYYY-MM-DD')
|
|
|
+ }else{
|
|
|
+ return ''
|
|
|
+ }
|
|
|
+
|
|
|
+ },
|
|
|
+ className: 'replacecolor',
|
|
|
+ sorter: (a, b) => {
|
|
|
+ return new Date(a.readyEndDate) > new Date(b.readyEndDate) ? 1 : -1;
|
|
|
+ },
|
|
|
+ },
|
|
|
{
|
|
|
title: '返单日期',
|
|
|
width: 120,
|
|
@@ -298,7 +315,7 @@ export default {
|
|
|
return new Date(a.ffinalApproveDate) > new Date(b.ffinalApproveDate) ? 1 : -1;
|
|
|
},
|
|
|
},
|
|
|
- { title: '面损表单据状态', width: 90, dataIndex: 'fstatus', className: 'replacecolor',
|
|
|
+ { title: '面损表单据状态', width: 120, dataIndex: 'fstatus', className: 'replacecolor',
|
|
|
sorter:(a,b)=> {
|
|
|
let temp1="";
|
|
|
let temp2="";
|