From 9e816ee718ad8ae98550af98d0dff4a63d1e0839 Mon Sep 17 00:00:00 2001
From: yxj <1qaz@123>
Date: 星期五, 16 九月 2022 10:43:30 +0800
Subject: [PATCH] 直接调拨单上传方法中调入批号递入修改
---
CLOUDWEB/WebService1.asmx.cs | 10 ++++++++--
1 files changed, 8 insertions(+), 2 deletions(-)
diff --git a/CLOUDWEB/WebService1.asmx.cs b/CLOUDWEB/WebService1.asmx.cs
index d3c4c23..fb66468 100644
--- a/CLOUDWEB/WebService1.asmx.cs
+++ b/CLOUDWEB/WebService1.asmx.cs
@@ -7310,6 +7310,7 @@
sJson_Entry = sJson_Entry + " , ";
}
string sJson_BatchNo = "";
+ string sJson_DestBatchNo = ""; //璋冨叆鎵瑰彿
string sJson_SrcStockPlace = "";
string sJson_DestStockPlace = "";
string sJson_FAUXPROPID = "";
@@ -7322,10 +7323,12 @@
if (Pub_Class.ClsPub.isStrNull(Ds.Tables[1].Rows[i]["HISBATCHMANAGE"]) == "1")
{
sJson_BatchNo = " \"FLOT\": {\"FNumber\":\"" + Pub_Class.ClsPub.isStrNull(Ds.Tables[1].Rows[i]["FLOT"]) + "\"}, \"FLOT_TEXT\":\"" + Pub_Class.ClsPub.isStrNull(Ds.Tables[1].Rows[i]["FLOT"]) + "\" , ";
+ sJson_DestBatchNo = " \"FDestLot\":{\"FNumber\":\"" + Pub_Class.ClsPub.isStrNull(Ds.Tables[1].Rows[i]["FDestLot"]) + "\"},";
}
else
{
sJson_BatchNo = "";
+ sJson_DestBatchNo = "";
}
//杈呭姪灞炴��
@@ -7403,7 +7406,7 @@
//\"FDiscountRate\":\"0\",
//\"FRepairQty\":\"0\",
//\"FRETURNNOTE\":\"\",
- " \"FDestLot\":{\"FNumber\":\"" + Pub_Class.ClsPub.isStrNull(Ds.Tables[1].Rows[i]["FDestLot"]) + "\"}," +
+ sJson_DestBatchNo +
" \"FDestMaterialId\":{\"FNumber\":\"" + Pub_Class.ClsPub.isStrNull(Ds.Tables[1].Rows[i]["FDestMaterialId"]) + "\"}," +
" \"FDestBomId\":{\"FNumber\":\"" + Pub_Class.ClsPub.isStrNull(Ds.Tables[1].Rows[i]["FDestBomId"]) + "\"}," +
//\"FServiceContext\":\"\",
@@ -7667,6 +7670,7 @@
sJson_Entry = sJson_Entry + " , ";
}
string sJson_BatchNo = "";
+ string sJson_DestBatchNo = ""; //璋冨叆鎵瑰彿
string sJson_SrcStockPlace = "";
string sJson_DestStockPlace = "";
string sJson_FProduceDate = ""; //鐢熶骇鏃ユ湡
@@ -7681,10 +7685,12 @@
if (Pub_Class.ClsPub.isStrNull(Ds.Tables[1].Rows[i]["HISBATCHMANAGE"]) == "1")
{
sJson_BatchNo = " \"FLOT\": {\"FNumber\":\"" + Pub_Class.ClsPub.isStrNull(Ds.Tables[1].Rows[i]["FLOT"]) + "\"}, \"FLOT_TEXT\":\"" + Pub_Class.ClsPub.isStrNull(Ds.Tables[1].Rows[i]["FLOT"]) + "\" , ";
+ sJson_DestBatchNo = " \"FDestLot\":{\"FNumber\":\"" + Pub_Class.ClsPub.isStrNull(Ds.Tables[1].Rows[i]["FDestLot"]) + "\"},";
}
else
{
sJson_BatchNo = "";
+ sJson_DestBatchNo = "";
}
//鏄惁鍚敤淇濊川鏈熸帶鍒�
@@ -7774,7 +7780,7 @@
" \"FDiscountRate\":" + Pub_Class.ClsPub.isStrNull(Ds.Tables[1].Rows[i]["FDiscountRate"]) + "," +
//\"FRepairQty\":\"0\",
//\"FRETURNNOTE\":\"\",
- " \"FDestLot\":{\"FNumber\":\"" + Pub_Class.ClsPub.isStrNull(Ds.Tables[1].Rows[i]["FDestLot"]) + "\"}," +
+ sJson_DestBatchNo +
" \"FDestMaterialId\":{\"FNumber\":\"" + Pub_Class.ClsPub.isStrNull(Ds.Tables[1].Rows[i]["FDestMaterialId"]) + "\"}," +
" \"FDestBomId\":{\"FNumber\":\"" + Pub_Class.ClsPub.isStrNull(Ds.Tables[1].Rows[i]["FDestBomId"]) + "\"}," +
//\"FServiceContext\":\"\",
--
Gitblit v1.9.1