support tablet
This commit is contained in:
@@ -26,6 +26,7 @@
|
||||
</template>
|
||||
|
||||
<script setup lang="ts">
|
||||
import type { BaseTableCol, TableRowData } from "tdesign-mobile-vue";
|
||||
import type { ProductStockPreviewItem } from "@/utils/productStock";
|
||||
|
||||
defineOptions({
|
||||
@@ -36,7 +37,7 @@ defineProps<{
|
||||
items: ProductStockPreviewItem[];
|
||||
}>();
|
||||
|
||||
const columns = [
|
||||
const columns: BaseTableCol<TableRowData>[] = [
|
||||
{ colKey: "product", title: "产品", width: "40%", ellipsis: true },
|
||||
{ colKey: "required", title: "需求", width: "20%", align: "right", cell: "required" },
|
||||
{ colKey: "available", title: "可用", width: "20%", align: "right", cell: "available" },
|
||||
|
||||
Reference in New Issue
Block a user