| | |
| | | /// </summary> |
| | | public async Task<ApiAction<ScanOutput>> Scan(BaseInput input) |
| | | { |
| | | var action = new ApiAction<ScanOutput>(); |
| | | var action = new ApiAction<ScanOutput>(new ScanOutput()); |
| | | try |
| | | { |
| | | if (input.SN.IsNullOrEmpty()) |
| | |
| | | { |
| | | action.IsSuccessed = false; |
| | | action.LocaleMsg = downResult.LocaleMsg; |
| | | CurInvItem = null; |
| | | return action; |
| | | } |
| | | TakeDownInfo downInfo = downResult.Data; |
| | |
| | | }; |
| | | //action.LocaleMsg = Biz.L($"扫描条码[{0}]从储位[{1}]下架成功"); |
| | | action.LocaleMsg = Biz.L("WMS.Default.ScanItem.TakeDownSucceeded", CurInvItem.SN, CurInvItem.Location?.LOCATION_CODE); |
| | | CurInvItem = null; |
| | | } |
| | | catch (Exception ex) |
| | | { |