Browse Source

Merge remote-tracking branch 'origin/master'

gmcs 2 months ago
parent
commit
f3c4854e0c
1 changed files with 6 additions and 0 deletions
  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() {