| | |
| | | @RequestParam(defaultValue = "10")Integer limit, |
| | | @RequestParam(required = false)String orderByField, |
| | | @RequestParam(required = false)String orderByType, |
| | | @RequestParam(required = false)String condition, |
| | | @RequestParam Map<String, Object> param){ |
| | | EntityWrapper<Item> wrapper = new EntityWrapper<>(); |
| | | HashSet<String> excludeField = new HashSet<>(); |
| | | |
| | | allLike(Item.class,excludeField,wrapper, (String) param.get("id")); |
| | | allLike(Item.class, param.keySet(), wrapper, condition); |
| | | // allLike(Item.class,excludeField,wrapper, (String) param.get("id")); |
| | | excludeTrash(param); |
| | | convert(param, wrapper); |
| | | hostEq(wrapper); |
| | |
| | | {type: 'checkbox'} |
| | | // ,{field: 'id', align: 'center',title: 'ID'} |
| | | // ,{field: 'hostId', align: 'center',title: ''} |
| | | ,{field: 'uuid', align: 'center',title: '订单号'} |
| | | ,{field: 'name', align: 'center',title: '项目名称'} |
| | | ,{field: 'uuid', align: 'center',title: '订单号', width: 130} |
| | | ,{field: 'name', align: 'center',title: '项目名称', width: 130} |
| | | ,{field: 'inUuid', align: 'center',title: '项目编号', hide: true} |
| | | // ,{field: 'cstmrUuid', align: 'center',title: '客户编号'} |
| | | ,{field: 'cstmrUuid$', align: 'center',title: '客户名称'} |
| | |
| | | |
| | | // ,{field: 'member', align: 'center',title: '项目成员'} |
| | | // ,{field: 'leader', align: 'center',title: '项目经理'} |
| | | ,{field: 'startTime0$', align: 'center',title: '计划开始时间'} |
| | | ,{field: 'endTime0$', align: 'center',title: '计划结束时间'} |
| | | ,{field: 'realStartTime0$', align: 'center', title: '实际开始时间'} |
| | | ,{field: 'realEndTime0$', align: 'center', title: '实际结束时间'} |
| | | ,{field: 'startTime0$', align: 'center',title: '计划开始时间', width: 115} |
| | | ,{field: 'endTime0$', align: 'center',title: '计划结束时间', width: 115} |
| | | ,{field: 'realStartTime0$', align: 'center', title: '实际开始时间', width: 115} |
| | | ,{field: 'realEndTime0$', align: 'center', title: '实际结束时间', width: 115} |
| | | ,{field: 'type$', align: 'center', title: '项目类型'} |
| | | ,{field: 'originArea', align: 'center', title: '生产地'} |
| | | ,{field: 'realMonth', align: 'center', title: '时间跨度(天)'} |
| | | ,{field: 'realMonth', align: 'center', title: '时间跨度(天)', width: 115} |
| | | ,{field: 'dutyMan', align: 'center', title: '责任人'} |
| | | ,{field: 'dutyDepartment', align: 'center', title: '责任部门'} |
| | | ,{field: 'status$', align: 'center',title: '状态'} |
| | |
| | | // ,{field: 'updateTime$', align: 'center',title: '修改时间'} |
| | | ,{field: 'memo', align: 'center',title: '备注'} |
| | | |
| | | ,{fixed: 'right', title:'操作', align: 'center', toolbar: '#operate', width:180} |
| | | ,{fixed: 'right', title:'操作', align: 'center', toolbar: '#operate', width:165} |
| | | ]], |
| | | request: { |
| | | pageName: 'curr', |
| | |
| | | {type: 'checkbox'} |
| | | // ,{field: 'id', align: 'center',title: 'ID'} |
| | | // ,{field: 'hostId', align: 'center',title: ''} |
| | | ,{field: 'uuid', align: 'center',title: '订单号'} |
| | | ,{field: 'name', align: 'center',title: '项目名称'} |
| | | ,{field: 'uuid', align: 'center',title: '订单号', width: 130} |
| | | ,{field: 'name', align: 'center',title: '项目名称', width: 130} |
| | | ,{field: 'inUuid', align: 'center',title: '项目编号', hide: true} |
| | | // ,{field: 'cstmrUuid', align: 'center',title: '客户编号'} |
| | | // ,{field: 'cstmrUuid$', align: 'center',title: '客户名称'} |
| | | ,{field: 'projectStatus$', align: 'center', title: '项目进度'} |
| | | ,{field: 'orderDesc', align: 'center', title: '订单类型描述'} |
| | | ,{field: 'orderDesc', align: 'center', title: '订单类型描述', width: 115} |
| | | // ,{field: 'member', align: 'center',title: '项目成员'} |
| | | // ,{field: 'leader', align: 'center',title: '项目经理'} |
| | | ,{field: 'salesman', align: 'center',title: '业务员'} |
| | | ,{field: 'presaleAmt', align: 'center',title: '售前核价金额'} |
| | | ,{field: 'predeDate0$', align: 'center', title: '销售预交货期'} |
| | | ,{field: 'preinDate0$', align: 'center', title: '销售预安装期'} |
| | | ,{field: 'presaleAmt', align: 'center',title: '售前核价金额', width: 115} |
| | | ,{field: 'predeDate0$', align: 'center', title: '销售预交货期', width: 115} |
| | | ,{field: 'preinDate0$', align: 'center', title: '销售预安装期', width: 115} |
| | | |
| | | ,{field: 'weight', align: 'center', title: '产品重量'} |
| | | ,{field: 'realMonth', align: 'center', title: '时间跨度(月)'} |
| | | ,{field: 'realMonth', align: 'center', title: '时间跨度(天)', width: 115} |
| | | ,{field: 'installMk$', align: 'center', title: '是否安装'} |
| | | ,{field: 'deliveryMk$', align: 'center', title: '是否运输'} |
| | | ,{field: 'custMan', align: 'center',title: '客户联系人'} |
| | | ,{field: 'custMobile', align: 'center',title: '客户联系方式'} |
| | | ,{field: 'custMobile', align: 'center',title: '客户联系方式', width: 120} |
| | | ,{field: 'custAdress', align: 'center',title: '客户地址'} |
| | | // ,{field: 'createBy$', align: 'center',title: '添加人员'} |
| | | // ,{field: 'createTime$', align: 'center',title: '添加时间'} |
| | |
| | | limit: 16, |
| | | limits: [16, 30, 50, 100, 200, 500], |
| | | toolbar: '#toolbar', |
| | | cellMinWidth: 50, |
| | | cellMinWidth: 100, |
| | | cols: [[ |
| | | {type: 'checkbox'} |
| | | // ,{field: 'id', align: 'center',title: 'ID'} |
| | | // ,{field: 'hostId', align: 'center',title: ''} |
| | | ,{field: 'uuid', align: 'center',title: '订单号'} |
| | | ,{field: 'name', align: 'center',title: '项目名称'} |
| | | ,{field: 'uuid', align: 'center',title: '订单号', width: 130} |
| | | ,{field: 'name', align: 'center',title: '项目名称', width: 130} |
| | | ,{field: 'inUuid', align: 'center',title: '项目编号', hide: true} |
| | | // ,{field: 'cstmrUuid', align: 'center',title: '客户编号'} |
| | | ,{field: 'progressRate', align: 'center',title: '进度'} |
| | | ,{field: 'planCarInfo', align: 'center', title: '预计车辆大小'} |
| | | ,{field: 'planCarnumber', align: 'center', title: '预计车辆数量'} |
| | | ,{field: 'planCarInfo', align: 'center', title: '预计车辆大小', width: 115} |
| | | ,{field: 'planCarnumber', align: 'center', title: '预计车辆数量', width: 115} |
| | | // ,{field: 'member', align: 'center',title: '项目成员'} |
| | | // ,{field: 'leader', align: 'center',title: '项目经理'} |
| | | ,{field: 'plandeDate0$', align: 'center',title: '预计发货日期'} |
| | | ,{field: 'realdeDate0$', align: 'center',title: '实际发货日期'} |
| | | ,{field: 'planinDate0$', align: 'center', title: '预计安装日期'} |
| | | ,{field: 'realinDate0$', align: 'center', title: '实际安装日期'} |
| | | ,{field: 'plandeDate0$', align: 'center',title: '预计发货日期', width: 115} |
| | | ,{field: 'realdeDate0$', align: 'center',title: '实际发货日期', width: 115} |
| | | ,{field: 'planinDate0$', align: 'center', title: '预计安装日期', width: 115} |
| | | ,{field: 'realinDate0$', align: 'center', title: '实际安装日期', width: 115} |
| | | ,{field: 'plandeAmt', align: 'center', title: '预计运费'} |
| | | ,{field: 'realdeAmt', align: 'center', title: '实际运费'} |
| | | ,{field: 'planinAmt', align: 'center', title: '预计安装费'} |
| | | ,{field: 'realinAmt', align: 'center', title: '实际安装费'} |
| | | ,{field: 'planFADate0$', align: 'center', title: '预计初验时间'} |
| | | ,{field: 'realFADate0$', align: 'center',title: '实际初验时间'} |
| | | ,{field: 'planLADate0$', align: 'center', title: '预计终验时间'} |
| | | ,{field: 'realLADate0$', align: 'center',title: '实际终验时间'} |
| | | ,{field: 'planinAmt', align: 'center', title: '预计安装费', width: 115} |
| | | ,{field: 'realinAmt', align: 'center', title: '实际安装费', width: 115} |
| | | ,{field: 'planFADate0$', align: 'center', title: '预计初验时间', width: 115} |
| | | ,{field: 'realFADate0$', align: 'center',title: '实际初验时间', width: 115} |
| | | ,{field: 'planLADate0$', align: 'center', title: '预计终验时间', width: 115} |
| | | ,{field: 'realLADate0$', align: 'center',title: '实际终验时间', width: 115} |
| | | // ,{field: 'createBy$', align: 'center',title: '添加人员'} |
| | | // ,{field: 'createTime$', align: 'center',title: '添加时间'} |
| | | // ,{field: 'updateBy$', align: 'center',title: '修改人员'} |
| | |
| | | <div id="search-box" class="layui-form layui-card-header"> |
| | | <div class="layui-inline"> |
| | | <div class="layui-input-inline"> |
| | | <input class="layui-input" type="text" name="id" placeholder="编号" autocomplete="off"> |
| | | <input class="layui-input" type="text" name="id" placeholder="订单号" autocomplete="off"> |
| | | </div> |
| | | <div class="layui-input-inline"> |
| | | <input class="layui-input" type="text" name="name" placeholder="项目名称" autocomplete="off"> |
| | | </div> |
| | | <div class="layui-input-inline" style="width: 200px"> |
| | | <input class="layui-input" type="text" name="condition" placeholder="请输入" autocomplete="off"> |
| | | </div> |
| | | </div> |
| | | <!-- 待添加 --> |
| | |
| | | <div id="search-box" class="layui-form layui-card-header"> |
| | | <div class="layui-inline"> |
| | | <div class="layui-input-inline"> |
| | | <input class="layui-input" type="text" name="id" placeholder="编号" autocomplete="off"> |
| | | <input class="layui-input" type="text" name="id" placeholder="订单号" autocomplete="off"> |
| | | </div> |
| | | <div class="layui-input-inline"> |
| | | <input class="layui-input" type="text" name="name" placeholder="项目名称" autocomplete="off"> |
| | | </div> |
| | | <div class="layui-input-inline" style="width: 200px"> |
| | | <input class="layui-input" type="text" name="condition" placeholder="请输入" autocomplete="off"> |
| | | </div> |
| | | </div> |
| | | <!-- 待添加 --> |
| | |
| | | <div class="layui-btn-container"> |
| | | <!-- <button class="layui-btn layui-btn-sm" id="btn-add" lay-event="addData">新增</button>--> |
| | | <!-- <button class="layui-btn layui-btn-sm" id="btn-delete" lay-event="deleteData">禁用</button>--> |
| | | <button class="layui-btn layui-btn-primary layui-btn-sm" id="btn-export" lay-event="exportData">导出</button> |
| | | <button class="layui-btn layui-btn-primary layui-btn-sm" id="btn-export" lay-event="exportData" style="margin-top: 10px">导出</button> |
| | | </div> |
| | | </script> |
| | | |
| | |
| | | <link rel="stylesheet" href="../../static/css/admin.css?v=318" media="all"> |
| | | <link rel="stylesheet" href="../../static/css/cool.css" media="all"> |
| | | <link rel="stylesheet" href="../../static/css/common.css" media="all"> |
| | | <style> |
| | | .layui-table-body.layui-table-main { |
| | | overflow: scroll; |
| | | } |
| | | </style> |
| | | </head> |
| | | <body> |
| | | |
| | |
| | | <div id="search-box" class="layui-form layui-card-header"> |
| | | <div class="layui-inline"> |
| | | <div class="layui-input-inline"> |
| | | <input class="layui-input" type="text" name="id" placeholder="编号" autocomplete="off"> |
| | | <input class="layui-input" type="text" name="id" placeholder="订单号" autocomplete="off"> |
| | | </div> |
| | | <div class="layui-input-inline"> |
| | | <input class="layui-input" type="text" name="name" placeholder="项目名称" autocomplete="off"> |
| | | </div> |
| | | <div class="layui-input-inline" style="width: 200px"> |
| | | <input class="layui-input" type="text" name="condition" placeholder="请输入" autocomplete="off"> |
| | | </div> |
| | | </div> |
| | | <!-- 待添加 --> |
| | |
| | | </div> |
| | | |
| | | <!-- 表格 --> |
| | | <div class="layui-form"> |
| | | <div class="layui-form" style="width: 100%"> |
| | | <table class="layui-hide" id="item" lay-filter="item"></table> |
| | | </div> |
| | | <script type="text/html" id="toolbar"> |
| | | <div class="layui-btn-container"> |
| | | <!-- <button class="layui-btn layui-btn-sm" id="btn-add" lay-event="addData">新增</button>--> |
| | | <!-- <button class="layui-btn layui-btn-sm" id="btn-delete" lay-event="deleteData">禁用</button>--> |
| | | <button class="layui-btn layui-btn-primary layui-btn-sm" id="btn-export" lay-event="exportData">导出</button> |
| | | <button class="layui-btn layui-btn-primary layui-btn-sm" id="btn-export" lay-event="exportData" style="margin-top: 10px">导出</button> |
| | | </div> |
| | | </script> |
| | | |