From be51c67ce88a3b1fe0aee057f55883cb57b58be5 Mon Sep 17 00:00:00 2001
From: luxiaotao1123 <t1341870251@163.com>
Date: 星期三, 07 四月 2021 09:40:05 +0800
Subject: [PATCH] #
---
src/main/webapp/views/pda/selectMat.html | 6 ++----
1 files changed, 2 insertions(+), 4 deletions(-)
diff --git a/src/main/webapp/views/pda/selectMat.html b/src/main/webapp/views/pda/selectMat.html
index 3c80a1a..2f85405 100644
--- a/src/main/webapp/views/pda/selectMat.html
+++ b/src/main/webapp/views/pda/selectMat.html
@@ -116,7 +116,7 @@
// 鍟嗗搧鐐瑰嚮
$(document).on('click','.box-mat-item', function () {
- var tagId = $(this).children('input').get(0).value;
+ parent.findBySelect($(this).children('input').get(0))
})
// 灞曠ず褰掔被
@@ -131,7 +131,6 @@
success: function (res) {
if (res.code === 200) {
if (res.data != null && res.data.length > 0) {
- console.log(res.data)
var tplDom = $("#tagTpl");
var tpl = tplDom.html();
var template = Handlebars.compile(tpl);
@@ -165,7 +164,6 @@
success: function (res) {
if (res.code === 200) {
if (res.data != null && res.data.length > 0) {
- console.log(res.data)
var tplDom = $("#matTpl");
var tpl = tplDom.html();
var template = Handlebars.compile(tpl);
@@ -196,7 +194,7 @@
<script type="text/template" id="matTpl">
{{#each data}}
<div class="box-mat-item">
- <input name="matId" type="hidden" value="{{this.id}}">
+ <input name="matnr" type="hidden" value="{{this.matnr}}">
<div class="box-mat-item-label">{{this.maktx}}</div>
</div>
{{/each}}
--
Gitblit v1.9.1