导航页样式,入库页样式,分页

This commit is contained in:
2024-02-26 18:11:25 +08:00
parent 9df8b4b10f
commit 4530466278
18 changed files with 392 additions and 280 deletions

View File

@@ -21,28 +21,46 @@ export const pdaUpdate = () => request({
// return res
// }
// 菜单
export const authority = () => {
// 首页显示出入库单据数量
// export const getBillsCount = (area) => request({
// url:'api/easOutInBill/getBillsCount',
// data: {}
// })
export const getBillsCount = (area) => {
let res = [
{name: '销售出库', djlx: 'XSCKD', ywlx: 'OUT', counts: '1'},
{name: '采购退货出库', djlx: 'CGTHD', ywlx: 'OUT', counts: '1'},
{name: '调拨出库', djlx: 'DBCKD', ywlx: 'OUT', counts: '1'},
{name: '委外出库', djlx: 'WWFLD', ywlx: 'OUT', counts: '1'},
{name: '生产出库', djlx: 'LLCKD', ywlx: 'OUT', counts: '1'},
{name: '采购入库', djlx: 'CGRKD', ywlx: 'IN', counts: '1'},
{name: '生产退料入库', djlx: 'LLTHD', ywlx: 'IN', counts: '1'},
{name: '调拨入库', djlx: 'DBRKD', ywlx: 'IN', counts: '1'},
{name: '委外入库', djlx: 'WWRKD', ywlx: 'IN', counts: '1'}
]
return res
}
// 1.2分页查询出入库单据
// export const easOutInBillPage = (size, page, fuzzy, djlx) => request({
// url:'api/easOutInBill/page',
// data: {
// size: size,
// page: page,
// fuzzy: fuzzy,
// djlx: djlx
// }
// })
export const easOutInBillPage = (size, page, fuzzy, djlx) => {
let res = {
sonTree: [
{menu_id: '1', path: 'RF01', name: '入库', router: '/pages/management/in-storage', sonTree: []},
{menu_id: '1', path: 'RF02', name: '出库', router: '/pages/management/out-storage', sonTree: []}
]
code: '1',
desc: '',
pageNum: '2',
pageSize: '10',
totalElements: '50',
result: [{a: 'IO20213', b: 'SOUT4201', c: '未审核', d: '叉车装配线', e: '2023-06-16', f: '陈晓华', g: 'EAS_钱丽文'}, {a: 'IO20213', b: 'SOUT4201', c: '未审核', d: '叉车装配线', e: '2023-06-16', f: '陈晓华', g: 'EAS_钱丽文'}, {a: 'IO20213', b: 'SOUT4201', c: '未审核', d: '叉车装配线', e: '2023-06-16', f: '陈晓华', g: 'EAS_钱丽文'}, {a: 'IO20213', b: 'SOUT4201', c: '未审核', d: '叉车装配线', e: '2023-06-16', f: '陈晓华', g: 'EAS_钱丽文'}, {a: 'IO20213', b: 'SOUT4201', c: '未审核', d: '叉车装配线', e: '2023-06-16', f: '陈晓华', g: 'EAS_钱丽文'}, {a: 'IO20213', b: 'SOUT4201', c: '未审核', d: '叉车装配线', e: '2023-06-16', f: '陈晓华', g: 'EAS_钱丽文'}, {a: 'IO20213', b: 'SOUT4201', c: '未审核', d: '叉车装配线', e: '2023-06-16', f: '陈晓华', g: 'EAS_钱丽文'}, {a: 'IO20213', b: 'SOUT4201', c: '未审核', d: '叉车装配线', e: '2023-06-16', f: '陈晓华', g: 'EAS_钱丽文'}]
}
return res
}
// 首页显示出入库单据数量
export const getBillsCount = (area) => request({
url:'api/easOutInBill/getBillsCount',
data: {}
})
// 1.2指令查询
export const inOutExceptionInstQuery = (wcode) => request({
url:'api/cacheLineHand/inOutExceptionInstQuery',
data: {
wcsdevice_code: wcode
}
})
// 1.3确认
export const inOutExceptionInstConfirm = (wcode, vcode, type) => request({
url:'api/cacheLineHand/inOutExceptionInstConfirm',