Commit bfc4a6b4 by liuyang

2024-03-29 HPSC006 导入

parent 58958985
...@@ -397,6 +397,7 @@ public class ServiceHPSC006 extends ServiceBase { ...@@ -397,6 +397,7 @@ public class ServiceHPSC006 extends ServiceBase {
String productionOrderNo = (String) params.get("productionOrderNo"); String productionOrderNo = (String) params.get("productionOrderNo");
String projCode = (String) params.get("projCode"); String projCode = (String) params.get("projCode");
String projName = (String) params.get("projName"); String projName = (String) params.get("projName");
String deliveryDate = (String) params.get("deliveryDate");
// 写入数据 // 写入数据
for (HPSC006 hpsc006:dataList) { for (HPSC006 hpsc006:dataList) {
hpsc006.setInventType(7); hpsc006.setInventType(7);
...@@ -408,6 +409,7 @@ public class ServiceHPSC006 extends ServiceBase { ...@@ -408,6 +409,7 @@ public class ServiceHPSC006 extends ServiceBase {
hpsc006.setProjCode(projCode); hpsc006.setProjCode(projCode);
hpsc006.setProjName(projName); hpsc006.setProjName(projName);
hpsc006.setProductionOrderNo(productionOrderNo); hpsc006.setProductionOrderNo(productionOrderNo);
hpsc006.setDeliveryDate(deliveryDate);
hpsc006.setTotalWt(totalWt); hpsc006.setTotalWt(totalWt);
hpsc006.setInventCode(HPPZTools.checkAndSavePZ04(hpsc006.getInventType(),hpsc006.getInventName())); hpsc006.setInventCode(HPPZTools.checkAndSavePZ04(hpsc006.getInventType(),hpsc006.getInventName()));
// 去除日期字符串中的- // 去除日期字符串中的-
......
...@@ -274,8 +274,9 @@ $(function () { ...@@ -274,8 +274,9 @@ $(function () {
var productionOrderNo = rows[0].get('prodOrderNo'); var productionOrderNo = rows[0].get('prodOrderNo');
var projCode = rows[0].get('projCode'); var projCode = rows[0].get('projCode');
var projName = rows[0].get('projName'); var projName = rows[0].get('projName');
var deliveryDate = rows[0].get('deliveryDate');
JSColorbox.open({ JSColorbox.open({
href: "HPSC097?methodName=initLoad&inqu_status-0-id=route_002&inqu_status-0-productionOrderNo="+productionOrderNo+"&inqu_status-0-projCode="+projCode+"&inqu_status-0-projName="+projName, href: "HPSC097?methodName=initLoad&inqu_status-0-id=route_002&inqu_status-0-productionOrderNo="+productionOrderNo+"&inqu_status-0-projCode="+projCode+"&inqu_status-0-projName="+projName+"&inqu_status-0-deliveryDate="+deliveryDate,
title: "<div style='text-align: center;'>导入</div>", title: "<div style='text-align: center;'>导入</div>",
width: "70%", width: "70%",
height: "70%", height: "70%",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment