Browse Source

bug修改

wangfei 6 years ago
parent
commit
8e2aa606c4
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      src/pages/system/cardAndCouponManager/cardManager/index.vue

+ 2
- 2
src/pages/system/cardAndCouponManager/cardManager/index.vue View File

46
           label="有效期"
46
           label="有效期"
47
           width="150">
47
           width="150">
48
           <template slot-scope="scope">
48
           <template slot-scope="scope">
49
-            <span style="width:100%;display:block;text-align:center;white-space: nowrap;">{{toolClass.dateFormat(scope.row.StartDate)}}</span>
49
+            <span style="width:100%;display:block;text-align:center;white-space: nowrap;">{{toolClass.dateFormat(scope.row.StartDate, 'yyyy-MM-dd')}}</span>
50
             <span style="width:100%;display:block;text-align:center;white-space: nowrap;">至</span>
50
             <span style="width:100%;display:block;text-align:center;white-space: nowrap;">至</span>
51
-            <span style="width:100%;display:block;text-align:center;white-space: nowrap;">{{toolClass.dateFormat(scope.row.EndDate)}}</span>
51
+            <span style="width:100%;display:block;text-align:center;white-space: nowrap;">{{toolClass.dateFormat(scope.row.EndDate, 'yyyy-MM-dd')}}</span>
52
           </template>
52
           </template>
53
         </el-table-column>
53
         </el-table-column>
54
         <el-table-column
54
         <el-table-column