diff --git a/lms/nladmin-system/src/main/java/org/nl/wms/pdm/bi/service/dto/SubpackagerelationDto.java b/lms/nladmin-system/src/main/java/org/nl/wms/pdm/bi/service/dto/SubpackagerelationDto.java index b765ef736..4de91e752 100644 --- a/lms/nladmin-system/src/main/java/org/nl/wms/pdm/bi/service/dto/SubpackagerelationDto.java +++ b/lms/nladmin-system/src/main/java/org/nl/wms/pdm/bi/service/dto/SubpackagerelationDto.java @@ -108,4 +108,13 @@ public class SubpackagerelationDto implements Serializable { /** sap批次 */ private String sap_pcsn; + + /** 长 */ + private String box_length; + + /** 宽 */ + private String box_width; + + /** 高 */ + private String box_high; } diff --git a/lms/nladmin-system/src/main/java/org/nl/wms/pdm/bi/service/impl/SubpackagerelationServiceImpl.java b/lms/nladmin-system/src/main/java/org/nl/wms/pdm/bi/service/impl/SubpackagerelationServiceImpl.java index e25c12a09..3ce5cce05 100644 --- a/lms/nladmin-system/src/main/java/org/nl/wms/pdm/bi/service/impl/SubpackagerelationServiceImpl.java +++ b/lms/nladmin-system/src/main/java/org/nl/wms/pdm/bi/service/impl/SubpackagerelationServiceImpl.java @@ -46,6 +46,16 @@ public class SubpackagerelationServiceImpl implements SubpackagerelationService String customer_description = MapUtil.getStr(whereJson, "customer_description"); String package_box_sn = MapUtil.getStr(whereJson, "package_box_sn"); + String container_name = MapUtil.getStr(whereJson, "container_name"); + String is_un_plan_production = MapUtil.getStr(whereJson, "is_un_plan_production"); + String sap_pcsn = MapUtil.getStr(whereJson, "sap_pcsn"); + String date_of_production = MapUtil.getStr(whereJson, "date_of_production"); + String date_of_FG_inbound = MapUtil.getStr(whereJson, "date_of_FG_inbound"); + String status = MapUtil.getStr(whereJson, "status"); + + // 子卷号 是否计划外子卷 sap批次 制造完成日期 入库日期 状态 + + JSONObject map = new JSONObject(); map.put("flag", "1"); if (ObjectUtil.isNotEmpty(material_code)) map.put("material_code","%"+material_code+"%"); @@ -55,6 +65,14 @@ public class SubpackagerelationServiceImpl implements SubpackagerelationService if (ObjectUtil.isNotEmpty(customer_name)) map.put("customer_name","%"+customer_name+"%"); if (ObjectUtil.isNotEmpty(customer_description)) map.put("customer_description","%"+customer_description+"%"); + if (ObjectUtil.isNotEmpty(container_name)) map.put("container_name","%"+container_name+"%"); + if (ObjectUtil.isNotEmpty(sap_pcsn)) map.put("sap_pcsn","%"+sap_pcsn+"%"); + map.put("is_un_plan_production",is_un_plan_production); + map.put("date_of_production",date_of_production); + map.put("date_of_FG_inbound",date_of_FG_inbound); + map.put("status",status); + + JSONObject json = WQL.getWO("PDM_BI_SUBPACKAGER01").addParamMap(map).pageQuery(WqlUtil.getHttpContext(page), "create_time DESC"); return json; } diff --git a/lms/nladmin-system/src/main/java/org/nl/wms/pdm/wql/PDM_BI_SUBPACKAGER01.wql b/lms/nladmin-system/src/main/java/org/nl/wms/pdm/wql/PDM_BI_SUBPACKAGER01.wql index dd04765ad..5bf9c3eb4 100644 --- a/lms/nladmin-system/src/main/java/org/nl/wms/pdm/wql/PDM_BI_SUBPACKAGER01.wql +++ b/lms/nladmin-system/src/main/java/org/nl/wms/pdm/wql/PDM_BI_SUBPACKAGER01.wql @@ -20,6 +20,12 @@ 输入.customer_name TYPEAS s_string 输入.customer_description TYPEAS s_string 输入.package_box_sn TYPEAS s_string + 输入.container_name TYPEAS s_string + 输入.is_un_plan_production TYPEAS s_string + 输入.sap_pcsn TYPEAS s_string + 输入.date_of_production TYPEAS s_string + 输入.date_of_FG_inbound TYPEAS s_string + 输入.status TYPEAS s_string [临时表] @@ -76,6 +82,30 @@ customer_description LIKE 输入.customer_description ENDOPTION + OPTION 输入.container_name <> "" + container_name LIKE 输入.container_name + ENDOPTION + + OPTION 输入.sap_pcsn <> "" + sap_pcsn LIKE 输入.sap_pcsn + ENDOPTION + + OPTION 输入.is_un_plan_production <> "" + is_un_plan_production = 输入.is_un_plan_production + ENDOPTION + + OPTION 输入.date_of_production <> "" + date_of_production = 输入.date_of_production + ENDOPTION + + OPTION 输入.date_of_FG_inbound <> "" + date_of_FG_inbound = 输入.date_of_FG_inbound + ENDOPTION + + OPTION 输入.status <> "" + status = 输入.status + ENDOPTION + ENDSELECT ENDPAGEQUERY ENDIF \ No newline at end of file diff --git a/lms/nladmin-system/src/main/java/org/nl/wms/st/outbill/service/impl/CheckOutBillServiceImpl.java b/lms/nladmin-system/src/main/java/org/nl/wms/st/outbill/service/impl/CheckOutBillServiceImpl.java index 85f3794f6..d9dd2a380 100644 --- a/lms/nladmin-system/src/main/java/org/nl/wms/st/outbill/service/impl/CheckOutBillServiceImpl.java +++ b/lms/nladmin-system/src/main/java/org/nl/wms/st/outbill/service/impl/CheckOutBillServiceImpl.java @@ -2132,8 +2132,8 @@ public class CheckOutBillServiceImpl implements CheckOutBillService { WQLObject custTab = WQLObject.getWQLObject("MD_CS_CustomerBase"); // 客户基本信息表 WQLObject mstTab = WQLObject.getWQLObject("ST_IVT_IOStorInv"); // 出入库主表 - WQLObject dtlTab = WQLObject.getWQLObject("ST_IVT_IOStorInv"); // 出入库明细表 - WQLObject disTab = WQLObject.getWQLObject("ST_IVT_IOStorInv"); // 出入库分配明细 + WQLObject dtlTab = WQLObject.getWQLObject("st_ivt_iostorinvdtl"); // 出入库明细表 + WQLObject disTab = WQLObject.getWQLObject("st_ivt_iostorinvdis"); // 出入库分配明细 WQLObject subTab = WQLObject.getWQLObject("pdm_bi_subpackagerelation"); // 子卷包装关系表 JSONObject jsonMst = mstTab.query("iostorinv_id = '" + MapUtil.getStr(whereJson, "iostorinv_id") + "'").uniqueResult(0); @@ -2175,7 +2175,7 @@ public class CheckOutBillServiceImpl implements CheckOutBillService { double all_box_qty = 0; for (int t = 0; t < jsonAllBox.size(); t++) { JSONObject json = jsonAllBox.getJSONObject(t); - NumberUtil.add(all_box_qty,json.getDoubleValue("box_qty")); + all_box_qty = NumberUtil.add(all_box_qty,json.getDoubleValue("box_qty")); } oneMap.put("all_box_qty", NumberUtil.round(all_box_qty,2).toString()); oneMap.put("deliveryaddress", jsonMst.getString("deliveryaddress")); // 送货方地址 diff --git a/lms/nladmin-ui/src/views/wms/basedata/master/customer/index.vue b/lms/nladmin-ui/src/views/wms/basedata/master/customer/index.vue index a591f328c..17f4e7380 100644 --- a/lms/nladmin-ui/src/views/wms/basedata/master/customer/index.vue +++ b/lms/nladmin-ui/src/views/wms/basedata/master/customer/index.vue @@ -20,9 +20,9 @@ :before-close="crud.cancelCU" :visible.sync="crud.status.cu > 0" :title="crud.status.title" - width="1000px" + width="1100px" > - + @@ -35,8 +35,8 @@ - - + + @@ -92,7 +92,12 @@ - + + + + + + @@ -123,7 +128,8 @@ @selection-change="crud.selectionChangeHandler" > - + + diff --git a/lms/nladmin-ui/src/views/wms/pdm/bi/index.vue b/lms/nladmin-ui/src/views/wms/pdm/bi/index.vue index b541f1c15..13109665e 100644 --- a/lms/nladmin-ui/src/views/wms/pdm/bi/index.vue +++ b/lms/nladmin-ui/src/views/wms/pdm/bi/index.vue @@ -8,7 +8,7 @@ :inline="true" class="demo-form-inline" label-position="right" - label-width="90px" + label-width="115px" label-suffix=":" > @@ -41,6 +41,80 @@ @keyup.enter.native="crud.toQuery" /> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + @@ -262,19 +355,22 @@ + + - + + + + + - - - - - @@ -287,16 +383,28 @@ + + + + + + + + + - + + + + - -