Commit 9ed94649 authored by 张恒's avatar 张恒

Demo

parent 3e971ee7
...@@ -50,13 +50,13 @@ ...@@ -50,13 +50,13 @@
<winners-list style="height: 96%;overflow: auto;" :mouseHand="true" @click.native="goArBar" id="ar_company_list" :rows="arCompanyList"/> <winners-list style="height: 96%;overflow: auto;" :mouseHand="true" @click.native="goArBar" id="ar_company_list" :rows="arCompanyList"/>
</display-board> </display-board>
<div class="trade_middle" style="border: none;box-shadow: none;"> <div class="trade_middle" style="border: none;box-shadow: none;">
<div style="display: flex; justify-content: space-between; height: 50%;"> <div style="display: flex; justify-content: space-between; height: 50%; white-space: nowrap;">
<display-board style="width: 32%;" title="每日目标情况" :mouseHand="true" @click.native="routerTo('/target-achievement','day')"> <display-board style="width: 32%;" title="每日目标情况" :mouseHand="true" @click.native="routerTo('/target-achievement','day')">
<div <div
style="width: 100%; height: 100%; float:left; padding: 2%; line-height: 33px; display: flex; align-items: center; font-size: 10px;"> style="width: 100%; height: 100%; float:left; padding: 2%; line-height: 33px; display: flex; align-items: center; font-size: 10px;">
<table-column style="float: left;width: 35%;" :data="targetAchievement.day" name="title" show-head/> <table-column style="float: left;width: 35%;" :data="targetAchievement.day" name="title" show-head/>
<table-column <table-column
style="float: left;width: 45%;font-size: 24px;font-weight: bold;color: #5eeef4;text-align: center;" style="float: left;width: 45%;font-size: 20px;font-weight: bold;color: #5eeef4;text-align: center;"
:data="targetAchievement.day" name="actualValue" title="实时值" show-head/> :data="targetAchievement.day" name="actualValue" title="实时值" show-head/>
<table-column style="float: left;width: 20%;" :data="targetAchievement.day" name="targetValue" title="目标值" <table-column style="float: left;width: 20%;" :data="targetAchievement.day" name="targetValue" title="目标值"
show-head/> show-head/>
...@@ -67,7 +67,7 @@ ...@@ -67,7 +67,7 @@
style="width: 100%; height: 100%; float:left; padding: 2%; line-height: 33px; display: flex; align-items: center; font-size: 10px;"> style="width: 100%; height: 100%; float:left; padding: 2%; line-height: 33px; display: flex; align-items: center; font-size: 10px;">
<table-column style="float: left;width: 35%;" :data="targetAchievement.month" name="title" show-head/> <table-column style="float: left;width: 35%;" :data="targetAchievement.month" name="title" show-head/>
<table-column <table-column
style="float: left;width: 45%;font-size: 24px;font-weight: bold;color: #5eeef4;text-align: center;" style="float: left;width: 45%;font-size: 20px;font-weight: bold;color: #5eeef4;text-align: center;"
:data="targetAchievement.month" name="actualValue" title="实时值" show-head/> :data="targetAchievement.month" name="actualValue" title="实时值" show-head/>
<table-column style="float: left;width: 20%;" :data="targetAchievement.month" name="targetValue" title="目标值" <table-column style="float: left;width: 20%;" :data="targetAchievement.month" name="targetValue" title="目标值"
show-head/> show-head/>
...@@ -78,7 +78,7 @@ ...@@ -78,7 +78,7 @@
style="width: 100%; height: 100%; float:left; padding: 2%; line-height: 33px; display: flex; align-items: center; font-size: 10px;"> style="width: 100%; height: 100%; float:left; padding: 2%; line-height: 33px; display: flex; align-items: center; font-size: 10px;">
<table-column style="float: left;width: 35%;" :data="targetAchievement.year" name="title" show-head/> <table-column style="float: left;width: 35%;" :data="targetAchievement.year" name="title" show-head/>
<table-column <table-column
style="float: left;width: 45%;font-size: 24px;font-weight: bold;color: #5eeef4;text-align: center;" style="float: left;width: 45%;font-size: 20px;font-weight: bold;color: #5eeef4;text-align: center;"
:data="targetAchievement.year" name="actualValue" title="实时值" show-head/> :data="targetAchievement.year" name="actualValue" title="实时值" show-head/>
<table-column style="float: left;width: 20%;" :data="targetAchievement.year" name="targetValue" title="目标值" <table-column style="float: left;width: 20%;" :data="targetAchievement.year" name="targetValue" title="目标值"
show-head/> show-head/>
...@@ -602,7 +602,7 @@ export default { ...@@ -602,7 +602,7 @@ export default {
this.targetAchievement.day = this.dataFormatter(day); this.targetAchievement.day = this.dataFormatter(day);
let month = [{"sell_settle_amount":0,"group_name":"总计","gross_profit_amount":0,"target_gross_profit_amount":0,"sort_num":1,"target_unit_weight":0,"target_sell_settle_amount":0,"unit_weight":0,"key":"总计"}]; let month = [{"sell_settle_amount":0,"group_name":"总计","gross_profit_amount":0,"target_gross_profit_amount":0,"sort_num":1,"target_unit_weight":0,"target_sell_settle_amount":0,"unit_weight":0,"key":"总计"}];
this.targetAchievement.month = this.dataFormatter(month); this.targetAchievement.month = this.dataFormatter(month);
let year = [{"sell_settle_amount":77091201.836384,"group_name":"上海事业部-汽运-外发","gross_profit_amount":8174523.653191,"target_gross_profit_amount":2500000,"sort_num":0,"target_unit_weight":880000,"target_sell_settle_amount":100000000,"unit_weight":3139892.174471,"key":"上海事业部"},{"sell_settle_amount":63496115.426714,"group_name":"上海事业部-水运-外发","gross_profit_amount":13120983.73225,"target_gross_profit_amount":4800000,"sort_num":0,"target_unit_weight":2340000,"target_sell_settle_amount":117000000,"unit_weight":1443545.391646,"key":"上海事业部"},{"sell_settle_amount":140587317.263098,"group_name":"上海事业部-小计","gross_profit_amount":21295507.385441,"target_gross_profit_amount":7300000,"sort_num":0,"target_unit_weight":3220000,"target_sell_settle_amount":217000000,"unit_weight":4583437.566117,"key":"上海事业部"},{"sell_settle_amount":8390189.93402,"group_name":"天津事业部-汽运-外发","gross_profit_amount":3853758.221518,"target_gross_profit_amount":0,"sort_num":0,"target_unit_weight":0,"target_sell_settle_amount":0,"unit_weight":156598.709,"key":"天津事业部"},{"sell_settle_amount":8390189.93402,"group_name":"天津事业部-小计","gross_profit_amount":3853758.221518,"target_gross_profit_amount":0,"sort_num":0,"target_unit_weight":0,"target_sell_settle_amount":0,"unit_weight":156598.709,"key":"天津事业部"},{"sell_settle_amount":9235964.928734,"group_name":"广东事业部-汽运-外发","gross_profit_amount":262070.641631,"target_gross_profit_amount":200000,"sort_num":0,"target_unit_weight":120000,"target_sell_settle_amount":8200000,"unit_weight":131398.972,"key":"广东事业部"},{"sell_settle_amount":62148344.910186,"group_name":"广东事业部-水运-外发","gross_profit_amount":9399318.568367,"target_gross_profit_amount":2700000,"sort_num":0,"target_unit_weight":2280000,"target_sell_settle_amount":110000000,"unit_weight":1388034.805,"key":"广东事业部"},{"sell_settle_amount":71384309.83892,"group_name":"广东事业部-小计","gross_profit_amount":9661389.209998,"target_gross_profit_amount":2900000,"sort_num":0,"target_unit_weight":2400000,"target_sell_settle_amount":118200000,"unit_weight":1519433.777,"key":"广东事业部"},{"sell_settle_amount":2975268.55467,"group_name":"江苏事业部-汽运-外发","gross_profit_amount":52651.383704,"target_gross_profit_amount":200000,"sort_num":0,"target_unit_weight":100000,"target_sell_settle_amount":5000000,"unit_weight":31696.566,"key":"江苏事业部"},{"sell_settle_amount":13840981.666537,"group_name":"江苏事业部-水运-外发","gross_profit_amount":3358843.742655,"target_gross_profit_amount":800000,"sort_num":0,"target_unit_weight":850000,"target_sell_settle_amount":25000000,"unit_weight":533022.425,"key":"江苏事业部"},{"sell_settle_amount":16816250.221207,"group_name":"江苏事业部-小计","gross_profit_amount":3411495.126359,"target_gross_profit_amount":1000000,"sort_num":0,"target_unit_weight":950000,"target_sell_settle_amount":30000000,"unit_weight":564718.991,"key":"江苏事业部"},{"sell_settle_amount":6997776.6353,"group_name":"河南事业部-汽运-外发","gross_profit_amount":1681780.49656,"target_gross_profit_amount":0,"sort_num":0,"target_unit_weight":0,"target_sell_settle_amount":0,"unit_weight":29560.2265,"key":"河南事业部"},{"sell_settle_amount":6997776.6353,"group_name":"河南事业部-小计","gross_profit_amount":1681780.49656,"target_gross_profit_amount":0,"sort_num":0,"target_unit_weight":0,"target_sell_settle_amount":0,"unit_weight":29560.2265,"key":"河南事业部"},{"sell_settle_amount":244175843.892545,"group_name":"总计","gross_profit_amount":39903930.439876,"target_gross_profit_amount":11200000,"sort_num":1,"target_unit_weight":6570000,"target_sell_settle_amount":365200000,"unit_weight":6853749.269617,"key":"总计"}]; let year = [{"sell_settle_amount":77091201.836384,"group_name":"上海事业部-汽运-外发","gross_profit_amount":8174523.653191,"target_gross_profit_amount":2500000,"sort_num":0,"target_unit_weight":880000,"target_sell_settle_amount":100000000,"unit_weight":3139892.174471,"key":"上海事业部"},{"sell_settle_amount":63496115.426714,"group_name":"上海事业部-水运-外发","gross_profit_amount":13120983.73225,"target_gross_profit_amount":4800000,"sort_num":0,"target_unit_weight":2340000,"target_sell_settle_amount":117000000,"unit_weight":1443545.391646,"key":"上海事业部"},{"sell_settle_amount":140587317.263098,"group_name":"上海事业部-小计","gross_profit_amount":21295507.385441,"target_gross_profit_amount":7300000,"sort_num":0,"target_unit_weight":3220000,"target_sell_settle_amount":217000000,"unit_weight":4583437.566117,"key":"上海事业部"},{"sell_settle_amount":8390189.93402,"group_name":"天津事业部-汽运-外发","gross_profit_amount":3853758.221518,"target_gross_profit_amount":0,"sort_num":0,"target_unit_weight":0,"target_sell_settle_amount":0,"unit_weight":156598.709,"key":"天津事业部"},{"sell_settle_amount":8390189.93402,"group_name":"天津事业部-小计","gross_profit_amount":3853758.221518,"target_gross_profit_amount":0,"sort_num":0,"target_unit_weight":0,"target_sell_settle_amount":0,"unit_weight":156598.709,"key":"天津事业部"},{"sell_settle_amount":9235964.928734,"group_name":"广东事业部-汽运-外发","gross_profit_amount":262070.641631,"target_gross_profit_amount":200000,"sort_num":0,"target_unit_weight":120000,"target_sell_settle_amount":8200000,"unit_weight":131398.972,"key":"广东事业部"},{"sell_settle_amount":62148344.910186,"group_name":"广东事业部-水运-外发","gross_profit_amount":9399318.568367,"target_gross_profit_amount":2700000,"sort_num":0,"target_unit_weight":2280000,"target_sell_settle_amount":110000000,"unit_weight":1388034.805,"key":"广东事业部"},{"sell_settle_amount":71384309.83892,"group_name":"广东事业部-小计","gross_profit_amount":9661389.209998,"target_gross_profit_amount":2900000,"sort_num":0,"target_unit_weight":2400000,"target_sell_settle_amount":118200000,"unit_weight":1519433.777,"key":"广东事业部"},{"sell_settle_amount":2975268.55467,"group_name":"江苏事业部-汽运-外发","gross_profit_amount":52651.383704,"target_gross_profit_amount":200000,"sort_num":0,"target_unit_weight":100000,"target_sell_settle_amount":5000000,"unit_weight":31696.566,"key":"江苏事业部"},{"sell_settle_amount":13840981.666537,"group_name":"江苏事业部-水运-外发","gross_profit_amount":3358843.742655,"target_gross_profit_amount":800000,"sort_num":0,"target_unit_weight":850000,"target_sell_settle_amount":25000000,"unit_weight":533022.425,"key":"江苏事业部"},{"sell_settle_amount":16816250.221207,"group_name":"江苏事业部-小计","gross_profit_amount":3411495.126359,"target_gross_profit_amount":1000000,"sort_num":0,"target_unit_weight":950000,"target_sell_settle_amount":30000000,"unit_weight":564718.991,"key":"江苏事业部"},{"sell_settle_amount":6997776.6353,"group_name":"河南事业部-汽运-外发","gross_profit_amount":1681780.49656,"target_gross_profit_amount":0,"sort_num":0,"target_unit_weight":0,"target_sell_settle_amount":0,"unit_weight":29560.2265,"key":"河南事业部"},{"sell_settle_amount":6997776.6353,"group_name":"河南事业部-小计","gross_profit_amount":1681780.49656,"target_gross_profit_amount":0,"sort_num":0,"target_unit_weight":0,"target_sell_settle_amount":0,"unit_weight":29560.2265,"key":"河南事业部"},{"sell_settle_amount":24175843,"group_name":"总计","gross_profit_amount":3990393,"target_gross_profit_amount":11200000,"sort_num":1,"target_unit_weight":6570000,"target_sell_settle_amount":36520000,"unit_weight":6853749,"key":"总计"}];
this.targetAchievement.year = this.dataFormatter(year); this.targetAchievement.year = this.dataFormatter(year);
} }
}, },
......
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