|
@@ -85,11 +85,12 @@ const returnNum = return1.map(return1 => return1.number);
|
|
|
enterNumber.value = enter[monthNum].number;
|
|
|
outNumber.value = out[monthNum].number;
|
|
|
returnNumber.value = return1[monthNum].number;
|
|
|
-enterNumber1.value = enter[monthNum-1].number;
|
|
|
-outNumber1.value = out[monthNum-1].number;
|
|
|
-console.log(out)
|
|
|
+enterNumber1.value = enter[monthNum].number;
|
|
|
+outNumber1.value = out[monthNum].number;
|
|
|
+
|
|
|
+console.log('out',enter,out,return1,outNumber1.value,enterNumber1.value)
|
|
|
// TODO 这里
|
|
|
-returnNumber1.value = return1[monthNum-1].number;
|
|
|
+returnNumber1.value = return1[monthNum].number;
|
|
|
|
|
|
//月环比
|
|
|
enterRatio.value = (enterNumber.value-enterNumber1.value)/enterNumber.value*100;
|