support tablet

This commit is contained in:
Timi
2026-11-02 23:12:05 +08:00
parent c48b19bed5
commit d3879c9c77
123 changed files with 4153 additions and 2673 deletions
+2 -1
View File
@@ -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" },