From 34f99d106551b51bf2af3bbd40c64624a3af25eb Mon Sep 17 00:00:00 2001 From: whycq <10027870+whycq@user.noreply.gitee.com> Date: 星期六, 09 九月 2023 09:43:57 +0800 Subject: [PATCH] # --- src/main/webapp/static/js/order/order.js | 10 ++++++++++ 1 files changed, 10 insertions(+), 0 deletions(-) diff --git a/src/main/webapp/static/js/order/order.js b/src/main/webapp/static/js/order/order.js index f26a216..6ca4607 100644 --- a/src/main/webapp/static/js/order/order.js +++ b/src/main/webapp/static/js/order/order.js @@ -120,6 +120,11 @@ }) } + let where = {} + if (getQueryVariable('status') !== false) { + where = {status: getQueryVariable('status')} + } + // 鏁版嵁娓叉煋 tableIns = table.render({ elem: '#order', @@ -132,6 +137,7 @@ height: 'full-148', // size: 'sm', skin: 'line', + where: where, cols: [[ {type: 'checkbox'} ,{field: 'name', align: 'left',title: '璺熻釜椤圭洰鍚嶇О', style: 'color: #1890ff;cursor:pointer', event: 'more', width: 300} @@ -275,6 +281,10 @@ layer.msg("鎵�灞炲叕鍙镐笉鑳戒负绌�", {icon: 2}); return false; } + if (!data.field.cstmrId) { + layer.msg("鐢叉柟鍗曚綅涓嶈兘涓虹┖", {icon: 2}); + return false; + } var loadIndex = layer.load(2); $.ajax({ url: baseUrl+"/order/"+(mData?'update':'add')+"/auth", -- Gitblit v1.9.1