1404/12/06-fix bug in add product form tooltip

This commit is contained in:
2026-02-25 17:36:11 +03:30
parent 9557989b20
commit d87f850b00
8 changed files with 190 additions and 186 deletions
-6
View File
@@ -15,7 +15,6 @@ declare module '@vue/runtime-core' {
ABadge: typeof import('ant-design-vue/es')['Badge']
AButton: typeof import('ant-design-vue/es')['Button']
ACard: typeof import('ant-design-vue/es')['Card']
ACheckbox: typeof import('ant-design-vue/es')['Checkbox']
AConfigProvider: typeof import('ant-design-vue/es')['ConfigProvider']
ADivider: typeof import('ant-design-vue/es')['Divider']
ADrawer: typeof import('ant-design-vue/es')['Drawer']
@@ -33,10 +32,7 @@ declare module '@vue/runtime-core' {
AMenuItem: typeof import('ant-design-vue/es')['MenuItem']
AModal: typeof import('ant-design-vue/es')['Modal']
APagination: typeof import('ant-design-vue/es')['Pagination']
APopconfirm: typeof import('ant-design-vue/es')['Popconfirm']
APopover: typeof import('ant-design-vue/es')['Popover']
ARadio: typeof import('ant-design-vue/es')['Radio']
ARadioButton: typeof import('ant-design-vue/es')['RadioButton']
ARadioGroup: typeof import('ant-design-vue/es')['RadioGroup']
ASelect: typeof import('ant-design-vue/es')['Select']
ASelectOption: typeof import('ant-design-vue/es')['SelectOption']
@@ -46,8 +42,6 @@ declare module '@vue/runtime-core' {
ATable: typeof import('ant-design-vue/es')['Table']
ATabPane: typeof import('ant-design-vue/es')['TabPane']
ATabs: typeof import('ant-design-vue/es')['Tabs']
ATag: typeof import('ant-design-vue/es')['Tag']
ATextarea: typeof import('ant-design-vue/es')['Textarea']
ATooltip: typeof import('ant-design-vue/es')['Tooltip']
AUpload: typeof import('ant-design-vue/es')['Upload']
BaseButton: typeof import('./src/core/components/BaseButton/index.ts')['default']
@@ -81,7 +81,7 @@ defineExpose({
@prefix: ~'@{prefixCls}-pophoverstatus';
.ant-popover,
.ant-tooltip {
z-index: 10 !important;
z-index: 1001 !important;
}
.@{prefix} {
@@ -82,7 +82,7 @@ defineExpose({
@prefix: ~'@{prefixCls}-pophoverstatus';
.ant-popover,
.ant-tooltip {
z-index: 10 !important;
z-index: 1001 !important;
}
.@{prefix} {
@@ -403,7 +403,7 @@ defineExpose({
@prefix: ~'@{prefixCls}-pophoverstatus';
.ant-popover,
.ant-tooltip {
z-index: 10 !important;
z-index: 1001 !important;
}
.@{prefix} {
@@ -81,7 +81,7 @@ defineExpose({
@prefix: ~'@{prefixCls}-pophoverstatus';
.ant-popover,
.ant-tooltip {
z-index: 10 !important;
z-index: 1001 !important;
}
.@{prefix} {
@@ -82,7 +82,7 @@ defineExpose({
@prefix: ~'@{prefixCls}-pophoverstatus';
.ant-popover,
.ant-tooltip {
z-index: 10 !important;
z-index: 1001 !important;
}
.@{prefix} {
@@ -589,7 +589,7 @@ async function setTimeActive(start: string, end: string) {
@prefix: ~'@{prefixCls}-pophoverstatus';
.ant-popover,
.ant-tooltip {
z-index: 10 !important;
z-index: 1001 !important;
}
.@{prefix} {
+17 -7
View File
@@ -11,7 +11,6 @@
@chargeMoney="walletMoneyCharge"
@chargeGold="walletGoldCharge"
/>
<!-- <BasicMenu :menu="menu" width="13rem" @onChange="tabSelected" />
<component :is="selectedComponent" class="mr-5" />-->
<!-- <BasicShowContext title="پروژه ها"> <Search /> </BasicShowContext>-->
@@ -109,7 +108,8 @@
<BasicInput v-model:value="form.title"/>
</a-form-item>
<a-form-item v-if="getConfigApp('name') === 'garoosi'" label="دسته بندی" name="group_type" :rules="inputRules()">
<a-form-item v-if="getConfigApp('name') === 'garoosi'" label="دسته بندی" name="group_type"
:rules="inputRules()">
<BasicSelect
v-model:value="form.group_type"
:items="GaroosiCategoryItems"
@@ -145,18 +145,27 @@
<!-- <a-form-item v-if="weightOption === '1'" label="وزن به گرم" name="amount" :rules="inputRules()">
<BasicInput v-model:value="form.amount" type="number" />
</a-form-item>-->
vite build
<a-form-item v-if="form.group_type === '' || form.group_type !== 'آبشده'"
name="percent_fee_buy" :rules="inputRules()">
<template #label>
<span class="inline-flex items-center gap-1">
کارمزد درصدی موقع خرید
<a-tooltip placement="bottom" class="cursor-pointer">
<a-tooltip
placement="top"
>
<template #title>
<span>مقدار باید به اعشار وارد گردد بعنوان مثال 1 درصد به صورت 0.01 باید وارد گردد.</span>
مقدار باید به اعشار وارد گردد بعنوان مثال 1 درصد به صورت 0.01 باید وارد گردد.
</template>
<Icon icon="vuesax-linear:info-circle" class="cursor-pointer" color="#e3bf00" />
<span class="inline-flex cursor-pointer">
<Icon
icon="vuesax-linear:info-circle"
color="#e3bf00"
/>
</span>
</a-tooltip>
</span>
</template>
<BasicInput v-model:value="form.percent_fee_buy" type="number"/>
@@ -165,12 +174,13 @@
label="هزینه نقدی موقع خرید" name="cash_fee_buy" :rules="inputRules()">
<BasicInput v-model:value="form.cash_fee_buy" type="number"/>
</a-form-item>
<a-form-item v-if="form.group_type === '' || form.group_type !== 'آبشده'"
name="percent_fee_sell" :rules="inputRules()">
<template #label>
<span class="inline-flex items-center gap-1">
کارمزد درصدی موقع فروش
<a-tooltip placement="bottom" class="cursor-pointer">
<a-tooltip placement="top" class="cursor-pointer" :zIndex="9999">
<template #title>
<span>مقدار باید به اعشار وارد گردد بعنوان مثال 1 درصد به صورت 0.01 باید وارد گردد</span>
</template>