wuhb 1 năm trước cách đây
mục cha
commit
7313d97c74

+ 2 - 2
app/build.gradle

@@ -9,8 +9,8 @@ android {
         applicationId "com.ygtx.emcs"
         minSdk 27
         targetSdk 31
-        versionCode 14
-        versionName "1.2.4"
+        versionCode 15
+        versionName "1.2.5"
         testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
     }
 

+ 1 - 7
app/src/main/java/com/ygtx/emcs/activity/StockInBindActivity.java

@@ -563,13 +563,7 @@ public class StockInBindActivity extends BaseActivity {
     }
 
     private void bindAreaCode(String barcode){
-        BigDecimal inQty = calculateQty();
-        BigDecimal reQty = new BigDecimal(lineModel.getQuantity()).subtract(inQty);
-        String total = reQty.toString();
-        if(reQty.compareTo(BigDecimal.ZERO) <= 0){
-            ToastUtils.showToast(context, "入库单数量已全部完成");
-            return;
-        }
+        String total = "0";
         for (View view:itemAreaView){
             EditText areaCodeET = view.findViewById(R.id.et_areaCode);
             EditText qtyET = view.findViewById(R.id.et_qty);