Commit fd6d5128 by yangxiaolei

金额格式整改

parent 914bbcf2
...@@ -457,7 +457,7 @@ ...@@ -457,7 +457,7 @@
</el-table-column> </el-table-column>
<el-table-column prop="opncur" label="币种" width="389px"> <el-table-column prop="opncur" label="币种" width="389px">
</el-table-column> </el-table-column>
<el-table-column prop="opnamt" label="余额" width="389px"> <el-table-column prop="opnamt" label="余额" width="389px" :formatter="rounding">
</el-table-column> </el-table-column>
<el-table-column prop="bckamt" label="现在偿还" width="389px"> <el-table-column prop="bckamt" label="现在偿还" width="389px">
</el-table-column> </el-table-column>
......
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
</el-table-column> </el-table-column>
<el-table-column prop="cur" label="业务币种" sortable width="80"> <el-table-column prop="cur" label="业务币种" sortable width="80">
</el-table-column> </el-table-column>
<el-table-column prop="cbeamt" label="业务发生额" sortable width="90"> <el-table-column prop="cbeamt" label="业务发生额" sortable width="90" :formatter="rounding">
</el-table-column> </el-table-column>
<el-table-column <el-table-column
prop="reqtyp1" prop="reqtyp1"
...@@ -24,6 +24,7 @@ ...@@ -24,6 +24,7 @@
label="额度发生额" label="额度发生额"
sortable sortable
width="100" width="100"
:formatter="rounding"
> >
</el-table-column> </el-table-column>
<el-table-column <el-table-column
...@@ -38,6 +39,7 @@ ...@@ -38,6 +39,7 @@
label="敞口发生额" label="敞口发生额"
sortable sortable
width="100" width="100"
:formatter="rounding"
> >
</el-table-column> </el-table-column>
<el-table-column prop="credat" label="额度日期" sortable width="100"> <el-table-column prop="credat" label="额度日期" sortable width="100">
......
...@@ -290,9 +290,9 @@ ...@@ -290,9 +290,9 @@
</el-table-column> </el-table-column>
<el-table-column prop="cpsxed" label="产品授信额度" width="100px"> <el-table-column prop="cpsxed" label="产品授信额度" width="100px">
</el-table-column> </el-table-column>
<el-table-column prop="balamt" label="产品可用额度" width="100px"> <el-table-column prop="balamt" label="产品可用额度" width="100px" :formatter="rounding">
</el-table-column> </el-table-column>
<el-table-column prop="useamt" label="产品已用额度" width="100px"> <el-table-column prop="useamt" label="产品已用额度" width="100px" :formatter="rounding">
</el-table-column> </el-table-column>
<el-table-column prop="cpsxck" label="产品授信敞口" width="100px"> <el-table-column prop="cpsxck" label="产品授信敞口" width="100px">
</el-table-column> </el-table-column>
......
...@@ -294,11 +294,11 @@ ...@@ -294,11 +294,11 @@
</el-table-column> </el-table-column>
<el-table-column prop="ccvpct" label="保证金比例" width="100px"> <el-table-column prop="ccvpct" label="保证金比例" width="100px">
</el-table-column> </el-table-column>
<el-table-column prop="cpsxed" label="产品授信额度" width="100px"> <el-table-column prop="cpsxed" label="产品授信额度" width="100px" :formatter="rounding">
</el-table-column> </el-table-column>
<el-table-column prop="balamt" label="产品可用额度" width="100px"> <el-table-column prop="balamt" label="产品可用额度" width="100px" :formatter="rounding">
</el-table-column> </el-table-column>
<el-table-column prop="useamt" label="产品已用额度" width="100px"> <el-table-column prop="useamt" label="产品已用额度" width="100px" :formatter="rounding">
</el-table-column> </el-table-column>
<el-table-column prop="cpsxck" label="产品授信敞口" width="100px"> <el-table-column prop="cpsxck" label="产品授信敞口" width="100px">
</el-table-column> </el-table-column>
......
...@@ -287,11 +287,11 @@ ...@@ -287,11 +287,11 @@
</el-table-column> </el-table-column>
<el-table-column prop="ccvpct" label="保证金比例" width="100px"> <el-table-column prop="ccvpct" label="保证金比例" width="100px">
</el-table-column> </el-table-column>
<el-table-column prop="cpsxed" label="产品授信额度" width="100px"> <el-table-column prop="cpsxed" label="产品授信额度" width="100px" :formatter="rounding">
</el-table-column> </el-table-column>
<el-table-column prop="balamt" label="产品可用额度" width="100px"> <el-table-column prop="balamt" label="产品可用额度" width="100px" :formatter="rounding">
</el-table-column> </el-table-column>
<el-table-column prop="useamt" label="产品已用额度" width="100px"> <el-table-column prop="useamt" label="产品已用额度" width="100px" :formatter="rounding">
</el-table-column> </el-table-column>
<el-table-column prop="cpsxck" label="产品授信敞口" width="100px"> <el-table-column prop="cpsxck" label="产品授信敞口" width="100px">
</el-table-column> </el-table-column>
......
...@@ -186,9 +186,9 @@ ...@@ -186,9 +186,9 @@
</el-table-column> </el-table-column>
<el-table-column prop="cur" label="币种" width="70px"> <el-table-column prop="cur" label="币种" width="70px">
</el-table-column> </el-table-column>
<el-table-column prop="oldamt" label="余额" width="110px"> <el-table-column prop="oldamt" label="余额" width="110px" :formatter="rounding">
</el-table-column> </el-table-column>
<el-table-column prop="amt" label="变动金额" width="110px"> <el-table-column prop="amt" label="变动金额" width="110px" :formatter="rounding">
</el-table-column> </el-table-column>
<el-table-column prop="acc" label="保证金账号" width="180px"> <el-table-column prop="acc" label="保证金账号" width="180px">
</el-table-column> </el-table-column>
...@@ -196,9 +196,9 @@ ...@@ -196,9 +196,9 @@
</el-table-column> </el-table-column>
<el-table-column prop="concur" label="币种" width="70px"> <el-table-column prop="concur" label="币种" width="70px">
</el-table-column> </el-table-column>
<el-table-column prop="covamt" label="折算后金额" width="110px"> <el-table-column prop="covamt" label="折算后金额" width="110px" :formatter="rounding">
</el-table-column> </el-table-column>
<el-table-column prop="acccovamt" label="实际折算金额" width="150px"> <el-table-column prop="acccovamt" label="实际折算金额" width="150px" :formatter="rounding">
</el-table-column> </el-table-column>
<el-table-column label="操作" width="auto" fixed="right" align="center"> <el-table-column label="操作" width="auto" fixed="right" align="center">
<template slot-scope="scope"> <template slot-scope="scope">
......
...@@ -51,9 +51,9 @@ ...@@ -51,9 +51,9 @@
</el-table-column> </el-table-column>
<el-table-column prop="cur" label="币种" width="70px"> <el-table-column prop="cur" label="币种" width="70px">
</el-table-column> </el-table-column>
<el-table-column prop="oldamt" label="原始金额" width="110px"> <el-table-column prop="oldamt" label="原始金额" width="110px" :formatter="rounding">
</el-table-column> </el-table-column>
<el-table-column prop="amt" label="记账金额" width="110px"> <el-table-column prop="amt" label="记账金额" width="110px" :formatter="rounding">
</el-table-column> </el-table-column>
<el-table-column prop="tenpct" label="%" width="70px"> <el-table-column prop="tenpct" label="%" width="70px">
</el-table-column> </el-table-column>
......
...@@ -282,11 +282,11 @@ ...@@ -282,11 +282,11 @@
</el-table-column> </el-table-column>
<el-table-column prop="ccvpct" label="保证金比例" width="100px"> <el-table-column prop="ccvpct" label="保证金比例" width="100px">
</el-table-column> </el-table-column>
<el-table-column prop="cpsxed" label="产品授信额度" width="100px"> <el-table-column prop="cpsxed" label="产品授信额度" width="100px" :formatter="rounding">
</el-table-column> </el-table-column>
<el-table-column prop="balamt" label="产品可用额度" width="100px"> <el-table-column prop="balamt" label="产品可用额度" width="100px" :formatter="rounding">
</el-table-column> </el-table-column>
<el-table-column prop="useamt" label="产品已用额度" width="100px"> <el-table-column prop="useamt" label="产品已用额度" width="100px" :formatter="rounding">
</el-table-column> </el-table-column>
<el-table-column prop="cpsxck" label="产品授信敞口" width="100px"> <el-table-column prop="cpsxck" label="产品授信敞口" width="100px">
</el-table-column> </el-table-column>
......
...@@ -431,7 +431,7 @@ ...@@ -431,7 +431,7 @@
</c-select> </c-select>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="记账金额" prop="fmtaccamt" width="110px"> <el-table-column label="记账金额" prop="fmtaccamt" :formatter="rounding" width="110px">
<template slot-scope="scope"> <template slot-scope="scope">
<c-input <c-input
v-model="scope.row.fmtaccamt" v-model="scope.row.fmtaccamt"
...@@ -500,7 +500,7 @@ ...@@ -500,7 +500,7 @@
</el-table-column> </el-table-column>
<el-table-column label="原始币种" prop="cur" width="70px"> <el-table-column label="原始币种" prop="cur" width="70px">
</el-table-column> </el-table-column>
<el-table-column label="原始金额" prop="fmtamt" width="110px"> <el-table-column label="原始金额" prop="fmtamt" width="110px" :formatter="rounding">
</el-table-column> </el-table-column>
<el-table-column label="汇率" prop="rat" width="auto"> <el-table-column label="汇率" prop="rat" width="auto">
</el-table-column> </el-table-column>
......
...@@ -74,7 +74,7 @@ ...@@ -74,7 +74,7 @@
<el-table :data="itemList.slice((currentPage-1)*PageSize,currentPage*PageSize)" :border="true" style="width:80%,text-align:center" :header-cell-style="{background:'rgb(235, 235, 235)',color:'#000'}"> <el-table :data="itemList.slice((currentPage-1)*PageSize,currentPage*PageSize)" :border="true" style="width:80%,text-align:center" :header-cell-style="{background:'rgb(235, 235, 235)',color:'#000'}">
<el-table-column label="资产发布编号" width="240px" prop="assposref"></el-table-column>'center' <el-table-column label="资产发布编号" width="240px" prop="assposref"></el-table-column>'center'
<el-table-column label="承付金额" width="200px" prop="accamt" align="right"></el-table-column> <el-table-column label="承付金额" width="200px" prop="accamt" align="right" :formatter="rounding"></el-table-column>
<el-table-column label="承付日期" width="200px" prop="accdat"></el-table-column> <el-table-column label="承付日期" width="200px" prop="accdat"></el-table-column>
<el-table-column label="资产业务类型" width="200px" prop="assbustyp"></el-table-column> <el-table-column label="资产业务类型" width="200px" prop="assbustyp"></el-table-column>
<el-table-column label="资产登记编号" width="240px" prop="assregref"></el-table-column> <el-table-column label="资产登记编号" width="240px" prop="assregref"></el-table-column>
......
...@@ -205,7 +205,7 @@ ...@@ -205,7 +205,7 @@
</el-table-column> </el-table-column>
<el-table-column prop="cur" label="币种" width="70px"> <el-table-column prop="cur" label="币种" width="70px">
</el-table-column> </el-table-column>
<el-table-column prop="oldamt" label="余额" width="110px"> <el-table-column prop="oldamt" label="余额" width="110px" :formatter="rounding">
<!-- <template slot-scope="scope"> <!-- <template slot-scope="scope">
<c-input-currency <c-input-currency
v-model="scope.row.oldamt" v-model="scope.row.oldamt"
...@@ -213,7 +213,7 @@ ...@@ -213,7 +213,7 @@
></c-input-currency> ></c-input-currency>
</template>--> </template>-->
</el-table-column> </el-table-column>
<el-table-column prop="amt" label="变动金额" width="110px"> <el-table-column prop="amt" label="变动金额" width="110px" :formatter="rounding">
<!-- <template slot-scope="scope"> <!-- <template slot-scope="scope">
<c-input-currency <c-input-currency
v-model="scope.row.amt" v-model="scope.row.amt"
...@@ -227,7 +227,7 @@ ...@@ -227,7 +227,7 @@
</el-table-column> </el-table-column>
<el-table-column prop="concur" label="币种" width="70px"> <el-table-column prop="concur" label="币种" width="70px">
</el-table-column> </el-table-column>
<el-table-column prop="covamt" label="折算后金额" width="110px"> <el-table-column prop="covamt" label="折算后金额" width="110px" :formatter="rounding">
<!-- <template slot-scope="scope"> <!-- <template slot-scope="scope">
<c-input-currency <c-input-currency
v-model="scope.row.covamt" v-model="scope.row.covamt"
...@@ -235,7 +235,7 @@ ...@@ -235,7 +235,7 @@
></c-input-currency> ></c-input-currency>
</template>--> </template>-->
</el-table-column> </el-table-column>
<el-table-column prop="acccovamt" label="实际折算金额" width="150px"> <el-table-column prop="acccovamt" label="实际折算金额" width="150px" :formatter="rounding">
<!-- <template slot-scope="scope"> <!-- <template slot-scope="scope">
<c-input-currency <c-input-currency
v-model="scope.row.acccovamt" v-model="scope.row.acccovamt"
......
...@@ -291,11 +291,11 @@ ...@@ -291,11 +291,11 @@
</el-table-column> </el-table-column>
<el-table-column prop="ccvpct" label="保证金比例" width="100px"> <el-table-column prop="ccvpct" label="保证金比例" width="100px">
</el-table-column> </el-table-column>
<el-table-column prop="cpsxed" label="产品授信额度" width="100px"> <el-table-column prop="cpsxed" label="产品授信额度" width="100px" :formatter="rounding">
</el-table-column> </el-table-column>
<el-table-column prop="balamt" label="产品可用额度" width="100px"> <el-table-column prop="balamt" label="产品可用额度" width="100px" :formatter="rounding">
</el-table-column> </el-table-column>
<el-table-column prop="useamt" label="产品已用额度" width="100px"> <el-table-column prop="useamt" label="产品已用额度" width="100px" :formatter="rounding">
</el-table-column> </el-table-column>
<el-table-column prop="cpsxck" label="产品授信敞口" width="100px"> <el-table-column prop="cpsxck" label="产品授信敞口" width="100px">
</el-table-column> </el-table-column>
......
...@@ -397,7 +397,7 @@ ...@@ -397,7 +397,7 @@
</el-form-item> </el-form-item>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="应收金额" prop="ogiamt" width="110px"> <el-table-column label="应收金额" prop="ogiamt" width="110px" :formatter="rounding">
<!-- <template slot-scope="scope"> <!-- <template slot-scope="scope">
<c-input-currency <c-input-currency
v-model="scope.row.ogiamt" v-model="scope.row.ogiamt"
...@@ -405,19 +405,19 @@ ...@@ -405,19 +405,19 @@
></c-input-currency> ></c-input-currency>
</template> --> </template> -->
</el-table-column> </el-table-column>
<el-table-column label="实收金额" prop="amt" width="auto"> <el-table-column label="实收金额" prop="amt" width="auto" :formatter="rounding">
<template slot-scope="scope"> <!-- <template slot-scope="scope">
<el-form-item <el-form-item
label-width="0" label-width="0"
:prop="'setmod.setfeg.setfel.' + scope.$index + '.amt'" :prop="'setmod.setfeg.setfel.' + scope.$index + '.amt'"
> >
{{ scope.row.amt }} {{ scope.row.amt }}
<!-- <c-input-currency <c-input-currency
v-model="scope.row.amt" v-model="scope.row.amt"
placeholder="0.00" placeholder="0.00"
></c-input-currency> --> ></c-input-currency>
</el-form-item> </el-form-item> -->
</template> <!-- </template> -->
</el-table-column> </el-table-column>
<el-table-column label="" prop="det" width="150px" fixed="right"> <el-table-column label="" prop="det" width="150px" fixed="right">
<template slot-scope="scope" slot="header"> <template slot-scope="scope" slot="header">
...@@ -561,7 +561,7 @@ ...@@ -561,7 +561,7 @@
</el-table-column> </el-table-column>
<el-table-column label="原始币种" prop="cur" width="70px"> <el-table-column label="原始币种" prop="cur" width="70px">
</el-table-column> </el-table-column>
<el-table-column label="原始金额" prop="fmtamt" width="110px"> <el-table-column label="原始金额" prop="fmtamt" width="110px" :formatter="rounding">
<!-- <template slot-scope="scope"> <!-- <template slot-scope="scope">
<c-input-currency <c-input-currency
v-model="scope.row.fmtamt" v-model="scope.row.fmtamt"
......
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