From 1b17009988dde1159a636e069caac1bc004460a3 Mon Sep 17 00:00:00 2001 From: Junjie <fallin.jie@qq.com> Date: 星期六, 10 六月 2023 11:27:12 +0800 Subject: [PATCH] pda提取物料 --- src/main/webapp/views/pda/matQuery.html | 8 +++++--- 1 files changed, 5 insertions(+), 3 deletions(-) diff --git a/src/main/webapp/views/pda/matQuery.html b/src/main/webapp/views/pda/matQuery.html index 02e31f5..668c742 100644 --- a/src/main/webapp/views/pda/matQuery.html +++ b/src/main/webapp/views/pda/matQuery.html @@ -124,7 +124,8 @@ success: function (res) { if (res.code === 200) { if (res.data != null) { - $('#matName').val(res.data.matName); + console.log(res.data) + $('#matName').val(res.data.maktx); $('#str1').val(res.data.str1); $('#str2').val(res.data.str2); countDom.val(initMatCount); @@ -144,10 +145,11 @@ */ function confirm(){ var data = { - matNo: $('#matNo').val(), - matName: $('#matName').val(), + matnr: $('#matNo').val(), + maktx: $('#matName').val(), count: countDom.val() }; + console.log(data) parent.addTableData(data); parent.layer.close(parent.matCodeLayerIdx); } -- Gitblit v1.9.1