|
@@ -350,13 +350,14 @@ export default {
|
350
|
350
|
}
|
351
|
351
|
}
|
352
|
352
|
})
|
353
|
|
- this.balanceAccounts.new_order_info.map(item => {
|
354
|
|
- obj4.total = item.Total
|
355
|
|
- obj4.details.push(item)
|
356
|
|
- num++
|
357
|
|
-
|
|
353
|
+ if(this.balanceAccounts.new_order_info != null) {
|
|
354
|
+ this.balanceAccounts.new_order_info.map(item => {
|
|
355
|
+ obj4.total = obj4.total + item.Total
|
|
356
|
+ obj4.details.push(item)
|
|
357
|
+ num++
|
358
|
358
|
|
359
|
|
- })
|
|
359
|
+ })
|
|
360
|
+ }
|
360
|
361
|
|
361
|
362
|
this.balanceAccounts.new_detail_list = []
|
362
|
363
|
this.balanceAccounts.new_detail_list.push(obj)
|
|
@@ -540,18 +541,19 @@ export default {
|
540
|
541
|
}
|
541
|
542
|
})
|
542
|
543
|
|
543
|
|
- this.info.order_infos.map(item => {
|
544
|
|
- obj4.total = item.Total
|
545
|
|
- obj4.details.push(item)
|
546
|
|
- num++
|
547
|
544
|
|
548
|
|
- })
|
|
545
|
+ // this.info.order_infos.map(item => {
|
|
546
|
+ // obj4.total = item.Total
|
|
547
|
+ // obj4.details.push(item)
|
|
548
|
+ // num++
|
|
549
|
+ //
|
|
550
|
+ // })
|
549
|
551
|
|
550
|
552
|
that.info.new_detail_list = []
|
551
|
553
|
that.info.new_detail_list.push(obj)
|
552
|
554
|
that.info.new_detail_list.push(obj2)
|
553
|
555
|
that.info.new_detail_list.push(obj3)
|
554
|
|
- that.info.new_detail_list.push(obj4)
|
|
556
|
+ // that.info.new_detail_list.push(obj4)
|
555
|
557
|
|
556
|
558
|
that.num = num
|
557
|
559
|
|