From dbef02da8664033c7b3cec90c5d5b9d1716d4d1f Mon Sep 17 00:00:00 2001
From: YL <YL@LAPTOP-SE03PLUR>
Date: 星期四, 16 十二月 2021 17:02:04 +0800
Subject: [PATCH] Merge branch 'master' of http://101.37.171.70:10101/r/MESWMS-LayUI
---
WebTM/views/PublicPage/PartInformation.html | 11 +++++++++--
1 files changed, 9 insertions(+), 2 deletions(-)
diff --git a/WebTM/views/PublicPage/PartInformation.html b/WebTM/views/PublicPage/PartInformation.html
index 0878f1f..4d368dc 100644
--- a/WebTM/views/PublicPage/PartInformation.html
+++ b/WebTM/views/PublicPage/PartInformation.html
@@ -177,11 +177,18 @@
//鏌ヨ鎸夐挳
form.on('submit(btnSearch)', function (data) {
-
+ var HNumber = $("#HNumber").val();
+ var HName = $("#HName").val();
+ if (HNumber) {
+ sWhere += " and HNumber like '%" + HNumber + "%'";
+ }
+ if (HName) {
+ sWhere += " and HName like '%" + HName + "%'";
+ }
$.ajax({
url: GetWEBURL() + '/PublicPageMethod/PartList',
type: "GET",
- data: { "sWhere": SeachFilter(sWhere1) },
+ data: { "sWhere": sWhere},
success: function (data1) {
if (data1.count == 1) {
option.data = data1.data;
--
Gitblit v1.9.1