ethan 6 yıl önce
ebeveyn
işleme
ca1fdafc07
1 değiştirilmiş dosya ile 3 ekleme ve 2 silme
  1. 3 2
      src/views/gambleGameBucket/detail/index.vue

+ 3 - 2
src/views/gambleGameBucket/detail/index.vue

@@ -25,7 +25,7 @@
25 25
           <el-table-column label="莊家" prop="MemberRecord.GambleMember.name"></el-table-column>
26 26
           <el-table-column label="點數">
27 27
             <template slot-scope="scope">
28
-              <span>{{`${scope.row.DealingRecord.point1} | ${scope.row.DealingRecord.point2} / ${point(scope.row.DealingRecord)}`}}</span>
28
+              <span>{{`${scope.row.DealingRecord.point1 === -1 ? '':`${scope.row.DealingRecord.point1}|`}  ${scope.row.DealingRecord.point2 === -1 ? '': `${scope.row.DealingRecord.point2} / `} ${point(scope.row.DealingRecord)}`}}</span>
29 29
             </template>
30 30
           </el-table-column>
31 31
           <el-table-column label="上莊分數">
@@ -214,7 +214,8 @@
214 214
           <el-table-column label="莊家" prop="MemberRecord.GambleMember.name"></el-table-column>
215 215
           <el-table-column label="點數">
216 216
             <template slot-scope="scope">
217
-              <span>{{`${scope.row.DealingRecord.point1} | ${scope.row.DealingRecord.point2} / ${point(scope.row.DealingRecord)}`}}</span>
217
+              <span>{{`${scope.row.DealingRecord.point1 === -1 ? '':`${scope.row.DealingRecord.point1}|`}  ${scope.row.DealingRecord.point2 === -1 ? '': `${scope.row.DealingRecord.point2} / `} ${point(scope.row.DealingRecord)}`}}</span>              
218
+              <!-- <span>{{`${scope.row.DealingRecord.point1} | ${scope.row.DealingRecord.point2} / ${point(scope.row.DealingRecord)}`}}</span> -->
218 219
             </template>
219 220
           </el-table-column>
220 221
           <el-table-column label="上莊分數">