From 3913b2929bc224d03d6c994f7b772251f1bbb113 Mon Sep 17 00:00:00 2001
From: Junjie <fallin.jie@qq.com>
Date: 星期五, 27 六月 2025 10:47:23 +0800
Subject: [PATCH] #
---
src/main/webapp/static/js/pakStore/stockOut.js | 42 +++++++++++++++++++++++-------------------
1 files changed, 23 insertions(+), 19 deletions(-)
diff --git a/src/main/webapp/static/js/pakStore/stockOut.js b/src/main/webapp/static/js/pakStore/stockOut.js
index af9afd9..333e006 100644
--- a/src/main/webapp/static/js/pakStore/stockOut.js
+++ b/src/main/webapp/static/js/pakStore/stockOut.js
@@ -1,4 +1,4 @@
-var admin;
+var locDetlLayerIdx;
var locDetlData = [];
function getCol() {
var cols = [
@@ -14,12 +14,12 @@
layui.config({
base: baseUrl + "/static/layui/lay/modules/"
-}).use(['admin', 'table','laydate', 'form'], function() {
+}).use(['table','laydate', 'form', 'admin'], function() {
var table = layui.table;
var $ = layui.jquery;
var layer = layui.layer;
var form = layui.form;
- admin = layui.admin;
+ var admin = layui.admin;
tableIns = table.render({
elem: '#chooseData',
@@ -28,6 +28,7 @@
even: true,
toolbar: '#toolbar',
cellMinWidth: 50,
+ limit: 500,
cols: [getCol()],
done: function(res, curr, count) {
limit();
@@ -70,6 +71,7 @@
layer.msg('璇峰厛鎻愬彇鍟嗗搧搴撳瓨', {icon: 2});
} else {
var staNo = $("#staNoSelect").val();
+ var itemId = $("#itemId").val();
if (staNo === "" || staNo === null){
layer.msg("璇烽�夋嫨鍑哄簱鍙�", {icon: 2});
return;
@@ -134,23 +136,25 @@
}
})
}
+
+
+ $(document).on('click','#mat-query', function () {
+ let loadIndex = layer.msg('璇锋眰涓�...', {icon: 16, shade: 0.01, time: false});
+ locDetlLayerIdx = layer.open({
+ type: 2,
+ title: false,
+ closeBtn: false,
+ maxmin: false,
+ area: ['90%', '85%'],
+ shadeClose: true,
+ content: 'locDetlQuery.html',
+ success: function(layero, index){
+ layer.close(loadIndex);
+ }
+ });
+ })
+
})
-
-
-var locDetlLayerIdx;
-function getLocDetl() {
- locDetlLayerIdx = layer.open({
- type: 2,
- title: false,
- closeBtn: false,
- maxmin: false,
- area: ['90%', '85%'],
- shadeClose: true,
- content: 'locDetlQuery.html',
- success: function(layero, index){
- }
- });
-}
// 娣诲姞琛ㄦ牸鏁版嵁
function addTableData(data) {
--
Gitblit v1.9.1