north-glass-erp/northglass-erp/src/components/pp/PrintProcessStraight.vue
@@ -266,7 +266,7 @@ æ¶é´ï¼{{formattedTime}} </div> <div>{{itemFlow.rack}} <div><span v-if="item.detailList[0].merge===1">å</span>{{itemFlow.rack}} æµç¨å¡å·ï¼ {{ itemFlow.process_id }}/{{ itemFlow.technologyNumber }} å ± {{ item.count }} æ¶ north-glass-erp/northglass-erp/src/stores/sd/companySet/½ð»ªÌì³É.js
@@ -5,7 +5,7 @@ state: () => ({ companyName: 'éåç¦å天æç»çæéå ¬å¸', address:'æµæ±çéåå¸éä¸åºæ¹å® éå·¥ä¸åè½åºé¹¤å²©è¡28å·2å·', telephone:'189 3119 1362 èµåé¿', telephone:'153 8178 1915 ', fax:'', errorArea:0.3, widHeiLength:{//订å宽é«é¿åº¦ north-glass-erp/src/main/java/com/example/erp/service/pp/FlowCardService.java
@@ -1061,7 +1061,7 @@ Float shelfThickness = Float.parseFloat(object.get("shelfThickness").toString())*1000; Float spacerThickness = Float.parseFloat(object.get("spacerThickness").toString()); */ Integer inMaxQuantity = 30; Integer inMaxQuantity = 1; Float inWeight = 100.0f; Float shelfThickness = 2000.0f; /*å«çå度*/ @@ -1100,10 +1100,11 @@ double flowCardWeight = 0.0; for (OrderDetail orderDetail1 : orderDetailList) { if (orderDetail1.getFlowCardId().equals(FlowCardId)) { flowCardWeight = orderDetail1.getHeight()*orderDetail1.getQuantity()* orderDetail1.getWidth()* glassThickness* 2.5 / 1000000; flowCardWeight += orderDetail1.getHeight()*orderDetail1.getQuantity()* orderDetail1.getWidth()* glassThickness* 2.5 / 1000000; } } if(flowCardWeight>0){ //System.out.println(inWeight+","+flowCardWeight); flowCardWeight = inWeight - flowCardWeight; shelfQuantity = (int) (flowCardWeight / (orderDetail.getHeight() @@ -1112,6 +1113,7 @@ * 2.5 / 1000000)); if (shelfQuantity == 0) { shelfQuantity = shelfQuantityByWeight; flowCardNo += 1; } } north-glass-erp/src/main/resources/mapper/mm/MaterialInventory.xml
@@ -958,13 +958,13 @@ </if> <if test="materialLog.inventoryId != null and materialLog.inventoryId != ''"> and ml.inventoryId regexp #{materialLog.inventoryId} and ml.inventory_id regexp #{materialLog.inventoryId} </if> <if test="materialLog.materialCode != null and materialLog.materialCode != ''"> and ml.materialCode regexp #{materialLog.materialCode} and ml.material_code regexp #{materialLog.materialCode} </if> <if test="materialLog.materialName != null and materialLog.materialName != ''"> and ml.materialName regexp #{materialLog.materialName} and ml.material_name regexp #{materialLog.materialName} </if> <if test="materialLog.producer != null and materialLog.producer != ''"> and ml.producer regexp #{materialLog.producer} @@ -1019,13 +1019,13 @@ </if> <if test="materialLog.inventoryId != null and materialLog.inventoryId != ''"> and ml.inventoryId regexp #{materialLog.inventoryId} and ml.inventory_id regexp #{materialLog.inventoryId} </if> <if test="materialLog.materialCode != null and materialLog.materialCode != ''"> and ml.materialCode regexp #{materialLog.materialCode} and ml.material_code regexp #{materialLog.materialCode} </if> <if test="materialLog.materialName != null and materialLog.materialName != ''"> and ml.materialName regexp #{materialLog.materialName} and ml.material_name regexp #{materialLog.materialName} </if> <if test="materialLog.producer != null and materialLog.producer != ''"> and ml.producer regexp #{materialLog.producer} north-glass-erp/src/main/resources/mapper/pp/FolwCard.xml
@@ -525,7 +525,7 @@ left join pp.flow_card as fc on op.project_no=fc.project_no left join sd.`order` as o on o.order_id=fc.order_id where date(op.create_time)>=#{selectTime1} and date(op.create_time) <= #{selectTime2} and state >= 20 and o.create_order>0 and state >= 20 and (o.create_order>0 or o.create_order is null) GROUP BY op.project_no order by op.create_time desc </select> @@ -1455,7 +1455,8 @@ pd.separation, fc.technology_number, IFNULL(JSON_UNQUOTE(JSON_EXTRACT(od.other_columns, '$.S02')),'') as mapNumber, od.building_number od.building_number, fc.merge as merge from flow_card as fc left join sd.order_glass_detail as ogd on fc.order_id = ogd.order_id and fc.order_number = ogd.order_number and