补回丢失代码
							parent
							
								
									594459468e
								
							
						
					
					
						commit
						709b9cf354
					
				| 
						 | 
					@ -7085,9 +7085,14 @@ public class DefaultQueryAppManager extends DefaultBaseManager implements QueryA
 | 
				
			||||||
		SimpleDateFormat hms = new SimpleDateFormat("HH:mm:ss");
 | 
							SimpleDateFormat hms = new SimpleDateFormat("HH:mm:ss");
 | 
				
			||||||
		Location lc=commonDao.load(Location.class, t.getSrcLoc().getId());
 | 
							Location lc=commonDao.load(Location.class, t.getSrcLoc().getId());
 | 
				
			||||||
		WarehouseArea zone=commonDao.load(WarehouseArea.class, lc.getZone().getId());
 | 
							WarehouseArea zone=commonDao.load(WarehouseArea.class, lc.getZone().getId());
 | 
				
			||||||
		
 | 
							String lot=ik.getLotInfo().getPropC1() == null ? "" : ik.getLotInfo().getPropC1();//批号
 | 
				
			||||||
 | 
							if(item.getIsBOM()) {
 | 
				
			||||||
 | 
								if(ik.getLotInfo().getPropD2()!=null) {
 | 
				
			||||||
 | 
									lot=lot+ymd1.format(ik.getLotInfo().getPropD2());//有效期
 | 
				
			||||||
 | 
								}
 | 
				
			||||||
 | 
							}
 | 
				
			||||||
		String content=contentJson(pt.getCode(), t.getBillCode(), item.getName(), item.getCode(), slocCode,
 | 
							String content=contentJson(pt.getCode(), t.getBillCode(), item.getName(), item.getCode(), slocCode,
 | 
				
			||||||
				Double.valueOf(quantity), item.getUnit(), ik.getLotInfo().getPropC1()==null?"":ik.getLotInfo().getPropC1(),wName,
 | 
									Double.valueOf(quantity), item.getUnit(), lot,wName,
 | 
				
			||||||
						barcode,emergent,remark,ymd1.format(pt.getOrderDate()),ptd.getStrBill12(),t.getStrBill1(),
 | 
											barcode,emergent,remark,ymd1.format(pt.getOrderDate()),ptd.getStrBill12(),t.getStrBill1(),
 | 
				
			||||||
						ymd1.format(t.getOperateTime()==null? new Date():t.getOperateTime()),
 | 
											ymd1.format(t.getOperateTime()==null? new Date():t.getOperateTime()),
 | 
				
			||||||
						ik.getLotInfo().getPropC2()==null?"":ik.getLotInfo().getPropC2(),ptd.getLocType(),
 | 
											ik.getLotInfo().getPropC2()==null?"":ik.getLotInfo().getPropC2(),ptd.getLocType(),
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -7217,7 +7217,7 @@ public class DefaultPickTicketManager extends DefaultBaseManager implements Pick
 | 
				
			||||||
				WarehouseArea zone = this.load(WarehouseArea.class, srcLoc.getZone().getId());
 | 
									WarehouseArea zone = this.load(WarehouseArea.class, srcLoc.getZone().getId());
 | 
				
			||||||
				Worker w = null;
 | 
									Worker w = null;
 | 
				
			||||||
				if(t.getWorker4()!=null) {
 | 
									if(t.getWorker4()!=null) {
 | 
				
			||||||
					 w = this.load(Worker.class, t.getWorker4().getId());
 | 
										 w = this.load(Worker.class, t.getWorker4().getId());  
 | 
				
			||||||
				}
 | 
									}
 | 
				
			||||||
				PrintEquipment printEquipment = commonDao.load(PrintEquipment.class, pId);
 | 
									PrintEquipment printEquipment = commonDao.load(PrintEquipment.class, pId);
 | 
				
			||||||
				SimpleDateFormat ymd = new SimpleDateFormat("yyyyMMdd");
 | 
									SimpleDateFormat ymd = new SimpleDateFormat("yyyyMMdd");
 | 
				
			||||||
| 
						 | 
					@ -7255,11 +7255,15 @@ public class DefaultPickTicketManager extends DefaultBaseManager implements Pick
 | 
				
			||||||
					}
 | 
										}
 | 
				
			||||||
				}
 | 
									}
 | 
				
			||||||
				SimpleDateFormat hms = new SimpleDateFormat("HH:mm:ss");
 | 
									SimpleDateFormat hms = new SimpleDateFormat("HH:mm:ss");
 | 
				
			||||||
				
 | 
									String lot=ik.getLotInfo().getPropC1() == null ? "" : ik.getLotInfo().getPropC1();//批号
 | 
				
			||||||
 | 
									if(item.getIsBOM()) {
 | 
				
			||||||
 | 
										if(ik.getLotInfo().getPropD2()!=null) {
 | 
				
			||||||
 | 
											lot=lot+ymd1.format(ik.getLotInfo().getPropD2());//有效期
 | 
				
			||||||
 | 
										}
 | 
				
			||||||
 | 
									}
 | 
				
			||||||
				String content = contentJson(pt.getCode(), t.getBillCode(), item.getName(), item.getCode(),
 | 
									String content = contentJson(pt.getCode(), t.getBillCode(), item.getName(), item.getCode(),
 | 
				
			||||||
						srcLoc.getCode(), t.getMovedQuantityMU(), item.getUnit(),
 | 
											srcLoc.getCode(), t.getMovedQuantityMU(), item.getUnit(),
 | 
				
			||||||
						ik.getLotInfo().getPropC1() == null ? "" : ik.getLotInfo().getPropC1(),
 | 
											lot,w == null ? "" : w.getName(), barcode,emergent,remark,
 | 
				
			||||||
						w == null ? "" : w.getName(), barcode,emergent,remark,
 | 
					 | 
				
			||||||
					ymd1.format(pt.getOrderDate()),ptd.getStrBill12(),t.getStrBill1(),ymd1.format(t.getOperateTime()),
 | 
										ymd1.format(pt.getOrderDate()),ptd.getStrBill12(),t.getStrBill1(),ymd1.format(t.getOperateTime()),
 | 
				
			||||||
					ik.getLotInfo().getPropC2()==null?"":ik.getLotInfo().getPropC2(),ptd.getLocType(),
 | 
										ik.getLotInfo().getPropC2()==null?"":ik.getLotInfo().getPropC2(),ptd.getLocType(),
 | 
				
			||||||
							ptd.getStrBill13()==null?"":ptd.getStrBill13(),t.getDstLP()!=null?t.getDstLP().getLP():"",
 | 
												ptd.getStrBill13()==null?"":ptd.getStrBill13(),t.getDstLP()!=null?t.getDstLP().getLP():"",
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -180,7 +180,7 @@
 | 
				
			||||||
			<column id="inventory.lock" title="盘点锁定" visible="true" horizonAlign="center" format="booleanFormat"/>
 | 
								<column id="inventory.lock" title="盘点锁定" visible="true" horizonAlign="center" format="booleanFormat"/>
 | 
				
			||||||
		</columns>
 | 
							</columns>
 | 
				
			||||||
		<buttons>
 | 
							<buttons>
 | 
				
			||||||
				 <popup id="editInventoryStatus" title="冻结库存" enableType="single" invisible="false" containId="true" pageId="editInventoryStatus">
 | 
									 <popup id="editInventoryStatus" title="冻结库存" enableType="multi" invisible="false" containId="true" pageId="editInventoryStatus">
 | 
				
			||||||
            	<enableExpression><![CDATA[(${inventory.status}=='已入库'&&${inventory.queuedQuantity}<=0)]]></enableExpression>
 | 
					            	<enableExpression><![CDATA[(${inventory.status}=='已入库'&&${inventory.queuedQuantity}<=0)]]></enableExpression>
 | 
				
			||||||
            </popup>
 | 
					            </popup>
 | 
				
			||||||
<!-- 				<commit id="frozenInv" title="冻结库存" -->
 | 
					<!-- 				<commit id="frozenInv" title="冻结库存" -->
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -106,8 +106,13 @@
 | 
				
			||||||
				<date id="endDate3" title="至"
 | 
									<date id="endDate3" title="至"
 | 
				
			||||||
					row="9" col="2" readOnly="false" required="false" reserve="false"
 | 
										row="9" col="2" readOnly="false" required="false" reserve="false"
 | 
				
			||||||
					forceOverride="false" inVisible="false" showTime="false" 
 | 
										forceOverride="false" inVisible="false" showTime="false" 
 | 
				
			||||||
					manualEditable="true" defaultCurrentDate="false" />		
 | 
										manualEditable="true" defaultCurrentDate="false" />	
 | 
				
			||||||
				<checkbox id="ordersAll" title="ordersAll" row="10" col="1" defaultValue="false" span="1" readOnly="false" required="false" reserve="false" forceOverride="true" inVisible="false"/>
 | 
										<list id="billType.name" title="单据类型" row="10" col="1" width="120px" readOnly="false" required="false" reserve="false" forceOverride="false" enumType="BillType">
 | 
				
			||||||
 | 
					                    <hql><![CDATA[ SELECT 
 | 
				
			||||||
 | 
					 billType.id,
 | 
				
			||||||
 | 
					 billType.name From BillType billType]]></hql>
 | 
				
			||||||
 | 
					                </list>	
 | 
				
			||||||
 | 
									<checkbox id="ordersAll" title="ordersAll" row="11" col="1" defaultValue="false" span="1" readOnly="false" required="false" reserve="false" forceOverride="true" inVisible="false"/>
 | 
				
			||||||
				
 | 
									
 | 
				
			||||||
			</inputUIs>
 | 
								</inputUIs>
 | 
				
			||||||
		</search>
 | 
							</search>
 | 
				
			||||||
| 
						 | 
					@ -188,6 +193,7 @@
 | 
				
			||||||
 /~inventory.SOI: AND task.billCode LIKE {inventory.SOI}~/
 | 
					 /~inventory.SOI: AND task.billCode LIKE {inventory.SOI}~/
 | 
				
			||||||
  /~task.strBill4: AND task.strBill4 LIKE {task.strBill4}~/
 | 
					  /~task.strBill4: AND task.strBill4 LIKE {task.strBill4}~/
 | 
				
			||||||
 /~propC2: AND itemKey.lotInfo.propC2 like {propC2} ~/)
 | 
					 /~propC2: AND itemKey.lotInfo.propC2 like {propC2} ~/)
 | 
				
			||||||
 | 
					  /~billType.name: AND billType.id = {billType.name}~/
 | 
				
			||||||
 /~szone.id: AND szone.id = {szone.id}~/
 | 
					 /~szone.id: AND szone.id = {szone.id}~/
 | 
				
			||||||
 order by task.pickTicketDetail.pickTicket.orderDate,task.id desc
 | 
					 order by task.pickTicketDetail.pickTicket.orderDate,task.id desc
 | 
				
			||||||
 ]]></datasource>
 | 
					 ]]></datasource>
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue