diff --git a/.idea/codeStyles/Project.xml b/.idea/codeStyles/Project.xml
deleted file mode 100644
index f021dc9..0000000
--- a/.idea/codeStyles/Project.xml
+++ /dev/null
@@ -1,62 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/.idea/codeStyles/codeStyleConfig.xml b/.idea/codeStyles/codeStyleConfig.xml
deleted file mode 100644
index 79ee123..0000000
--- a/.idea/codeStyles/codeStyleConfig.xml
+++ /dev/null
@@ -1,5 +0,0 @@
-
-
-
-
-
\ No newline at end of file
diff --git a/.idea/git_toolbox_blame.xml b/.idea/git_toolbox_blame.xml
deleted file mode 100644
index 7dc1249..0000000
--- a/.idea/git_toolbox_blame.xml
+++ /dev/null
@@ -1,6 +0,0 @@
-
-
-
-
-
-
\ No newline at end of file
diff --git a/.idea/modules.xml b/.idea/modules.xml
deleted file mode 100644
index 737be84..0000000
--- a/.idea/modules.xml
+++ /dev/null
@@ -1,8 +0,0 @@
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/.idea/vcs.xml b/.idea/vcs.xml
deleted file mode 100644
index 35eb1dd..0000000
--- a/.idea/vcs.xml
+++ /dev/null
@@ -1,6 +0,0 @@
-
-
-
-
-
-
\ No newline at end of file
diff --git a/.idea/workspace.xml b/.idea/workspace.xml
deleted file mode 100644
index 08d9f9f..0000000
--- a/.idea/workspace.xml
+++ /dev/null
@@ -1,127 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- {
- "associatedIndex": 2
-}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 1723220985918
-
-
- 1723220985918
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/src/views/commodity/hot_list/index.vue b/src/views/commodity/hot_list/index.vue
index 426bcbc..c1226b6 100644
--- a/src/views/commodity/hot_list/index.vue
+++ b/src/views/commodity/hot_list/index.vue
@@ -173,11 +173,11 @@
:min="0"
/>
-
+
@@ -337,7 +337,7 @@ const rules = {
discount: {
required: true,
type: 'number',
- message: '请输入折扣比例',
+ message: '请输入抵扣比例',
trigger: 'blur',
},
}
@@ -444,32 +444,19 @@ const columns = ref([
align: 'center',
},
{
- title: '积分抵扣',
- slot: 'exchange',
+ title: '抵扣后价格(元)',
+ key: 'discount_price',
align: 'center',
- render: (row) => {
- return h(
- 'span',
- {},
- {
- default: () => (row.exchange ? `${(row.exchange / 100).toFixed(2)}元` : '无'),
- }
- )
- },
},
{
- title: '折扣比例(%)',
- slot: 'discount',
+ title: '积分抵扣(元)',
+ key: 'exchange',
+ align: 'center',
+ },
+ {
+ title: '折扣比例(%)',
+ key: 'discount',
align: 'center',
- render: (row) => {
- return h(
- 'span',
- {},
- {
- default: () => `${row.discount}%`,
- }
- )
- },
},
{
title: '商品库存',
diff --git a/src/views/finance/index.vue b/src/views/finance/index.vue
index 6de0ee0..e799815 100644
--- a/src/views/finance/index.vue
+++ b/src/views/finance/index.vue
@@ -8,7 +8,7 @@
@@ -28,18 +28,14 @@
-
+