From 0142e910dffd0255a4a4a1192cedd2ba0b0e71ab Mon Sep 17 00:00:00 2001
From: 王佳豪 <g675230687@126.com>
Date: 星期三, 14 七月 2021 16:57:35 +0800
Subject: [PATCH] 下架正式接口: 当[(库存数量-出库通知档数量) < 下架数量]时不允许下架
---
src/main/webapp/jsFiles/sapRequestLog.js | 23 ++++++++++++++++-------
1 files changed, 16 insertions(+), 7 deletions(-)
diff --git a/src/main/webapp/jsFiles/sapRequestLog.js b/src/main/webapp/jsFiles/sapRequestLog.js
index 656f31c..ffcd350 100644
--- a/src/main/webapp/jsFiles/sapRequestLog.js
+++ b/src/main/webapp/jsFiles/sapRequestLog.js
@@ -69,12 +69,11 @@
],
queryParamsType: "undefined",
queryParams: function queryParams(params) { //璁剧疆鏌ヨ鍙傛暟
- // var param = {
- // pageNumber: params.pageNumber,
- // pageSize: params.pageSize
- // // searchText: params.searchText
- // };
- // return param;
+ var condition = $("#condition").val();
+ var param = {
+ condition: condition
+ };
+ return param;
},
formatLoadingMessage: function () {
return "璇风◢绛夛紝姝e湪鍔犺浇涓�...";
@@ -200,4 +199,14 @@
function closeModal() {
// 鏄剧ず妯℃�佹
$("#showDetail").modal('hide');
-}
\ No newline at end of file
+}
+
+function onSearch() {
+ $("#test-table").bootstrapTable('refreshOptions',{pageNumber:1}); //鍒嗛〉鍚庨噸鏂版悳绱㈡椂锛屽垵濮嬪寲椤电爜涓�1
+}
+
+$('#content').keydown(function () {
+ if (event.keyCode === 13) {
+ onSearch();
+ }
+});
\ No newline at end of file
--
Gitblit v1.9.1