feat(inventory): 統一庫存調整與調撥模組 UI,實作多選、搜尋與明細欄位重構
This commit is contained in:
@@ -237,7 +237,6 @@ export default function Show({ doc }: any) {
|
||||
<TableHead className="text-right font-medium text-grey-600">差異</TableHead>
|
||||
<TableHead className="font-medium text-grey-600">單位</TableHead>
|
||||
<TableHead className="font-medium text-grey-600">備註</TableHead>
|
||||
{!isCompleted && <TableHead className="w-[50px]"></TableHead>}
|
||||
</TableRow>
|
||||
</TableHeader>
|
||||
<TableBody>
|
||||
@@ -303,21 +302,6 @@ export default function Show({ doc }: any) {
|
||||
/>
|
||||
)}
|
||||
</TableCell>
|
||||
{!isCompleted && (
|
||||
<TableCell className="text-center">
|
||||
<Button
|
||||
variant="ghost"
|
||||
size="sm"
|
||||
className="h-8 w-8 text-red-400 hover:text-red-600 hover:bg-red-50 p-0"
|
||||
onClick={() => {
|
||||
updateItem(index, 'counted_qty', '');
|
||||
}}
|
||||
>
|
||||
<Trash2 className="h-4 w-4" />
|
||||
</Button>
|
||||
</TableCell>
|
||||
)
|
||||
}
|
||||
</TableRow>
|
||||
);
|
||||
})}
|
||||
|
||||
Reference in New Issue
Block a user