Browse Source

销售退货提交进度条不退

master
FoxV 2 years ago
parent
commit
c31e74d12c
  1. 2
      app/build.gradle
  2. 8
      app/src/main/java/com/icssoft/icspda/activity/DispatchListReturnActivity.java

2
app/build.gradle

@ -9,7 +9,7 @@ android {compileSdkVersion 30
applicationId "com.icssoft.icspda"
minSdkVersion 18
targetSdkVersion 28
versionCode 6
versionCode 9
versionName "1.0"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}

8
app/src/main/java/com/icssoft/icspda/activity/DispatchListReturnActivity.java

@ -233,6 +233,12 @@ public class DispatchListReturnActivity extends AppCompatActivity {
@Override
public void run() {
DispatchIN();
if (IsFinish==true){
Looper.prepare();
barWithNumber.setProgress(100);
dialog.dismiss();
IsFinish=false;
}
}
}).start();
@ -401,7 +407,7 @@ public class DispatchListReturnActivity extends AppCompatActivity {
// GetLotDataForDispatchReturn();//获得一条条码数据含单据号
lotDatas = applicationModel.getData();
for (Data lotData : lotDatas) {
lotData.setQuantity(HelpUtil.getAssignedFigures(lotData.getCurrentQty(),LoginActivity.DEFAULT_DECIMAL_FIGURE));
lotData.setQuantity(HelpUtil.getAssignedFigures(lotData.getQuantity(),LoginActivity.DEFAULT_DECIMAL_FIGURE));
}
boolean isExist = false;
try {

Loading…
Cancel
Save