Align desktop UI with mobile shop flows and polish navigation
This commit is contained in:
@@ -69,8 +69,8 @@ const quickLinks = [
|
||||
|
||||
<header class="cart-desktop-page__head">
|
||||
<h1 class="cart-desktop-page__title">سبد خرید</h1>
|
||||
<p class="cart-desktop-page__subtitle">
|
||||
{{ companyName ? `شرکتها: ${companyName}` : 'سبد خرید مشترک' }}
|
||||
<p v-if="companyName" class="cart-desktop-page__subtitle">
|
||||
تأمینکننده: {{ companyName }}
|
||||
</p>
|
||||
</header>
|
||||
|
||||
@@ -91,13 +91,13 @@ const quickLinks = [
|
||||
</p>
|
||||
<div class="cart-empty-card__actions">
|
||||
<button type="button" class="cart-btn cart-btn--primary" @click="emit('selectCompany')">
|
||||
<IconLayoutGrid :size="18" />
|
||||
مشاهده کالیتهها
|
||||
</button>
|
||||
<button type="button" class="cart-btn cart-btn--outline" @click="router.push('/categories')">
|
||||
<IconDiamond :size="16" />
|
||||
دستهبندی محصولات
|
||||
</button>
|
||||
<button type="button" class="cart-btn cart-btn--outline" @click="router.push('/catalogs')">
|
||||
<IconLayoutGrid :size="18" />
|
||||
مشاهده کالیتهها
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -107,7 +107,6 @@ const quickLinks = [
|
||||
<thead>
|
||||
<tr>
|
||||
<th scope="col">محصول</th>
|
||||
<th scope="col">شرکت</th>
|
||||
<th scope="col">کد</th>
|
||||
<th scope="col">متراژ (متر)</th>
|
||||
<th scope="col">حذف</th>
|
||||
@@ -118,7 +117,6 @@ const quickLinks = [
|
||||
<td>
|
||||
<strong class="cart-items-table__name">{{ item.productName }}</strong>
|
||||
</td>
|
||||
<td>{{ item.companyName || '—' }}</td>
|
||||
<td>{{ item.productCode }}</td>
|
||||
<td>{{ formatNumber(item.meterage) }}</td>
|
||||
<td>
|
||||
@@ -192,7 +190,7 @@ const quickLinks = [
|
||||
{{ submitting ? 'در حال ثبت…' : 'ثبت پیشسفارش' }}
|
||||
</button>
|
||||
<p class="cart-summary-card__note">
|
||||
اقلام همه شرکتها در یک سبد و یک فاکتور ثبت میشوند؛ پس از قیمتگذاری، یکبار تسویه میکنید.
|
||||
پس از ثبت سفارش، مدیریت قیمتگذاری میکند و فاکتور صادر میشود؛ سپس روش تسویه را انتخاب میکنید.
|
||||
</p>
|
||||
</div>
|
||||
|
||||
@@ -204,12 +202,12 @@ const quickLinks = [
|
||||
راهنمای گام بعدی
|
||||
</h3>
|
||||
<p class="cart-guide-card__text">
|
||||
پس از انتخاب شرکت و افزودن محصولات، متراژ کل و سقف مجاز فاکتور را بررسی کنید.
|
||||
محصولات موردنظر را به سبد اضافه کنید، متراژ کل را بررسی کنید و «ثبت پیشسفارش» را بزنید.
|
||||
<template v-if="!isEmpty">
|
||||
سقف مجاز: {{ formatMeterage(maxMeterage) }} — باقیمانده:
|
||||
{{ formatMeterage(remainingCapacity) }}.
|
||||
</template>
|
||||
سپس برای تکمیل سفارش، گزینه «ادامه و انتخاب تسویه» را بزنید.
|
||||
پس از قیمتگذاری، از صفحه سفارش روش تسویه را انتخاب میکنید.
|
||||
</p>
|
||||
</div>
|
||||
</aside>
|
||||
|
||||
Reference in New Issue
Block a user