From 20dda85093ed82fa5d596c41231c6350eaa3230a Mon Sep 17 00:00:00 2001
From: zhangsiqi <2825463979@qq.com>
Date: Fri, 5 Jul 2024 19:50:32 +0800
Subject: [PATCH] =?UTF-8?q?[feat]=20=E9=87=87=E8=B4=AD=E8=AE=A2=E5=8D=95?=
=?UTF-8?q?=E7=94=9F=E6=88=90=E9=87=87=E8=B4=AD=E5=85=A5=E5=BA=93=E5=8D=95?=
=?UTF-8?q?=E6=9F=A5=E8=AF=A2=E6=B7=BB=E5=8A=A0=E5=B7=B2=E5=85=A5=E5=BA=93?=
=?UTF-8?q?=E6=95=B0=EF=BC=8C=E6=B7=BB=E5=8A=A0=E5=B7=B2=E9=80=9A=E7=9F=A5?=
=?UTF-8?q?=E5=88=B0=E8=B4=A7=E6=95=B0=EF=BC=8C=E6=B7=BB=E5=8A=A0=E9=80=9A?=
=?UTF-8?q?=E7=9F=A5=E5=88=B0=E8=B4=A7=E6=95=B0=EF=BC=8C=E4=BF=AE=E6=94=B9?=
=?UTF-8?q?=E6=9F=A5=E8=AF=A2SQl=E8=A1=A8warehouse=5Fstorage=5Fdetail=20?=
=?UTF-8?q?=E6=94=B9=E4=B8=BAwarehouse=5Fstorage=5Forder=5Fdetail?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../service/impl/PurchaseOrderServiceImpl.java | 7 +++----
.../mapper/purchase/PurchaseOrderChildMapper.xml | 9 ++++-----
.../purchase/purchaseOrder/addPurchaseStorage.html | 6 ++----
.../templates/purchase/purchaseStorage/detail.html | 13 +++++++++++--
4 files changed, 20 insertions(+), 15 deletions(-)
diff --git a/ruoyi-admin/src/main/java/com/ruoyi/purchase/service/impl/PurchaseOrderServiceImpl.java b/ruoyi-admin/src/main/java/com/ruoyi/purchase/service/impl/PurchaseOrderServiceImpl.java
index c49ff949..943c113c 100644
--- a/ruoyi-admin/src/main/java/com/ruoyi/purchase/service/impl/PurchaseOrderServiceImpl.java
+++ b/ruoyi-admin/src/main/java/com/ruoyi/purchase/service/impl/PurchaseOrderServiceImpl.java
@@ -382,14 +382,13 @@ public class PurchaseOrderServiceImpl implements IPurchaseOrderService
warehouseStorageOrderDetail.setWarehouseDeptType("0");
storageOrderDetailMapper.insertWarehouseStorageOrderDetail(warehouseStorageOrderDetail);
}
- //入库代表为采购部分的入库单
warehouseStorageOrder.setWarehouseStorageCode(warehouseStorageCode);
warehouseStorageOrder.setRelatedOrderCode(warehouseStorageOrder.getRelatedOrderCode());
warehouseStorageOrder.setWarehouseStorageStatus("0");
warehouseStorageOrder.setWarehouseQualityStatus("0");
warehouseStorageOrder.setWarehouseStorageType("0");
warehouseStorageOrder.setWarehouseOrderType("0");
- warehouseStorageOrder.setWarehouseDeptType("1");
+ warehouseStorageOrder.setWarehouseDeptType("0");
warehouseStorageOrder.setCreateTime(DateUtils.getNowDate());
warehouseStorageOrder.setCreateBy(ShiroUtils.getLoginName());
result = warehouseStorageOrderMapper.insertWarehouseStorageOrder(warehouseStorageOrder);
@@ -401,7 +400,7 @@ public class PurchaseOrderServiceImpl implements IPurchaseOrderService
warehouseStorageOrderDetail.setWarehouseStorageCode(warehouseStorageCode1);
warehouseStorageOrderDetail.setWarehouseStorageType("0");
warehouseStorageOrderDetail.setMaterialDeptType("1");
- warehouseStorageOrderDetail.setWarehouseDeptType("0");
+ warehouseStorageOrderDetail.setWarehouseDeptType("1");
storageOrderDetailMapper.insertWarehouseStorageOrderDetail(warehouseStorageOrderDetail);
}
//入库代表为仓库部分的入库单
@@ -415,7 +414,7 @@ public class PurchaseOrderServiceImpl implements IPurchaseOrderService
warehouseStorageOrder.setWarehouseQualityStatus("0");
warehouseStorageOrder.setWarehouseStorageType("0");
warehouseStorageOrder.setWarehouseOrderType("0");
- warehouseStorageOrder.setWarehouseDeptType("0");
+ warehouseStorageOrder.setWarehouseDeptType("1");
warehouseStorageOrder.setCreateTime(DateUtils.getNowDate());
warehouseStorageOrder.setCreateBy(ShiroUtils.getLoginName());
warehouseStorageOrder.setWarehouseStorageOrderDetailList(list2);
diff --git a/ruoyi-admin/src/main/resources/mapper/purchase/PurchaseOrderChildMapper.xml b/ruoyi-admin/src/main/resources/mapper/purchase/PurchaseOrderChildMapper.xml
index 90a23b4e..6f9cd34d 100644
--- a/ruoyi-admin/src/main/resources/mapper/purchase/PurchaseOrderChildMapper.xml
+++ b/ruoyi-admin/src/main/resources/mapper/purchase/PurchaseOrderChildMapper.xml
@@ -238,12 +238,11 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
\ No newline at end of file
diff --git a/ruoyi-admin/src/main/resources/templates/purchase/purchaseOrder/addPurchaseStorage.html b/ruoyi-admin/src/main/resources/templates/purchase/purchaseOrder/addPurchaseStorage.html
index 3170f30e..26a6dbe7 100644
--- a/ruoyi-admin/src/main/resources/templates/purchase/purchaseOrder/addPurchaseStorage.html
+++ b/ruoyi-admin/src/main/resources/templates/purchase/purchaseOrder/addPurchaseStorage.html
@@ -119,7 +119,7 @@
{title: '计划采购数',field: 'materialNum',},
{title: '实际采购数',field: 'materialRealNum',},
{title: '交付时间',field: 'deliveryTime',},
- {title: '通知已到货数',field: 'notifyHasArriveNum',
+ {title: '通知已到货数',field: 'notifyHasArrivedNum',
formatter: function (value, row, index) {
if (value == null || value == '') {
return 0;
@@ -137,7 +137,7 @@
},
{title: '通知到货数',field: 'notifyArriveNum',
formatter: function (value, row, index) {
- return '