Commit da5bed27 by 张立顺

feat 调拨功能开发

1 parent a22d9cb8
...@@ -65,6 +65,12 @@ export function stockAllocatePage(data) { ...@@ -65,6 +65,12 @@ export function stockAllocatePage(data) {
return request(data, RequestMethods.POST) return request(data, RequestMethods.POST)
} }
// 运营/商务审核分页查询
export function stockAllocateOperatorReviewPage(data) {
data.method = "dj.smartcarlife.api.stockAllocate.operatorreview.page"
return request(data, RequestMethods.POST)
}
// 分页查询调拨详细信息 // 分页查询调拨详细信息
export function stockAllocateDetailPage(data) { export function stockAllocateDetailPage(data) {
data.method = `${path3}stock.allocate.detail.page` data.method = `${path3}stock.allocate.detail.page`
......
...@@ -322,6 +322,48 @@ export const routerName = { ...@@ -322,6 +322,48 @@ export const routerName = {
parentId: "908", parentId: "908",
cache: false cache: false
}, },
auth: [
{
authId: "9080901",
parentId: "90809",
label: "导出",
category: "Button",
type: "primary",
handle: "handleExport"
},
{
authId: "9080902",
parentId: "90809",
label: "查看",
handle: "look"
},
{
authId: "9080903",
parentId: "90809",
label: "审批",
handle: "handleReview",
addRoutePath: [
{
authId: "908090301",
name: "审批",
parentId: "90809"
}
]
},
{
authId: "9080904",
parentId: "90809",
label: "驳回",
handle: "handleReject",
addRoutePath: [
{
authId: "908090401",
name: "驳回",
parentId: "90809"
}
]
}
],
component: _import("stockManage/transferOperationsReview/index") component: _import("stockManage/transferOperationsReview/index")
}, },
90810: { 90810: {
...@@ -333,6 +375,48 @@ export const routerName = { ...@@ -333,6 +375,48 @@ export const routerName = {
parentId: "908", parentId: "908",
cache: false cache: false
}, },
auth: [
{
authId: "9081001",
parentId: "90810",
label: "导出",
category: "Button",
type: "primary",
handle: "handleExport"
},
{
authId: "9081002",
parentId: "90810",
label: "查看",
handle: "look"
},
{
authId: "9081003",
parentId: "90810",
label: "审批",
handle: "handleReview",
addRoutePath: [
{
authId: "908100301",
name: "审批",
parentId: "90810"
}
]
},
{
authId: "9081004",
parentId: "90810",
label: "驳回",
handle: "handleReject",
addRoutePath: [
{
authId: "908100401",
name: "驳回",
parentId: "90810"
}
]
}
],
component: _import("stockManage/transferCommercialReview/index") component: _import("stockManage/transferCommercialReview/index")
}, },
90811: { 90811: {
...@@ -376,7 +460,7 @@ export const routerName = { ...@@ -376,7 +460,7 @@ export const routerName = {
parentId: "90811", parentId: "90811",
label: "驳回", label: "驳回",
handle: "handleReject" handle: "handleReject"
}, }
], ],
component: _import("stockManage/transferShipment/index") component: _import("stockManage/transferShipment/index")
}, },
...@@ -434,4 +518,48 @@ export const routerName = { ...@@ -434,4 +518,48 @@ export const routerName = {
], ],
component: _import("stockManage/inventoryTransactionRecords/index") component: _import("stockManage/inventoryTransactionRecords/index")
}, },
908090301: {
path: "/transferOperationsReview/handleReview",
name: "handleReview",
meta: {
title: "审批",
authId: "908090301",
parentId: "90809",
cache: false
},
component: _import("stockManage/transferOperationsReview/handleReview")
},
908090401: {
path: "/transferOperationsReview/handleReject",
name: "handleReject",
meta: {
title: "驳回",
authId: "908090401",
parentId: "90809",
cache: false
},
component: _import("stockManage/transferOperationsReview/handleReject")
},
908100301: {
path: "/transferOperationsReview/handleReview",
name: "handleReview",
meta: {
title: "审批",
authId: "908100301",
parentId: "90810",
cache: false
},
component: _import("stockManage/transferOperationsReview/handleReview")
},
908100401: {
path: "/transferOperationsReview/handleReject",
name: "handleReject",
meta: {
title: "驳回",
authId: "908100401",
parentId: "90810",
cache: false
},
component: _import("stockManage/transferOperationsReview/handleReject")
}
} }
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!