Explorar o código

没有下过单

shish %!s(int64=2) %!d(string=hai) anos
pai
achega
ada938c47d
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  1. 2 1
      ghs/src/views/member/list.vue

+ 2 - 1
ghs/src/views/member/list.vue

@@ -94,7 +94,8 @@
 			</template>
 			</template>
 
 
 			<template #table-column-recentExpend="{scope}">
 			<template #table-column-recentExpend="{scope}">
-				<span>{{ scope.row.recentExpend ? scope.row.recentExpend.substr(0,11) : 0 }}</span>
+				<span v-if="scope.row.recentExpend == '0000-00-00 00:00:00'">没有下过单</span>
+				<span v-else>{{ scope.row.recentExpend ? scope.row.recentExpend.substr(0,11) : 0 }}</span>
 			</template>
 			</template>
 
 
 			<template #table-column-visitTime="{scope}">
 			<template #table-column-visitTime="{scope}">