From c0586c8f9da15829be14077c2a1c22caa1e8cf83 Mon Sep 17 00:00:00 2001 From: pang.jiabao <pang_jiabao@163.com> Date: 星期五, 15 三月 2024 14:37:42 +0800 Subject: [PATCH] 查看单据明细时显示该物料在立库和平库中的库存 --- src/main/webapp/static/js/errorWrkMast/errorWrkMast.js | 8 +++++--- 1 files changed, 5 insertions(+), 3 deletions(-) diff --git a/src/main/webapp/static/js/errorWrkMast/errorWrkMast.js b/src/main/webapp/static/js/errorWrkMast/errorWrkMast.js index 7feb380..bff82e3 100644 --- a/src/main/webapp/static/js/errorWrkMast/errorWrkMast.js +++ b/src/main/webapp/static/js/errorWrkMast/errorWrkMast.js @@ -20,8 +20,8 @@ toolbar: '#toolbar', cellMinWidth: 50, cols: [[ - {type: 'checkbox'} - ,{field: 'wrkNo', align: 'center',title: '宸ヤ綔鍙�',sort: true} + // {type: 'checkbox'} + {field: 'wrkNo', align: 'center',title: '宸ヤ綔鍙�',sort: true} ,{field: 'ioTime$', align: 'center',title: '宸ヤ綔鏃堕棿',sort: true, hide:true} ,{field: 'wrkSts$', align: 'center',title: '宸ヤ綔鐘舵��'} ,{field: 'ioType$', align: 'center',title: '鍏ュ嚭搴撶被鍨�'} @@ -63,7 +63,9 @@ // 姣忕鍒锋柊 setInterval(function () { - $(".layui-laypage-btn")[0].click(); + if ($(".layui-laypage-btn").length > 0) { + $(".layui-laypage-btn")[0].click(); + } }, 1000); // 鐩戝惉鎺掑簭浜嬩欢 -- Gitblit v1.9.1