@ -112,6 +112,11 @@ public class DeviceRepairInfoActivity extends BaseActivity implements DisposalFi
// 开始维修
public void startRepair(View view) {
if (submitBeen.getDeviceCode()==null){
Toast.makeText(context, "数据异常", Toast.LENGTH_LONG).show();
return;
}
if (!submitBeen.getDeviceCode().equals(deviceCode)) {
Toast.makeText(context, "设备扫描错误", Toast.LENGTH_LONG).show();
@ -31,6 +31,7 @@
android:layout_height="44dp"
android:layout_marginTop="8dp"
android:layout_marginEnd="4dp"
android:visibility="gone"
android:background="@drawable/text_bg">
<TextView