diff --git a/src/main/java/com/gaotao/modules/toolman/query/PoReceiptQuery.java b/src/main/java/com/gaotao/modules/toolman/query/PoReceiptQuery.java index 03fdc5a..936a505 100644 --- a/src/main/java/com/gaotao/modules/toolman/query/PoReceiptQuery.java +++ b/src/main/java/com/gaotao/modules/toolman/query/PoReceiptQuery.java @@ -25,12 +25,10 @@ public class PoReceiptQuery extends PoReceipt { private String supplierId; private String supplierName; private String invoicePrice; - private Date startDate; private Date endDate; - private Date rStartDate; private Date rEndDate; - private String status; + private String receiptType; } diff --git a/src/main/resources/mapper/toolman/PoReceiptMapper.xml b/src/main/resources/mapper/toolman/PoReceiptMapper.xml index dc0bce7..7a03cd3 100644 --- a/src/main/resources/mapper/toolman/PoReceiptMapper.xml +++ b/src/main/resources/mapper/toolman/PoReceiptMapper.xml @@ -181,7 +181,8 @@ pr.receive_date,pr.receiver,prd.receipt_no ,h.ToolDescription tool_description,pr.supplier_id,s.SupplierName supplier_name, prd.inspector ,prd.inspection_time, - (case when prd.arrive_qty = prd.invoice_qty then '已对账' else '未对账' end) status + (case when prd.arrive_qty = prd.invoice_qty then '已对账' else '未对账' end) status, + (case when charindex('TW',pr.OrderRef1) >0 then '维修入库' else '采购接收' end) receipt_type FROM po_receipt_detail prd LEFT JOIN po_receipt pr ON prd.site = pr.site AND pr.receipt_no = prd.receipt_no LEFT JOIN ToolHeader h ON prd.site = h.site AND prd.part_no = h.ToolID @@ -222,6 +223,10 @@ AND prd.inspection_time #{ poReceiptQuery.rEndDate} + + AND (case when charindex('TW',pr.OrderRef1) >0 then '维修入库' else '采购接收' end) = #{ poReceiptQuery.receiptType} + + ORDER BY pr.receive_date DESC diff --git a/src/main/resources/static/js/pda/publicMenu.js b/src/main/resources/static/js/pda/publicMenu.js index 2aed945..29fb40c 100644 --- a/src/main/resources/static/js/pda/publicMenu.js +++ b/src/main/resources/static/js/pda/publicMenu.js @@ -84,7 +84,7 @@ function processMenuTags(authTree){ authTag += '
'; authTag += ''; + authTag += ''+name+''; authTag += '
'; return authTag; } diff --git a/src/main/resources/static/js/pda_base.js b/src/main/resources/static/js/pda_base.js index cde38b9..326fe30 100644 --- a/src/main/resources/static/js/pda_base.js +++ b/src/main/resources/static/js/pda_base.js @@ -135,7 +135,7 @@ function processMenuTags(authTree){ authTag += '
'; authTag += ''; + authTag += ''+name+''; authTag += '
'; return authTag; } \ No newline at end of file