コード例 #1
0
ファイル: mdl.specification.php プロジェクト: noikiy/MyShop
 function getColumns()
 {
     $ret = array('_cmd' => array('label' => __('操作'), 'width' => 60, 'html' => 'product/spec/finder_command.html'));
     $ret = array_merge($ret, parent::getColumns());
     $ret['spec_value'] = array('label' => __('规格值'), 'width' => 350, 'type' => 'spec_value', 'sql' => 'spec_id');
     return $ret;
 }
コード例 #2
0
ファイル: mdl.package.php プロジェクト: noikiy/MyShop
 function getColumns()
 {
     $ret = array('_cmd' => array('label' => __('操作'), 'width' => 70, 'html' => 'product/package/command.html'));
     $now = parent::getColumns();
     $now['cat_id']['hidden'] = true;
     $now['type_id']['hidden'] = true;
     $now['goods_type']['hidden'] = true;
     $now['brand_id']['hidden'] = true;
     $now['brief']['hidden'] = true;
     $now['bn']['hidden'] = false;
     $now['cost']['hidden'] = true;
     $now['unit']['hidden'] = true;
     $now['score']['hidden'] = true;
     $now['uptime']['hidden'] = true;
     $now['downtime']['hidden'] = true;
     $now['last_modify']['hidden'] = true;
     $now['notify_num']['hidden'] = true;
     $now['name']['locked'] = 0;
     $now['name']['label'] = '捆绑商品名称';
     $now['goods_id']['label'] = 'ID';
     $now['mktprice']['label'] = '原价格';
     $now['price']['label'] = '捆绑销售价';
     $now['brand']['hidden'] = true;
     unset($now['brand_id']['filtertype']);
     unset($now['brand']['filtertype']);
     unset($now['cat_id']['filtertype']);
     unset($now['bn']['filtertype']);
     unset($now['cost']['filtertype']);
     unset($now['unit']['filtertype']);
     unset($now['brief']['filtertype']);
     unset($now['intro']['filtertype']);
     unset($now['type_id']['filtertype']);
     return array_merge($ret, $now);
 }
コード例 #3
0
ファイル: mdl.member.php プロジェクト: noikiy/MyShop
 function getColumns()
 {
     $ret = parent::getColumns();
     $ret['_cmd'] = array('label' => __('操作'), 'width' => 70, 'html' => 'member/finder_command.html');
     //会员等级
     $ret['member_lv_id']['default'] = '';
     return $ret;
 }
コード例 #4
0
ファイル: mdl.message.php プロジェクト: noikiy/MyShop
 function getColumns()
 {
     $data = parent::getColumns();
     //$data['_cmd']['label'] = __('操作');
     //$data['_cmd']['width'] = 75;
     //$data['_cmd']['html'] = 'member/msgbox/msg_command.html';
     return $data;
 }
コード例 #5
0
ファイル: mdl.finderPdt.php プロジェクト: noikiy/MyShop
 function getColumns($filter, $from = null)
 {
     $ret = parent::getColumns();
     if ($from == 'from') {
         $ret['price']['default'] = '';
     }
     return $ret;
 }
コード例 #6
0
ファイル: mdl.refund.php プロジェクト: noikiy/MyShop
 function getColumns()
 {
     $ret = parent::getColumns();
     //$ret['_cmd'] = array('label'=>__('操作'),'width'=>70,'html'=>'refund/finder_command.html');
     //金额
     $ret['money']['default'] = '';
     return $ret;
 }
コード例 #7
0
ファイル: mdl.payment.php プロジェクト: noikiy/MyShop
 function getColumns()
 {
     $ret = parent::getColumns();
     //$ret['_cmd'] = array('label'=>__('操作'),'width'=>70,'html'=>'payment/finder_command.html');
     //支付类型
     $ret['pay_type']['default'] = '';
     //支付状态
     $ret['status']['default'] = '';
     return $ret;
 }
コード例 #8
0
ファイル: mdl.products.php プロジェクト: noikiy/MyShop
 function getColumns($filter, $from = null)
 {
     $ret = parent::getColumns();
     $ret['_cmd'] = array('label' => __('操作'), 'width' => 75, 'html' => 'product/finder_command.html');
     if ($from == 'from') {
         $ret['keyword'] = array('type' => 'longtext', 'label' => __('商品关键字'), 'width' => 30, 'editable' => false, 'hidden' => true, 'filtertype' => 'bool');
         //对多添加的筛选条件修改schema
         $ret['bn']['type'] = 'longtext';
         $ret['bn']['label'] = __('货号');
         $ret['bn']['width'] = 30;
         $ret['bn']['editable'] = false;
         $ret['bn']['filtertype'] = 'email';
         //规格
         $ret['spec_desc']['type'] = 'bool';
         $ret['spec_desc']['editable'] = true;
         $ret['spec_desc']['filtertype'] = 'yes';
         $ret['spec_desc']['label'] = __('是否多规格');
         $ret['spec_desc']['required'] = false;
         $ret['spec_desc']['hidden'] = true;
         $ret['spec_desc']['filterdefalut'] = false;
         //销售价
         $ret['price']['default'] = '';
         //分类
         $ret['cat_id']['type'] = 'object:goods/productCat';
         $ret['cat_id']['required'] = true;
         $ret['cat_id']['default'] = '';
         $ret['cat_id']['width'] = 75;
         $ret['cat_id']['label'] = __('分类');
         $ret['cat_id']['editable'] = true;
         $ret['cat_id']['filtertype'] = 'yes';
         $ret['cat_id']['filterdefalut'] = true;
         //供应商
         if ($this->system->getConf('certificate.distribute')) {
             //开启分销权限
             $ret['supplier_id']['type'] = 'object:distribution/supplier';
             $ret['supplier_id']['requited'] = false;
             $ret['supplier_id']['default'] = '';
             $ret['supplier_id']['filtertype'] = 'yes';
             $ret['supplier_id']['filterdefalut'] = true;
         }
     }
     return $ret;
 }
