Commit d07911c4 authored by 沈良进's avatar 沈良进
parents 76269b21 ed5ecb48
...@@ -86,9 +86,9 @@ ...@@ -86,9 +86,9 @@
</span> </span>
</td> </td>
<td> <td>
<div style="display: flex;justify-content: space-between;align-items: center;padding: 0 5px;"> <div style="display: flex;justify-content: space-between;align-items: center;padding: 0 5px;"
<div> v-for="(x,y) in item.CurrencyRateList" :key="y">
<div v-for="(x,y) in item.CurrencyRateList" <div
:style="{'border-top': y!=0? '1px solid #eeee':''}" :style="{'border-top': y!=0? '1px solid #eeee':''}"
style="text-align: left;"> style="text-align: left;">
<span style="cursor: pointer;"> <span style="cursor: pointer;">
...@@ -97,8 +97,8 @@ ...@@ -97,8 +97,8 @@
<span style="color: #6E6E6E;">{{x.CurrencyName}}</span> <span style="color: #6E6E6E;">{{x.CurrencyName}}</span>
</div> </div>
</div> <div style="flex-shrink: 0;justify-content: end;align-items: flex-end;"
<div style="flex-shrink: 0;"> v-if="y==item.CurrencyRateList.length-1">
<i v-if="item.FinanceIdList.length==0" <i v-if="item.FinanceIdList.length==0"
class="el-icon-edit" class="el-icon-edit"
style="color: #409eff;cursor: pointer;" @click="editRate(item)"></i> style="color: #409eff;cursor: pointer;" @click="editRate(item)"></i>
...@@ -115,7 +115,7 @@ ...@@ -115,7 +115,7 @@
<el-button type="primary" class="CM_look" @click="goUrl('domesticCommissionUserTW',item.Id)" <el-button type="primary" class="CM_look" @click="goUrl('domesticCommissionUserTW',item.Id)"
icon="iconfont icon-chakan" circle></el-button> icon="iconfont icon-chakan" circle></el-button>
</el-tooltip> </el-tooltip>
<el-tooltip v-if="cMaker==true&&item.BranchCommission>0" class="item" effect="dark" content="制单" placement="top"> <el-tooltip v-if="cMaker==true&&item.BranchCommission>0&&item.CurrencyRateList[0].Rate>0" class="item" effect="dark" content="制单" placement="top">
<el-button @click="YijianZD(item)" type="danger" class="CM_look" v-if="cMaker==true" <el-button @click="YijianZD(item)" type="danger" class="CM_look" v-if="cMaker==true"
icon="iconfont icon-mui-icon-add" circle></el-button> icon="iconfont icon-mui-icon-add" circle></el-button>
</el-tooltip> </el-tooltip>
...@@ -131,12 +131,17 @@ ...@@ -131,12 +131,17 @@
<el-pagination background @current-change="handleCurrentChange" :current-page.sync="msg.pageIndex" <el-pagination background @current-change="handleCurrentChange" :current-page.sync="msg.pageIndex"
layout="total,prev, pager, next, jumper" :page-size='msg.pageSize' :total='total'> layout="total,prev, pager, next, jumper" :page-size='msg.pageSize' :total='total'>
</el-pagination> </el-pagination>
<el-dialog title="修改本位币汇率" :visible.sync="showVisible" width="400px"> <el-dialog title="修改本位币汇率" :visible.sync="showVisible" width="450px">
<el-form ref="addMsg" :model="addMsg" :rules="rules" label-width="110px"> <el-form ref="addMsg" :model="addMsg" :rules="rules" label-width="110px">
<div v-for="(x,y) in addMsg.CurrencyRate" :key="y"> <div v-for="(x,y) in addMsg.CurrencyRate" :key="y">
<el-row> <el-row>
<el-col :span="24"> <el-col :span="5">
<el-form-item label="本位币汇率" :prop="'CurrencyRate.'+ y +'.Rate'" <el-form-item :label="x.OutBranchName">
</el-form-item>
</el-col>
<el-col :span="19">
<el-form-item label="发放汇率" :prop="'CurrencyRate.'+ y +'.Rate'"
:rules="productCurrencyRate.Rate"> :rules="productCurrencyRate.Rate">
<el-input type="Number" v-model="x.Rate"> <el-input type="Number" v-model="x.Rate">
<template slot="append" style="width: 100%;">{{x.CurrencyName}}</template> <template slot="append" style="width: 100%;">{{x.CurrencyName}}</template>
...@@ -368,10 +373,11 @@ ...@@ -368,10 +373,11 @@
let obj = { let obj = {
CostType: 16, CostType: 16,
Money: Money, Money: Money,
CurrencyId: 1, CurrencyId: item.CurrencyRateList[0].CurrencyId,
XSTC: 1, XSTC: 1,
OtherType:69, OtherType:69,
ReFinanceId:item.Id ReFinanceId:item.Id,
Rate: item.CurrencyRateList[0].Rate
} }
let query = { let query = {
blank: "y", blank: "y",
......
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