price calulator changed 8

This commit is contained in:
2026-07-02 21:23:55 +03:30
parent 874424f853
commit 0bcd9ce551
5 changed files with 75 additions and 10 deletions
+12 -2
View File
@@ -214,7 +214,14 @@
</div>
</div>
</div>
<BasicButton class="mb-20 mt-5 w-full" type="primary" @click="ok(); confirmAction= false">ثبت نهایی</BasicButton>
<BasicButton
class="mb-20 mt-5 w-full"
type="primary"
:disabled="loading"
@click="ok"
>
ثبت نهایی
</BasicButton>
</BasicActionSheet>
<BasicModal
v-else
@@ -269,7 +276,7 @@
</div>
</div>
</div>
<BasicButton class="mt-5 w-full" type="primary" @click="ok(); confirmAction = false">
<BasicButton class="mt-5 w-full" type="primary" :disabled="loading" @click="ok">
ثبت نهایی
</BasicButton>
<template #footer>
@@ -794,6 +801,9 @@ function okConfirm() {
}
async function ok() {
if (loading.value) {
return
}
if (isStoreClosed()) {
message.warning(getStoreClosedMessage())
return