|
@ -414,7 +414,7 @@ public class TransferWarehouseActivity extends AppCompatActivity { |
|
|
handler.sendEmptyMessage(3); |
|
|
handler.sendEmptyMessage(3); |
|
|
return; |
|
|
return; |
|
|
} |
|
|
} |
|
|
if (!WhDataList.get(0).getWarehouseCode().equals(lot.getWarehouseCode())){ |
|
|
|
|
|
|
|
|
if (!WhDataList.get(0).getWarehouseCode().equals(lot.getWHCode())){ |
|
|
ErrorMsg = "移位操作只能在同一仓库内进行!"; |
|
|
ErrorMsg = "移位操作只能在同一仓库内进行!"; |
|
|
handler.sendEmptyMessage(3); |
|
|
handler.sendEmptyMessage(3); |
|
|
return; |
|
|
return; |
|
@ -423,7 +423,7 @@ public class TransferWarehouseActivity extends AppCompatActivity { |
|
|
//给主表增加一条数据 |
|
|
//给主表增加一条数据 |
|
|
Data row = new Data(); |
|
|
Data row = new Data(); |
|
|
row.setCount(count++); |
|
|
row.setCount(count++); |
|
|
row.setFromWarehouseCode(lot.getWarehouseCode());//原仓库 |
|
|
|
|
|
|
|
|
row.setFromWarehouseCode(lot.getWHCode());//原仓库 |
|
|
row.setLocationCode(lot.getLocationCode());//原库位 |
|
|
row.setLocationCode(lot.getLocationCode());//原库位 |
|
|
row.setToWarehouseCode(WhDataList.get(0).getWarehouseCode());//目标仓库 |
|
|
row.setToWarehouseCode(WhDataList.get(0).getWarehouseCode());//目标仓库 |
|
|
row.setBinCode(WhDataList.get(0).getLocationCode());//目标库位 |
|
|
row.setBinCode(WhDataList.get(0).getLocationCode());//目标库位 |
|
|