From 4958dbe68c1f2ad97c180e3796c917fc4cda0762 Mon Sep 17 00:00:00 2001
From: "HUOJIN\\92525" <925258474@qq.com>
Date: Tue, 20 Aug 2024 17:35:45 +0800
Subject: [PATCH] no message
---
.../inventory/maintainInventoryPage.xml | 1 -
.../origen/receiving/asnOneReceivePage.xml | 1 +
.../inventory/maintainInventoryPage.xml | 171 ------------------
3 files changed, 1 insertion(+), 172 deletions(-)
delete mode 100644 target/jjwms/WEB-INF/classes/config/origen/inventory/maintainInventoryPage.xml
diff --git a/src/webapp/WEB-INF/classes/config/origen/inventory/maintainInventoryPage.xml b/src/webapp/WEB-INF/classes/config/origen/inventory/maintainInventoryPage.xml
index db89279..c42b968 100644
--- a/src/webapp/WEB-INF/classes/config/origen/inventory/maintainInventoryPage.xml
+++ b/src/webapp/WEB-INF/classes/config/origen/inventory/maintainInventoryPage.xml
@@ -29,7 +29,6 @@
'COUNT' and location.disabled=false
]]>
diff --git a/src/webapp/WEB-INF/classes/config/origen/receiving/asnOneReceivePage.xml b/src/webapp/WEB-INF/classes/config/origen/receiving/asnOneReceivePage.xml
index 2a7f3da..69e6477 100644
--- a/src/webapp/WEB-INF/classes/config/origen/receiving/asnOneReceivePage.xml
+++ b/src/webapp/WEB-INF/classes/config/origen/receiving/asnOneReceivePage.xml
@@ -41,6 +41,7 @@
and loc.type in ('TRANSIT','STORAGE')
and (loc.mixItem=true or lv.loc_status='空')
and (loc.id in(select l.dock.id from LocationRegistration l where l.asn.id={asn.id}) or 0=(select nvl(max(l.dock.id),0) from LocationRegistration l where l.asn.id={asn.id}))
+ and (loc.id not in (select inventory.location.id from Inventory inventory where inventory.location.id=loc.id and inventory.quantity>0 ) or loc.mixItem=true )
order by loc.code]]>
diff --git a/target/jjwms/WEB-INF/classes/config/origen/inventory/maintainInventoryPage.xml b/target/jjwms/WEB-INF/classes/config/origen/inventory/maintainInventoryPage.xml
deleted file mode 100644
index db89279..0000000
--- a/target/jjwms/WEB-INF/classes/config/origen/inventory/maintainInventoryPage.xml
+++ /dev/null
@@ -1,171 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 'COUNT' and location.disabled=false
- ]]>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 0
- and inventory.warehouse=#{SESSION_WAREHOUSE}
- and (company.id in (select u.organization.id from UserOrganize u where u.user=#{SESSION_USERS})
- or 0=(select nvl(max(u.id),0) from UserOrganize u where u.user=#{SESSION_USERS})
- )
- /~company.id: AND company.id = {company.id}~/
- /~location.id: AND inventory.location.id = {location.id}~/
- /~zone.id: AND inventory.location.zone.id = {zone.id}~/
- /~location.type: AND inventory.location.type = {location.type}~/
- /~item.code: AND item.code LIKE {item.code}~/
- /~item.name: AND item.name LIKE {item.name}~/
- /~packageUnit.unit: AND inventory.packageUnit.unit LIKE {packageUnit.unit}~/
- /~LP: AND inventory.LP.LP LIKE {LP}~/
- /~itemKeyLot: AND inventory.itemKey.lot LIKE {itemKeyLot}~/
- /~inventory.SOI: AND inventory.SOI LIKE {inventory.SOI}~/
- /~storageDate1: AND inventory.storageDate >= {storageDate1}~/
- /~storageDate1: AND inventory.storageDate <= {storageDate1}~/
- /~itemKey.content: AND inventory.itemKey.content LIKE {itemKey.content}~/
- /~minQuantity: AND inventory.quantity >= {minQuantity}~/
- /~maxQuantity: AND inventory.quantity <= {maxQuantity}~/
- order by inventory.location.code ,inventory.id desc
- ]]>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-