You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
excel_handle/runtime/temp/dc3e3ddb370b0b9564cb52310d0...

185 lines
9.0 KiB

<?php /*a:4:{s:51:"D:\htdocs_new\excel-handle\app\view\index\edit.html";i:1594302886;s:52:"D:\htdocs_new\excel-handle\app\view\public\base.html";i:1582187582;s:54:"D:\htdocs_new\excel-handle\app\view\public\header.html";i:1583504952;s:54:"D:\htdocs_new\excel-handle\app\view\public\script.html";i:1581330838;}*/ ?>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="robots" content="none">
<title>粮仓</title>
<link rel="shortcut icon" href="favicon.ico">
<link rel="stylesheet" href="/static/plugins/layui/css/layui.css">
<link rel="stylesheet" href="/static/css/default.css">
<!-- Core stylesheets -->
<style>
.layui-form-label {
width: 100px;
}
.layui-badge {
height: 28px;
line-height: 28px;
font-size: 14px;
}
</style>
</head>
<body class="layui-layout-body">
<div class="layui-card">
<div class="layui-card-header"></div>
<div class="layui-card-body layui-form">
<input type="hidden" name="id" value="<?php echo htmlentities($info['id']); ?>">
<div class="layui-form-item">
<div class="layui-inline">
<label class="layui-form-label">车牌号</label>
<div class="layui-input-inline">
<input type="text" name="car_no" value="<?php echo htmlentities($info['car_no']); ?>" class="layui-input">
</div>
</div>
<div class="layui-inline">
<label class="layui-form-label">车架号</label>
<div class="layui-input-inline">
<input type="text" name="car_frame_no" value="<?php echo htmlentities($info['car_frame_no']); ?>" class="layui-input">
</div>
</div>
<div class="layui-inline">
<label class="layui-form-label">发动机号</label>
<div class="layui-input-inline">
<input type="text" name="engine_no" value="<?php echo htmlentities($info['engine_no']); ?>" class="layui-input">
</div>
</div>
</div>
<div class="layui-form-item">
<div class="layui-inline">
<label class="layui-form-label">厂牌型号</label>
<div class="layui-input-inline">
<input type="text" name="factory_model" value="<?php echo htmlentities($info['factory_model']); ?>" class="layui-input">
</div>
</div>
<div class="layui-inline">
<label class="layui-form-label">初登日期</label>
<div class="layui-input-inline">
<input type="text" name="register_date" id="register_date" value="<?php echo htmlentities($info['register_date']); ?>" class="layui-input">
</div>
</div>
<div class="layui-inline">
<label class="layui-form-label">新车购置价</label>
<div class="layui-input-inline">
<input type="text" name="purchase_price" value="<?php echo htmlentities($info['purchase_price']); ?>" class="layui-input">
</div>
</div>
</div>
<div class="layui-form-item">
<div class="layui-inline">
<label class="layui-form-label">车主姓名</label>
<div class="layui-input-inline">
<input type="text" name="car_man" value="<?php echo htmlentities($info['car_man']); ?>" class="layui-input">
</div>
</div>
<div class="layui-inline">
<label class="layui-form-label">车主证件号</label>
<div class="layui-input-inline">
<input type="text" name="car_number" value="<?php echo htmlentities($info['car_number']); ?>" class="layui-input">
</div>
</div>
<div class="layui-inline">
<label class="layui-form-label">车主联系方式</label>
<div class="layui-input-inline">
<input type="text" name="car_phone" value="<?php echo htmlentities($info['car_phone']); ?>" class="layui-input">
</div>
</div>
</div>
<div class="layui-form-item">
<div class="layui-inline">
<label class="layui-form-label">上年承保公司</label>
<div class="layui-input-inline">
<input type="text" name="company" value="<?php echo htmlentities($info['company']); ?>" class="layui-input">
</div>
</div>
<div class="layui-inline">
<label class="layui-form-label">商业止保日期</label>
<div class="layui-input-inline">
<input type="text" name="insurer1_date" id="insurer1_date" value="<?php echo htmlentities($info['insurer1_date']); ?>" class="layui-input">
</div>
</div>
<div class="layui-inline">
<label class="layui-form-label">交强止保日期</label>
<div class="layui-input-inline">
<input type="text" name="insurer2_date" id="insurer2_date" value="<?php echo htmlentities($info['insurer2_date']); ?>" class="layui-input">
</div>
</div>
</div>
<div class="layui-form-item">
<div class="layui-inline">
<label class="layui-form-label">被保险人</label>
<div class="layui-input-inline">
<input type="text" name="id_man" value="<?php echo htmlentities($info['id_man']); ?>" class="layui-input">
</div>
</div>
<div class="layui-inline">
<label class="layui-form-label">被保险人证件号</label>
<div class="layui-input-inline">
<input type="text" name="id_number" value="<?php echo htmlentities($info['id_number']); ?>" class="layui-input">
</div>
</div>
</div>
<div class="layui-form-item">
<label class="layui-form-label">数据状态</label>
<div class="layui-input-block" style="height: 36px; line-height: 36px;">
<?php if($info['is_export_bhx'] == 0 && $info['is_update_bhx'] == 0 && $info['is_export_bmc'] == 0 &&
$info['is_export_failed'] == 0 && $info['is_export_none_bmc'] == 0 && $info['is_export_failed_bmc'] == 0): ?>
<span class="layui-badge layui-bg-green">未处理</span>
<?php endif; if($info['is_export_bhx'] > 0): ?>
<span class="layui-badge layui-bg-green">导出至清洗</span>
<?php endif; if($info['is_export_bhx'] > 0 && $info['is_update_bhx'] > 0): ?>
<span class="layui-badge layui-bg-green">清洗成功</span>
<?php endif; if($info['is_export_bhx'] > 0 && $info['is_update_bhx'] < 0): ?>
<span class="layui-badge layui-bg-green">清洗失败</span>
<?php endif; if($info['is_export_bhx'] > 0 && $info['is_export_failed'] > 0): ?>
<span class="layui-badge layui-bg-green">导出清洗失败</span>
<?php endif; if($info['is_export_bhx'] > 0 && $info['is_export_failed_bmc'] > 0): ?>
<span class="layui-badge layui-bg-green">导出清洗失败至上传</span>
<?php endif; if($info['is_export_bhx'] > 0 && $info['is_update_bhx'] > 0 && $info['is_export_bmc'] > 0): ?>
<span class="layui-badge layui-bg-green">导出清洗成功至上传</span>
<?php endif; if($info['is_export_none_bmc'] > 0): ?>
<span class="layui-badge layui-bg-green">导出未处理至上传</span>
<?php endif; ?>
</div>
</div>
<div class="layui-form-item" style="margin-top: 60px; text-align: center">
<button type="submit" class="layui-btn" lay-submit="" lay-filter="car-info">立即提交</button>
<button type="button" class="layui-btn layui-btn-danger" onclick="location.reload();">重置</button>
<button type="button" class="layui-btn layui-btn-danger" onclick="window.parent.layer.closeAll();">关闭</button>
</div>
</div>
</div>
<!--Global Javascript -->
<script src="/static/plugins//layui/layui.all.js"></script>
<script src="/static/plugins/jquery/jquery.min.js"></script>
<script src="/static/js/default.js"></script>
<script>
layui.laydate.render({
elem: '#register_date'
});
layui.form.on('submit(car-info)', function(data){
$.post('<?php echo url("index/edit"); ?>',data.field,function(ret){
layer.msg(ret['msg'],function(){
if(ret['code'] == 1){
window.parent.layer.closeAll();
window.parent.layui.table.reload('carInfo');
}
delete ret;
});
});
return false;
});
</script>
</body>
</html>