浏览代码

小优化。

lighter 4 年之前
父节点
当前提交
3b20119fc9
共有 2 个文件被更改,包括 3 次插入3 次删除
  1. 1 1
      package.json
  2. 2 2
      src/views/hospital-service/pay-mz-fee/UnPaidDetail.vue

+ 1 - 1
package.json

@@ -1,6 +1,6 @@
 {
   "name": "wxservice-web",
-  "version": "1.0.2",
+  "version": "1.0.3",
   "scripts": {
     "dev": "vite",
     "build": "vite build",

+ 2 - 2
src/views/hospital-service/pay-mz-fee/UnPaidDetail.vue

@@ -61,7 +61,7 @@ export default {
       const param = {
         body: bodyText,
         orderType: 2,
-        totalFee: params.totalAmt / 100,
+        totalFee: makePrice(params.totalAmt),
         openId: getLocalOpenId(),
         patientId: params.patientId,
         hisOrdNum: params.hisOrdNum,
@@ -86,4 +86,4 @@ export default {
 function makePrice(num) {
   return (num / 100).toFixed(2)
 }
-</script>
+</script>