隐藏 巡检线路选择

master
wanghao 2 weeks ago
parent b024a5ea7a
commit 1c3962bf9d

@ -112,6 +112,11 @@ public class DeviceRepairInfoActivity extends BaseActivity implements DisposalFi
// 开始维修 // 开始维修
public void startRepair(View view) { public void startRepair(View view) {
if (submitBeen.getDeviceCode()==null){
Toast.makeText(context, "数据异常", Toast.LENGTH_LONG).show();
return;
}
if (!submitBeen.getDeviceCode().equals(deviceCode)) { if (!submitBeen.getDeviceCode().equals(deviceCode)) {
Toast.makeText(context, "设备扫描错误", Toast.LENGTH_LONG).show(); Toast.makeText(context, "设备扫描错误", Toast.LENGTH_LONG).show();
return; return;

@ -31,6 +31,7 @@
android:layout_height="44dp" android:layout_height="44dp"
android:layout_marginTop="8dp" android:layout_marginTop="8dp"
android:layout_marginEnd="4dp" android:layout_marginEnd="4dp"
android:visibility="gone"
android:background="@drawable/text_bg"> android:background="@drawable/text_bg">
<TextView <TextView

Loading…
Cancel
Save