|
@@ -17,7 +17,7 @@
|
|
|
<el-table-column label="数量" prop="amount"></el-table-column>
|
|
|
<el-table-column label="金额">
|
|
|
<template #default="scope">
|
|
|
- {{ (scope.row.chargeAmount * scope.row.amount).toFixed(2) }}
|
|
|
+ {{ XEUtils.toFixed(Dig.multiply(scope.row.chargeAmount * scope.row.amount), 2) }}
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
<el-table-column label="编码" prop="chargeCodeMx"></el-table-column>
|
|
@@ -91,9 +91,10 @@
|
|
|
import {onMounted, ref, reactive} from 'vue'
|
|
|
import {getMuBan, getMuBanXinXi, shanChuMuBan} from '@/api/inpatient/xiang-mu-lu-ru'
|
|
|
import {ElMessageBox, ElTable} from 'element-plus'
|
|
|
-import XcTable from "@/components/xiao-chan/xc-table/XcTable.vue";
|
|
|
import {useUserStore} from "@/pinia/user-store";
|
|
|
import useCompRef from "@/utils/useCompRef";
|
|
|
+import Dig from "../../utils/math";
|
|
|
+import XEUtils from 'xe-utils'
|
|
|
|
|
|
const dialog = ref(false)
|
|
|
const emit = defineEmits(['selectionFeiYong'])
|