Ver código fonte

fix:修改交易记录交易完成时间

lazy 2 meses atrás
pai
commit
cb4fa53c10

+ 2 - 6
src/views/cyAccountManage/memberFundManage/cashFlow.vue

@@ -214,13 +214,9 @@ export default {
         },
         {
           label: '交易完成时间',
+          prop: 'txnCompleteDate',
           showTooltip: true,
-          width: 120,
-          render: (h, row) => {
-            return (
-              <div>{ row.txnCompleteDate.length > 10 ? row.txnCompleteDate.splice(0, 10) : '' }</div>
-            )
-          }
+          width: 120
         }
         // {
         //   label: '操作',

+ 1 - 6
src/views/cyAccountManage/memberFundManage/transactionRecord.vue

@@ -263,12 +263,7 @@ export default {
         {
           label: '交易完成时间',
           showTooltip: true,
-          width: 120,
-          render: (h, row) => {
-            return (
-              <div>{ row.txnCompleteDate.length > 10 ? row.txnCompleteDate.splice(0, 10) : '' }</div>
-            )
-          }
+          width: 120
         },
         {
           label: '操作',