Browse Source

Merge branch '20200710_pc_vue_new_branch' into 20200916_pc_vue_new_branch

csx 4 years ago
parent
commit
f44c5040c5
1 changed files with 5 additions and 3 deletions
  1. 5 3
      src/xt_pages/stock/stockUserDetail.vue

+ 5 - 3
src/xt_pages/stock/stockUserDetail.vue View File

@@ -43,7 +43,9 @@
43 43
               <span>使用数量</span>
44 44
             </template>
45 45
             <template slot-scope="scope">
46
-              <span >{{scope.row.count}}</span>
46
+              <span v-if="scope.row.is_total == 0">{{scope.row.count}}</span>
47
+              <span  v-if="scope.row.is_total == 1">{{scope.row.total}} </span>
48
+
47 49
             </template>
48 50
           </el-table-column>
49 51
           <el-table-column min-width="35" align="center">
@@ -51,8 +53,8 @@
51 53
               <span>使用时间</span>
52 54
             </template>
53 55
             <template slot-scope="scope">
54
-              <span  v-if="scope.row.is_total == 0">{{scope.row.ctime | parseTime('{y}-{m}-{d} {h}:{i}')}} </span>
55
-              <span  v-if="scope.row.is_total == 1">{{scope.row.total}} </span>
56
+              <span>{{scope.row.ctime | parseTime('{y}-{m}-{d} {h}:{i}')}} </span>
57
+
56 58
             </template>
57 59
           </el-table-column>
58 60