コード例 #9
0
ファイル: mdl.order.php プロジェクト: noikiy/MyShop
 function getColumns()
 {
     $ret = parent::getColumns();
     $ret['_cmd'] = array('label' => __('操作'), 'width' => 70, 'html' => 'order/finder_command.html');
     $ret['goods_na'] = array('label' => __('商品名称'), 'width' => 70, 'filtertype' => 'yes', 'filterdefalut' => true, 'hidden' => true);
     //把商品名称加入商品搜索
     $ret['order_id']['default'] = '';
     //付款状态
     $ret['pay_status']['default'] = '';
     //发货状态
     $ret['ship_status']['default'] = '';
     //订单总额
     $ret['total_amount']['default'] = '';
     //订单提示
     $ret['order_tips']['type'] = 'order_tips';
     $ret['order_tips']['label'] = '提示';
     $ret['order_tips']['width'] = 50;
     $ret['order_tips']['sql'] = 'order_id';
     //配送方式修改
     $ret['shipping']['type'] = 'object:trading/delivery';
     $ret['shipping']['filtertype'] = 'yes';
     $ret['shipping']['filterdefalut'] = true;
     return $ret;
 }
コード例 #10
0
ファイル: mdl.coupon.php プロジェクト: noikiy/MyShop
 function getColumns()
 {
     $ret = array('_cmd' => array('label' => __('操作'), 'width' => 120, 'html' => 'sale/coupon/command.html'), 'pmt_time_begin' => array('label' => __('开始时间'), 'width' => 75, 'type' => 'date'), 'pmt_time_end' => array('label' => __('结束时间'), 'width' => 75, 'type' => 'date'));
     return array_merge($ret, parent::getColumns());
 }
コード例 #11
0
ファイル: mdl.delivery.php プロジェクト: noikiy/MyShop
 function getColumns()
 {
     $ret = array('_cmd' => array('label' => __('操作'), 'width' => 70, 'html' => 'delivery/command.html'));
     return array_merge($ret, parent::getColumns());
 }
コード例 #12
0
ファイル: mdl.gtype.php プロジェクト: noikiy/MyShop
 function getColumns($filter)
 {
     $ret = array('_cmd' => array('label' => __('操作'), 'width' => 110, 'html' => 'product/gtype/finder_command.html'));
     return array_merge($ret, parent::getColumns());
 }
コード例 #13
0
ファイル: mdl.adminroles.php プロジェクト: noikiy/MyShop
 function getColumns()
 {
     $ret = array('_cmd' => array('label' => __('操作'), 'width' => 75, 'html' => 'admin/roles_cmd.html'));
     return array_merge($ret, parent::getColumns());
 }
コード例 #14
0
ファイル: mdl.dly_printer.php プロジェクト: noikiy/MyShop
 function getColumns($filter)
 {
     $ret = array('_cmd' => array('label' => __('操作'), 'width' => 230, 'html' => 'order/dly_printer_command.html'));
     return array_merge($ret, parent::getColumns());
 }
コード例 #15
0
ファイル: mdl.article.php プロジェクト: noikiy/MyShop
 function getColumns()
 {
     $ret = array('_preview' => array('label' => __('预览'), 'width' => 75, 'html' => 'content/article/preview.html'));
     return array_merge($ret, parent::getColumns());
 }
コード例 #16
0
 function getColumns()
 {
     $ret = array('_cmd' => array('label' => __('操作'), 'width' => 150, 'html' => 'sale/activity/command.html'));
     return array_merge($ret, parent::getColumns());
 }
コード例 #17
0
ファイル: mdl.operator.php プロジェクト: noikiy/MyShop
 function getColumns()
 {
     $ret = array('_cmd' => array('label' => __('操作'), 'width' => 75, 'html' => 'admin/finder_command.html'), 'roles' => array('label' => __('角色'), 'sql' => 'op_id', 'width' => 270, 'readonly' => 1));
     return array_merge($ret, parent::getColumns());
 }
コード例 #18
0
ファイル: mdl.autosync.php プロジェクト: noikiy/MyShop
 function getColumns()
 {
     $ret = array('_cmd' => array('label' => __('操作'), 'width' => 70, 'html' => 'distribution/auto_command.html'), 'rule_id' => array('label' => __('配置编号'), 'class' => 'span-3'), 'rule_name' => array('label' => __('对象'), 'class' => 'span-5'), 'supplier_op_id' => array('label' => __('供应商操作'), 'class' => 'span-5'), 'local_op_id' => array('label' => __('本地操作'), 'class' => 'span-5'), 'memo' => array('label' => __('备注'), 'class' => 'span-5'));
     return array_merge(parent::getColumns(), $ret);
 }
コード例 #19
0
ファイル: mdl.trigger.php プロジェクト: noikiy/MyShop
 function getColumns()
 {
     $ret = array('_cmd' => array('label' => __('操作'), 'width' => 75, 'html' => 'system/trigger/command.html'));
     return array_merge($ret, parent::getColumns());
 }
コード例 #20
0
ファイル: mdl.magicvars.php プロジェクト: noikiy/MyShop
 function getColumns($filter)
 {
     $ret = array('_cmd' => array('label' => __('操作'), 'width' => 70, 'html' => 'system/magicvars/finder_command.html'));
     return array_merge($ret, parent::getColumns());
 }