运营端添加车辆过滤
This commit is contained in:
parent
66b581c296
commit
6448a48c10
@ -118,6 +118,8 @@ public class ShangChuangImgActivityBC extends BaseAppCompatActivity implements I
|
|||||||
private GetCarImageAlert gia = new GetCarImageAlert();
|
private GetCarImageAlert gia = new GetCarImageAlert();
|
||||||
private CustomDialog customDialog;
|
private CustomDialog customDialog;
|
||||||
private int id = 0;
|
private int id = 0;
|
||||||
|
|
||||||
|
private int reportAlct = 1;//是否上报(安联城通) 0否 1是'
|
||||||
private boolean key = true;
|
private boolean key = true;
|
||||||
private boolean keys = false;
|
private boolean keys = false;
|
||||||
private boolean locationKey = false;
|
private boolean locationKey = false;
|
||||||
@ -394,6 +396,7 @@ public class ShangChuangImgActivityBC extends BaseAppCompatActivity implements I
|
|||||||
tips_x = findViewById(R.id.tips_x);
|
tips_x = findViewById(R.id.tips_x);
|
||||||
Bundle ins = getIntent().getExtras();
|
Bundle ins = getIntent().getExtras();
|
||||||
index = ins.getInt("type");
|
index = ins.getInt("type");
|
||||||
|
reportAlct = ins.getInt("reportAlct");
|
||||||
wid = ins.getString("wid");
|
wid = ins.getString("wid");
|
||||||
h_type = ins.getInt("h_type");
|
h_type = ins.getInt("h_type");
|
||||||
keys = ins.getBoolean("keys");
|
keys = ins.getBoolean("keys");
|
||||||
@ -556,7 +559,7 @@ public class ShangChuangImgActivityBC extends BaseAppCompatActivity implements I
|
|||||||
Log.e("--装货信息", gson.toJson(lub));
|
Log.e("--装货信息", gson.toJson(lub));
|
||||||
// if (locationKey) {//高德定位
|
// if (locationKey) {//高德定位
|
||||||
if (keys) {
|
if (keys) {
|
||||||
|
if (1==reportAlct){
|
||||||
NewLJUtils.getInstance().getShipmentStatus(con, sob.getData().getShippingNoteNumber(), new OnGDDownloadResultListener() {
|
NewLJUtils.getInstance().getShipmentStatus(con, sob.getData().getShippingNoteNumber(), new OnGDDownloadResultListener() {
|
||||||
@Override
|
@Override
|
||||||
public void onSuccess(String var1) {
|
public void onSuccess(String var1) {
|
||||||
@ -581,6 +584,13 @@ public class ShangChuangImgActivityBC extends BaseAppCompatActivity implements I
|
|||||||
ToastUtils.showToast(con, var2);
|
ToastUtils.showToast(con, var2);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
}else{
|
||||||
|
isFinish = true;
|
||||||
|
//平台确认装货
|
||||||
|
upLocation(tempLoca.getLatitude() + "", tempLoca.getLongitude() + "",sob.getData().getShippingNoteNumber());
|
||||||
|
hyr.loading(lub);
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
// } else {
|
// } else {
|
||||||
// if (!isFinishing() && customDialog != null && customDialog.isShowing()) {
|
// if (!isFinishing() && customDialog != null && customDialog.isShowing()) {
|
||||||
@ -607,7 +617,7 @@ public class ShangChuangImgActivityBC extends BaseAppCompatActivity implements I
|
|||||||
Log.e("--卸货信息", gson.toJson(lub));
|
Log.e("--卸货信息", gson.toJson(lub));
|
||||||
// if (locationKey) {
|
// if (locationKey) {
|
||||||
if (keys) {
|
if (keys) {
|
||||||
|
if (1==reportAlct){
|
||||||
NewLJUtils.getInstance().getShipmentStatus(con, sob.getData().getShippingNoteNumber(), new OnGDDownloadResultListener() {
|
NewLJUtils.getInstance().getShipmentStatus(con, sob.getData().getShippingNoteNumber(), new OnGDDownloadResultListener() {
|
||||||
@Override
|
@Override
|
||||||
public void onSuccess(String var1) {
|
public void onSuccess(String var1) {
|
||||||
@ -631,6 +641,13 @@ public class ShangChuangImgActivityBC extends BaseAppCompatActivity implements I
|
|||||||
ToastUtils.showToast(con, var2);
|
ToastUtils.showToast(con, var2);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
}else{
|
||||||
|
//卸货状态-平台
|
||||||
|
isFinish = true;
|
||||||
|
upLocation(tempLoca.getLatitude() + "", tempLoca.getLongitude() + "",sob.getData().getShippingNoteNumber());
|
||||||
|
hyr.dischargeCargo(lub);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -663,7 +680,9 @@ public class ShangChuangImgActivityBC extends BaseAppCompatActivity implements I
|
|||||||
Log.e("--回单信息", gson.toJson(urib));
|
Log.e("--回单信息", gson.toJson(urib));
|
||||||
// if (locationKey) {
|
// if (locationKey) {
|
||||||
if (index == 2 && keys) {
|
if (index == 2 && keys) {
|
||||||
|
if (1==reportAlct){
|
||||||
up_trafficSign();
|
up_trafficSign();
|
||||||
|
}
|
||||||
// up_trafficReceipt();
|
// up_trafficReceipt();
|
||||||
// receipt_image();
|
// receipt_image();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user