Browse Source

计划单统计表-字段修改

jbb 2 years ago
parent
commit
a6eaf98743
1 changed files with 52 additions and 17 deletions
  1. 52 17
      src/views/cost-allocation-total/inancialReconciliation.vue

+ 52 - 17
src/views/cost-allocation-total/inancialReconciliation.vue

@@ -127,68 +127,103 @@ export default {
         {
           title: '交单日期',
           width: 120,
-          dataIndex: 'outdat',
+          dataIndex: 'fsubmitDate',
           customRender: text => {
-            // return moment(text).format('YYYY-MM-DD')
+            if(text!==''&&text){
+              return moment(text).format('YYYY-MM-DD')
+            }else{
+              return ''
+            }
+            
           },
           className: 'replacecolor'
         },
         {
           title: '返单日期',
           width: 120,
-          dataIndex: 'outdat',
+          dataIndex: 'frejectDate',
           customRender: text => {
-            // return moment(text).format('YYYY-MM-DD')
+            if(text!==''&&text){
+              return moment(text).format('YYYY-MM-DD')
+            }else{
+              return ''
+            }
+            
           },
           className: 'replacecolor'
         },
         {
           title: '审核结束日期',
           width: 120,
-          dataIndex: 'outdat',
+          dataIndex: 'ffirstApproveDate',
           customRender: text => {
-            // return moment(text).format('YYYY-MM-DD')
+            if(text!=='' && text){
+              return moment(text).format('YYYY-MM-DD')
+            }else{
+              return ''
+            }
+            
           },
           className: 'replacecolor'
         },
         {
-          title: '面纱结束日期',
+          title: '纱结束日期',
           width: 120,
-          dataIndex: 'outdat',
+          dataIndex: 'ffinalApproveDate',
           customRender: text => {
-            // return moment(text).format('YYYY-MM-DD')
+            if(text!==''&&text){
+              return moment(text).format('YYYY-MM-DD')
+            }else{
+              return ''
+            }
+            
           },
           className: 'replacecolor'
         },
-        { title: '面损表单据状态', width: 90, dataIndex: 'actualShipquantity', className: 'replacecolor' },
+        { title: '面损表单据状态', width: 90, dataIndex: 'fstatus', className: 'replacecolor' },
         {
           title: '交单日期',
           width: 120,
-          dataIndex: 'outdata',
+          dataIndex: 'csubmitDate',
           customRender: text => {
-            // return moment(text).format('YYYY-MM-DD')
+            if(text!==''&&text){
+              return moment(text).format('YYYY-MM-DD')
+            }else{
+              return ''
+            }
+            
           },
           className: 'replacecolor'
         },
         {
           title: '返单日期',
           width: 120,
-          dataIndex: 'outdat',
+          dataIndex: 'crejectDate',
           customRender: text => {
-            // return moment(text).format('YYYY-MM-DD')
+            if(text!==''&&text){
+              return moment(text).format('YYYY-MM-DD')
+            }else{
+              return ''
+            }
+            
           },
           className: 'replacecolor'
         },
         {
           title: '结束日期',
           width: 120,
-          dataIndex: 'outdat',
+          dataIndex: 'cfirstApproveDate',
           customRender: text => {
-            // return moment(text).format('YYYY-MM-DD')
+            if(text!==''&&text){
+              return moment(text).format('YYYY-MM-DD')
+            }else{
+              return ''
+            }
+            
           },
           className: 'replacecolor'
         },
-        { title: '分配表单据状态', width: 120, dataIndex: 'usdTotalexportprice', className: 'replacecolor' },
+        { title: '分配表单据状态', width: 120, dataIndex: 'cstatus', className: 'replacecolor' },
         {
           title: '备注',
           width: 180,