| | |
| | | /// <returns>待处理的调拨出库明细列表</returns> |
| | | /// <remarks> |
| | | /// 请求示例: |
| | | /// |
| | | /// POST /api/TransferOut/GetTransferOutDetailListByBillNo |
| | | /// { |
| | | /// "billNo": "DB202401010001" // 调拨单号(必填) |
| | | /// } |
| | | /// |
| | | /// 返回未完成的明细记录(ShNum-YsNum>0),包含: |
| | | /// - ItemNo: 物料编号 |
| | | /// - ItemModel: 物料规格 |
| | |
| | | /// <response code="200">成功获取调拨出库明细</response> |
| | | /// <response code="400">获取失败,返回具体错误信息</response> |
| | | [HttpPost("GetTransferOutDetailListByBillNo")] |
| | | public ResponseResult GetTransferOutDetailListByBillNo([FromBody] WarehouseQuery query) |
| | | public ResponseResult GetTransferOutDetailListByBillNo( |
| | | [FromBody] WarehouseQuery query) |
| | | { |
| | | try |
| | | { |
| | | dynamic resultInfos = new ExpandoObject(); |
| | | resultInfos.tbBillList = _manager.GetTransferOutDetailListByBillNo(query); |
| | | resultInfos.tbBillList = |
| | | _manager.GetTransferOutDetailListByBillNo(query); |
| | | return new ResponseResult |
| | | { |
| | | status = 0, |
| | |
| | | /// <returns>处理结果和待处理明细</returns> |
| | | /// <remarks> |
| | | /// 请求示例: |
| | | /// |
| | | /// POST /api/TransferOut/ScanMoveBarcode |
| | | /// { |
| | | /// "billNo": "DB202401010001", // 调拨单号(必填) |
| | | /// "userName": "admin", // 用户名(必填) |
| | | /// "barcode": "BC001" // 条码号(必填) |
| | | /// } |
| | | /// |
| | | /// 业务处理: |
| | | /// - 验证调拨单状态 |
| | | /// - 验证条码库存信息 |
| | | /// - 验证仓库一致性 |
| | | /// - 验证数量是否超出未扫数量 |
| | | /// - 执行调拨出库事务处理 |
| | | /// |
| | | /// 返回数据包含: |
| | | /// - form: 处理结果表单 |
| | | /// - items: 待处理明细列表 |