f
This commit is contained in:
7998
package-lock.json
generated
Normal file
7998
package-lock.json
generated
Normal file
File diff suppressed because it is too large
Load Diff
@@ -124,6 +124,14 @@
|
|||||||
<span class="card-value text-gray-600">¥{{ formatPrice(product.cost_price) }}</span>
|
<span class="card-value text-gray-600">¥{{ formatPrice(product.cost_price) }}</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
<div class="card-row">
|
||||||
|
<span class="card-label">备注</span>
|
||||||
|
<el-tag v-if="product.remark" type="warning" size="small" class="max-w-[60%] truncate">
|
||||||
|
{{ product.remark }}
|
||||||
|
</el-tag>
|
||||||
|
<span v-else class="card-value text-gray-400">-</span>
|
||||||
|
</div>
|
||||||
|
|
||||||
<div class="card-footer">
|
<div class="card-footer">
|
||||||
<div class="action-buttons">
|
<div class="action-buttons">
|
||||||
<el-button
|
<el-button
|
||||||
@@ -199,6 +207,14 @@
|
|||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
|
|
||||||
|
|
||||||
|
<el-table-column prop="remark" label="备注" min-width="150" show-overflow-tooltip>
|
||||||
|
<template #default="{ row }">
|
||||||
|
<el-tag v-if="row.remark" type="warning" size="small">{{ row.remark }}</el-tag>
|
||||||
|
<span v-else class="text-gray-400">-</span>
|
||||||
|
</template>
|
||||||
|
</el-table-column>
|
||||||
|
|
||||||
<el-table-column prop="is_enabled" label="启用状态" width="120">
|
<el-table-column prop="is_enabled" label="启用状态" width="120">
|
||||||
<template #default="{ row }">
|
<template #default="{ row }">
|
||||||
<el-tag :type="row.is_enabled ? 'success' : 'danger'" size="small">
|
<el-tag :type="row.is_enabled ? 'success' : 'danger'" size="small">
|
||||||
@@ -215,6 +231,9 @@
|
|||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<el-table-column label="操作" min-width="350" fixed="right">
|
<el-table-column label="操作" min-width="350" fixed="right">
|
||||||
<template #default="{ row }">
|
<template #default="{ row }">
|
||||||
<div class="flex gap-2">
|
<div class="flex gap-2">
|
||||||
|
|||||||
Reference in New Issue
Block a user