price handling

This commit is contained in:
2026-06-22 21:09:26 +03:30
parent cc5e3ce5f2
commit e3f603b37b
8 changed files with 268 additions and 46 deletions
+12 -2
View File
@@ -31,10 +31,13 @@
<AButton
v-if="showOk"
type="primary"
html-type="button"
:loading="loading"
:disabled="loading"
:class="[{ 'col-span-8': showCancel }]"
size="large"
block
@click="$emit('ok')"
@click="handleOk"
>
{{ okText }}
</AButton>
@@ -79,10 +82,13 @@
<AButton
v-if="showOk"
type="primary"
html-type="button"
:loading="loading"
:disabled="loading"
:class="[{ 'col-span-8': showCancel }]"
size="large"
block
@click="$emit('ok')"
@click="handleOk"
>
{{ okText }}
</AButton>
@@ -151,6 +157,10 @@ function handleCancel() {
emit('close')
visibleProxy.value = false
}
function handleOk() {
emit('ok')
}
</script>
<style lang="less">