From 5e01091d498f78379e53a4d0ef04df0c2d19ee71 Mon Sep 17 00:00:00 2001
From: wtt <1985833171@qq.com>
Date: 星期一, 03 三月 2025 09:33:38 +0800
Subject: [PATCH] 收料通知单其它入库其他出库页面优化
---
WebTM/views/领料发货/领料出库/Kf_MateOutBillLEdit.html | 4 ++--
WebTM/views/验收入库/外购入库/Kf_POStockInBillList.html | 6 +++---
WebTM/views/生产管理/生产计划平台/JIT_DayPlanPlatFormImport.html | 2 ++
WebTM/views/领料发货/其他出库/Kf_OtherOutBillList.html | 10 +++++-----
WebTM/views/采购管理/收料通知单/Cg_POInStockBillList.html | 6 +++---
WebTM/views/验收入库/其他入库/Kf_OtherInBillList.html | 10 +++++-----
6 files changed, 20 insertions(+), 18 deletions(-)
diff --git "a/WebTM/views/\347\224\237\344\272\247\347\256\241\347\220\206/\347\224\237\344\272\247\350\256\241\345\210\222\345\271\263\345\217\260/JIT_DayPlanPlatFormImport.html" "b/WebTM/views/\347\224\237\344\272\247\347\256\241\347\220\206/\347\224\237\344\272\247\350\256\241\345\210\222\345\271\263\345\217\260/JIT_DayPlanPlatFormImport.html"
index 4213fbc..869c0ed 100644
--- "a/WebTM/views/\347\224\237\344\272\247\347\256\241\347\220\206/\347\224\237\344\272\247\350\256\241\345\210\222\345\271\263\345\217\260/JIT_DayPlanPlatFormImport.html"
+++ "b/WebTM/views/\347\224\237\344\272\247\347\256\241\347\220\206/\347\224\237\344\272\247\350\256\241\345\210\222\345\271\263\345\217\260/JIT_DayPlanPlatFormImport.html"
@@ -323,9 +323,11 @@
//琛屽唴鍒犻櫎
function set_GridDelete(obj) {
+ var rowIndex = $(obj.tr).attr("data-index");
if (obj.event === 'del') {
layer.confirm('鐪熺殑鍒犻櫎琛屽悧锛�', function (index) {
obj.del();
+ table.cache["mainTable"].splice(rowIndex, 1); //鈶″交搴曠Щ闄ゅ厓绱狅紝浠庣紦瀛橀噷绉婚櫎杩欎竴琛�
option.data = table.cache["mainTable"];//灏嗘暟鎹粦瀹氬埌data涓�
table.reload(option);
layer.close(index);
diff --git "a/WebTM/views/\351\207\207\350\264\255\347\256\241\347\220\206/\346\224\266\346\226\231\351\200\232\347\237\245\345\215\225/Cg_POInStockBillList.html" "b/WebTM/views/\351\207\207\350\264\255\347\256\241\347\220\206/\346\224\266\346\226\231\351\200\232\347\237\245\345\215\225/Cg_POInStockBillList.html"
index e52d9ae..13bc1d8 100644
--- "a/WebTM/views/\351\207\207\350\264\255\347\256\241\347\220\206/\346\224\266\346\226\231\351\200\232\347\237\245\345\215\225/Cg_POInStockBillList.html"
+++ "b/WebTM/views/\351\207\207\350\264\255\347\256\241\347\220\206/\346\224\266\346\226\231\351\200\232\347\237\245\345\215\225/Cg_POInStockBillList.html"
@@ -733,7 +733,7 @@
, resize: false,
end: function () {
//鍒锋柊椤甸潰,
- location.reload();
+ $("#btnSearch").click();
}
, cancel: function () {
//$(".layui-btn").removeClass("layui-btn-disabled");
@@ -769,7 +769,7 @@
//鍏抽棴褰撳墠frame
layer.close(index);
//淇敼涓哄姛鍚庡埛鏂扮晫闈�
- window.location.reload();
+ window.$("#btnSearch").click();
});
} else {
@@ -1436,7 +1436,7 @@
//鍏抽棴褰撳墠frame
layer.close(index);
//淇敼涓哄姛鍚庡埛鏂扮晫闈�
- window.location.reload();
+ window.$("#btnSearch").click();
});
} else {
diff --git "a/WebTM/views/\351\242\206\346\226\231\345\217\221\350\264\247/\345\205\266\344\273\226\345\207\272\345\272\223/Kf_OtherOutBillList.html" "b/WebTM/views/\351\242\206\346\226\231\345\217\221\350\264\247/\345\205\266\344\273\226\345\207\272\345\272\223/Kf_OtherOutBillList.html"
index 25d0a32..6f86c2b 100644
--- "a/WebTM/views/\351\242\206\346\226\231\345\217\221\350\264\247/\345\205\266\344\273\226\345\207\272\345\272\223/Kf_OtherOutBillList.html"
+++ "b/WebTM/views/\351\242\206\346\226\231\345\217\221\350\264\247/\345\205\266\344\273\226\345\207\272\345\272\223/Kf_OtherOutBillList.html"
@@ -318,7 +318,7 @@
content: '../../棰嗘枡鍙戣揣/鍏朵粬鍑哄簱/Add_Edit_Kf_OtherOutBill.html?OperationType=1&linterid=0&HSouceBillType=0&closeType=1',
end: function () {
//鍒锋柊椤甸潰,
- location.reload();
+ $("#btnSearch").click();
},
success: function (layero, index) {
@@ -344,7 +344,7 @@
, resize: false,
end: function () {
//鍒锋柊椤甸潰,
- location.reload();
+ $("#btnSearch").click();
}
, cancel: function () {
//$(".layui-btn").removeClass("layui-btn-disabled");
@@ -484,7 +484,7 @@
//鍒濆鍖栬〃鏍�
set_InitGrid();
//鏌ヨ
- get_Display(sWhere);
+ get_FastQuery();
//浠绘剰瀛楁杩囨护涓嬫媺妗嗗垵濮嬪寲
ColFilter();
@@ -705,7 +705,7 @@
//鍏抽棴褰撳墠frame
layer.close(index);
//淇敼涓哄姛鍚庡埛鏂扮晫闈�
- window.location.reload();
+ window.$("#btnSearch").click();
});
} else {
@@ -772,7 +772,7 @@
, btn: ["纭畾", "鍙栨秷"]
,end: function () {
//鍒锋柊椤甸潰,
- //location.reload();
+ //$("#btnSearch").click();
}
, cancel: function () {
//$(".layui-btn").removeClass("layui-btn-disabled");
diff --git "a/WebTM/views/\351\242\206\346\226\231\345\217\221\350\264\247/\351\242\206\346\226\231\345\207\272\345\272\223/Kf_MateOutBillLEdit.html" "b/WebTM/views/\351\242\206\346\226\231\345\217\221\350\264\247/\351\242\206\346\226\231\345\207\272\345\272\223/Kf_MateOutBillLEdit.html"
index 882f030..36f2c52 100644
--- "a/WebTM/views/\351\242\206\346\226\231\345\217\221\350\264\247/\351\242\206\346\226\231\345\207\272\345\272\223/Kf_MateOutBillLEdit.html"
+++ "b/WebTM/views/\351\242\206\346\226\231\345\217\221\350\264\247/\351\242\206\346\226\231\345\207\272\345\272\223/Kf_MateOutBillLEdit.html"
@@ -1429,7 +1429,7 @@
url: GetWEBURL() + 'Kf_MateOutBill/Kf_MateOutBillListProjectDetai',
async:false,
type: "GET",
- data: { "sqlWhere": "and hmainid=" + linterid },
+ data: { "sqlWhere": " and hmainid=" + linterid },
success: function (result) {
if (result.count == 1) {
option.data = result.list[0];
@@ -1659,7 +1659,7 @@
},
end: function () {
obj.update({
- "HMaterID" :OptionData.HMaterID
+ "HMaterID": OptionData.HItemID
,"HMaterCode" : OptionData.鐗╂枡浠g爜
, "HMaterName" :OptionData.鐗╂枡鍚嶇О
,"HMaterSpec" : OptionData.瑙勬牸鍨嬪彿
diff --git "a/WebTM/views/\351\252\214\346\224\266\345\205\245\345\272\223/\345\205\266\344\273\226\345\205\245\345\272\223/Kf_OtherInBillList.html" "b/WebTM/views/\351\252\214\346\224\266\345\205\245\345\272\223/\345\205\266\344\273\226\345\205\245\345\272\223/Kf_OtherInBillList.html"
index 83f10e6..3b53e45 100644
--- "a/WebTM/views/\351\252\214\346\224\266\345\205\245\345\272\223/\345\205\266\344\273\226\345\205\245\345\272\223/Kf_OtherInBillList.html"
+++ "b/WebTM/views/\351\252\214\346\224\266\345\205\245\345\272\223/\345\205\266\344\273\226\345\205\245\345\272\223/Kf_OtherInBillList.html"
@@ -335,7 +335,7 @@
content: '../../楠屾敹鍏ュ簱/鍏朵粬鍏ュ簱/Add_Edit_Kf_OtherInBill.html?OperationType=1&linterid=0&HSouceBillType=0&closeType=1',
end: function () {
//鍒锋柊椤甸潰,
- location.reload();
+ $("#btnSearch").click();
},
success: function (layero, index) {
@@ -360,7 +360,7 @@
, resize: false,
end: function () {
//鍒锋柊椤甸潰,
- location.reload();
+ $("#btnSearch").click();
}
, cancel: function () {
//$(".layui-btn").removeClass("layui-btn-disabled");
@@ -391,7 +391,7 @@
//鍏抽棴褰撳墠frame
layer.close(index);
//淇敼涓哄姛鍚庡埛鏂扮晫闈�
- window.location.reload();
+ window.$("#btnSearch").click();
});
} else {
@@ -505,7 +505,7 @@
//鍒濆鍖栬〃鏍�
set_InitGrid();
//鏌ヨ
- get_Display(sWhere);
+ get_FastQuery();
//浠绘剰瀛楁杩囨护锛氬垪鍚嶆樉绀轰笅鎷夋
ColFilter();
//鏌ヨ褰撳墠鐧诲綍鐢ㄦ埛鏈夋病鏈夊湪褰撳墠妯″潡璁剧疆榛樿杩囨护鏂规
@@ -730,7 +730,7 @@
, btn: ["纭畾", "鍙栨秷"]
, end: function () {
//鍒锋柊椤甸潰,
- //location.reload();
+ //$("#btnSearch").click();
}
, cancel: function () {
//$(".layui-btn").removeClass("layui-btn-disabled");
diff --git "a/WebTM/views/\351\252\214\346\224\266\345\205\245\345\272\223/\345\244\226\350\264\255\345\205\245\345\272\223/Kf_POStockInBillList.html" "b/WebTM/views/\351\252\214\346\224\266\345\205\245\345\272\223/\345\244\226\350\264\255\345\205\245\345\272\223/Kf_POStockInBillList.html"
index a307dc2..a3026b3 100644
--- "a/WebTM/views/\351\252\214\346\224\266\345\205\245\345\272\223/\345\244\226\350\264\255\345\205\245\345\272\223/Kf_POStockInBillList.html"
+++ "b/WebTM/views/\351\252\214\346\224\266\345\205\245\345\272\223/\345\244\226\350\264\255\345\205\245\345\272\223/Kf_POStockInBillList.html"
@@ -710,7 +710,7 @@
, resize: false,
end: function () {
//鍒锋柊椤甸潰,
- location.reload();
+ $("#btnSearch").click();
}
, cancel: function () {
//$(".layui-btn").removeClass("layui-btn-disabled");
@@ -1085,7 +1085,7 @@
//鍏抽棴褰撳墠frame
layer.close(index);
//淇敼涓哄姛鍚庡埛鏂扮晫闈�
- window.location.reload();
+ window.$("#btnSearch").click();
});
} else {
@@ -1497,7 +1497,7 @@
, btn: ["纭畾", "鍙栨秷"]
, end: function () {
//鍒锋柊椤甸潰,
- //location.reload();
+ //$("#btnSearch").click();
}
, cancel: function () {
//$(".layui-btn").removeClass("layui-btn-disabled");
--
Gitblit v1.9.1