diff --git a/package.json b/package.json index cbb8251..422f6f5 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "vite-electron", "private": true, - "version": "1.1.13", + "version": "1.1.14", "main": "dist-electron/main.js", "scripts": { "dev": "chcp 65001 && vite", diff --git a/src/views/group_buy/components/refundDialog.vue b/src/views/group_buy/components/refundDialog.vue index 444ccc1..5915941 100644 --- a/src/views/group_buy/components/refundDialog.vue +++ b/src/views/group_buy/components/refundDialog.vue @@ -73,7 +73,7 @@ function refundConfirm() { // 计算退单金额 function refundNumChange(e) { - refundForm.refundAmount = Math.floor(newRow.value.orderAmount / e * 100) / 100 + refundForm.refundAmount = Math.floor(newRow.value.orderAmount / newRow.value.number * e * 100) / 100 } // 显示 diff --git a/src/views/home/components/settleAccount.vue b/src/views/home/components/settleAccount.vue index 0f11f54..f6640b8 100644 --- a/src/views/home/components/settleAccount.vue +++ b/src/views/home/components/settleAccount.vue @@ -128,7 +128,7 @@ function getPrintList() { ipcRenderer.send("getPrintList"); ipcRenderer.on("printList", (event, arg) => { localPrintList.value = arg; - console.log(localPrintList.value); + // console.log(localPrintList.value); }); } diff --git a/src/views/home/index.vue b/src/views/home/index.vue index 192c83a..df58c1e 100644 --- a/src/views/home/index.vue +++ b/src/views/home/index.vue @@ -32,13 +32,8 @@
-
+
{{ item.name }} ¥{{ item.salePrice }} @@ -50,20 +45,12 @@
-
+
-
+
@@ -77,13 +64,8 @@
- +
- - 结算(¥{{ cartInfo.totalAmount || 0 }}) + + 结算(¥{{ cartInfo.totalAmount || 0 }}) 下单中...
@@ -133,30 +106,13 @@ - + - + - + @@ -170,6 +126,7 @@ export default {