qinqi 2 лет назад
Родитель
Сommit
bcec23064e
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      wwwroot/main/FqcProductCheck/index.html

+ 2 - 2
wwwroot/main/FqcProductCheck/index.html

@@ -624,7 +624,7 @@
                                                                             $("#" + i + "结果" + m).val(itemsdataJson["rows"][z]["INSPECTVALUE"]);
                                                                             z = z + 1;
                                                                         }
-                                                                        $("#" + i + "合格").val(itemsdataJson["rows"][z]["ISQUALIFIED"]);
+                                                                        $("#" + i + "合格").val(itemsdataJson["rows"][z-1]["ISQUALIFIED"]);
                                                                     }
                                                                 }
                                                                 else if (itemsJson["rows"][i]["INSPECTMARKVALUE"] == "定量") {
@@ -640,7 +640,7 @@
                                                                                 z = z + 1;
                                                                             }
                                                                         }
-                                                                        $("#" + i + "合格").val(itemsdataJson["rows"][z]["ISQUALIFIED"]);
+                                                                        $("#" + i + "合格").val(itemsdataJson["rows"][z-1]["ISQUALIFIED"]);
                                                                     }
                                                                 }