Ver código fonte

页面显示的费用,显示后台返回数据,去除前端的格式处理

yunxing 4 anos atrás
pai
commit
28156c920b

+ 1 - 1
src/views/equipment/table/otherTable.vue

@@ -55,7 +55,7 @@
                     </el-table-column>
                 </el-table-column>
                 <el-table-column prop='zfje' label='金额(万元)' width='80' align='right'>
-                    <template slot-scope='{row}'>{{number_format(row.zfje,2) || '--'}}</template>
+                    <template slot-scope='{row}'>{{row.zfje || '--'}}</template>
                 </el-table-column>
                 <el-table-column prop='handledate' label='处理日期' width='130'>
                     <template slot-scope='{row}'>{{row.handledate?formatter(row.handledate): '--'}}</template>

+ 1 - 1
src/views/equipment/table/wbTable.vue

@@ -90,7 +90,7 @@
                         <template slot-scope='{row}'>{{row.sl>=0?row.sl:'--'}}</template>
                     </el-table-column>
                     <el-table-column prop='cost' label='费用(万元)' show-overflow-tooltip resizable width='80' align='right'>
-                        <template slot-scope='{row}'>{{number_format(row.cost,2) || '--'}}</template>
+                        <template slot-scope='{row}'>{{row.cost || '--'}}</template>
                     </el-table-column>
                     <el-table-column prop='source' label='费用出处' show-overflow-tooltip resizable width='100'>
                         <template slot-scope='{row}'>{{row.source|| '--'}}</template>

+ 1 - 1
src/views/equipment/table/wxTable.vue

@@ -91,7 +91,7 @@
                         <template slot-scope='{row}'>{{row.sl>=0?row.sl:'--'}}</template>
                     </el-table-column>
                     <el-table-column prop='cost' label='费用(万元)' width='80' align='right' show-overflow-tooltip resizable>
-                        <template slot-scope='{row}'>{{number_format(row.cost,2) || '--'}}</template>
+                        <template slot-scope='{row}'>{{row.cost || '--'}}</template>
                     </el-table-column>
                     <el-table-column prop='source' label='费用出处' show-overflow-tooltip resizable width='100'>
                         <template slot-scope='{row}'>{{row.source || '--'}}</template>

+ 1 - 1
src/views/equipment/table/zwTable.vue

@@ -96,7 +96,7 @@
                     <template slot-scope='{row}'>{{row.status || '--'}}</template>
                 </el-table-column>
                 <el-table-column prop='zfje' label='结算金额(元)' show-overflow-tooltip resizable width='105'>
-                    <template slot-scope='{row}'>{{number_format(row.zfje,2)|| '--'}}</template>
+                    <template slot-scope='{row}'>{{row.zfje || '--'}}</template>
                 </el-table-column>
                 <el-table-column prop='xlcfwz' label='资料存放位置' show-overflow-tooltip resizable width='100'>
                     <template slot-scope='{row}'>{{row.xlcfwz || '--'}}</template>