diff --git a/mes/hd/nladmin-system/src/main/java/org/nl/wms/basedata/master/service/impl/UnitServiceImpl.java b/mes/hd/nladmin-system/src/main/java/org/nl/wms/basedata/master/service/impl/UnitServiceImpl.java index 9a81ed0a..a060b450 100644 --- a/mes/hd/nladmin-system/src/main/java/org/nl/wms/basedata/master/service/impl/UnitServiceImpl.java +++ b/mes/hd/nladmin-system/src/main/java/org/nl/wms/basedata/master/service/impl/UnitServiceImpl.java @@ -43,7 +43,7 @@ public class UnitServiceImpl implements UnitService { if (!StrUtil.isEmpty(search)) { where = " AND (unit_code like '%" + search + "%' OR unit_name like '%" + search + "%' ) "; } - ResultBean rb = wo.pagequery(WqlUtil.getHttpContext(page), "is_delete='0' " + where, "update_time desc"); + ResultBean rb = wo.pagequery(WqlUtil.getHttpContext(page), "is_delete='0' " + where, "unit_code"); final JSONObject json = rb.pageResult(); return json; } diff --git a/mes/hd/nladmin-system/src/main/java/org/nl/wms/statistics/service/impl/PowderOrderQueryServiceImpl.java b/mes/hd/nladmin-system/src/main/java/org/nl/wms/statistics/service/impl/PowderOrderQueryServiceImpl.java index ff68443e..b8c8419e 100644 --- a/mes/hd/nladmin-system/src/main/java/org/nl/wms/statistics/service/impl/PowderOrderQueryServiceImpl.java +++ b/mes/hd/nladmin-system/src/main/java/org/nl/wms/statistics/service/impl/PowderOrderQueryServiceImpl.java @@ -3,6 +3,7 @@ package org.nl.wms.statistics.service.impl; import cn.hutool.core.map.MapUtil; import cn.hutool.core.util.NumberUtil; import cn.hutool.core.util.ObjectUtil; +import cn.hutool.core.util.StrUtil; import lombok.RequiredArgsConstructor; import lombok.extern.slf4j.Slf4j; import com.alibaba.fastjson.JSONArray; @@ -33,8 +34,14 @@ public class PowderOrderQueryServiceImpl implements PowderOrderQueryService { HashMap map = new HashMap<>(); map.put("flag", "1"); - map.put("begin_time", MapUtil.getStr(whereJson, "begin_time")); - map.put("end_time", MapUtil.getStr(whereJson, "end_time")); + String begin_time = MapUtil.getStr(whereJson, "begin_time"); + if (StrUtil.isNotEmpty(begin_time)) { + map.put("begin_time", begin_time.substring(0,10)+" 00:00:00"); + } + String end_time = MapUtil.getStr(whereJson, "end_time"); + if (StrUtil.isNotEmpty(end_time)) { + map.put("end_time", end_time.substring(0,10)+" 23:59:59"); + } map.put("status", MapUtil.getStr(whereJson, "status")); if (ObjectUtil.isNotEmpty(pcsn)) map.put("pcsn", "%"+pcsn+"%"); if (ObjectUtil.isNotEmpty(material_code)) map.put("material_code", "%"+material_code+"%"); diff --git a/mes/qd/src/views/components/icons/index.vue b/mes/qd/src/views/components/icons/index.vue index d060173d..4d781fd0 100644 --- a/mes/qd/src/views/components/icons/index.vue +++ b/mes/qd/src/views/components/icons/index.vue @@ -44,7 +44,7 @@ import clipboard from '@/utils/clipboard' import svgIcons from './svg-icons' import elementIcons from './element-icons' export default { - name: 'Icons', + name: 'icons', data() { return { svgIcons, diff --git a/mes/qd/src/views/wms/basedata/em/devicemaintain/index.vue b/mes/qd/src/views/wms/basedata/em/devicemaintain/index.vue index 821ead2f..e900b358 100644 --- a/mes/qd/src/views/wms/basedata/em/devicemaintain/index.vue +++ b/mes/qd/src/views/wms/basedata/em/devicemaintain/index.vue @@ -182,7 +182,7 @@ import crudMaterialbase from '@/api/wms/basedata/master/materialbase' const defaultForm = { material_type_id: null, maint_item_id: null, maint_item_code: null, maint_item_name: null, item_level: null, contents: null, requirement: null, acceptancecriteria: null, create_id: null, create_name: null, create_time: null, update_optid: null, update_optname: null, update_time: null, is_delete: null, remark: null } export default { - name: 'Devicemaintenanceitems', + name: 'Devicemaintain', components: { pagination, crudOperation, rrOperation, udOperation, Treeselect }, mixins: [presenter(), header(), form(defaultForm), crud()], cruds() { diff --git a/mes/qd/src/views/wms/basedata/master/supp/index.vue b/mes/qd/src/views/wms/basedata/master/supp/index.vue index 950a37e8..1a0e8856 100644 --- a/mes/qd/src/views/wms/basedata/master/supp/index.vue +++ b/mes/qd/src/views/wms/basedata/master/supp/index.vue @@ -133,14 +133,14 @@ style="width: 100%;" @selection-change="crud.selectionChangeHandler" > - - - - - - - - + + + + + + + +