From c1702cc51a4d94ed37d5083494c87fe0f2cbe5b3 Mon Sep 17 00:00:00 2001
From: luxiaotao1123 <t1341870251@163.com>
Date: 星期五, 18 六月 2021 10:20:13 +0800
Subject: [PATCH] # 销售单取消后回滚立库出库至A99
---
src/main/webapp/views/allo/allo.html | 20 +++++++++++++++++++-
1 files changed, 19 insertions(+), 1 deletions(-)
diff --git a/src/main/webapp/views/allo/allo.html b/src/main/webapp/views/allo/allo.html
index 1519a40..b8e718a 100644
--- a/src/main/webapp/views/allo/allo.html
+++ b/src/main/webapp/views/allo/allo.html
@@ -63,6 +63,24 @@
<iframe id="detail-iframe" scrolling="auto" style="display:none;"></iframe>
</body>
-
+<script type="text/template" id="parentNodeGroup">
+ <option value="">閫夋嫨搴撳尯</option>
+ {{#each data}}
+ <option value="{{this.key}}">{{this.val}}</option>
+ {{/each}}
+</script>
+<script type="text/javascript">
+ getParentNode();
+ function getParentNode(el) {
+ http.post(baseUrl + "/parent/node/group", {type: 2}, function (res) {
+ if (res.data != null) {
+ var tpl = $("#parentNodeGroup").html();
+ var template = Handlebars.compile(tpl);
+ var html = template(res);
+ $('#parentId').append(html);
+ }
+ });
+ }
+</script>
</html>
--
Gitblit v1.9.1