change mobile-menu and delete liman-prices

This commit is contained in:
2026-06-01 17:10:30 +03:30
parent 023b8ee5be
commit 33c237ba39
10 changed files with 22 additions and 12 deletions
@@ -52,6 +52,9 @@
<a-form :model="form" ref="formRef" autocomplete="off">
<div class="grid md:grid-cols-2 gap-4">
<a-form-item label="عنوان" name="title" :rules="inputRules()"><BasicInput v-model:value="form.title" /></a-form-item>
<a-form-item v-if="getConfigApp('name') === 'boursecu'" label="دسته بندی" name="group_type" :rules="inputRules()">
<BasicSelect v-model:value="form.group_type" :items="boursemesCategoryItems" valueName="value" keyName="value" />
</a-form-item>
<a-form-item v-if="getConfigApp('name') === 'garoosi'" label="دسته بندی" name="group_type" :rules="inputRules()">
<BasicSelect v-model:value="form.group_type" :items="garoosiCategoryItems" valueName="value" keyName="value" />
</a-form-item>
@@ -114,6 +117,7 @@ defineProps<{
weightOption: string
activeKey: string[]
pricesList: Array<{ id: string; name: string }>
boursemesCategoryItems: any[]
garoosiCategoryItems: any[]
categoryItems: any[]
metalItems: any[]
@@ -23,6 +23,7 @@
:weightOption="weightOption"
:activeKey="activeKey_"
:pricesList="pricesList"
:boursemesCategoryItems="BoursemesCategoryItems"
:garoosiCategoryItems="GaroosiCategoryItems"
:categoryItems="categoryItems"
:metalItems="metalItems"
@@ -111,6 +112,11 @@ const GaroosiCategoryItems: Array<Item> = [
{ value: 'مس' },
{ value: 'نقره' }
]
const BoursemesCategoryItems: Array<Item> = [
{ value: 'آبشده' },
{ value: 'کاتد مس' },
{ value: 'مفتول مس' }
]
const categoryItems: Array<Item> = [
{ value: 'آبشده' },
{ value: 'مکعب' },