From c6c0dfdd113188cd1377937033469854409cd186 Mon Sep 17 00:00:00 2001 From: caill <815519168@qq.com> Date: Tue, 27 Feb 2024 15:31:44 +0800 Subject: [PATCH] =?UTF-8?q?=E5=85=A5=E5=BA=93=E4=BA=A4=E4=BA=92=E5=8A=9F?= =?UTF-8?q?=E8=83=BD=E5=92=8C=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- common/style/layout.css | 75 +++++++--- components/Pagination.vue | 9 +- components/SearchBox.vue | 6 +- pages/management/in-storage.vue | 244 +++++++++++++++++++++----------- utils/getData2.js | 207 +++++++++++---------------- 5 files changed, 310 insertions(+), 231 deletions(-) diff --git a/common/style/layout.css b/common/style/layout.css index 210292d..8cb3ed1 100644 --- a/common/style/layout.css +++ b/common/style/layout.css @@ -20,16 +20,15 @@ uni-button{ .content{ width: 100%; height: 100%; - background: center / 100% 100% url(./static/images/page_bg.jpg) no-repeat; - background-color: #00152d; + background: center / 100% auto url(./static/images/page_bg.jpg) no-repeat; + background-color: #040d1e; } .search-confirm-wrap { width: calc(100% - 60rpx); - /* background-color: #fff; */ margin: 30rpx auto; border-radius: 12rpx; padding: 30rpx; - background-color: linear-gradient(to right, rgba(8, 38, 68, 0.5) 1%, rgba(8, 38, 68, 0.98) 100%); + background: linear-gradient(to right, rgba(8, 38, 68, 0.5) 1%, rgba(8, 38, 68, 0.98) 100%); border: 1rpx solid #0490DD; box-shadow: rgba(4, 136, 203, 0.2) -6rpx 6px 12rpx 2rpx, rgba(4, 136, 203, 0.2) 6rpx -6rpx 12rpx 2rpx; } @@ -104,15 +103,20 @@ uni-button{ } .grid-wrap{ width: calc(100% - 60rpx); - height: calc(100% - 450rpx); /** 90 + 140 +100+60 */ - padding: 30rpx 60rpx; + height: calc(100% - 420rpx); + padding: 30rpx 60rpx 0rpx 60rpx; margin: 10rpx auto 0; background: center / 100% 100% url(./static/images/bg-task-r2.png) no-repeat; - /* overflow-y: scroll; */ + /* border: 1px solid #0090e6; + background-color: rgba(2, 38, 72, 90%); + border-radius: 9px; + box-shadow: inset 3px 3px 14px -2px #0089df, inset -3px -3px 14px -2px #0089df; */ } .table-wrap { width: 100%; - height: calc(100% - 134rpx) + height: calc(100% - 150rpx); + overflow-y: scroll; + margin-bottom: 40rpx; } .grid-wrap .grid-table{ width: 100%; @@ -181,7 +185,17 @@ uni-button{ z-index: 49; } .zd-th-wraper{ - background: center / 100% 100% url(./static/images/grid_bg.png) no-repeat; + width: 100%; + background: center / 110% 100% url(./static/images/grid_bg.png) no-repeat; + overflow: hidden; +} +.zd-sec-th-wraper { + width: 100%; + background-color: #673939; +} +.zd-td-wraper{ + width: 100%; + overflow: hidden; } .zd-th { display: flex; @@ -192,20 +206,20 @@ uni-button{ height: 80rpx; color: #AFBED8; font-weight: bold; - padding: 24rpx 10rpx; + padding: 0 10rpx; text-align: center; } .zd-sec-th { display: flex; align-items: center; justify-content: center; - font-size: 15px; - line-height: 18px; - height: 40px; - color: #7d7d7d; - background-color: #fff; + font-size: 28rpx; + line-height: 30rpx; + height: 78rpx; + color: #fff; + /* background-color: #0F1521; */ font-weight: bold; - padding: 24rpx 10rpx; + padding: 0 10rpx; text-align: center; } .zd-td { @@ -214,13 +228,31 @@ uni-button{ align-items: center; font-size: 28rpx; line-height: 36rpx; - height: 92rpx; + height: 86rpx; color: #fff; padding: 0 16rpx; text-align: center; border-bottom: 2rpx solid #7A9FE0; overflow: hidden; } +.zd-sec-td { + display: flex; + justify-content: center; + align-items: center; + font-size: 24rpx; + line-height: 28rpx; + height: 80rpx; + color: #fff; + background-color: rgba(194, 86, 62, 0.2); + padding: 0 16rpx; + text-align: center; + border-bottom: 2rpx solid #C2563E; + overflow: hidden; +} +.zd-td-checked .zd-td { + background-color: rgba(63,106,202,0.3); + border-bottom: 0 +} .zd-checkbox { width: 44rpx; height: 44rpx; @@ -242,9 +274,12 @@ uni-button{ padding: 2px 10px; border-radius: 10px; } -.zd-sec-table { - background-color: #fff; - padding: 15px 0; +.zd-sec-wraper { + width: 100%; + background-color: rgba(63,106,202,0.3); + padding: 30rpx; + border-bottom: 2rpx solid #7A9FE0; + transition: height 0.5s ease; } .status-wrap { width: 100%; diff --git a/components/Pagination.vue b/components/Pagination.vue index 4fd6757..f3c9a2b 100644 --- a/components/Pagination.vue +++ b/components/Pagination.vue @@ -1,8 +1,8 @@ @@ -65,8 +65,7 @@ export default { .pagination { display: flex; align-items: center; - justify-content: center;; - margin-top: 40rpx; + justify-content: center; } text { display: inline-block; diff --git a/components/SearchBox.vue b/components/SearchBox.vue index 12d04ad..bbdd744 100644 --- a/components/SearchBox.vue +++ b/components/SearchBox.vue @@ -127,8 +127,8 @@ .search_wraper _wh(100%, 76rpx) padding 0 4rpx 0 24rpx - border 1rpx solid #e1e1e1 - background-color #fff + border 1rpx solid #4980BD + background-color rgba(45,88,184,0.1) border-radius 12rpx .search_input width 100% @@ -143,7 +143,7 @@ .icon_scan _wh(140rpx, 60rpx) _font(40rpx,60rpx,#fff,,center) - background-color #3CC1FF + background-color #137ABD border-radius 24rpx .icon_search _wh(70rpx, 70rpx) diff --git a/pages/management/in-storage.vue b/pages/management/in-storage.vue index 89ed409..e07cc2c 100644 --- a/pages/management/in-storage.vue +++ b/pages/management/in-storage.vue @@ -7,10 +7,10 @@ - + - + @@ -21,7 +21,7 @@ 序号 - + 选择 入库单号 EAS单号 状态 @@ -30,32 +30,62 @@ 领料人 制单人 - - - {{i+1}} - - {{e.a}} - {{e.b}} - {{e.c}} - {{e.d}} - {{e.e}} - {{e.f}} - {{e.g}} + + + {{i+1}} + + + + {{e.code}} + {{e.djbh}} + {{e.djzt}} + {{e.ckmc}} + {{e.cksj}} + {{e.llr}} + {{e.cjr}} - - 序号 - - 入库单号 - EAS单号 - 状态 - 去向 - 入库日期 - 领料人 - 制单人 + + + 序号 + 选择 + 入库单号 + 明细编号 + 存货编号 + 物料编号 + 物料名称 + 推荐库位 + 实际库位 + 已入数量 + 数量 + 单据日期 + + + {{j+1}} + + {{el.djbh}} + {{el.zzbm}} + {{el.kwbm}} + {{el.wlbm}} + {{el.wlmc}} + {{el.djbh}} + {{el.djbh}} + {{el.jbsl}} + {{el.fzsl}} + {{el.cksj}} + + + + + + + + + + - + @@ -64,7 +94,7 @@ import NavBar from '@/components/NavBar.vue' import SearchBox from '@/components/SearchBox.vue' import Pagination from '@/components/Pagination.vue' - import {easOutInBillPage} from '@/utils/getData2.js' + import {easOutInBillPage, easOutInBillDetailPage, easOutInBillUpdate, easOutInBillDetailUpdate} from '@/utils/getData2.js' export default { components: { NavBar, @@ -75,19 +105,31 @@ return { id: '', val1: '', - dataList: [], + dataList1: [], + dataList2: [], pkId: '', - disabled: false, - total: 0, - queryParams:{ - pageSize: 0, - pageNum: 0 - } + checkArr1: [], + disabled1: false, + totalCount1: 0, + queryParams1:{ + pageSize: 10, + pageNum: 1 + }, + currentPage1: 1, + code: '', + totalCount2: 0, + queryParams2:{ + pageSize: 5, + pageNum: 1 + }, + currentPage2: 1, + checkArr2: [], + disabled2: false }; }, onShow() { if (this.$store.getters.publicArr) { - this.dataList = this.$store.getters.publicArr + this.dataList1 = this.$store.getters.publicArr } }, destroyed () { @@ -96,72 +138,112 @@ onLoad (options) { this.id = options.id }, - created () { - this._easOutInBillPage() - }, methods: { + toSearch () { + this.queryParams1 = { + pageSize: 10, + pageNum: 1 + } + this.currentPage1 = 1 + this.dataList2 = [] + this._easOutInBillPage() + }, async _easOutInBillPage () { - let res = await easOutInBillPage(this.id) + let res = await easOutInBillPage(this.val1, this.id, this.queryParams1.pageNum + '', this.queryParams1.pageSize + '') + this.checkArr1 = [] res.result.map(el => { this.$set(el, 'checked', false) }) - this.dataList = [...res.result] - this.total = Number(res.totalElements) - this.queryParams.pageSize = Number(res.pageSize) - this.queryParams.pageNum = Number(res.pageNum) + this.dataList1 = [...res.result] + this.totalCount1 = Number(res.totalElements) + this.queryParams1.pageSize = Number(res.pageSize) + this.queryParams1.pageNum = Number(res.pageNum) }, - handlePageChange(page) { - this.queryParams.pageNum = page; + async _easOutInBillDetailPage () { + let res = await easOutInBillDetailPage(this.code, this.queryParams2.pageNum + '', this.queryParams2.pageSize + '') + this.checkArr2 = [] + res.result.map(el => { + this.$set(el, 'checked', false) + }) + this.dataList2 = [...res.result] + this.totalCount2 = Number(res.totalElements) + this.queryParams2.pageSize = Number(res.pageSize) + this.queryParams2.pageNum = Number(res.pageNum) }, - toDelect () { - this.dataList = [] - this.pkId = '' - this.$store.dispatch('setPublicArr', '') + handlePageChange1(page) { + this.queryParams1.pageNum = page + this.currentPage1 = page + this.dataList2 = [] + this._easOutInBillPage() + }, + handlePageChange2(page) { + this.queryParams2.pageNum = page + this.currentPage2 = page + this._easOutInBillDetailPage() + }, + toCollapse (e) { + this.pkId = this.pkId === e.id ? '' : e.id + if (this.pkId === e.id) { + this.queryParams2 = { + pageSize: 10, + pageNum: 1 + } + this.currentPage2 = 1 + this.code = e.code + this._easOutInBillDetailPage() + } + }, + toCheck1 (e) { + e.checked = !e.checked + let arr = this.dataList1.filter(el => el.checked === true) + this.checkArr1 = arr.map(el => {return el.code}) }, async toSure () { - this.disabled = true - if (!this.index1) { - uni.showToast({ - title: '请选择入库点', - icon: 'none' - }) - this.disabled = false + this.disabled1 = true + if (this.checkArr1.length === 0) { + this.disabled1 = false return } - if (!this.val1) { - uni.showToast({ - title: '请输入载具号', - icon: 'none' - }) - this.disabled = false - return - } - if (this.dataList.length === 0) { - uni.showToast({ - title: '请选择订单信息', - icon: 'none' - }) - this.disabled = false - return - } try { - let res = await InstoreOrder(this.index1, this.val1, this.dataList) - this.disabled = false - this.index1 = '' - this.val1 = '' - this.toDelect() + let res = await easOutInBillUpdate(this.checkArr1) + this.disabled1 = false + this.checkArr1 = [] + this.toSearch() uni.showToast({ - title: res.message, + title: res.desc, icon: 'none' }) } catch (e) { - this.disabled = false + this.disabled1 = false } }, - toSelect () { - uni.navigateTo({ - url: '/pages/management/MaterList' + toCheck2 (e) { + e.checked = !e.checked + this.checkArr2 = this.dataList2.filter(el => el.checked === true) + }, + async _easOutInBillDetailUpdate () { + this.disabled2 = true + if (this.checkArr2.length === 0) { + this.disabled2 = false + return + } + try { + let res = await easOutInBillDetailUpdate(this.checkArr2) + this.disabled2 = false + this.checkArr2 = [] + this.queryParams2 = { + pageSize: 10, + pageNum: 1 + } + this.currentPage2 = 1 + this._easOutInBillDetailPage() + uni.showToast({ + title: res.desc, + icon: 'none' }) + } catch (e) { + this.disabled2 = false + } } } } diff --git a/utils/getData2.js b/utils/getData2.js index 33e8070..ec01c8c 100644 --- a/utils/getData2.js +++ b/utils/getData2.js @@ -41,143 +41,106 @@ export const getBillsCount = (area) => { return res } // 1.2分页查询出入库单据 -// export const easOutInBillPage = (size, page, fuzzy, djlx) => request({ +// export const easOutInBillPage = (fuzzy, djlx, page, size) => request({ // url:'api/easOutInBill/page', // data: { -// size: size, -// page: page, // fuzzy: fuzzy, -// djlx: djlx +// djlx: djlx, +// page: page, +// size: size // } // }) export const easOutInBillPage = (size, page, fuzzy, djlx) => { let res = { code: '1', desc: '', - pageNum: '2', + pageNum: '1', 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_钱丽文'}] + result: [ + {id: '1', code: 'IO20213', djbh: 'SOUT4201', djzt: '未审核', ckmc: '叉车装配线', cksj: '2023-06-16', llr: '陈晓华', cjr: 'EAS_钱丽文'}, + {id: '2', code: 'IO20214', djbh: 'SOUT4201', djzt: '未审核', ckmc: '叉车装配线', cksj: '2023-06-16', llr: '陈晓华', cjr: 'EAS_钱丽文'}, + {id: '3', code: 'IO20215', djbh: 'SOUT4201', djzt: '未审核', ckmc: '叉车装配线', cksj: '2023-06-16', llr: '陈晓华', cjr: 'EAS_钱丽文'}, + {id: '4', code: 'IO20216', djbh: 'SOUT4201', djzt: '未审核', ckmc: '叉车装配线', cksj: '2023-06-16', llr: '陈晓华', cjr: 'EAS_钱丽文'}, + {id: '5', code: 'IO20217', djbh: 'SOUT4201', djzt: '未审核', ckmc: '叉车装配线', cksj: '2023-06-16', llr: '陈晓华', cjr: 'EAS_钱丽文'}, + {id: '6', code: 'IO20218', djbh: 'SOUT4201', djzt: '未审核', ckmc: '叉车装配线', cksj: '2023-06-16', llr: '陈晓华', cjr: 'EAS_钱丽文'}, + {id: '7', code: 'IO20219', djbh: 'SOUT4201', djzt: '未审核', ckmc: '叉车装配线', cksj: '2023-06-16', llr: '陈晓华', cjr: 'EAS_钱丽文'}, + {id: '8', code: 'IO20220', djbh: 'SOUT4201', djzt: '未审核', ckmc: '叉车装配线', cksj: '2023-06-16', llr: '陈晓华', cjr: 'EAS_钱丽文'}, + {id: '9', code: 'IO20221', djbh: 'SOUT4201', djzt: '未审核', ckmc: '叉车装配线', cksj: '2023-06-16', llr: '陈晓华', cjr: 'EAS_钱丽文'}, + {id: '10', code: 'IO20222', djbh: 'SOUT4201', djzt: '未审核', ckmc: '叉车装配线', cksj: '2023-06-16', llr: '陈晓华', cjr: 'EAS_钱丽文'}] } return res } -// 1.3确认 -export const inOutExceptionInstConfirm = (wcode, vcode, type) => request({ - url:'api/cacheLineHand/inOutExceptionInstConfirm', +// 1.2分页查询出入库单据 +// export const easOutInBillDetailPage = (djid, page, size) => request({ +// url:'api/easOutInBillDetail/page', +// data: { +// djid: djid, +// page: page, +// size: size +// } +// }) +export const easOutInBillDetailPage = (djid, page, size) => { + let res = {} + if (page === '1') { + res = { + code: '1', + desc: '', + pageNum: '2', + pageSize: '5', + totalElements: '50', + result: [ + {id: '1', code: 'IO20213', djbh: 'SOUT4201', djzt: '未审核', ckmc: '叉车装配线', cksj: '2023-06-16', llr: '陈晓华', cjr: 'EAS_钱丽文'}, + {id: '2', code: 'IO20214', djbh: 'SOUT4201', djzt: '未审核', ckmc: '叉车装配线', cksj: '2023-06-16', llr: '陈晓华', cjr: 'EAS_钱丽文'}, + {id: '3', code: 'IO20215', djbh: 'SOUT4201', djzt: '未审核', ckmc: '叉车装配线', cksj: '2023-06-16', llr: '陈晓华', cjr: 'EAS_钱丽文'}, + {id: '4', code: 'IO20216', djbh: 'SOUT4201', djzt: '未审核', ckmc: '叉车装配线', cksj: '2023-06-16', llr: '陈晓华', cjr: 'EAS_钱丽文'}, + {id: '5', code: 'IO20217', djbh: 'SOUT4201', djzt: '未审核', ckmc: '叉车装配线', cksj: '2023-06-16', llr: '陈晓华', cjr: 'EAS_钱丽文'}] + } + } else { + res = { + code: '1', + desc: '', + pageNum: '2', + pageSize: '5', + totalElements: '50', + result: [ + {id: '1', code: 'IO20213', djbh: 'SOUT4201', djzt: '未审核', ckmc: '叉车装配线', cksj: '2023-06-16', llr: '陈晓华', cjr: 'EAS_钱丽文'}, + {id: '2', code: 'IO20214', djbh: 'SOUT4201', djzt: '未审核', ckmc: '叉车装配线', cksj: '2023-06-16', llr: '陈晓华', cjr: 'EAS_钱丽文'}, + {id: '3', code: 'IO20215', djbh: 'SOUT4201', djzt: '未审核', ckmc: '叉车装配线', cksj: '2023-06-16', llr: '陈晓华', cjr: 'EAS_钱丽文'}] + } + } + return res +} +// 1.3审核出入库单据 +export const easOutInBillUpdate = (djid) => request({ + url:'api/easOutInBill/update', data: { - wcsdevice_code: wcode, - vehicle_code: vcode, - type: type + djid: djid } }) - -/** 缓存线盘点 */ -// 1.1工序下拉框查询 -export const workprocedureQuery = () => request({ - url:'api/cacheLineHand/getWorkprocedure', - data: {} -}) - -// 1.2缓存线盘点-缓存线物料信息盘点 -export const getCacheLineMaterialInfo = (area, code) => request({ - url:'api/cacheLineHand/getCacheLineMaterialInfo', - data: { - product_area: area, - wcsdevice_code: code +// 1.4查询出单据明细库位 +// export const queryInventoryInfo = (arr) => request({ +// url:'api/easOutInBillDetail/queryInventoryInfo', +// data: arr +// }) +export const queryInventoryInfo = (arr) => { + let res = { + code: '1', + desc: '', + pageNum: '2', + pageSize: '5', + totalElements: '50', + result: [ + {id: '1', code: 'IO20213', djbh: 'SOUT4201', djzt: '未审核', ckmc: '叉车装配线', cksj: '2023-06-16', llr: '陈晓华', cjr: 'EAS_钱丽文'}, + {id: '2', code: 'IO20214', djbh: 'SOUT4201', djzt: '未审核', ckmc: '叉车装配线', cksj: '2023-06-16', llr: '陈晓华', cjr: 'EAS_钱丽文'}, + {id: '3', code: 'IO20215', djbh: 'SOUT4201', djzt: '未审核', ckmc: '叉车装配线', cksj: '2023-06-16', llr: '陈晓华', cjr: 'EAS_钱丽文'}, + {id: '4', code: 'IO20216', djbh: 'SOUT4201', djzt: '未审核', ckmc: '叉车装配线', cksj: '2023-06-16', llr: '陈晓华', cjr: 'EAS_钱丽文'}, + {id: '5', code: 'IO20217', djbh: 'SOUT4201', djzt: '未审核', ckmc: '叉车装配线', cksj: '2023-06-16', llr: '陈晓华', cjr: 'EAS_钱丽文'}] } -}) -// export const getCacheLineMaterialInfo = (area, code) => { -// let res = [{"position_code":"HCX01_31","layer_num":3,"position_name":"三层条码10","seat_order_num":1,"vehicle_status":"1","cacheline_code":"A1_HCX_01","vehicle_code":""},{"position_code":"HCX01_32","layer_num":3,"position_name":"三层条码9","seat_order_num":2,"vehicle_status":"1","cacheline_code":"A1_HCX_01","vehicle_code":""},{"position_code":"HCX01_33","layer_num":3,"position_name":"三层条码8","seat_order_num":3,"vehicle_status":"1","cacheline_code":"A1_HCX_01","vehicle_code":""},{"position_code":"HCX01_34","layer_num":3,"position_name":"三层条码7","seat_order_num":4,"vehicle_status":"1","cacheline_code":"A1_HCX_01","vehicle_code":""},{"position_code":"HCX01_35","layer_num":3,"position_name":"三层条码6","seat_order_num":5,"vehicle_status":"1","cacheline_code":"A1_HCX_01","vehicle_code":""},{"position_code":"HCX01_36","layer_num":3,"position_name":"三层条码5","seat_order_num":6,"vehicle_status":"1","cacheline_code":"A1_HCX_01","vehicle_code":""},{"position_code":"HCX01_37","layer_num":3,"position_name":"三层条码4","seat_order_num":7,"vehicle_status":"1","cacheline_code":"A1_HCX_01","vehicle_code":""},{"position_code":"HCX01_38","layer_num":3,"position_name":"三层条码3","seat_order_num":8,"vehicle_status":"1","cacheline_code":"A1_HCX_01","vehicle_code":""},{"position_code":"HCX01_39","layer_num":3,"position_name":"三层条码2","seat_order_num":9,"vehicle_status":"1","cacheline_code":"A1_HCX_01","vehicle_code":""},{"position_code":"HCX01_310","layer_num":3,"position_name":"三层条码1","seat_order_num":10,"vehicle_status":"1","cacheline_code":"A1_HCX_01","vehicle_code":""},{"position_code":"HCX01_21","layer_num":2,"position_name":"二层条码1","seat_order_num":1,"vehicle_status":"4","cacheline_code":"A1_HCX_01","vehicle_code":"10049"},{"position_code":"HCX01_22","layer_num":2,"position_name":"二层条码2","seat_order_num":2,"vehicle_status":"4","cacheline_code":"A1_HCX_01","vehicle_code":"10047"},{"position_code":"HCX01_23","layer_num":2,"position_name":"二层条码3","seat_order_num":3,"vehicle_status":"4","cacheline_code":"A1_HCX_01","vehicle_code":"10046"},{"position_code":"HCX01_24","layer_num":2,"position_name":"二层条码4","seat_order_num":4,"vehicle_status":"4","cacheline_code":"A1_HCX_01","vehicle_code":"10045"},{"position_code":"HCX01_25","layer_num":2,"position_name":"二层条码5","seat_order_num":5,"vehicle_status":"1","cacheline_code":"A1_HCX_01","vehicle_code":""},{"position_code":"HCX01_26","layer_num":2,"position_name":"二层条码6","seat_order_num":6,"vehicle_status":"1","cacheline_code":"A1_HCX_01","vehicle_code":""},{"position_code":"HCX01_27","layer_num":2,"position_name":"二层条码7","seat_order_num":7,"vehicle_status":"1","cacheline_code":"A1_HCX_01","vehicle_code":""},{"position_code":"HCX01_28","layer_num":2,"position_name":"二层条码8","seat_order_num":8,"vehicle_status":"1","cacheline_code":"A1_HCX_01","vehicle_code":""},{"position_code":"HCX01_29","layer_num":2,"position_name":"二层条码9","seat_order_num":9,"vehicle_status":"1","cacheline_code":"A1_HCX_01","vehicle_code":""},{"position_code":"HCX01_210","layer_num":2,"position_name":"二层条码10","seat_order_num":10,"vehicle_status":"1","cacheline_code":"A1_HCX_01","vehicle_code":""},{"position_code":"HCX01_11","layer_num":1,"position_name":"一层条码1","seat_order_num":1,"vehicle_status":"4","cacheline_code":"A1_HCX_01","vehicle_code":"10041"},{"position_code":"HCX01_12","layer_num":1,"position_name":"一层条码2","seat_order_num":2,"vehicle_status":"1","cacheline_code":"A1_HCX_01","vehicle_code":""},{"position_code":"HCX01_13","layer_num":1,"position_name":"一层条码3","seat_order_num":3,"vehicle_status":"1","cacheline_code":"A1_HCX_01","vehicle_code":""},{"position_code":"HCX01_14","layer_num":1,"position_name":"一层条码4","seat_order_num":4,"vehicle_status":"1","cacheline_code":"A1_HCX_01","vehicle_code":""},{"position_code":"HCX01_15","layer_num":1,"position_name":"一层条码5","seat_order_num":5,"vehicle_status":"1","cacheline_code":"A1_HCX_01","vehicle_code":""},{"position_code":"HCX01_16","layer_num":1,"position_name":"一层条码6","seat_order_num":6,"vehicle_status":"1","cacheline_code":"A1_HCX_01","vehicle_code":""},{"position_code":"HCX01_17","layer_num":1,"position_name":"一层条码7","seat_order_num":7,"vehicle_status":"1","cacheline_code":"A1_HCX_01","vehicle_code":""},{"position_code":"HCX01_18","layer_num":1,"position_name":"一层条码8","seat_order_num":8,"vehicle_status":"4","cacheline_code":"A1_HCX_01","vehicle_code":"11224"},{"position_code":"HCX01_19","layer_num":1,"position_name":"一层条码9","seat_order_num":9,"vehicle_status":"4","cacheline_code":"A1_HCX_01","vehicle_code":"11224"},{"position_code":"HCX01_110","layer_num":1,"position_name":"一层条码10","seat_order_num":10,"vehicle_status":"4","cacheline_code":"A1_HCX_01","vehicle_code":"10043"}] -// return res -// } -// 1.3物料查询 -export const materialQuery = (bar) => request({ - url:'api/cacheLineHand/materialQuery', - data: { - search_bar: bar - } -}) -// 1.4缓存线盘点-设置满箱 -export const setfullBox = (obj) => request({ - url:'api/cacheLineHand/setfullBox', - data: obj -}) -// 1.5缓存线盘点-设置空箱 -export const setEmptyBox = (obj) => request({ - url:'api/cacheLineHand/setEmptyBox', - data: obj -}) -// 1.6缓存线盘点-删除空箱 -export const deleteBox = (obj) => request({ - url:'api/cacheLineHand/deleteBox', - data: obj -}) -// 1.7缓存线盘点-盘点开始 -export const cacheLineHandCheck = (option, code) => request({ - url:'api/cacheLineHand/check', - data: { - check_option: option, - device_code: code - } -}) -// 1.8缓存线盘点-盘点结束 -export const cacheLineHandCheckEnd = (option, code) => request({ - url:'api/cacheLineHand/checkEnd', - data: { - check_option: option, - device_code: code - } -}) - -/** 物料列表 */ -// 根据订单获取订单信息 -export const orderSearch = (page, size, order) => request({ - url:'api/pda/finishproduct/order', - data: { - order: order, - page: page, - size: size - } -}) - -/** 成品入库 */ -// 入库 -export const InstoreOrder = (point, code, arr) => request({ - url:'api/pda/finishproduct/in', - data: { - point: point, - vehicle_code: code, - arr: arr - } -}) - -/** 发货确认 */ -// 解绑 -export const releasepoint = (point, code, option) => request({ - url:'api/pda/finishproduct/releasepoint', - data: { - point: point, - vehicle_code: code, - option: option - } -}) - -/** 半成品入库 */ -export const semiProductInFromPda = (id, mid, qty, code) => request({ - url:'api/in/semiProductIn/semiProductInFromPda', - data: { - iostorinv_id: id, - material_id: mid, - plan_qty: qty, - storagevehicle_code: code - } -}) - -// 入库点/放货点获取 -export const finishproductPoint = (type) => request({ - url:'api/pda/finishproduct/point', - data: { - type: type - } -}) - + return res +} +// 1.5修改出单据明细库位 +export const easOutInBillDetailUpdate = (arr) => request({ + url:'/api/easOutInBillDetail/update', + data: arr +}) \ No newline at end of file