Browse Source

水表编号修改用户编号

ychk 5 tháng trước cách đây
mục cha
commit
2c9b4d6f43

+ 1 - 1
app/src/main/java/com/tofly/yxpc/ui/activity/TaskActivity.java

@@ -161,7 +161,7 @@ public class TaskActivity extends PhotoActivity {
             if (MyApp.getInstance().isOverTime()) {
                 new AlertDialog.Builder(this)
                         .setTitle("请选择")
-                        .setSingleChoiceItems(new String[]{"扫描二维码", "输入水表编号"}, -1, (dialog1, i) -> {
+                        .setSingleChoiceItems(new String[]{"扫描二维码", "输入用户编号"}, -1, (dialog1, i) -> {
                             if (i == 0) {
                                 IntentIntegrator integrator = new IntentIntegrator(this);
                                 integrator.setDesiredBarcodeFormats(IntentIntegrator.QR_CODE);

+ 1 - 1
app/src/main/java/com/tofly/yxpc/ui/fragment/IndexFragment.java

@@ -169,7 +169,7 @@ public class IndexFragment extends LatteDelegate {
             if (MyApp.getInstance().isOverTime()) {
                 new AlertDialog.Builder(requireContext())
                         .setTitle("请选择")
-                        .setSingleChoiceItems(new String[]{"扫描二维码", "输入水表编号"}, -1, (dialog1, i) -> {
+                        .setSingleChoiceItems(new String[]{"扫描二维码", "输入用户编号"}, -1, (dialog1, i) -> {
                             if (i == 0) {
                                 IntentIntegrator integrator = new IntentIntegrator(requireActivity());
                                 integrator.setDesiredBarcodeFormats(IntentIntegrator.QR_CODE);

+ 2 - 2
app/src/main/res/layout/dialog_yhbh.xml

@@ -20,7 +20,7 @@
             android:layout_marginStart="@dimen/dp_20"
             android:layout_marginTop="@dimen/dp_20"
             android:layout_marginEnd="@dimen/dp_20"
-            android:text="水表编号查询"
+            android:text="用户编号查询"
             android:textColor="@color/color_333"
             android:textSize="@dimen/sp_18" />
 
@@ -31,7 +31,7 @@
             android:layout_marginStart="@dimen/dp_20"
             android:layout_marginTop="@dimen/dp_30"
             android:layout_marginEnd="@dimen/dp_20"
-            android:hint="请输入水表编号"
+            android:hint="请输入用户编号"
             android:inputType="number"
             android:singleLine="true"
             android:textColor="@color/color_555"