fix(price-trigger): SMS-only in admin price trigger editor

Remove email action from form and always show sms in the table column.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-08-19 19:02:46 +03:30
co-authored by Cursor
parent ba4557c526
commit 1a8001fb75
2 changed files with 1 additions and 8 deletions
@@ -35,13 +35,6 @@
<BasicInput v-model:value="form.target_price" type="price" addon-before="ریال" placeholder="مثلاً ۱۷۸۵۰۰۰۰۰" />
</a-form-item>
<a-form-item label="روش اطلاع‌رسانی" name="action" :rules="inputRules()">
<a-radio-group v-model:value="form.action" button-style="solid">
<a-radio-button value="sms">پیامک</a-radio-button>
<a-radio-button value="email">ایمیل</a-radio-button>
</a-radio-group>
</a-form-item>
<a-form-item label="وضعیت" name="is_active">
<a-switch v-model:checked="form.is_active" checked-children="فعال" un-checked-children="غیرفعال" />
</a-form-item>
@@ -223,7 +223,7 @@ export const cols: BaseTableColumn[] = [
title: 'روش ارسال',
dataIndex: 'action',
key: 'notify_action',
customRender: ({ record }) => (record.action === 'email' ? 'ایمیل' : 'پیامک'),
customRender: ({ record }) => 'پیامک',
},
{
title: 'عملیات',