From 11344667237a69d8812ee5c5c24c67c1ae207f18 Mon Sep 17 00:00:00 2001 From: Junjie <fallin.jie@qq.com> Date: 星期五, 08 九月 2023 14:39:35 +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