ethan 6 years ago
parent
commit
ca1fdafc07
1 changed files with 3 additions and 2 deletions
  1. 3 2
      src/views/gambleGameBucket/detail/index.vue

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

25
           <el-table-column label="莊家" prop="MemberRecord.GambleMember.name"></el-table-column>
25
           <el-table-column label="莊家" prop="MemberRecord.GambleMember.name"></el-table-column>
26
           <el-table-column label="點數">
26
           <el-table-column label="點數">
27
             <template slot-scope="scope">
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
             </template>
29
             </template>
30
           </el-table-column>
30
           </el-table-column>
31
           <el-table-column label="上莊分數">
31
           <el-table-column label="上莊分數">
214
           <el-table-column label="莊家" prop="MemberRecord.GambleMember.name"></el-table-column>
214
           <el-table-column label="莊家" prop="MemberRecord.GambleMember.name"></el-table-column>
215
           <el-table-column label="點數">
215
           <el-table-column label="點數">
216
             <template slot-scope="scope">
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
             </template>
219
             </template>
219
           </el-table-column>
220
           </el-table-column>
220
           <el-table-column label="上莊分數">
221
           <el-table-column label="上莊分數">