2024-06-14 14:45:17 +07:00
|
|
|
<script setup lang="ts">
|
2024-06-17 17:50:53 +07:00
|
|
|
const serviceCharge = defineModel<number>('serviceCharge');
|
|
|
|
|
const agentPrice = defineModel<number>('agentPrice');
|
|
|
|
|
const price = defineModel<number>('price');
|
2024-06-14 14:45:17 +07:00
|
|
|
|
|
|
|
|
defineProps<{
|
|
|
|
|
dense?: boolean;
|
|
|
|
|
outlined?: boolean;
|
|
|
|
|
readonly?: boolean;
|
|
|
|
|
separator?: boolean;
|
|
|
|
|
isType?: boolean;
|
|
|
|
|
}>();
|
|
|
|
|
</script>
|
|
|
|
|
|
|
|
|
|
<template>
|
2024-06-21 08:49:20 +00:00
|
|
|
<div class="col-3 app-text-muted">• {{ $t('priceeInformation') }}</div>
|
|
|
|
|
<div class="col-9 row q-col-gutter-md">
|
|
|
|
|
<q-input
|
|
|
|
|
:dense="dense"
|
|
|
|
|
:outlined="!readonly"
|
|
|
|
|
:readonly="readonly"
|
|
|
|
|
:borderless="readonly"
|
|
|
|
|
hide-bottom-space
|
|
|
|
|
class="col-4"
|
|
|
|
|
:label="$t('salePrice')"
|
|
|
|
|
v-model="price"
|
|
|
|
|
/>
|
2024-06-19 10:34:20 +07:00
|
|
|
|
2024-06-21 08:49:20 +00:00
|
|
|
<q-input
|
|
|
|
|
:dense="dense"
|
|
|
|
|
:outlined="!readonly"
|
|
|
|
|
:readonly="readonly"
|
|
|
|
|
:borderless="readonly"
|
|
|
|
|
hide-bottom-space
|
|
|
|
|
class="col-4"
|
|
|
|
|
:label="$t('agentPrice')"
|
|
|
|
|
v-model="agentPrice"
|
|
|
|
|
/>
|
2024-06-19 10:34:20 +07:00
|
|
|
|
2024-06-21 08:49:20 +00:00
|
|
|
<q-input
|
|
|
|
|
:dense="dense"
|
|
|
|
|
:outlined="!readonly"
|
|
|
|
|
:readonly="readonly"
|
|
|
|
|
:borderless="readonly"
|
|
|
|
|
hide-bottom-space
|
|
|
|
|
class="col-4"
|
|
|
|
|
:label="$t('processingPrice')"
|
|
|
|
|
v-model="serviceCharge"
|
|
|
|
|
/>
|
2024-06-14 14:45:17 +07:00
|
|
|
</div>
|
|
|
|
|
</template>
|
|
|
|
|
|
|
|
|
|
<style scoped></style>
|