Commit 2056f47a authored by youjie's avatar youjie

no message

parent 0b2ba636
...@@ -131,24 +131,14 @@ ...@@ -131,24 +131,14 @@
<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="600px"> <el-dialog title="修改本位币汇率" :visible.sync="showVisible" width="400px">
<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="12"> <el-col :span="24">
<el-form-item label="币种" :prop="'CurrencyRate.'+ y +'.CurrencyId'"
:rules="productCurrencyRate.CurrencyId">
<el-select placeholder="选择币种"
v-model="x.CurrencyId" style="width: 100%;">
<el-option v-for="item in allCurrencyList" :key="item.ID" :label="item.Name" :value="item.ID">
</el-option>
</el-select>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="本位币汇率" :prop="'CurrencyRate.'+ y +'.Rate'" <el-form-item label="本位币汇率" :prop="'CurrencyRate.'+ y +'.Rate'"
:rules="productCurrencyRate.Rate"> :rules="productCurrencyRate.Rate">
<el-input type="text" v-model="x.Rate"></el-input> <el-input type="text" v-model="x.Rate" ><template slot="append">{{x.CurrencyName}}</template></el-input>
</el-form-item> </el-form-item>
</el-col> </el-col>
</el-row> </el-row>
...@@ -244,7 +234,6 @@ ...@@ -244,7 +234,6 @@
); );
}, },
editRate(item){ editRate(item){
console.log(item,'======')
this.addMsg.PeriodsId = item.Id this.addMsg.PeriodsId = item.Id
this.addMsg.CurrencyRate = item.CurrencyRateList this.addMsg.CurrencyRate = item.CurrencyRateList
......
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