Browse Source

计划单统计表-增加列表字段-刷成衣结束日期

jbb 1 year ago
parent
commit
8285d7dc5c
1 changed files with 18 additions and 1 deletions
  1. 18 1
      src/views/cost-allocation-total/inancialReconciliation.vue

+ 18 - 1
src/views/cost-allocation-total/inancialReconciliation.vue

@@ -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="";