Parcourir la source

Merge remote-tracking branch 'origin/master'

gmcs il y a 2 mois
Parent
commit
f3c4854e0c
1 fichiers modifiés avec 6 ajouts et 0 suppressions
  1. 6 0
      ruoyi-ui/src/views/guarantee/examine/index.vue

+ 6 - 0
ruoyi-ui/src/views/guarantee/examine/index.vue

@@ -30,6 +30,7 @@
         <el-table-column label="供应商联系人" align="center" prop="contact" />
         <el-table-column label="供应商联系电话" align="center" prop="contactPhone" />
         <el-table-column label="应交保证金" align="center" prop="earnestMoney" />
+        <el-table-column label="创建时间" align="center" prop="createTime" :formatter="formatterDate" />
         <el-table-column label="操作" align="center" class-name="small-padding fixed-width">
           <template slot-scope="scope">
             <el-button
@@ -52,6 +53,7 @@
 import { selectEarnList } from "@/api/guarantee/guarantee";
 import { UpdateQuote } from '@/api/system/quote'
 import { checkRole } from "@/utils/permission";
+import dayjs from 'dayjs'
   
   export default {
     name: "Baozhengjin",
@@ -82,6 +84,10 @@ import { checkRole } from "@/utils/permission";
     },
     methods: {
       checkRole,
+
+      formatterDate(row, column) {
+        return dayjs(row.createTime).format('YYYY-MM-DD HH:mm');
+      },
       
       /** 查询公告列表 */
       getList() {