1002884655 před 4 roky
rodič
revize
425cc7b015
1 změnil soubory, kde provedl 11 přidání a 1 odebrání
  1. 11
    1
      src/pages/index/ZuQiuDingDan/index.vue

+ 11
- 1
src/pages/index/ZuQiuDingDan/index.vue Zobrazit soubor

@@ -368,7 +368,17 @@ export default {
368 368
         }
369 369
       })
370 370
       this.AllParts = GetAllParts([...ListData], PassTarget).allParts
371
-      this.TotalCount = GetAllParts([...ListData], PassTarget).sum
371
+      if (this.CurrentPassCode === '1*1') {
372
+        let Count = 1
373
+        this.AllParts.map((item) => {
374
+          item.map((subItem) => {
375
+            Count *= subItem.length
376
+          })
377
+        })
378
+        this.TotalCount = Count
379
+      } else {
380
+        this.TotalCount = GetAllParts([...ListData], PassTarget).sum
381
+      }
372 382
       this.TotalPrice = this.TotalCount * 200 * this.Multiple
373 383
       this.PriceArr = GetPrice(this.AllParts)
374 384
       let ResArr = []