diff --git a/app/AdminSupplier/Forms/SupplierInfo.php b/app/AdminSupplier/Forms/SupplierInfo.php index 89bc8a5..c5c182f 100644 --- a/app/AdminSupplier/Forms/SupplierInfo.php +++ b/app/AdminSupplier/Forms/SupplierInfo.php @@ -42,12 +42,12 @@ class SupplierInfo extends Form { Admin::translation('supplier'); - $this->text('name')->required(); - $this->text('company_name')->disable(); - $this->text('province.name','省份')->disable(); - $this->text('city.name','城市')->disable(); - $this->text('area.name','地区')->disable(); - $this->text('address')->required()->disable(); + $this->display('company_name'); + $this->display('province.name','省份'); + $this->display('city.name','城市'); + $this->display('area.name','地区'); + $this->display('address'); + $this->text('name')->required(); $this->text('director')->required(); $this->text('contact_phone')->required(); $this->image('avatar');