fix some shits
pay.vue 还用 store.value.min_price,应改 minPrice。 后端下单最好也校验起送价,别只靠前端。 配送规则保存前过滤/校验空行、maxKm <= minKm。
This commit is contained in:
1 parent
a0c13b91da
commit
4a1aab453d
4 files changed
+25
-4
No files matched your search
@@ -510,9 +510,9 @@ const submit = () => {
|
||||
}
|
||||
|
||||
// 起送价钱
|
||||
if (store.value.min_price > total.value) {
|
||||
if (store.value.minPrice > total.value) {
|
||||
uToast.value.show({
|
||||
message: '本店外卖起送价为¥' + store.value.min_price,
|
||||
message: '本店外卖起送价为¥' + store.value.minPrice,
|
||||
type: 'error'
|
||||
});
|
||||
return
|
||||
|
||||
Reference in new issue
Block a user