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

Loading…
Cancel
Save