This commit is contained in:
2024-09-03 09:07:31 +08:00

View File

@@ -2475,7 +2475,7 @@ namespace Tnb.ProductionMgr
throw Oops.Bah(result2.msg !=null ? result2.msg : "生产入库接口报错");
}
//来源erp需要调接口
if (prdMo.data_sources == "1")
if (prdMo.mo_source == "1")
{
List<DictionaryDataEntity> unitDatas = await db.Queryable<DictionaryTypeEntity>()
.LeftJoin<DictionaryDataEntity>((x, y) => x.Id == y.DictionaryTypeId)
@@ -2550,8 +2550,8 @@ namespace Tnb.ProductionMgr
thirdWebapiRecord.third_name = WmsWareHouseConst.BIP;
thirdWebapiRecord.name = "生产报告";
thirdWebapiRecord.method = "POST";
// thirdWebapiRecord.url = config.value+"uapws/rest/pwrnew/save";
thirdWebapiRecord.url = WmsWareHouseConst.BIP_DOMAIN+"uapws/rest/pwrnew/save";
thirdWebapiRecord.url = config.value+"uapws/rest/pwrnew/save";
// thirdWebapiRecord.url = WmsWareHouseConst.BIP_DOMAIN+"uapws/rest/pwrnew/save";
thirdWebapiRecord.request_data = JsonConvert.SerializeObject(erpRequestData);
thirdWebapiRecord.create_time = DateTime.Now;