回单bug处理
This commit is contained in:
+3
-3
@@ -358,14 +358,14 @@ public class StartYunDanActivity extends BaseActivity {
|
||||
}else{
|
||||
Toast.makeText(con,"您还没有装货",Toast.LENGTH_SHORT).show();
|
||||
}
|
||||
}else if(sdw.getStatus()==1){
|
||||
}else if(sdw.getStatus()==1){//装货回单
|
||||
Intent in=new Intent(con, ShangChuangImgActivity.class);
|
||||
in.putExtra("type",2);
|
||||
in.putExtra("wid",wid);
|
||||
in.putExtra("h_type",type);
|
||||
in.putExtra("sob",gson.toJson(sob));
|
||||
startActivity(in);
|
||||
}else if(sdw.getStatus()==2){
|
||||
}else if(sdw.getStatus()==2){//上传收货单(卸货回单)
|
||||
Intent in=new Intent(con, ShangChuangImgActivity.class);
|
||||
in.putExtra("type",2);
|
||||
in.putExtra("wid",wid);
|
||||
@@ -377,7 +377,7 @@ public class StartYunDanActivity extends BaseActivity {
|
||||
Intent in=new Intent(con, GetShangChuanActivity.class);
|
||||
in.putExtra("sdwStr",gson.toJson(sdw));
|
||||
startActivity(in);
|
||||
}else{
|
||||
}else{//卸货照片
|
||||
Intent in=new Intent(con, ShangChuangImgActivity.class);
|
||||
in.putExtra("type",type);
|
||||
in.putExtra("wid",wid);
|
||||
|
||||
+2
-2
@@ -348,7 +348,7 @@ public class ShangChuangImgActivity extends BaseAppCompatActivity {
|
||||
}
|
||||
break;
|
||||
case 2:
|
||||
if(imgIds!=null && imgIds.size()>0){
|
||||
if(imgIds!=null && imgIds.size()>0){//卸货回单
|
||||
//上传回单
|
||||
urib.setLatitude(lgdu.getLatitude()+"");
|
||||
urib.setLongitude(lgdu.getLongitude()+"");
|
||||
@@ -367,7 +367,7 @@ public class ShangChuangImgActivity extends BaseAppCompatActivity {
|
||||
receipt_image();
|
||||
}
|
||||
hyr.receipt(urib);
|
||||
}{
|
||||
}else{
|
||||
Toast.makeText(con,"定位异常,请重新定位",Toast.LENGTH_SHORT).show();
|
||||
}
|
||||
}else{
|
||||
|
||||
Reference in New Issue
Block a user