Files
web/app/components/imports/Products.vue
2026-05-20 14:42:53 +07:00

26 lines
785 B
Vue

<script setup>
import DataView from "@/components/datatable/DataView.vue";
</script>
<template>
<DataView
v-bind="{
api: 'Product_Variant',
setting: 'product-variants',
pagename: 'product-variants',
params: {
values:
'id,code,product,product__name,product__os__name,product__external_storage__max_capacity,color,color__code,color__name,color__hex_code,ram,ram__code,ram__capacity,internal_storage,internal_storage__code,internal_storage__capacity,image,image__path,price,note,create_time,update_time',
sort: 'id',
},
timeopt: { time: 36000 },
modal: {
component: 'imports/AddProduct',
title: 'Tạo sản phẩm',
width: '90%',
height: '450px',
},
}"
/>
</template>