yuzipei 1 день назад
Родитель
Сommit
3de8f85fb8

+ 2 - 2
src/pages/sial/component/moodProductionView.jsx

@@ -38,8 +38,8 @@ class MoodSendView extends Component {
38
         let year = [], budgetSalesQty = [], budgetProdQty = [];
38
         let year = [], budgetSalesQty = [], budgetProdQty = [];
39
         data.map((x, i) => {
39
         data.map((x, i) => {
40
           year.push(x.bMonth);
40
           year.push(x.bMonth);
41
-          budgetSalesQty.push(x.budgetSalesQty || 0)
42
-          budgetProdQty.push(x.budgetProdQty || 0)
41
+          budgetSalesQty.push(x.budgetProdQty || 0)
42
+          budgetProdQty.push(x.proQty || 0)
43
         });
43
         });
44
         this.setState({ year, budgetProdQty, budgetSalesQty });
44
         this.setState({ year, budgetProdQty, budgetSalesQty });
45
         this.setData();
45
         this.setData();

+ 1 - 1
src/pages/sial/component/moodSendView.jsx

@@ -38,7 +38,7 @@ class MoodSendView extends Component {
38
         let year = [], proQty = [], deliveryQty = [];
38
         let year = [], proQty = [], deliveryQty = [];
39
         data.map((x, i) => {
39
         data.map((x, i) => {
40
           year.push(x.bMonth);
40
           year.push(x.bMonth);
41
-          proQty.push(x.proQty)
41
+          proQty.push(x.budgetSalesQty)
42
           deliveryQty.push(x.deliveryQty)
42
           deliveryQty.push(x.deliveryQty)
43
         });
43
         });
44
         this.setState({ year, deliveryQty, proQty });
44
         this.setState({ year, deliveryQty, proQty });