update warehouse
This commit is contained in:
parent
1c205c69ac
commit
633496a033
@ -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,
|
||||
|
@ -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",
|
||||
|
@ -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>
|
1
frontend/src/pages/Location/index.js
Normal file
1
frontend/src/pages/Location/index.js
Normal file
@ -0,0 +1 @@
|
||||
export { default } from './Location'
|
3
frontend/src/pages/Location/location.scss
Normal file
3
frontend/src/pages/Location/location.scss
Normal file
@ -0,0 +1,3 @@
|
||||
.locations {
|
||||
|
||||
}
|
@ -1 +0,0 @@
|
||||
export { default } from './WareHouse'
|
@ -1,3 +0,0 @@
|
||||
.warehouse {
|
||||
|
||||
}
|
@ -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
Loading…
x
Reference in New Issue
Block a user