Browse Source

委外入库

${9999710+9999148}
mao 3 years ago
parent
commit
5009517188
  1. 12
      app/src/main/java/com/icssoft/icspda/activity/WXItemInActivity.java

12
app/src/main/java/com/icssoft/icspda/activity/WXItemInActivity.java

@ -281,12 +281,12 @@ public class WXItemInActivity extends AppCompatActivity {
if (code==0){
Double CurrentQty = 0.00;
for (WXItemInData wxItemInData : dataList) {
String ItemCode=wxItemInData.getItemCode();
String ItemCode1=ItemCode.substring(0,ItemCode.indexOf("-"));
if (ItemCode1.toUpperCase().equals("040201000014")) {
CurrentQty += Double.parseDouble(wxItemInData.getRcvLineCurrentQty());
wxItemInData.setRcvLineCurrentQty(applicationModel.getQTY());
}
String ItemCode=wxItemInData.getItemCode();
String ItemCode1=ItemCode.substring(0,ItemCode.indexOf("-"));
if (ItemCode1.toUpperCase().equals(applicationModel.getINVCode())) {
CurrentQty += Double.parseDouble(wxItemInData.getRcvLineCurrentQty());
wxItemInData.setRcvLineCurrentQty(applicationModel.getQTY());
}
}
tableData = new TableData<>("委外入库", dataList, columns);
smartTable.setTableData(tableData);

Loading…
Cancel
Save