+
- {{ log.targetCity }}
+ {{ log.targetCity }}
{
@@ -129,12 +145,15 @@ const shortTime = computed(() => {
'text-green': perTicketProfit > 0,
'op-50': isOutdated
}"
- >{{ perTicketProfit }}
+ >{{ perTicketProfit }}
-
{{ log.percent }}%
+
{{ log.percent }}%
{
},
'mr-2'
]"
- >{{ log.price }} ({{ log.percent }}%)
+ >{{ log.price }} ({{ log.percent }}%)
{
'line-through': isOutdated,
'op-50': isOutdated
}"
- >{{ profit }}
+ >{{ profit }}
单票利润
@@ -198,7 +219,8 @@ const shortTime = computed(() => {
'line-through': isOutdated,
'op-50': isOutdated
}"
- >{{ +(profit ?? 0) * product.baseVolume }}
+ >{{ +(profit ?? 0) * product.baseVolume }}
基准价格
@@ -222,14 +244,19 @@ const shortTime = computed(() => {
查看历史记录
- 快速上报价格
+ >查看历史记录
+ 快速上报价格
-
+
{
} else {
form.setFieldValue('percent', [percent - 1]);
}
-}
+};
@@ -67,15 +67,15 @@ const changePricePercent = (type: 'add' | 'reduce') => {
价位
-
-
-
+
+
+
{{ '售出价位' }} {{ form.values.percent?.[0] ?? 100 }}%
@@ -94,7 +94,9 @@ const changePricePercent = (type: 'add' | 'reduce') => {
-
+
@@ -102,7 +104,9 @@ const changePricePercent = (type: 'add' | 'reduce') => {
-
+
diff --git a/components/ui/radio-group/RadioGroupItem.vue b/components/ui/radio-group/RadioGroupItem.vue
index 51f255d..8ca6515 100644
--- a/components/ui/radio-group/RadioGroupItem.vue
+++ b/components/ui/radio-group/RadioGroupItem.vue
@@ -30,6 +30,8 @@ const forwardedProps = useForwardProps(delegatedProps);
)
"
>
-
+
diff --git a/layouts/default.vue b/layouts/default.vue
index 78e0031..f49ecec 100644
--- a/layouts/default.vue
+++ b/layouts/default.vue
@@ -19,7 +19,7 @@ import {
} from '@/components/ui/menubar';
import { toast } from 'vue-sonner';
-const settingStore = useSettingStore()
+const settingStore = useSettingStore();
@@ -27,7 +27,9 @@ const settingStore = useSettingStore()
@@ -111,7 +121,10 @@ const settingStore = useSettingStore()