Browse Source

一步入

${9999710+9999148}
mao 4 years ago
parent
commit
f922c2bce2
  1. 15
      app/src/main/java/com/icssoft/icspda/activity/INVTransActivity.java

15
app/src/main/java/com/icssoft/icspda/activity/INVTransActivity.java

@ -109,7 +109,7 @@ public class INVTransActivity extends AppCompatActivity {
},1000); },1000);
break; break;
case 5: case 5:
HelpUtil.SetMsg(tvMsg, Color.BLUE, "调拨数量记录成功!");
HelpUtil.SetMsg(tvMsg, Color.BLUE, "库位条码扫描成功!");
barCode.postDelayed(new Runnable() { barCode.postDelayed(new Runnable() {
@Override @Override
public void run() { public void run() {
@ -121,6 +121,15 @@ public class INVTransActivity extends AppCompatActivity {
clear(); clear();
HelpUtil.SetMsg(tvMsg, Color.BLUE, ErrorMsg); HelpUtil.SetMsg(tvMsg, Color.BLUE, ErrorMsg);
break; break;
case 7:
HelpUtil.SetMsg(tvMsg,Color.BLUE,"物料条码扫描成功!");
barCode.postDelayed(new Runnable() {
@Override
public void run() {
barCode.requestFocus();
}
},1000);
break;
case 99: case 99:
HelpUtil.SetMsg(tvMsg, Color.RED, ErrorMsg); HelpUtil.SetMsg(tvMsg, Color.RED, ErrorMsg);
break; break;
@ -264,7 +273,7 @@ public class INVTransActivity extends AppCompatActivity {
itemLotData.setCurrentQty("0.0"); itemLotData.setCurrentQty("0.0");
} }
HelpUtil.SetMsg(tvMsg, Color.BLUE, "物料编码:" + selectRowInvCode + ",移除成功!");
HelpUtil.SetMsg(tvMsg, Color.BLUE, "移除成功!");
selectRowInvCode = ""; selectRowInvCode = "";
selectRowIndex = 999; selectRowIndex = 999;
} else { } else {
@ -502,7 +511,7 @@ public class INVTransActivity extends AppCompatActivity {
DetailSum(); DetailSum();
tableData = new TableData<>("一步调入", dataList, columns); tableData = new TableData<>("一步调入", dataList, columns);
smartTable.setTableData(tableData); smartTable.setTableData(tableData);
handler.sendEmptyMessage(5);
handler.sendEmptyMessage(7);
} }
} else if (rbOut.isChecked()) { } else if (rbOut.isChecked()) {
if (dataDetailList != null && dataDetailList.size() > 0 && !dataDetailList.get(0).getTransferLine().equals("0")) { if (dataDetailList != null && dataDetailList.size() > 0 && !dataDetailList.get(0).getTransferLine().equals("0")) {

Loading…
Cancel
Save