ソースを参照

风险管理11月8日提交代码-liu.bolan-风管bug

Liu.bolan 4 年 前
コミット
4188c6767d

+ 6 - 2
RMA/app/src/main/java/cn/muchinfo/rma/view/base/main/withdrawmanagement/AddWithDrawActivity.kt

@@ -178,12 +178,16 @@ class AddWithDrawActivity : BaseActivity<WithDrawManagementViewModel>(){
                 }
 
                 editText {
-                    isEnabled = false
+
                     bank_card_account_name = this
                     if (type == "2"){
                         setText(data.bankaccountname)
+                        isEnabled = false
                     }else{
-                        setText(GlobalDataCollection.instance?.loginQueryData?.userInfo?.customername)
+                        if (GlobalDataCollection.instance?.loginQueryData?.userInfo?.customername.isNullOrEmpty().not()){
+                            setText(GlobalDataCollection.instance?.loginQueryData?.userInfo?.customername)
+                            isEnabled = false
+                        }
                     }
                     hint = "请填写开户姓名"
                     background = null