|
|
@ -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); |
|
|
|