diff --git a/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/WMS/WMSHQFSharePartAppService .cs b/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/WMS/WMSHQFSharePartAppService .cs
index 9955c8ff..f6e118ed 100644
--- a/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/WMS/WMSHQFSharePartAppService .cs
+++ b/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/WMS/WMSHQFSharePartAppService .cs
@@ -338,6 +338,32 @@ namespace Win.Sfs.SettleAccount.Entities.SettleAccounts
}
return true;
}
+
+ ///
+ /// 任务明细标记已确认
+ ///
+ /// 上传的文件(前端已经限制只能上传一个附件)
+ ///
+ [HttpPost]
+ [Route("WmsSharePartOutPutModify")]
+ [DisableRequestSizeLimit]
+
+ public async Task WmsSharePartUpdate(WmsHQHSharePartOutPutDetial detial)
+ {
+ var _entityList = _wmsRepository.Where(p => p.Id == detial.Id).ToList();
+ if (_entityList.Count() > 0)
+ {
+ foreach (var itm in _entityList)
+ {
+ itm.OutPutQty = detial.OutPutQty;
+ await _wmsRepository.UpdateAsync(itm);
+ }
+ }
+ return true;
+
+ }
+
+
[HttpPost]
[Route("ExcelImport")]
[DisableRequestSizeLimit]
diff --git a/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/WMS/WMSHQHSharePartAppService.cs b/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/WMS/WMSHQHSharePartAppService.cs
index 63a83ebb..8f700bd6 100644
--- a/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/WMS/WMSHQHSharePartAppService.cs
+++ b/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/WMS/WMSHQHSharePartAppService.cs
@@ -198,6 +198,35 @@ into temp1
return true;
}
+
+ ///
+ /// 任务明细标记已确认
+ ///
+ /// 上传的文件(前端已经限制只能上传一个附件)
+ ///
+ [HttpPost]
+ [Route("WmsSharePartOutPutModify")]
+ [DisableRequestSizeLimit]
+
+ public async Task WmsSharePartUpdate(WmsHQHSharePartOutPutDetial detial)
+ {
+ var _entityList= _wmsRepository.Where(p => p.Id == detial.Id).ToList();
+ if (_entityList.Count() > 0)
+ {
+ foreach (var itm in _entityList)
+ {
+ itm.OutPutQty = detial.OutPutQty;
+ await _wmsRepository.UpdateAsync(itm);
+ }
+ }
+ return true;
+
+ }
+
+
+
+
+
///
/// 选择任务,生成出库单,只包含已确认的单据
///
@@ -321,7 +350,6 @@ into temp1
"SELECT 'Return Value' = @return_value";
await _wmsRepository.GetDbContext().Database.ExecuteSqlRawAsync(
string.Format(sql, input.BillNum,input.AccountDate.ToShortDateString()));
-
}
}
return true;
diff --git a/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/WMS/WmsHQMSharePartAppService.cs b/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/WMS/WmsHQMSharePartAppService.cs
index f5ca3113..46092ff8 100644
--- a/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/WMS/WmsHQMSharePartAppService.cs
+++ b/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/WMS/WmsHQMSharePartAppService.cs
@@ -307,6 +307,32 @@ namespace Win.Sfs.SettleAccount.Entities.WMS
}
return true;
}
+
+ ///
+ /// 任务明细标记已确认
+ ///
+ /// 上传的文件(前端已经限制只能上传一个附件)
+ ///
+ [HttpPost]
+ [Route("WmsSharePartOutPutModify")]
+ [DisableRequestSizeLimit]
+
+ public async Task WmsSharePartUpdate(WmsHQHSharePartOutPutDetial detial)
+ {
+ var _entityList = _wmsRepository.Where(p => p.Id == detial.Id).ToList();
+ if (_entityList.Count() > 0)
+ {
+ foreach (var itm in _entityList)
+ {
+ itm.OutPutQty = detial.OutPutQty;
+ await _wmsRepository.UpdateAsync(itm);
+ }
+ }
+ return true;
+
+ }
+
+
///
///出库界面功能, 撤销核准出库
///