|  |  | 
 |  |  |             // ,{field: 'updateBy$', align: 'center',title: '修改人员',event: 'updateBy', style: 'cursor:pointer'} | 
 |  |  |             // ,{field: 'updateTime$', align: 'center',title: '修改时间'} | 
 |  |  |             // ,{field: 'memo', align: 'center',title: '备注'} | 
 |  |  |  | 
 |  |  |             ,{fixed: 'right', title:'操作', align: 'center', toolbar: '#operate', width:150} | 
 |  |  |         ]], | 
 |  |  |         request: { | 
 |  |  | 
 |  |  |         } | 
 |  |  |     }); | 
 |  |  |     /* 表格2搜索 */ | 
 |  |  |     form.on('submit(orderTable)', function (data) { | 
 |  |  |     form.on('submit(orderTbSearch)', function (data) { | 
 |  |  |         insTb2.reload({where: data.field, page: {curr: 1}}); | 
 |  |  |         return false; | 
 |  |  |     }); | 
 |  |  | 
 |  |  |  | 
 |  |  |  | 
 |  |  |  | 
 |  |  | //     // 数据渲染 | 
 |  |  | //     tableIns = table.render({ | 
 |  |  | //         elem: '#order', | 
 |  |  | //         headers: {token: localStorage.getItem('token')}, | 
 |  |  | //         url: baseUrl+'/order/list/auth', | 
 |  |  | //         page: true, | 
 |  |  | //         limit: 16, | 
 |  |  | //         limits: [16, 30, 50, 100, 200, 500], | 
 |  |  | //         even: true, | 
 |  |  | //         toolbar: '#toolbar', | 
 |  |  | //         cellMinWidth: 50, | 
 |  |  | //         cols: [[ | 
 |  |  | //             {type: 'checkbox'} | 
 |  |  | //             // ,{field: 'id', align: 'center',title: 'ID'} | 
 |  |  | //             // ,{field: 'uuid', align: 'center',title: '编号'} | 
 |  |  | //             ,{field: 'orderNo', align: 'center',title: '订单编号'} | 
 |  |  | //             ,{field: 'orderTime', align: 'center',title: '单据日期'} | 
 |  |  | //             ,{field: 'docType$', align: 'center',title: '单据类型'} | 
 |  |  | //             ,{field: 'itemId$', align: 'center',title: '项目编号'} | 
 |  |  | //             ,{field: 'allotItemId$', align: 'center',title: '调拨项目编号', hide: true} | 
 |  |  | //             ,{field: 'defNumber', align: 'center',title: '初始票据号', hide: true} | 
 |  |  | //             ,{field: 'number', align: 'center',title: '票据号'} | 
 |  |  | //             // ,{field: 'cstmr$', align: 'center',title: '客户编号'} | 
 |  |  | //             ,{field: 'cstmrName', align: 'center',title: '客户', hide: true} | 
 |  |  | //             ,{field: 'tel', align: 'center',title: '联系方式', hide: true} | 
 |  |  | //             ,{field: 'operMemb', align: 'center',title: '操作人员'} | 
 |  |  | //             ,{field: 'totalFee', align: 'center',title: '合计金额'} | 
 |  |  | //             ,{field: 'discount', align: 'center',title: '优惠率', hide: true} | 
 |  |  | //             ,{field: 'discountFee', align: 'center',title: '优惠金额', hide: true} | 
 |  |  | //             ,{field: 'otherFee', align: 'center',title: '销售或采购费用合计', hide: true} | 
 |  |  | //             ,{field: 'actFee', align: 'center',title: '实付金额', hide: true} | 
 |  |  | //             ,{field: 'payType$', align: 'center',title: '付款类型'} | 
 |  |  | //             ,{field: 'salesman', align: 'center',title: '业务员', hide: true} | 
 |  |  | //             ,{field: 'accountDay', align: 'center',title: '结算天数', hide: true} | 
 |  |  | //             ,{field: 'postFeeType$', align: 'center',title: '邮费支付类型', hide: true} | 
 |  |  | //             ,{field: 'postFee', align: 'center',title: '邮费', hide: true} | 
 |  |  | //             ,{field: 'payTime$', align: 'center',title: '付款时间', hide: true} | 
 |  |  | //             ,{field: 'sendTime$', align: 'center',title: '发货时间', hide: true} | 
 |  |  | //             ,{field: 'shipName', align: 'center',title: '物流名称', hide: true} | 
 |  |  | //             ,{field: 'shipCode', align: 'center',title: '物流单号', hide: true} | 
 |  |  | //             ,{field: 'settle$', align: 'center',title: '订单状态'} | 
 |  |  | //             // ,{field: 'status$', align: 'center',title: '状态'} | 
 |  |  | //             // ,{field: 'createBy$', align: 'center',title: '添加人员',event: 'createBy', style: 'cursor:pointer'} | 
 |  |  | //             // ,{field: 'createTime$', align: 'center',title: '添加时间'} | 
 |  |  | //             // ,{field: 'updateBy$', align: 'center',title: '修改人员',event: 'updateBy', style: 'cursor:pointer'} | 
 |  |  | //             // ,{field: 'updateTime$', align: 'center',title: '修改时间'} | 
 |  |  | //             // ,{field: 'memo', align: 'center',title: '备注'} | 
 |  |  | // | 
 |  |  | //             ,{fixed: 'right', title:'操作', align: 'center', toolbar: '#operate', width:150} | 
 |  |  | //         ]], | 
 |  |  | //         request: { | 
 |  |  | //             pageName: 'curr', | 
 |  |  | //             pageSize: 'limit' | 
 |  |  | //         }, | 
 |  |  | //         parseData: function (res) { | 
 |  |  | //             return { | 
 |  |  | //                 'code': res.code, | 
 |  |  | //                 'msg': res.msg, | 
 |  |  | //                 'count': res.data.total, | 
 |  |  | //                 'data': res.data.records | 
 |  |  | //             } | 
 |  |  | //         }, | 
 |  |  | //         response: { | 
 |  |  | //             statusCode: 200 | 
 |  |  | //         }, | 
 |  |  | //         done: function(res, curr, count) { | 
 |  |  | //             if (res.code === 403) { | 
 |  |  | //                 top.location.href = baseUrl+"/"; | 
 |  |  | //             } | 
 |  |  | //             pageCurr=curr; | 
 |  |  | //             limit(); | 
 |  |  | //             form.on('checkbox(tableCheckbox)', function (data) { | 
 |  |  | //                 var _index = $(data.elem).attr('table-index')||0; | 
 |  |  | //                 if(data.elem.checked){ | 
 |  |  | //                     res.data[_index][data.value] = 'Y'; | 
 |  |  | //                 }else{ | 
 |  |  | //                     res.data[_index][data.value] = 'N'; | 
 |  |  | //                 } | 
 |  |  | //             }); | 
 |  |  | //         } | 
 |  |  | //     }); | 
 |  |  | // | 
 |  |  | //     // 监听排序事件 | 
 |  |  | //     table.on('sort(locMast)', function (obj) { | 
 |  |  | //         var searchData = {}; | 
 
 |  |  | 
 |  |  |                     <form class="layui-form toolbar"> | 
 |  |  |                         <div class="layui-form-item"> | 
 |  |  |                             <div class="layui-inline"> | 
 |  |  |                                 <label class="layui-form-label">字典名称:</label> | 
 |  |  |                                 <label class="layui-form-label">订单编号:</label> | 
 |  |  |                                 <div class="layui-input-inline"> | 
 |  |  |                                     <input name="dictDataName" class="layui-input" placeholder="输入字典名称"/> | 
 |  |  |                                 </div> | 
 |  |  |                             </div> | 
 |  |  |                             <div class="layui-inline"> | 
 |  |  |                                 <label class="layui-form-label">字典键值:</label> | 
 |  |  |                                 <div class="layui-input-inline"> | 
 |  |  |                                     <input name="dictDataCode" class="layui-input" placeholder="输入字典键值"/> | 
 |  |  |                                     <input name="order_no" class="layui-input" placeholder="输入订单编号"/> | 
 |  |  |                                 </div> | 
 |  |  |                             </div> | 
 |  |  |                             <div class="layui-inline">  | 
 |  |  |                                 <button class="layui-btn icon-btn" lay-filter="dictDataTbSearch" lay-submit> | 
 |  |  |                                 <button class="layui-btn icon-btn" lay-filter="orderTbSearch" lay-submit> | 
 |  |  |                                     <i class="layui-icon"></i>搜索 | 
 |  |  |                                 </button> | 
 |  |  |                             </div> | 
 |  |  | 
 |  |  |             <button class="layui-btn layui-btn-primary" type="button" ew-event="closeDialog">取消</button> | 
 |  |  |         </div> | 
 |  |  |     </form> | 
 |  |  | </script> | 
 |  |  |  | 
 |  |  | <script type="text/html" id="operate"> | 
 |  |  |     <a class="layui-btn layui-btn-primary layui-btn-xs" lay-event="detail">详情</a> | 
 |  |  |     <a class="layui-btn layui-btn-xs btn-edit" lay-event="edit">编辑</a> | 
 |  |  | </script> | 
 |  |  |  | 
 |  |  | <script type="text/javascript" src="../../static/js/jquery/jquery-3.3.1.min.js"></script> |