1002884655 4 lat temu
rodzic
commit
c6fec3ae73

+ 7
- 7
src/pages/PaiJiang/PaiJiangGuanLi/index.vue Wyświetl plik

34
                     <a class="iconfont" :class="[item.Active ? 'icongouxuan active' : 'iconweigouxuan']" @click="SelectItem(item, index)"></a>
34
                     <a class="iconfont" :class="[item.Active ? 'icongouxuan active' : 'iconweigouxuan']" @click="SelectItem(item, index)"></a>
35
                     <router-link tag="div" class="flex-item" :to="{ name: 'DingDanXiangQing', query: {id: item.orderId} }">
35
                     <router-link tag="div" class="flex-item" :to="{ name: 'DingDanXiangQing', query: {id: item.orderId} }">
36
                       <div class="Title flex-h">
36
                       <div class="Title flex-h">
37
-                        <span class="flex-item">{{item.customerBetting.lotteryName}}</span>
38
-                        <span>{{item.customerBetting.notesNum}}注</span>
39
-                        <span>{{item.customerBetting.bettingTimes}}倍</span>
40
-                        <span><em>{{item.customerBetting.totalPrice}}</em>牛币</span>
37
+                        <span class="flex-item">{{item.lotteryName}}</span>
38
+                        <span>{{item.notesNum}}注</span>
39
+                        <span>{{item.bettingTimes}}倍</span>
40
+                        <span><em>{{item.totalPrice}}</em>牛币</span>
41
                       </div>
41
                       </div>
42
                       <span>订单编号:{{item.orderId}}</span>
42
                       <span>订单编号:{{item.orderId}}</span>
43
                       <span>出票时间:{{ToolClass.DateFormat(item.createDate)}}</span>
43
                       <span>出票时间:{{ToolClass.DateFormat(item.createDate)}}</span>
44
                       <div class="Res">
44
                       <div class="Res">
45
-                        <span v-if="item.customerBetting.lotteryId === 'basketball' || item.customerBetting.lotteryId === 'football'">过关方式:{{item.customerBetting.bettingPlan.passName}}</span>
46
-                        <span>奖金:<em>{{item.customerBetting.winAmount}}牛币</em></span>
45
+                        <span v-if="item.lotteryId === 'basketball' || item.lotteryId === 'football'">过关方式:{{item.passName}}</span>
46
+                        <span>奖金:<em>{{item.winAmount}}牛币</em></span>
47
                       </div>
47
                       </div>
48
                     </router-link>
48
                     </router-link>
49
                   </li>
49
                   </li>
197
       this.PageList.map((item) => {
197
       this.PageList.map((item) => {
198
         if (item.Active) {
198
         if (item.Active) {
199
           this.SelectNum += 1
199
           this.SelectNum += 1
200
-          this.TotalPrice += item.customerBetting.winAmount
200
+          this.TotalPrice += item.winAmount
201
         }
201
         }
202
       })
202
       })
203
     },
203
     },

+ 7
- 7
src/pages/PaiJiang/PaiJiangJiLu/index.vue Wyświetl plik

34
                     <!-- <a class="iconfont" :class="[item.Active ? 'icongouxuan active' : 'iconweigouxuan']" @click="SelectItem(item, index)"></a> -->
34
                     <!-- <a class="iconfont" :class="[item.Active ? 'icongouxuan active' : 'iconweigouxuan']" @click="SelectItem(item, index)"></a> -->
35
                     <router-link tag="div" class="flex-item" :to="{ name: 'DingDanXiangQing', query: {id: item.orderId} }">
35
                     <router-link tag="div" class="flex-item" :to="{ name: 'DingDanXiangQing', query: {id: item.orderId} }">
36
                       <div class="Title flex-h">
36
                       <div class="Title flex-h">
37
-                        <span class="flex-item">{{item.customerBetting.lotteryName}}</span>
38
-                        <span>{{item.customerBetting.notesNum}}注</span>
39
-                        <span>{{item.customerBetting.bettingTimes}}倍</span>
40
-                        <span><em>{{item.customerBetting.totalPrice}}</em>牛币</span>
37
+                        <span class="flex-item">{{item.lotteryName}}</span>
38
+                        <span>{{item.notesNum}}注</span>
39
+                        <span>{{item.bettingTimes}}倍</span>
40
+                        <span><em>{{item.totalPrice}}</em>牛币</span>
41
                       </div>
41
                       </div>
42
                       <span>订单编号:{{item.orderId}}</span>
42
                       <span>订单编号:{{item.orderId}}</span>
43
                       <span>出票时间:{{ToolClass.DateFormat(item.createDate)}}</span>
43
                       <span>出票时间:{{ToolClass.DateFormat(item.createDate)}}</span>
44
                       <div class="Res">
44
                       <div class="Res">
45
-                        <span v-if="item.customerBetting.lotteryId === 'basketball' || item.customerBetting.lotteryId === 'football'">过关方式:{{item.customerBetting.bettingPlan.passName}}</span>
46
-                        <span>奖金:<em>{{item.customerBetting.winAmount}}牛币</em></span>
45
+                        <span v-if="item.lotteryId === 'basketball' || item.lotteryId === 'football'">过关方式:{{item.passName}}</span>
46
+                        <span>奖金:<em>{{item.winAmount}}牛币</em></span>
47
                       </div>
47
                       </div>
48
                     </router-link>
48
                     </router-link>
49
                   </li>
49
                   </li>
169
       this.PageList.map((item) => {
169
       this.PageList.map((item) => {
170
         if (item.Active) {
170
         if (item.Active) {
171
           this.SelectNum += 1
171
           this.SelectNum += 1
172
-          this.TotalPrice += item.customerBetting.winAmount
172
+          this.TotalPrice += item.winAmount
173
         }
173
         }
174
       })
174
       })
175
     },
175
     },