Browse Source

优化20220427文档内容

master
ltlzx 4 years ago
parent
commit
88bcabcbc5
  1. 8
      src/components/orderDetails/index.vue
  2. 18
      src/components/page/fundSettlement/splitProportion.vue
  3. 6
      src/components/page/order/index.vue

8
src/components/orderDetails/index.vue

@ -63,7 +63,7 @@
<p>交易佣金¥ {{order_info.service_charge}}</p> --> <p>交易佣金¥ {{order_info.service_charge}}</p> -->
<!-- <p>保证金¥ {{order_info.earnest_money}}</p> --> <!-- <p>保证金¥ {{order_info.earnest_money}}</p> -->
<p v-for="(item,index) in ratio_setting.detail" :key="index"> <p v-for="(item,index) in ratio_setting.detail" :key="index">
<span>{{item.role_type==1?'委托方':item.role_type==2?'购买方':'平台方'}}分账比列 <span>{{item.role_type==2?'被授权方交易佣金':item.role_type==1?'授权商交易结算':'平台方结算'}}比列
{{item.calculate==1?item.ratio:item.amount}} {{item.calculate==1?item.ratio:item.amount}}
</span> </span>
</p> </p>
@ -235,6 +235,12 @@
this.bill=res.data.bill this.bill=res.data.bill
this.buyuser=res.data.buyuser this.buyuser=res.data.buyuser
this.ratio_setting=res.data.ratio_setting this.ratio_setting=res.data.ratio_setting
this.ratio_setting.detail.splice(
1,
1,
...this.ratio_setting.detail.splice(1 - 1, 1, this.ratio_setting.detail[1])
);
console.info(this.ratio_setting)
}else{ }else{
this.$message.error(res.msg); this.$message.error(res.msg);
} }

18
src/components/page/fundSettlement/splitProportion.vue

@ -90,7 +90,7 @@
<a-select v-model="item.role_type"> <a-select v-model="item.role_type">
<a-select-option value="1">授权方</a-select-option> <a-select-option value="1">授权方</a-select-option>
<a-select-option value="2">被授权方</a-select-option> <a-select-option value="2">被授权方</a-select-option>
<a-select-option value="3">深圳文化产权交易所</a-select-option> <a-select-option value="3">平台方</a-select-option>
<!-- <a-select-option value="4">区域中心</a-select-option> <!-- <a-select-option value="4">区域中心</a-select-option>
<a-select-option value="5">第三方服务机构</a-select-option> --> <a-select-option value="5">第三方服务机构</a-select-option> -->
</a-select> </a-select>
@ -101,7 +101,7 @@
<!-- <a-select-option value="1">委托服务费用</a-select-option> <!-- <a-select-option value="1">委托服务费用</a-select-option>
<a-select-option value="2">交易服务费用</a-select-option> <a-select-option value="2">交易服务费用</a-select-option>
<a-select-option value="3">认证服务费用</a-select-option> --> <a-select-option value="3">认证服务费用</a-select-option> -->
<a-select-option value="1">交易佣金费用</a-select-option> <a-select-option value="1">{{item.role_type==2?'交易佣金':'交易结算'}}</a-select-option>
</a-select> </a-select>
</a-col> </a-col>
<a-col :span="7" class="query_item rule_item"> <a-col :span="7" class="query_item rule_item">
@ -143,8 +143,8 @@
<!-- 查看规则 --> <!-- 查看规则 -->
<a-modal v-model="visible" title="查看规则" width="570px" :bodyStyle="{'height':'300px'}"> <a-modal v-model="visible" title="查看规则" width="570px" :bodyStyle="{'height':'300px'}">
<div class="rule_item1" v-for="(item,i) in ruleList" :key="i"> <div class="rule_item1" v-for="(item,i) in ruleList" :key="i">
<span>{{item.role_type==1?'授权方':item.role_type==2?'被授权方':'深圳文化产权交易所'}}</span> <span>{{item.role_type==1?'授权方':item.role_type==2?'被授权方':'平台方'}}</span>
<span class="rule_item1_span">交易服务费用{{item.calculate==1?'比例':'固定'}}</span> <span class="rule_item1_span">{{item.role_type==2?'交易佣金':'交易结算'}}{{item.calculate==1?'比例':'固定'}}</span>
<span v-if="item.calculate==1">{{item.ratio}}%</span> <span v-if="item.calculate==1">{{item.ratio}}%</span>
<span v-if="item.calculate==2">{{item.amount}}%</span> <span v-if="item.calculate==2">{{item.amount}}%</span>
</div> </div>
@ -165,8 +165,8 @@ export default {
return{ return{
query1:{ query1:{
ratio:[ ratio:[
{role_type:'1',cost_type:'1',calculate:'1',amount:'',ratio:null,},
{role_type:'2',cost_type:'1',calculate:'1',amount:'',ratio:null,}, {role_type:'2',cost_type:'1',calculate:'1',amount:'',ratio:null,},
{role_type:'1',cost_type:'1',calculate:'1',amount:'',ratio:null,},
{role_type:'3',cost_type:'1',calculate:'1',amount:'',ratio:null,}, {role_type:'3',cost_type:'1',calculate:'1',amount:'',ratio:null,},
], ],
rule_name:'' rule_name:''
@ -245,6 +245,12 @@ export default {
if(res.code==200){ if(res.code==200){
this.visible=true this.visible=true
this.ruleList=res.data this.ruleList=res.data
this.ruleList.splice(
1,
1,
...this.ruleList.splice(1 - 1, 1, this.ruleList[1])
);
}else{ }else{
this.$message.error(res.msg); this.$message.error(res.msg);
} }
@ -362,6 +368,8 @@ export default {
} }
.rule_item1{ .rule_item1{
margin-bottom: 22px; margin-bottom: 22px;
padding-bottom: 10px;
border-bottom: 1px solid rgb(153, 153, 153);
} }
.rule_item1 span{ .rule_item1 span{
display: inline-block; display: inline-block;

6
src/components/page/order/index.vue

@ -185,7 +185,7 @@ export default {
// }, // },
{ {
title: '交易方式', title: '交易方式',
// width:'90px', width:'90px',
dataIndex: 'entrust_type', dataIndex: 'entrust_type',
// align:'center' // align:'center'
}, },
@ -196,14 +196,14 @@ export default {
}, },
{ {
title: '交易状态', title: '交易状态',
// width:'90px', width:'90px',
dataIndex: 'status', dataIndex: 'status',
scopedSlots: { customRender: 'status' }, scopedSlots: { customRender: 'status' },
// align:'center' // align:'center'
}, },
{ {
title: '操作', title: '操作',
// width:'170px', width:'170px',
scopedSlots: { customRender: 'operation' }, scopedSlots: { customRender: 'operation' },
// align:'center' // align:'center'
}, },

Loading…
Cancel
Save