From 2fe199d9f3ae820ed8f8fb0a16bad212e48e0cae Mon Sep 17 00:00:00 2001 From: duhe <226547893@qq.com> Date: 星期四, 26 九月 2024 15:22:24 +0800 Subject: [PATCH] 进站单、出站单、生产订单:分页,进入页面加载数据未查询到数据时,下方分页组件 显示有2000条数据 错误处理 --- WebTM/views/车间管理/工序出站汇报单/Cj_StationOutBillList.html | 3 +++ WebTM/views/车间管理/工序进站接收单/Cj_StationInBillList.html | 3 +++ WebTM/views/生产管理/生产任务单/Sc_ICMOBillList.html | 3 +++ 3 files changed, 9 insertions(+), 0 deletions(-) diff --git "a/WebTM/views/\347\224\237\344\272\247\347\256\241\347\220\206/\347\224\237\344\272\247\344\273\273\345\212\241\345\215\225/Sc_ICMOBillList.html" "b/WebTM/views/\347\224\237\344\272\247\347\256\241\347\220\206/\347\224\237\344\272\247\344\273\273\345\212\241\345\215\225/Sc_ICMOBillList.html" index 297f90c..ecc659d 100644 --- "a/WebTM/views/\347\224\237\344\272\247\347\256\241\347\220\206/\347\224\237\344\272\247\344\273\273\345\212\241\345\215\225/Sc_ICMOBillList.html" +++ "b/WebTM/views/\347\224\237\344\272\247\347\256\241\347\220\206/\347\224\237\344\272\247\344\273\273\345\212\241\345\215\225/Sc_ICMOBillList.html" @@ -1163,6 +1163,9 @@ layer.close(ajaxLoad); } else { + optionPage.count = data1.count;//鏀瑰彉鍒楄〃鏁版嵁鎬绘暟 + laypage.render(optionPage); + option.data = []; table.render(option); layer.close(ajaxLoad); diff --git "a/WebTM/views/\350\275\246\351\227\264\347\256\241\347\220\206/\345\267\245\345\272\217\345\207\272\347\253\231\346\261\207\346\212\245\345\215\225/Cj_StationOutBillList.html" "b/WebTM/views/\350\275\246\351\227\264\347\256\241\347\220\206/\345\267\245\345\272\217\345\207\272\347\253\231\346\261\207\346\212\245\345\215\225/Cj_StationOutBillList.html" index 7bac54a..4948439 100644 --- "a/WebTM/views/\350\275\246\351\227\264\347\256\241\347\220\206/\345\267\245\345\272\217\345\207\272\347\253\231\346\261\207\346\212\245\345\215\225/Cj_StationOutBillList.html" +++ "b/WebTM/views/\350\275\246\351\227\264\347\256\241\347\220\206/\345\267\245\345\272\217\345\207\272\347\253\231\346\261\207\346\212\245\345\215\225/Cj_StationOutBillList.html" @@ -1892,6 +1892,9 @@ ColFilter(); } } else { + optionPage.count = data1.count;//鏀瑰彉鍒楄〃鏁版嵁鎬绘暟 + laypage.render(optionPage); + option.data = []; table.render(option); layer.close(ajaxLoad); diff --git "a/WebTM/views/\350\275\246\351\227\264\347\256\241\347\220\206/\345\267\245\345\272\217\350\277\233\347\253\231\346\216\245\346\224\266\345\215\225/Cj_StationInBillList.html" "b/WebTM/views/\350\275\246\351\227\264\347\256\241\347\220\206/\345\267\245\345\272\217\350\277\233\347\253\231\346\216\245\346\224\266\345\215\225/Cj_StationInBillList.html" index 356716c..259b9ce 100644 --- "a/WebTM/views/\350\275\246\351\227\264\347\256\241\347\220\206/\345\267\245\345\272\217\350\277\233\347\253\231\346\216\245\346\224\266\345\215\225/Cj_StationInBillList.html" +++ "b/WebTM/views/\350\275\246\351\227\264\347\256\241\347\220\206/\345\267\245\345\272\217\350\277\233\347\253\231\346\216\245\346\224\266\345\215\225/Cj_StationInBillList.html" @@ -725,6 +725,9 @@ } //layer.alert("鏌ヨ鎴愬姛", { icon: 1 }); } else { + optionPage.count = data1.count;//鏀瑰彉鍒楄〃鏁版嵁鎬绘暟 + laypage.render(optionPage); + option.data = []; table.render(option); layer.close(ajaxLoad); -- Gitblit v1.9.1