From 1d8f4f462fc4be2437dbfa7ad9b5b503019a1193 Mon Sep 17 00:00:00 2001
From: luxiaotao1123 <t1341870251@63.com>
Date: 星期二, 28 九月 2021 16:56:20 +0800
Subject: [PATCH] #
---
src/main/webapp/views/pda/pakin.html | 12 ++++++++++--
1 files changed, 10 insertions(+), 2 deletions(-)
diff --git a/src/main/webapp/views/pda/pakin.html b/src/main/webapp/views/pda/pakin.html
index 9cebcb0..17a6058 100644
--- a/src/main/webapp/views/pda/pakin.html
+++ b/src/main/webapp/views/pda/pakin.html
@@ -169,9 +169,17 @@
method: 'POST',
success: function (res) {
if (res.code === 200) {
- if (res.data != null && res.data.length > 0) {
+ 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