update warehouse

This commit is contained in:
Duy Dang 2024-07-04 15:12:56 +08:00
parent 1c205c69ac
commit 633496a033
9 changed files with 89 additions and 13 deletions

View File

@ -28,7 +28,7 @@ export const NAV_ITEM = (admin = false) => [
text: language?.ui.house,
},
{
path: '/warehouse',
path: '/location',
show: true,
icon: IconBuildingWarehouse,
text: language?.ui.location,

View File

@ -12,7 +12,7 @@
"house": "Nhà",
"action": "Thao Tác",
"createNew": "Tạo mới",
"location": "Nhà kho",
"location": "Khu vực",
"displayName": "Tên hiển thị",
"newPassword": "Mật khẩu mới",
"confirmNewPassword": "Nhập lại mật khẩu",

View File

@ -1,7 +1,11 @@
import { IconPackage } from '@tabler/icons-solidjs'
import { For } from 'solid-js'
import { Dynamic } from 'solid-js/web'
import './warehouse.scss'
import './location.scss'
const data = [
'A0FAAA2FF4402E32E4BEF7D7A0FAAA2FF4402E32E4BEF7D7A0FAAA2FF4402E32E4BEF7D7A0FAAA2FF4402E32E4BEF7D7A0FAAA2FF4402E32E4BEF7D7'
]
function PackageItem(props) {
const { item } = { ...props }
@ -9,7 +13,7 @@ function PackageItem(props) {
return (
<a
href="#"
class="group/item w-10 h-10 m-[5px] hover:text-white hover:bg-fu-green rounded-[10px] block"
class="group/item w-20 h-20 m-[10px] hover:text-white hover:bg-fu-green rounded-[10px] block"
classList={{ 'bg-fu-warning/30': isEmpty, 'bg-fu-warning': !isEmpty }}
>
<div class="bx-dec invisible group-hover/item:visible">
@ -37,13 +41,13 @@ function PackageItem(props) {
)
}
export default function WareHouse() {
export default function Location() {
return (
<div class="warehouse">
<div class="locations">
<div class="card w-full bg-base-100 shadow-lg border border-gray-200">
<div class="card-body">
<div class="box-header pb-5 mb-5 flex items-center justify-between border-b border-gray-200">
<h4 class="card-title">Section Overview</h4>
<h4 class="card-title">Nhà 1</h4>
<div class="box-controls pull-right">
<input class="form-control no-border bg-base-200 px-2 py-1" id="e" type="date" />
</div>

View File

@ -0,0 +1 @@
export { default } from './Location'

View File

@ -0,0 +1,3 @@
.locations {
}

View File

@ -1 +0,0 @@
export { default } from './WareHouse'

View File

@ -1,3 +0,0 @@
.warehouse {
}

View File

@ -32,8 +32,8 @@ export const ROUTES = [
show: true,
},
{
path: '/warehouse',
components: lazy(() => import('@pages/WareHouse')),
path: '/location',
components: lazy(() => import('@pages/Location')),
filter: {},
show: true,
},

File diff suppressed because one or more lines are too long