|
|
|
@ -139,7 +139,7 @@ class MerchantRepository extends BaseRepository |
|
|
|
|
Elm::password('mer_password', '登录密码')->required()->disabled(!is_null($id))->required(!is_null($id)), |
|
|
|
|
Elm::input('real_name', '商户姓名'), |
|
|
|
|
Elm::input('mer_phone', '商户手机号')->col(12)->required(), |
|
|
|
|
Elm::number('commission_rate', '手续费(%)')->col(12), |
|
|
|
|
Elm::number('commission_rate', '平台结算(%)')->col(12), |
|
|
|
|
Elm::input('mer_keyword', '商户关键字')->col(12), |
|
|
|
|
Elm::input('mer_address', '商户地址'), |
|
|
|
|
Elm::input('sub_mchid', '微信分账商户号'), |
|
|
|
@ -147,7 +147,7 @@ class MerchantRepository extends BaseRepository |
|
|
|
|
Elm::number('sort', '排序', 0)->precision(0)->max(99999), |
|
|
|
|
$id ? Elm::hidden('status', 1) : Elm::switches('status', '是否开启', 1)->activeValue(1)->inactiveValue(0)->inactiveText('关')->activeText('开')->col(12), |
|
|
|
|
// Elm::switches('is_bro_room', '直播间审核', $config['broadcast_room_type'] == 1 ? 0 : 1)->activeValue(1)->inactiveValue(0)->inactiveText('关')->activeText('开')->col(12), |
|
|
|
|
// Elm::switches('is_audit', '产品审核', 1)->activeValue(1)->inactiveValue(0)->inactiveText('关')->activeText('开')->col(12), |
|
|
|
|
Elm::switches('is_audit', '产品审核', 1)->activeValue(1)->inactiveValue(0)->inactiveText('关')->activeText('开')->col(12), |
|
|
|
|
// Elm::switches('is_bro_goods', '直播间商品审核', $config['broadcast_goods_type'] == 1 ? 0 : 1)->activeValue(1)->inactiveValue(0)->inactiveText('关')->activeText('开')->col(12), |
|
|
|
|
Elm::switches('is_best', '是否推荐')->activeValue(1)->inactiveValue(0)->inactiveText('关')->activeText('开')->col(12), |
|
|
|
|
Elm::switches('is_trader', '是否自营')->activeValue(1)->inactiveValue(0)->inactiveText('关')->activeText('开')->col(12), |
|
|
|
|