From bbf6d337c9641c0d1bf2c57f05310e59c104990b Mon Sep 17 00:00:00 2001
From: jhzh <1628036192@qq.com>
Date: Fri, 29 May 2026 15:04:43 +0800
Subject: [PATCH] 1

---
 src/components/Transform/entrust-item/index.vue |   17 ++++++++++-------
 1 files changed, 10 insertions(+), 7 deletions(-)

diff --git a/src/components/Transform/entrust-item/index.vue b/src/components/Transform/entrust-item/index.vue
index 7c10f71..4ce7c51 100644
--- a/src/components/Transform/entrust-item/index.vue
+++ b/src/components/Transform/entrust-item/index.vue
@@ -10,7 +10,7 @@
         </div>
       </div>
       <div class="text-grey font-26 flex flex-col justify-between">
-        {{ entrust.create_time_ts ? dayjs(entrust.create_time_ts * 1000).format('YYYY-MM-DD HH:mm:ss') : '--' }}
+        {{ entrust.create_time ? entrust.create_time : '--' }}
       </div>
     </div>
     <div class="flex justify-between pb-34">
@@ -41,13 +41,16 @@
       <div class="btn-wrap mt-64">
         <button class="detailBtn order-btn text-blue  h-54 lh-54 " @click.stop="goDetail(entrust.order_no)">
           {{ $t('详情') }}</button>
-        <button v-if="state == 'submitted'" class="ml-19 order-btn border-none h-54 lh-54 cancel-btn yellow-bg textColor"
+        <button v-if="state == 'submitted'"
+          class="ml-19 order-btn border-none h-54 lh-54 cancel-btn yellow-bg textColor"
           @click.stop="cancelSingle(entrust.order_no)">
           {{ $t('撤单') }}</button>
-        <button v-if="state == 'created'" class="ml-19 order-btn border-none h-54 lh-54 cancel-btn textColor yellow-bg">{{
-          $t('已完成') }}</button>
-        <button v-if="state == 'canceled'" class="ml-19 order-btn border-none h-54 lh-54 cancel-btn yellow-bg textColor">{{
-          $t('canceled') }}</button>
+        <button v-if="state == 'created'"
+          class="ml-19 order-btn border-none h-54 lh-54 cancel-btn textColor yellow-bg">{{
+            $t('已完成') }}</button>
+        <button v-if="state == 'canceled'"
+          class="ml-19 order-btn border-none h-54 lh-54 cancel-btn yellow-bg textColor">{{
+            $t('canceled') }}</button>
       </div>
     </div>
   </div>
@@ -97,7 +100,7 @@
   }
 }
 </script>
-<style lang="scss"  scoped>
+<style lang="scss" scoped>
 @import "@/assets/init.scss";
 
 #cryptos {

--
Gitblit v1.9.3