Commit 89c4285d authored by agping's avatar agping

1

parent 8fff1e57
{layout name="global/frame_two_tpl" /} {layout name="global/frame_two_tpl" /}
<input type="hidden" class="page-load" id="accountingTable" /> <input type="hidden" class="page-load" id="accountingTable" />
<style type="text/css"> <style type="text/css">
.col-xs-3{
padding-left: 8px;
padding-right: 8px;
};
/*图片*/
.clear{
clear: both;
}
.J_preview {
width: 30px;
height: 30px;
border-radius: 15px;
}
/*黑名单上传图片的样式*/
.modal-body-height {
overflow-y: auto;
height: 432px;
}
#container_body_img_area>div{
float: left;
width: 172px;
}
.img-pre-ul {
padding-left: 0;
overflow: hidden;
}
.img-pre-ul>li {
list-style: no;
float: left;
width: 210px;
height: 170px;
overflow: hidden;
margin-right: 10px;
margin-top: 10px;
}
.img-pre-ul>li>img {
float: left;
width: 210px;
height: 140px;
object-fit: contain;
cursor: pointer;
}
.img-pre-ul>li>a {
float: left;
width: 210px;
text-align: center;
line-height: 30px;
}
/*图片点击放大预览区域的样式*/
#img_mask_area {
position: fixed;
left: 0;
top: 0;
width: 100%;
height: 100%;
overflow: hidden;
z-index: 1999;
background-color: rgba(0, 0, 0, .3);
display: none;
}
#img_mask_area>img {
width: 900px;
height: 700px;
object-fit: contain;
position: absolute;
left: 50%;
top: 50%;
margin-left: -450px;
margin-top: -350px;
}
.input-100-width {
width: 100px!important;
}
.list-group-item>.full-width-100>label {
width: 60px;
}
.list-group-item>.full-pic-area>label {
width: 120px;
}
.result>img,.result2>img{
width: 120px;
height: 120px;
margin-top: 8px;
}
#container_body{
position: relative;
overflow: hidden;
}
.modal-body-width{
width: 900px;
}
.span-del2,.span-del{
color: red;
cursor: pointer;
}
.span-del2-du,.span-del-du,.span-del-open{
color: red;
cursor: pointer;
}
#file_input {
opacity: 0;
position: absolute;
top: 0;
left: 145px;
height: 35px;
width: 80px;
}
#file_input3 {
opacity: 0;
position: absolute;
top: 0;
left: 145px;
height: 35px;
width: 100px;
}
.delet-pic-btn,.span-del3 {
color: red;
}
/*图片*/
.clear{
clear: both;
}
/*加载图标*/
#main_loading_pic {
position: fixed;
top: 50%;
left: 50%;
width: 100px;
height: 100px;
margin-left: 50px;
margin-top: -100px;
overflow: hidden;
display: none;
}
h4{
font-weight: 700;
font-size: 16px;
margin:0 ;
margin-bottom: 5px;
}
.manager-title{ .manager-title{
float: left; float: left;
font-size: 16px; font-size: 16px;
font-weight: 700; font-weight: 700;
margin-top: 11px; margin-top: 11px;
} }
.btn4-pk{
width: 150px!important;
float: left;
margin-left: 10px;
}
.input-pk-style{
display: block;
width: 100%;
height: 30px;
padding: 3px 6px;
font-size: 14px;
line-height: 30px;
color: #666;
background-color: #fff;
background-image: none;
border: 1px solid #ccc;
}
.table{
margin-bottom: 0px;
}
.is-submit-div{
text-align: center;
}
.is-submit,.is-print{
background-color: #286090;
color: white;
padding: 0 3px;
border-radius: 6px;
width: 111px;
height: 34px;
line-height: 34px;
font-size: 15px;
text-align: center;
cursor: pointer;
}
.is-print{
width: 80px;
display: none;
float: left;
}
.tip-con{
margin-top: 5px;
}
/*收款详情*/
#container_body_img_area_du>div{
float: left;
width: 216px;
}
.modal-body-width-du{
/*width: 1200px;*/
width: 998px;
}
.col-xs-12 {
overflow: hidden;
}
.p-a-0 {
padding:0px;
}
.p-l-15 {
padding-left:15px !important;
}
.p-t-10{
padding-top:10px !important;
}
.no-border{
border : none;
}
#preview img{
height:300px !important;
width:500px !important;
}
#preview {
height:300px !important;
width:500px !important;
}
.active {
color:dodgerblue;
}
#file_input_pic{
opacity: 0;
position: absolute;
top: 0;
left: 145px;
height: 35px;
width: 80px;
}
#file_input_pic_xi {
opacity: 0;
position: absolute;
top: 0;
left: 0;
height: 35px;
width: 80px;
}
#file_input_pic_open {
opacity: 0;
position: absolute;
top: 0;
left: 0;
height: 35px;
width: 80px;
}
.hide {
display: none !important;
}
.result-du ,.result-du-open{
width:130px;
height:auto;
float:left;
text-align:center;
color:red;
}
.result-du>img,.result2-du>img,.result-du-l>img,.result-du-open>img{
width: 120px;
height: 120px;
margin-top: 8px;
}
#container_body_du{
position: relative;
overflow: hidden;
}
.tit_con{
cursor: pointer;
}
.form-group{
margin: 10px;
}
.reportArea{
float: left;
position: relative;
overflow-y:scroll ;
height:100px;
left: 0px;
width:100%;
line-height: 30px;
}
.reportArea li{
list-style: none;
line-height: 20px;
}
.intoIdArea{
float: left;
position: relative;
overflow-y:scroll ;
height:100px;
left: 0px;
width:100%;
line-height: 30px;
}
.intoIdArea li{
list-style: none;
line-height: 20px;
}
.user-ul{
text-align:center;
float: left;
position: relative;
overflow-y:scroll ;
height:100px;
left: 0px;
width:100%;
line-height: 30px;
}
.user-ul li{
list-style: none;
line-height: 20px;
}
ul {
-webkit-padding-start: 0px !important;
}
</style> </style>
<div id="page-content-wrapper"> <div id="page-content-wrapper">
<div class="container" id="screen_shot_area"> <div class="container" id="screen_shot_area">
...@@ -341,10 +16,9 @@ ...@@ -341,10 +16,9 @@
<div class="panel-heading breadcrumb"> <div class="panel-heading breadcrumb">
<li> <li>
<span class="manager-title ld-Marheight">杭州同联- 九部一组周小雨</span> <span class="manager-title ld-Marheight">杭州同联- 九部一组周小雨</span>
<input class="btn4-pk ld-Marheight input-pk-style" value="" data-rule-phoneus="false" data-rule-required="false" id="create_time_start" name="start_date1" type="date"> <input class="form-control ld-Marheight" value="" data-rule-phoneus="false" data-rule-required="false" id="create_time_start" name="start_date1" type="date" style="width: 150px;float: left;margin-left: 20px;">
<span class="is-print ld-Marheight">打印</span> <a class="btn btn-info is-print ld-Marheight" style="margin-left: 20px;">打印</a>
<a class="btn btn-info is-close ld-Marheight" style="margin-left: 20px;">导出excel</a>
<a class="btn btn-default is-close ld-Marheight" style="display: none;margin-left: 20px;">关闭</a>
</li> </li>
</div> </div>
......
...@@ -5,34 +5,6 @@ define(['doT','html2canvas','text!temp/accountingTable_list_template_tpl.html', ...@@ -5,34 +5,6 @@ define(['doT','html2canvas','text!temp/accountingTable_list_template_tpl.html',
/*第几页*/ /*第几页*/
pageSize: 10, pageSize: 10,
/*每页显示多少条*/ /*每页显示多少条*/
mainTabIndex: 0,
detailTabIndex: 0,
bargain_id: '',
order_id: 0,//订单id
maidTotalCommission: 0,//应收总佣金
financialTime: '',//应收总佣金
recordid: '', //收款id
isFinancial: 0, //收款id
operationStatus:0,
daily_id:0,//日报id
store_id:'',//日报id
house_fatherid:'',//收款id
house_id: '',
caiwu_site_id: '',
adjusment_id:'',
payment_details_price:'',
payment_details_money:'',
receivedMoneyLiu:'',
isAjaxSaving: false,//防重复提交 财务日报
dataUrl:'',//文件流
pay_log_id_open:'',//提交开业申请的数据
report_id_open:'',
bargain_id_open:'',
order_id_open:'',
house_id_open:'',
house_address_open:'',
isOffice:1,//1商铺 2办公楼
isOfficeUrl:1,//1商铺 2办公楼 URL
init: function() { init: function() {
//初始化时间 //初始化时间
...@@ -51,7 +23,7 @@ define(['doT','html2canvas','text!temp/accountingTable_list_template_tpl.html', ...@@ -51,7 +23,7 @@ define(['doT','html2canvas','text!temp/accountingTable_list_template_tpl.html',
var that = bargain; var that = bargain;
var _doc = $(document); var _doc = $(document);
//店长日报 时间搜索 //门店成本 时间搜索
_doc.on('input', '#create_time_start', function() { _doc.on('input', '#create_time_start', function() {
bargain.financialTime = $('#create_time_start').val(); bargain.financialTime = $('#create_time_start').val();
if(!($('#create_time_start').val())){ if(!($('#create_time_start').val())){
...@@ -68,14 +40,8 @@ define(['doT','html2canvas','text!temp/accountingTable_list_template_tpl.html', ...@@ -68,14 +40,8 @@ define(['doT','html2canvas','text!temp/accountingTable_list_template_tpl.html',
window.print(); window.print();
}); });
//搜索的重置
$("#maintable_reset").click(function() {
document.getElementById("maintable_form_search").reset();
bargain.agent_id_phone='';
});
var _doc = $(document);
}, },
//获取一级审核,二级审核,三级审核数据列表共用的方法 //获取门店成本数据
getList: function(pageNo){ getList: function(pageNo){
console.count('bar'); console.count('bar');
var params = { var params = {
...@@ -86,7 +52,7 @@ define(['doT','html2canvas','text!temp/accountingTable_list_template_tpl.html', ...@@ -86,7 +52,7 @@ define(['doT','html2canvas','text!temp/accountingTable_list_template_tpl.html',
}; };
$.ajax({ $.ajax({
type: 'GET', type: 'GET',
url: '/index/dailyDetail', url: '/index/getStoreFeeDetail',
data: params, data: params,
timeout: 30000, timeout: 30000,
dataType: 'json', dataType: 'json',
...@@ -100,6 +66,7 @@ define(['doT','html2canvas','text!temp/accountingTable_list_template_tpl.html', ...@@ -100,6 +66,7 @@ define(['doT','html2canvas','text!temp/accountingTable_list_template_tpl.html',
//中介费 //中介费
var doTtmpl = doT.template(document.getElementById('a_financial_daily_list_tpl').innerHTML); var doTtmpl = doT.template(document.getElementById('a_financial_daily_list_tpl').innerHTML);
$("#maintable_list_a").html(doTtmpl(data.data.list.agency_fee)); $("#maintable_list_a").html(doTtmpl(data.data.list.agency_fee));
/*分页代码*/ /*分页代码*/
add_page(data.data.total, pageNo, bargain.pageSize, bargain.getList); add_page(data.data.total, pageNo, bargain.pageSize, bargain.getList);
......
<!--中介费--> <!--中介费-->
<script id="a_financial_daily_list_tpl" type="text/template"> <script id="a_financial_daily_list_tpl" type="text/template">
[% if(it.length) { %] [% if(it.length) { %]
[% for(var item in it){ %] [% for(var item in it){ %]
...@@ -53,3 +52,4 @@ ...@@ -53,3 +52,4 @@
</tr> </tr>
[% } %] [% } %]
</script> </script>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment