rabin 1 gadu atpakaļ
vecāks
revīzija
1be7499d46
1 mainītis faili ar 5 papildinājumiem un 2 dzēšanām
  1. 5 2
      database/yspay_merchant.php

+ 5 - 2
database/yspay_merchant.php

@@ -73,13 +73,14 @@ return array
             'update'    => 'radio',
             'option'    => $type,
             'list'      => true,
+            'control'   => 'type',
         ),
 
         'project_id'       => array
         (
             'type'      => 'int-11',
             'name'      => '所属项目',
-            'default'   => '',
+            'default'   => '-1',
             'desc'      => '所属项目',
             'match'     => 'option',
             'search'    => 'select',
@@ -87,16 +88,18 @@ return array
             'control_url'	=> 'pay/yspay/merchant.selectRelate',
             'option'    => $project,
             'list'      => true,
+            'show'      => 'type=1',
         ),
 
         'relate_id'      => array
         (
             'type'      => 'int-11',
             'name'      => '关联数据',
-            'default'   => '1',
+            'default'   => '-1',
             'desc'      => '关联数据',
             'match'     => 'option',
             'update'    => 'select',
+            'show'      => 'type=1',
         ),
 
         'mid'      => array