Browse Source

禁止修改字段display

master
李可松 4 years ago
parent
commit
9aaeee2b62
  1. 12
      app/AdminSupplier/Forms/SupplierInfo.php

12
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');

Loading…
Cancel
Save