change mobile-menu and delete liman-prices
This commit is contained in:
@@ -34,9 +34,9 @@
|
||||
<BasicInput v-model:value="form.difference" addon-before="ریال" type="price" />
|
||||
</a-form-item>
|
||||
|
||||
<a-form-item label="کل قیمت لیمان" name="total_price_liman">
|
||||
<!-- <a-form-item label="کل قیمت لیمان" name="total_price_liman">
|
||||
<BasicInput v-model:value="form.total_price_liman" addon-before="ریال" type="price" />
|
||||
</a-form-item>
|
||||
</a-form-item>-->
|
||||
|
||||
<div class="space-y-2 rounded-xl bg-orange-50 p-3">
|
||||
<a-form-item label="انتخاب کاربر" name="customer_id" :rules="inputRules()" class="mb-0">
|
||||
|
||||
@@ -36,7 +36,7 @@
|
||||
<div class="space-y-2">
|
||||
<MobileStatCard bordered label="قیمت هر گرم طلا برای مشتری (ریال)" :value="usePrice(row.price ?? 0, true, '')" />
|
||||
<MobileStatCard bordered label="قیمت هر گرم طلا بدون سود (ریال)" :value="usePrice(row.price_original ?? 0, true, '')" />
|
||||
<MobileStatCard bordered label="قیمت کل لیمان (ریال)" :value="usePrice(row.total_price_liman ?? 0, true, '')" />
|
||||
<!-- <MobileStatCard bordered label="قیمت کل لیمان (ریال)" :value="usePrice(row.total_price_liman ?? 0, true, '')" />-->
|
||||
<MobileStatCard bordered label="قیمت کل بدون سود (ریال)" :value="usePrice(row.total_price_original ?? 0, true, '')" />
|
||||
<MobileStatCard bordered label="سود هر گرم (ریال)" :value="usePrice(row.fee ?? 0, true, '')" />
|
||||
<MobileStatCard bordered label="کارمزد طلایی" :value="serviceChargeLabel(row)" />
|
||||
|
||||
@@ -112,7 +112,7 @@ export const cols: BaseTableColumn[] = [
|
||||
return usePrice(data.record?.price ?? 0, true, '')
|
||||
}
|
||||
},
|
||||
{
|
||||
/* {
|
||||
title: 'قیمت هر گرم طلا در لیمان',
|
||||
dataIndex: 'limanPrice',
|
||||
key: 'limanPrice',
|
||||
@@ -120,7 +120,7 @@ export const cols: BaseTableColumn[] = [
|
||||
customRender(data) {
|
||||
return usePrice(data.record?.total_price_liman ?? 0, true, '')
|
||||
}
|
||||
},
|
||||
},*/
|
||||
{
|
||||
title: 'قیمت کل برای مشتری (ریال)',
|
||||
dataIndex: 'total_price',
|
||||
|
||||
@@ -201,10 +201,10 @@ function info(val: Order) {
|
||||
key: 'قیمت کل بدون سود (ریال)',
|
||||
value: usePrice(val.total_price_original ?? 0) ?? '-'
|
||||
},
|
||||
{
|
||||
/* {
|
||||
key: 'قیمت کل لیمان (ریال)',
|
||||
value: usePrice(val.total_price_liman ?? 0) ?? '-'
|
||||
},
|
||||
},*/
|
||||
{
|
||||
key: 'سود هر گرم (ریال)',
|
||||
value: usePrice(val.fee ?? 0) ?? '-'
|
||||
|
||||
Reference in New Issue
Block a user