|
@@ -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 = []
|