bug
This commit is contained in:
@@ -70,6 +70,7 @@ namespace Tnb.WarehouseMgr
|
||||
|
||||
BasLocation endLocation = await _db.Queryable<BasLocation>().Where(r => r.id == input.wmsDistaskH.endlocation_id).FirstAsync();
|
||||
string outWhid = "";
|
||||
string inWhid = "";
|
||||
string outDeptid = "";
|
||||
string outDeptvid = "";
|
||||
string inDeptid = "";
|
||||
@@ -80,6 +81,7 @@ namespace Tnb.WarehouseMgr
|
||||
if (endLocation.wh_id == WmsWareHouseConst.WAREHOUSE_MJC_ID)
|
||||
{
|
||||
outWhid = WmsWareHouseConst.bipwarehouseid_bz;
|
||||
inWhid = WmsWareHouseConst.bipwarehouseid_mj;
|
||||
outDeptid = WmsWareHouseConst.sichangqushengchanbu_id;
|
||||
outDeptvid = WmsWareHouseConst.sichangqushengchanbu_vid;
|
||||
inDeptid = WmsWareHouseConst.sichangqucangku_id;
|
||||
@@ -91,6 +93,7 @@ namespace Tnb.WarehouseMgr
|
||||
else if (endLocation.wh_id == WmsWareHouseConst.WAREHOUSE_CP_ID)
|
||||
{
|
||||
outWhid = WmsWareHouseConst.bipwarehouseid_mj;
|
||||
inWhid = WmsWareHouseConst.bipwarehouseid_cp;
|
||||
outDeptid = WmsWareHouseConst.sichangqucangku_id;
|
||||
outDeptvid = WmsWareHouseConst.sichangqucangku_vid;
|
||||
inDeptid = WmsWareHouseConst.sichangqucangku_id;
|
||||
@@ -145,6 +148,7 @@ namespace Tnb.WarehouseMgr
|
||||
erpRequestData.Add("creationtime", nowStr);
|
||||
erpRequestData.Add("creator", erpCreateId);
|
||||
erpRequestData.Add("cwarehouseid", outWhid);//先写死
|
||||
erpRequestData.Add("cotherwhid", inWhid);//先写死
|
||||
erpRequestData.Add("dbilldate", wmsRawmatTransferoutstockH.create_time.Value.ToString("yyyy-MM-dd HH:mm:ss"));
|
||||
erpRequestData.Add("dmakedate", nowStr);
|
||||
erpRequestData.Add("dshldarrivedate", nowStr);
|
||||
|
||||
Reference in New Issue
Block a user