Bläddra i källkod

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

lazy 2 månader sedan
förälder
incheckning
871c63d91b

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

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

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

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