Commit 38d2938d by wusiyi

feat: 新增备货计划页面1000860

parent 1cf1eea5
...@@ -31,6 +31,7 @@ import receiptDoc from '@/views/warehouse/receiptDoc.vue' ...@@ -31,6 +31,7 @@ import receiptDoc from '@/views/warehouse/receiptDoc.vue'
import issueDoc from '@/views/warehouse/issueDoc.vue' import issueDoc from '@/views/warehouse/issueDoc.vue'
import ExternalAuthorisationPage from '@/views/system/externalAuthorisationPage.vue' import ExternalAuthorisationPage from '@/views/system/externalAuthorisationPage.vue'
import CustomersPage from '@/views/system/CustomersPage.vue' import CustomersPage from '@/views/system/CustomersPage.vue'
import stockingPlan from '@/views/warehouse/stockingPlan.vue'
const router = createRouter({ const router = createRouter({
history: createWebHistory(), history: createWebHistory(),
routes: [ routes: [
...@@ -129,7 +130,7 @@ const router = createRouter({ ...@@ -129,7 +130,7 @@ const router = createRouter({
meta: { meta: {
title: '下载生产客户端', title: '下载生产客户端',
}, },
component: () => {}, component: () => { },
beforeEnter() { beforeEnter() {
// 假设你的下载链接是这个 // 假设你的下载链接是这个
const downloadLink = '/exeFiles/JomallProductionAssistantSetup.exe' const downloadLink = '/exeFiles/JomallProductionAssistantSetup.exe'
...@@ -280,6 +281,13 @@ const router = createRouter({ ...@@ -280,6 +281,13 @@ const router = createRouter({
component: issueDoc, component: issueDoc,
}, },
{ {
path: '/warehouse/stocking-plan',
meta: {
title: '备货计划',
},
component: stockingPlan,
},
{
path: '/warehouse/warning', path: '/warehouse/warning',
meta: { meta: {
title: '仓库预警', title: '仓库预警',
......
...@@ -88,7 +88,6 @@ const menu: MenuItem[] = [ ...@@ -88,7 +88,6 @@ const menu: MenuItem[] = [
id: 124, id: 124,
label: '出库单', label: '出库单',
}, },
{ {
index: '/warehouse/manage', index: '/warehouse/manage',
id: 121, id: 121,
...@@ -99,6 +98,11 @@ const menu: MenuItem[] = [ ...@@ -99,6 +98,11 @@ const menu: MenuItem[] = [
id: 122, id: 122,
label: '库位管理', label: '库位管理',
}, },
{
index: '/warehouse/stocking-plan',
id: 124,
label: '备货计划',
},
], ],
}, },
...@@ -216,7 +220,7 @@ const menu: MenuItem[] = [ ...@@ -216,7 +220,7 @@ const menu: MenuItem[] = [
label: '工厂设置', label: '工厂设置',
}, },
], ],
}, },
// { // {
// index: '', // index: '',
// id: 3, // id: 3,
......
...@@ -55,7 +55,7 @@ export interface InterWarehouseBase { ...@@ -55,7 +55,7 @@ export interface InterWarehouseBase {
supplierItemNo?: string | null supplierItemNo?: string | null
} }
// 主表列表ts // 主表列表ts
export interface InterWarehousePage extends InterWarehouseBase {} export interface InterWarehousePage extends InterWarehouseBase { }
// 子表列表ts // 子表列表ts
export interface InterWarehouseDetail extends InterWarehouseBase { export interface InterWarehouseDetail extends InterWarehouseBase {
productList: InterProductList[] productList: InterProductList[]
...@@ -117,3 +117,12 @@ export interface ILocation { ...@@ -117,3 +117,12 @@ export interface ILocation {
locationId?: number | null locationId?: number | null
locationCode?: string | null locationCode?: string | null
} }
export interface stockingPlanSearchForm {
warehouseId?: number | string
warehouseSku?: string
outNo?: string
timeType?: string
startTime?: string
endTime?: string
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment