|
@@ -549,14 +549,17 @@ export default {
|
549
|
549
|
//确定时间选择
|
550
|
550
|
comfigTs () {
|
551
|
551
|
if (this.timeIndexText.length == 0) return
|
552
|
|
- let order_data = [], order_data_info = {}
|
|
552
|
+ let order_data = []
|
553
|
553
|
this.order_data.project_list.forEach(item => {
|
|
554
|
+ let order_data_info = {}
|
554
|
555
|
order_data_info['id'] = item.id
|
555
|
556
|
if (item.product_ids != "") {
|
556
|
557
|
order_data_info['product_id'] = item.product_ids
|
557
|
558
|
}
|
|
559
|
+ console.log(order_data_info, 'order_data_info');
|
558
|
560
|
order_data.push(order_data_info)
|
559
|
561
|
})
|
|
562
|
+ console.log(order_data, 'order_data');
|
560
|
563
|
let params = {
|
561
|
564
|
id: this.id,
|
562
|
565
|
order_data: JSON.stringify(order_data),
|