已知问题修复

This commit is contained in:
lijia 2024-04-23 17:31:47 +08:00
parent e9033410b4
commit b1355100e2
4 changed files with 16 additions and 7 deletions

View File

@ -92,7 +92,9 @@ class AuthDriverActivity : BaseActivity<ActivityAuthDriverBinding>() {
licenseEffectiveEnd = tvEnd.text.toString()
}
}
if (driverInfoBean.licenseNo.isNullOrBlank() || driverInfoBean.licensePhotoBackUrl.isNullOrBlank()) {
if (driverInfoBean.licenseName.isNullOrBlank() || driverInfoBean.licensePhotoBackUrl.isNullOrBlank()||
driverInfoBean.licenseNo.isNullOrBlank()||driverInfoBean.licenseType.isNullOrBlank()||
driverInfoBean.licenseEffectiveStart.isNullOrBlank()||driverInfoBean.licenseEffectiveEnd.isNullOrBlank()) {
ToastUtils.showToast(mContext, "请完善信息")
return
}

View File

@ -126,7 +126,9 @@ class EditDriverActivity : BaseActivity<ActivityAuthDriverBinding>() {
licenseEffectiveEnd = tvEnd.text.toString()
}
}
if (driverInfoBean.licenseNo.isNullOrBlank() || driverInfoBean.licensePhotoBackUrl.isNullOrBlank()) {
if (driverInfoBean.licenseName.isNullOrBlank() || driverInfoBean.licensePhotoBackUrl.isNullOrBlank()||
driverInfoBean.licenseNo.isNullOrBlank()||driverInfoBean.licenseType.isNullOrBlank()||
driverInfoBean.licenseEffectiveStart.isNullOrBlank()||driverInfoBean.licenseEffectiveEnd.isNullOrBlank()) {
ToastUtils.showToast(mContext, "请完善信息")
return
}

View File

@ -102,6 +102,7 @@
android:background="@null"
android:gravity="right|center_vertical"
android:hint="请输入道路运输证号"
android:inputType="number"
android:maxLines="1"
android:paddingRight="@dimen/dp_10"
android:singleLine="true"

View File

@ -2,8 +2,7 @@
<com.scwang.smart.refresh.layout.SmartRefreshLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/refresh"
android:layout_width="match_parent"
android:layout_height="match_parent"
>
android:layout_height="match_parent">
<androidx.core.widget.NestedScrollView
android:layout_width="match_parent"
@ -187,20 +186,25 @@
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/recyclerView"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_height="wrap_content"
android:paddingLeft="@dimen/dp_14"
android:paddingTop="@dimen/dp_24"
android:paddingRight="@dimen/dp_14"></androidx.recyclerview.widget.RecyclerView>
<LinearLayout
<View
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_weight="1" />
<LinearLayout
android:id="@+id/llNotic"
android:layout_width="match_parent"
android:layout_height="@dimen/dp_36"
android:background="#FFEDE5"
android:gravity="center_vertical"
android:orientation="horizontal"
android:paddingLeft="@dimen/dp_8">
android:paddingLeft="@dimen/dp_8"
android:visibility="gone">
<TextView
android:layout_width="wrap_content"