Files
OMS/app/ome/lib/order/confirm.php
2025-12-28 23:13:25 +08:00

68 lines
1.9 KiB
PHP
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<?php
/**
* Copyright © ShopeX http://www.shopex.cn. All rights reserved.
* See LICENSE file for license details.
*/
class ome_order_confirm{
/**
* 获取订单编辑时每种objtype的显示内容定义
* @access public
* @param int $reship_id 退货单ID
*/
public function get_view_list(){
$conf_list = array(
'goods' => $this->view_goods(),
'pkg' => $this->view_pkg(),
'gift' => $this->view_gift(),
'giftpackage' => $this->view_giftpackage(),
);
return $conf_list;
}
public function view_pkg(){
$config = array(
'app' => 'ome',
'html' => 'admin/order/confirm/pkg_confirm.html',
'js_process' => 'pkg_doprocess()',
'js_count' => 'pkg_getSendcount(index)',
);
return $config;
}
public function view_gift(){
$config = array(
'app' => 'ome',
'html' => 'admin/order/confirm/gift_confirm.html',
'js_process' => 'gift_doprocess()',
'js_count' => 'gift_getSendcount(index)',
);
return $config;
}
/**
* view_goods
* @return mixed 返回值
*/
public function view_goods(){
$config = array(
'app' => 'ome',
'html' => 'admin/order/confirm/goods_confirm.html',
'js_process' => 'goods_doprocess()',
'js_count' => 'goods_getSendcount(index)',
);
return $config;
}
/**
* view_giftpackage
* @return mixed 返回值
*/
public function view_giftpackage(){
$config = array(
'app' => 'ome',
'html' => 'admin/order/confirm/giftpackage_confirm.html',
'js_process' => 'giftpackage_doprocess()',
'js_count' => 'giftpackage_getSendcount(index)',
);
return $config;
}
}