From 3ce7ad9b293ac1285b2e4dcb157fbf04f9d91e31 Mon Sep 17 00:00:00 2001
From: luxiaotao1123 <t1341870251@63.com>
Date: 星期六, 07 八月 2021 14:31:06 +0800
Subject: [PATCH] #
---
src/main/webapp/views/pda/pakin.html | 10 +++++++++-
1 files changed, 9 insertions(+), 1 deletions(-)
diff --git a/src/main/webapp/views/pda/pakin.html b/src/main/webapp/views/pda/pakin.html
index e431c72..17a6058 100644
--- a/src/main/webapp/views/pda/pakin.html
+++ b/src/main/webapp/views/pda/pakin.html
@@ -172,6 +172,14 @@
if (res.data != null) {
$('#node-ok').show();
$("#mat-btn").focus();
+ // 濉厖鎺ㄨ崘鐗╂枡
+ var priors = res.data.priors;
+ if (priors.length > 0 && matData.length === 0) {
+ for (var i = 0; i < priors.length; i++){
+ priors[i].count = 1;
+ addTableData(priors[i]);
+ }
+ }
} else {
$('#node-ok').hide();
}
@@ -337,4 +345,4 @@
}
}
</script>
-</html>
\ No newline at end of file
+</html>
--
Gitblit v1.9.1