From b267af1b816f646fa02c6f4983ebb3f9825cc192 Mon Sep 17 00:00:00 2001 From: pang.jiabao <pang_jiabao@163.com> Date: 星期六, 13 四月 2024 15:00:44 +0800 Subject: [PATCH] 单据管理:1.销售账号,在系统里面单据管理这里A销售员做的单子,在它的账号只显示自己的客户信息,不同的账号,看不到别人的信息,管理员是可以全部看的 2.增加客户名称,操作员搜索 --- src/main/webapp/static/js/saasLog/saasLog.js | 17 ++++++++++++----- 1 files changed, 12 insertions(+), 5 deletions(-) diff --git a/src/main/webapp/static/js/saasLog/saasLog.js b/src/main/webapp/static/js/saasLog/saasLog.js index cf0658a..d22e9cd 100644 --- a/src/main/webapp/static/js/saasLog/saasLog.js +++ b/src/main/webapp/static/js/saasLog/saasLog.js @@ -5,9 +5,16 @@ var table = layui.table; var $ = layui.jquery; var layer = layui.layer; - var layDate = layui.laydate; var form = layui.form; var admin = layui.admin; + var laydate = layui.laydate; + + // 鏃ユ湡鏃堕棿鑼冨洿 + laydate.render({ + elem: '#ID-laydate-range-datetime', + type: 'datetime', + range: true + }); // 鏁版嵁娓叉煋 tableIns = table.render({ @@ -15,13 +22,14 @@ headers: {token: localStorage.getItem('token')}, url: baseUrl+'/saasLog/list/auth', page: true, + totalRow: true, // 寮�鍚悎璁¤ limit: 15, limits: [15, 30, 50, 100, 200, 500], - // toolbar: '#toolbar', + toolbar: '#toolbar', cellMinWidth: 50, height: 'full-120', cols: [[ - {type: 'checkbox'} + //{type: 'checkbox'} ,{field: 'id', align: 'center',title: 'id', hide:true} ,{field: 'locNo', align: 'center',title: '搴撲綅'} ,{field: 'type$', align: 'center',title: '鎿嶄綔绫诲瀷'} @@ -31,11 +39,10 @@ ,{field: 'targetLocNo', align: 'center',title: '鐩爣搴撲綅'} ,{field: 'owner', align: 'center',title: '涓讳綋'} ,{field: 'workshop', align: 'center',title: '杞﹂棿'} - ,{field: 'anfme', align: 'center',title: '鏁伴噺'} + ,{field: 'anfme', align: 'center',title: '鏁伴噺',totalRow:true} // ,{field: 'createByName', align: 'center',title: '鎿嶄綔浜�'} ,{field: 'ioTime$', align: 'center',title: '鎿嶄綔鏃堕棿'} ,{field: 'createBy', align: 'center',title: '', hide:true} - ]], request: { -- Gitblit v1.9.1