|
|
@@ -1,5 +1,6 @@
|
|
|
package com.uas.pda_wps.fragment;
|
|
|
|
|
|
+import android.annotation.SuppressLint;
|
|
|
import android.content.Context;
|
|
|
import android.os.Handler;
|
|
|
import android.os.Message;
|
|
|
@@ -180,6 +181,7 @@ public class SCSMTJointFragment extends BaseFragment implements View.OnClickList
|
|
|
}
|
|
|
}
|
|
|
|
|
|
+ @SuppressLint("SetTextI18n")
|
|
|
private void locationCheck(String collect) {
|
|
|
tvMsgProdcode.setText("");
|
|
|
tvMsgLocation.setText("");
|
|
|
@@ -236,7 +238,7 @@ public class SCSMTJointFragment extends BaseFragment implements View.OnClickList
|
|
|
|
|
|
if (!isExist) {
|
|
|
tvMsgNotice.setTextColor(getResources().getColor(R.color.red));
|
|
|
- tvMsgNotice.setText("站位编号错误");
|
|
|
+ tvMsgNotice.setText("站位编号"+mCollectEditText.getText().toString().trim()+"错误");
|
|
|
CommonUtil.makeNotice();
|
|
|
mCollectEditText.setText("");
|
|
|
}
|
|
|
@@ -245,7 +247,7 @@ public class SCSMTJointFragment extends BaseFragment implements View.OnClickList
|
|
|
}
|
|
|
} else {
|
|
|
tvMsgNotice.setTextColor(getResources().getColor(R.color.red));
|
|
|
- tvMsgNotice.setText("站位编号错误");
|
|
|
+ tvMsgNotice.setText("站位编号"+mCollectEditText.getText().toString().trim()+"错误");
|
|
|
CommonUtil.makeNotice();
|
|
|
mCollectEditText.setText("");
|
|
|
}
|
|
|
@@ -369,6 +371,7 @@ public class SCSMTJointFragment extends BaseFragment implements View.OnClickList
|
|
|
PdaApplication.mRequestQueue.add(mStringRequest);
|
|
|
}
|
|
|
|
|
|
+ @SuppressLint("SetTextI18n")
|
|
|
private void joinDataCheck(String collect, String location, String dataCheckResult, boolean isSuccess) {
|
|
|
tvMsgProdcode.setText("");
|
|
|
tvMsgLocation.setText("");
|
|
|
@@ -435,7 +438,7 @@ public class SCSMTJointFragment extends BaseFragment implements View.OnClickList
|
|
|
|
|
|
if (!isExist) {
|
|
|
tvMsgNotice.setTextColor(getResources().getColor(R.color.red));
|
|
|
- tvMsgNotice.setText("站位编号错误");
|
|
|
+ tvMsgNotice.setText("站位编号"+mCollectEditText.getText().toString().trim()+"错误");
|
|
|
CommonUtil.makeNotice();
|
|
|
mCollectEditText.setText("");
|
|
|
}
|
|
|
@@ -444,7 +447,7 @@ public class SCSMTJointFragment extends BaseFragment implements View.OnClickList
|
|
|
}
|
|
|
} else {
|
|
|
tvMsgNotice.setTextColor(getResources().getColor(R.color.red));
|
|
|
- tvMsgNotice.setText("站位编号错误");
|
|
|
+ tvMsgNotice.setText("站位编号"+mCollectEditText.getText().toString().trim()+"错误");
|
|
|
CommonUtil.makeNotice();
|
|
|
mCollectEditText.setText("");
|
|
|
}
|