Browse Source

显示代理商类型

master
李可松 4 years ago
parent
commit
8048d6146b
  1. 2
      app/AdminAgent/Forms/AgentInfo.php

2
app/AdminAgent/Forms/AgentInfo.php

@ -1,6 +1,7 @@
<?php
namespace App\AdminAgent\Forms;
use App\Common\AgentType;
use App\Common\UserStatus;
use App\Models\Agent;
use Dcat\Admin\Admin;
@ -50,6 +51,7 @@ class AgentInfo extends Form
{
Admin::translation('agent');
$this->select('type')->options(AgentType::array())->disable();
$this->text('name')->required();
$this->text('company_name')->required();
$this->text('credit_codes')->required();

Loading…
Cancel
Save