Selaa lähdekoodia

Merge branch '20200710_pc_vue_new_branch' into 20200916_pc_vue_new_branch

csx 4 vuotta sitten
vanhempi
commit
f44c5040c5
1 muutettua tiedostoa jossa 5 lisäystä ja 3 poistoa
  1. 5 3
      src/xt_pages/stock/stockUserDetail.vue

+ 5 - 3
src/xt_pages/stock/stockUserDetail.vue Näytä tiedosto

43
               <span>使用数量</span>
43
               <span>使用数量</span>
44
             </template>
44
             </template>
45
             <template slot-scope="scope">
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
             </template>
49
             </template>
48
           </el-table-column>
50
           </el-table-column>
49
           <el-table-column min-width="35" align="center">
51
           <el-table-column min-width="35" align="center">
51
               <span>使用时间</span>
53
               <span>使用时间</span>
52
             </template>
54
             </template>
53
             <template slot-scope="scope">
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
             </template>
58
             </template>
57
           </el-table-column>
59
           </el-table-column>
58
 
60