|
|
@@ -218,7 +218,13 @@ function setFileData(type_id) {
|
|
|
// }
|
|
|
outputBox.value[0].value = res.production_info.production;
|
|
|
outputBox.value[1].value = res.production_info.quality.toFixed(0);
|
|
|
- outputBox.value[2].value = res.production_info.zuoguo_ratio.toFixed(0);
|
|
|
+ if(res.production_info.zuoguo_ratio){
|
|
|
+ outputBox.value[2].name = "坐果率";
|
|
|
+ outputBox.value[2].value = res.production_info.zuoguo_ratio.toFixed(0);
|
|
|
+ }else{
|
|
|
+ outputBox.value[2].name = "雌花率";
|
|
|
+ outputBox.value[2].value = res.production_info.cihua_ratio.toFixed(0);
|
|
|
+ }
|
|
|
qualityBox.value[0].value = res.ecology_info.ventilation;
|
|
|
qualityBox.value[1].value = res.ecology_info.transmittance;
|
|
|
qualityBox.value[2].value = res.ecology_info.dp_situation;
|