chenrui 2 лет назад
Родитель
Сommit
fbf45d888a
1 измененных файлов с 1 добавлено и 2 удалено
  1. 1 2
      src/views/reportData/urchaseDetailReturn/detailList.vue

+ 1 - 2
src/views/reportData/urchaseDetailReturn/detailList.vue

@@ -187,7 +187,7 @@
         <template slot="footer">
           <a-row :gutter="15">
             <a-col :md="4" :sm="24">申请退货数量:{{ (totalData && (totalData.qty || totalData.qty==0)) ? totalData.qty : '--' }}</a-col>
-            <a-col :md="4" :sm="24" v-if="$hasPermissions('B_isShowCost')">退货金额:{{ (totalData && (totalData.totalCost || totalData.totalCost==0)) ? totalData.totalCost : '--' }}</a-col>
+            <a-col :md="4" :sm="24" v-if="$hasPermissions('B_isShowCost')">退货金额:{{ (totalData && (totalData.totalCost || totalData.totalCost==0)) ? toThousands(totalData.totalCost,2) : '--' }}</a-col>
           </a-row>
         </template>
       </s-table>
@@ -210,7 +210,6 @@ import { productBrandQuery } from '@/api/productBrand'
 import { productTypeQuery } from '@/api/productType'
 import ProductBrand from '@/views/common/productBrand.js'
 import { hdExportExcel } from '@/libs/exportExcel'
-import { toThousands } from '@/libs/tools.js'
 import { sparePartsReturnDetailReportList, sparePartsReturnDetailReportStat, sparePartsReturnReportExportDetail } from '@/api/reportData'
 export default {
   name: 'UrchaseDetailReturnList',