| | |
| | | /// </summary> |
| | | public class In_BIZ_U9_RECEIPT : WmsTask, IIn_BIZ_U9_RECEIPT |
| | | { |
| | | |
| | | public IIn_BIZ_U9_RECEIPT Init(string id, string userCode, string apiHost, string orgCode) |
| | | { |
| | | base.Init(id, userCode, apiHost, orgCode); |
| | |
| | | action.LocaleMsg = Biz.L("WMS.Default.ScanItem.SnEmptyFailure"); |
| | | return SetOutPutMqttMsg(action, input.Locale); |
| | | } |
| | | //判断扫描的是否货架 |
| | | //判断扫描的是否货架/储位 |
| | | var whUnit = await MainDB.Queryable<V_WH_UNIT>().Where(t => (t.SHELF_CODE.ToUpper() == input.SN || t.LOCATION_CODE.ToUpper() == input.SN) && t.AUTH_ORG == OrgCode).IncludesAllFirstLayer().FirstAsync(); |
| | | //if (string.IsNullOrEmpty(CurScanShelf?.ShelfCode)) |
| | | if (!whUnit.IsNullOrEmpty() || string.IsNullOrEmpty(CurScanShelf?.ShelfCode)) |