fastadmin/runtime/temp/4ef3c2050379db88b4bef778511...

186 lines
11 KiB
PHP

<?php if (!defined('THINK_PATH')) exit(); /*a:4:{s:77:"/home/default/fastadmin/public/../application/admin/view/order/order/add.html";i:1517369971;s:66:"/home/default/fastadmin/application/admin/view/layout/default.html";i:1517369971;s:63:"/home/default/fastadmin/application/admin/view/common/meta.html";i:1517369971;s:65:"/home/default/fastadmin/application/admin/view/common/script.html";i:1517369971;}*/ ?>
<!DOCTYPE html>
<html lang="<?php echo $config['language']; ?>">
<head>
<meta charset="utf-8">
<title><?php echo (isset($title) && ($title !== '')?$title:''); ?></title>
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no">
<meta name="renderer" content="webkit">
<link rel="shortcut icon" href="/assets/img/favicon.ico" />
<!-- Loading Bootstrap -->
<link href="/assets/css/backend<?php echo \think\Config::get('app_debug')?'':'.min'; ?>.css?v=<?php echo \think\Config::get('site.version'); ?>" rel="stylesheet">
<!-- HTML5 shim, for IE6-8 support of HTML5 elements. All other JS at the end of file. -->
<!--[if lt IE 9]>
<script src="/assets/js/html5shiv.js"></script>
<script src="/assets/js/respond.min.js"></script>
<![endif]-->
<script type="text/javascript">
var require = {
config: <?php echo json_encode($config); ?>
};
</script>
</head>
<body class="inside-header inside-aside <?php echo defined('IS_DIALOG') && IS_DIALOG ? 'is-dialog' : ''; ?>">
<div id="main" role="main">
<div class="tab-content tab-addtabs">
<div id="content">
<div class="row">
<div class="col-xs-12 col-sm-12 col-md-12 col-lg-12">
<section class="content-header hide">
<h1>
<?php echo __('Dashboard'); ?>
<small><?php echo __('Control panel'); ?></small>
</h1>
</section>
<?php if(!IS_DIALOG): ?>
<!-- RIBBON -->
<div id="ribbon">
<ol class="breadcrumb pull-left">
<li><a href="dashboard" class="addtabsit"><i class="fa fa-dashboard"></i> <?php echo __('Dashboard'); ?></a></li>
</ol>
<ol class="breadcrumb pull-right">
<?php foreach($breadcrumb as $vo): ?>
<li><a href="javascript:;" data-url="<?php echo $vo['url']; ?>"><?php echo $vo['title']; ?></a></li>
<?php endforeach; ?>
</ol>
</div>
<!-- END RIBBON -->
<?php endif; ?>
<div class="content">
<form id="add-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">
<div class="form-group">
<label for="c-user_id" class="control-label col-xs-12 col-sm-2"><?php echo __('User_id'); ?>:</label>
<div class="col-xs-12 col-sm-8">
<input id="c-user_id" data-rule="required" data-source="user/index" data-field="nickname" class="form-control selectpage" name="row[user_id]" type="text" value="">
</div>
</div>
<div class="form-group">
<label for="c-order_num" class="control-label col-xs-12 col-sm-2"><?php echo __('Order_num'); ?>:</label>
<div class="col-xs-12 col-sm-8">
<input id="c-order_num" data-rule="required" class="form-control" name="row[order_num]" type="text">
</div>
</div>
<div class="form-group">
<label for="c-order_status" class="control-label col-xs-12 col-sm-2"><?php echo __('Order_status'); ?>:</label>
<div class="col-xs-12 col-sm-8">
<div class="radio">
<?php if(is_array($orderStatusList) || $orderStatusList instanceof \think\Collection || $orderStatusList instanceof \think\Paginator): if( count($orderStatusList)==0 ) : echo "" ;else: foreach($orderStatusList as $key=>$vo): ?>
<label for="row[order_status]-<?php echo $key; ?>"><input id="row[order_status]-<?php echo $key; ?>" name="row[order_status]" type="radio" value="<?php echo $key; ?>" <?php if(in_array(($key), explode(',',"order_status 0"))): ?>checked<?php endif; ?> /> <?php echo $vo; ?></label>
<?php endforeach; endif; else: echo "" ;endif; ?>
</div>
</div>
</div>
<div class="form-group">
<label for="c-travel_start_time" class="control-label col-xs-12 col-sm-2"><?php echo __('Travel_start_time'); ?>:</label>
<div class="col-xs-12 col-sm-8">
<input id="c-travel_start_time" data-rule="required" class="form-control datetimepicker" data-date-format="YYYY-MM-DD" data-use-current="true" name="row[travel_start_time]" type="text" value="<?php echo date('Y-m-d'); ?>">
</div>
</div>
<div class="form-group">
<label for="c-travel_end_time" class="control-label col-xs-12 col-sm-2"><?php echo __('Travel_end_time'); ?>:</label>
<div class="col-xs-12 col-sm-8">
<input id="c-travel_end_time" data-rule="required" class="form-control datetimepicker" data-date-format="YYYY-MM-DD" data-use-current="true" name="row[travel_end_time]" type="text" value="<?php echo date('Y-m-d'); ?>">
</div>
</div>
<div class="form-group">
<label for="c-product_name" class="control-label col-xs-12 col-sm-2"><?php echo __('Product_name'); ?>:</label>
<div class="col-xs-12 col-sm-8">
<input id="c-product_name" data-rule="required" class="form-control" name="row[product_name]" type="text">
</div>
</div>
<div class="form-group">
<label for="c-comment_status" class="control-label col-xs-12 col-sm-2"><?php echo __('Comment_status'); ?>:</label>
<div class="col-xs-12 col-sm-8">
<div class="radio">
<?php if(is_array($commentStatusList) || $commentStatusList instanceof \think\Collection || $commentStatusList instanceof \think\Paginator): if( count($commentStatusList)==0 ) : echo "" ;else: foreach($commentStatusList as $key=>$vo): ?>
<label for="row[comment_status]-<?php echo $key; ?>"><input id="row[comment_status]-<?php echo $key; ?>" name="row[comment_status]" type="radio" value="<?php echo $key; ?>" <?php if(in_array(($key), explode(',',"comment_status 0"))): ?>checked<?php endif; ?> /> <?php echo $vo; ?></label>
<?php endforeach; endif; else: echo "" ;endif; ?>
</div>
</div>
</div>
<div class="form-group">
<label for="c-order_start_time" class="control-label col-xs-12 col-sm-2"><?php echo __('Order_start_time'); ?>:</label>
<div class="col-xs-12 col-sm-8">
<input id="c-order_start_time" data-rule="required" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[order_start_time]" type="text" value="<?php echo date('Y-m-d H:i:s'); ?>">
</div>
</div>
<div class="form-group">
<label for="c-total_num" class="control-label col-xs-12 col-sm-2"><?php echo __('Total_num'); ?>:</label>
<div class="col-xs-12 col-sm-8">
<input id="c-total_num" data-rule="required" class="form-control" name="row[total_num]" type="number" value="0">
</div>
</div>
<div class="form-group">
<label for="c-already_rechage_num" class="control-label col-xs-12 col-sm-2"><?php echo __('Already_rechage_num'); ?>:</label>
<div class="col-xs-12 col-sm-8">
<input id="c-already_rechage_num" data-rule="required" class="form-control" name="row[already_rechage_num]" type="number" value="0">
</div>
</div>
<div class="form-group">
<label for="c-notice" class="control-label col-xs-12 col-sm-2"><?php echo __('Notice'); ?>:</label>
<div class="col-xs-12 col-sm-8">
<input id="c-notice" data-rule="required" class="form-control" name="row[notice]" type="text" value="">
</div>
</div>
<div class="form-group">
<label for="c-reconciliation_time" class="control-label col-xs-12 col-sm-2"><?php echo __('Reconciliation_time'); ?>:</label>
<div class="col-xs-12 col-sm-8">
<input id="c-reconciliation_time" data-rule="required" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[reconciliation_time]" type="text" value="<?php echo date('Y-m-d H:i:s'); ?>">
</div>
</div>
<div class="form-group">
<label for="c-buy_detail" class="control-label col-xs-12 col-sm-2"><?php echo __('Buy_detail'); ?>:</label>
<div class="col-xs-12 col-sm-8">
<input id="c-buy_detail" data-rule="required" class="form-control" name="row[buy_detail]" type="text" value="0">
</div>
</div>
<div class="form-group">
<label for="c-reduction_strategy" class="control-label col-xs-12 col-sm-2"><?php echo __('Reduction_strategy'); ?>:</label>
<div class="col-xs-12 col-sm-8">
<input id="c-reduction_strategy" data-rule="required" class="form-control" name="row[reduction_strategy]" type="text" value="">
</div>
</div>
<div class="form-group">
<label for="c-ota_name" class="control-label col-xs-12 col-sm-2"><?php echo __('Ota_name'); ?>:</label>
<div class="col-xs-12 col-sm-8">
<input id="c-ota_name" data-rule="required" class="form-control" name="row[ota_name]" type="text">
</div>
</div>
<div class="form-group">
<label for="c-pay_id" class="control-label col-xs-12 col-sm-2"><?php echo __('Pay_id'); ?>:</label>
<div class="col-xs-12 col-sm-8">
<input id="c-pay_id" data-rule="required" data-source="pay/index" class="form-control selectpage" name="row[pay_id]" type="text" value="">
</div>
</div>
<div class="form-group">
<label for="c-supplier_id" class="control-label col-xs-12 col-sm-2"><?php echo __('Supplier_id'); ?>:</label>
<div class="col-xs-12 col-sm-8">
<input id="c-supplier_id" data-rule="required" data-source="supplier/index" class="form-control selectpage" name="row[supplier_id]" type="text" value="">
</div>
</div>
<div class="form-group layer-footer">
<label class="control-label col-xs-12 col-sm-2"></label>
<div class="col-xs-12 col-sm-8">
<button type="submit" class="btn btn-success btn-embossed disabled"><?php echo __('OK'); ?></button>
<button type="reset" class="btn btn-default btn-embossed"><?php echo __('Reset'); ?></button>
</div>
</div>
</form>
</div>
</div>
</div>
</div>
</div>
</div>
<script src="/assets/js/require.js" data-main="/assets/js/require-backend<?php echo \think\Config::get('app_debug')?'':'.min'; ?>.js?v=<?php echo $site['version']; ?>"></script>
</body>
</html>