Commit 0c1419dd authored by xishifeng's avatar xishifeng

提交成交报告修改

parent 925f04c2
...@@ -12,8 +12,14 @@ ...@@ -12,8 +12,14 @@
<body class="body-pc" style="display: none;"> <body class="body-pc" style="display: none;">
<div id="app"> <div id="app">
<nav class="oh">
<a href="javascript:;" class="btn-pc">成交信息</a>
<a href="javascript:;" class="btn-pc">分佣提成</a>
<a href="javascript:;" class="btn-pc">开票税费</a>
</nav>
<main> <main>
<section class="list-area1 oh"> <section>
<div class="list-area1 oh">
<ul> <ul>
<li> <li>
<div>商铺类型:</div> <div>商铺类型:</div>
...@@ -66,13 +72,14 @@ ...@@ -66,13 +72,14 @@
<div>商场</div> <div>商场</div>
</li> </li>
</ul> </ul>
</section> </div>
<div class="list-area2">
<section class="list-area2">
<p>分佣提成</p> <p>分佣提成</p>
<ul></ul> <ul></ul>
</div>
</section> </section>
<section></section>
<section></section>
</main> </main>
</div> </div>
......
@charset "utf-8"; @charset "utf-8";
body{ body{
max-width: 800px; max-width: 1454px;
} }
.list-area1{} .list-area1{}
.list-area1>ul{ .list-area1>ul{
...@@ -106,26 +106,20 @@ body{ ...@@ -106,26 +106,20 @@ body{
cursor: pointer; cursor: pointer;
} }
.btn-area{
width: 100%; /********/
height: 50px; nav{
padding-top: 50px; padding: 15px;
} }
.btn-area>div{
height: 50px; nav>a{
float: left;
} }
.btn-area>div:nth-of-type(2){ nav>a+a{
position: fixed; margin-left: 5px;
left: 0;
bottom: 0;
width: 100%;
} }
.btn-area>div:nth-of-type(2)>a{
color: white; main>section:nth-of-type(1){
font-size: 14px; width: 800px;
padding: 6px 12px; margin: 0 auto;
border-radius: 4px;
background-image: linear-gradient(to bottom,#428bca 0,#3071a9 100%);
background-repeat: repeat-x;
border: 1px solid #2d6ca2;
} }
...@@ -362,5 +362,20 @@ display: none;}*/ ...@@ -362,5 +362,20 @@ display: none;}*/
.body-pc{ .body-pc{
background-color: white; background-color: white;
font-size: 14px; font-size: 14px;
max-width: 800px; }
.btn-pc{
color: #333;
font-size: 14px;
padding: 6px 12px;
border-radius: 4px;
background-repeat: repeat-x;
background-image: linear-gradient(to bottom,#fff 0,#e6e6e6 100%);
border: 1px solid #ccc;
}
.btn-default-pc{
color: white;
background-image: linear-gradient(to bottom,#428bca 0,#3071a9 100%);
border: 1px solid #2d6ca2;
} }
...@@ -87,8 +87,9 @@ body{ ...@@ -87,8 +87,9 @@ body{
top: 34px; top: 34px;
left: 0; left: 0;
width: 140%; width: 140%;
background: white; background-color: white;
border: 1px solid #ccc; border: 1px solid #ccc;
z-index: 1;
display: none; display: none;
/*border-top: none;*/ /*border-top: none;*/
} }
......
'use strict'; 'use strict';
require(['vue', 'css!style/submit_report_pc.css', 'jquery0325', 'common'], function(Vue, VConsole) { require(['vue', 'css!style/bargaininfo_detail_static_pc.css', 'jquery0325', 'common'], function(Vue, VConsole) {
var user_info_obj = JSON.parse(decodeURIComponent(localStorage.getItem('pcUserInfo'))); //读取缓存 var user_info_obj = JSON.parse(decodeURIComponent(localStorage.getItem('pcUserInfo'))); //读取缓存
var order_info_obj = JSON.parse(decodeURIComponent(getUrlParam('packdata')));//获取订单相关信息 var order_info_obj = JSON.parse(decodeURIComponent(getUrlParam('packdata')));//获取订单相关信息
var _doc = $(document); var _doc = $(document);
......
...@@ -233,12 +233,13 @@ require(['vue', 'css!style/submit_report_pc.css', 'jquery0325', 'common'], funct ...@@ -233,12 +233,13 @@ require(['vue', 'css!style/submit_report_pc.css', 'jquery0325', 'common'], funct
'trade_type': _this.trade_type,//成交类型 'trade_type': _this.trade_type,//成交类型
'price': _this.price,//成交价格 'price': _this.price,//成交价格
'commission': _this.commission,//佣金 'commission': _this.commission,//佣金
'estimated_receipt_date': _this.estimated_receipt_date//预计收款时间 'estimated_receipt_date': new Date(_this.estimated_receipt_date).getTime()//预计收款时间
}; };
var _subLiObj = $('.fenyong-li'); var _subLiObj = $('.fenyong-li');
var _isBreak = false; var _isBreak = false;
var _dataArr = []; var _dataArr = [];
var _fanqianNum = 0;
$.each(_subLiObj, function(i, v) { $.each(_subLiObj, function(i, v) {
var _$v = $(v); var _$v = $(v);
var _role = _$v.find('.fenyong-fang').val(); var _role = _$v.find('.fenyong-fang').val();
...@@ -248,6 +249,14 @@ require(['vue', 'css!style/submit_report_pc.css', 'jquery0325', 'common'], funct ...@@ -248,6 +249,14 @@ require(['vue', 'css!style/submit_report_pc.css', 'jquery0325', 'common'], funct
if(_role == ''){ if(_role == ''){
alert('请填写分佣方'); alert('请填写分佣方');
_isBreak = true; _isBreak = true;
return false;
};
if(_role == '3'){
_fanqianNum += 1;
};
if(_fanqianNum>1){
alert('反签方只能有一个');
_isBreak = true;
return false; return false;
}; };
if(!_agent_id){ if(!_agent_id){
......
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