diff --git a/components/GridDetail.vue b/components/GridDetail.vue index e1a3405..a6f9102 100644 --- a/components/GridDetail.vue +++ b/components/GridDetail.vue @@ -2,7 +2,7 @@ - {{data.data.djbh}} + {{data.data.djbh}} @@ -135,7 +135,7 @@ - + @@ -274,6 +274,168 @@
单据ID
调出库存组织编码{{data.data.调出库存组织编码}}{{data.data.dckcbm}}
调出库存组织名称{{data.data.flbz}}
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
单据ID{{data.data.djid}}
业务类型{{data.data.ywlx}}
送货日期{{data.data.ywrq}}
提交时间{{data.data.tjsj}}
采购订单号{{data.data.cgbh}}
采购公司{{data.data.cggs}}
物料编码{{data.data.wlbm}}
物科名称{{data.data.wlmc}}
规格型号{{data.data.ggxh}}
单位{{data.data.jldw}}
订单量{{data.data.ddsl}}
本次送货数量{{data.data.bcshsl}}
收货数量{{data.data.shsl}}
件数{{data.data.num}}
是否质检{{data.data.sfzj}}
批次管理{{data.data.pcgl}}
批次{{data.data.pc}}
所属厂区{{data.data.sscq}}
供应商编码{{data.data.gysbm}}
供应商{{data.data.gys}}
到货日期{{data.data.dhrq}}
创建人{{data.data.cjr}}
创建日期{{data.data.cjrq}}
采购员{{data.data.cgy}}
送货人{{data.data.shy}}
收货人{{data.data.shr}}
预计到货日期{{data.data.yjdhrq}}
收货地址{{data.data.shdz}}
包装类别{{data.data.bzlb}}
收货组织编码{{data.data.zzbm}}
收货组织名称{{data.data.zzmc}}
收货仓库名称{{data.data.ckmc}}
收货仓库编码{{data.data.ckbm}}
收货库位编码{{data.data.kwbm}}
收货库位名称{{data.data.kwmc}}
单据状态{{data.data.djzt}}
分录ID{{data.data.flid}}
分录序号{{data.data.flxh}}
备注{{data.data.bz}}
表头备注{{data.data.btbz}}
diff --git a/pages/management/alloc-maintenance.vue b/pages/management/alloc-maintenance.vue index ce45fc6..d78e655 100644 --- a/pages/management/alloc-maintenance.vue +++ b/pages/management/alloc-maintenance.vue @@ -169,7 +169,7 @@ import ScanInput from '@/components/ScanInput.vue' import Pagination from '@/components/Pagination.vue' import GridDetail from '@/components/GridDetail.vue' - import {getWarehouseInfo, allocationPage, allocationBillPage, allocationBillUpdate, allocationBillConfirm} from '@/utils/mork2.js' + import {getWarehouseInfo, allocationPage, allocationBillPage, allocationBillUpdate, allocationBillConfirm} from '@/utils/getData2.js' export default { components: { NavBar, diff --git a/pages/management/receive-confirm.vue b/pages/management/receive-confirm.vue index b5becd7..06c0c45 100644 --- a/pages/management/receive-confirm.vue +++ b/pages/management/receive-confirm.vue @@ -2,105 +2,118 @@ - - - - - - - - - - - - + + + - {{title}} + 收货确认 - + 序号 - 选择 - {{crType === 'IN'? '入库单号':'出库单号'}} - 来源部门 - 去向部门 - 仓库名称 - 状态 - 制单日期 - 制单人 - 业务日期 - 操作日期 - 操作人 + 送货单号 + 送货日期 + 提交时间 + 采购公司 + 所属厂区 + 供应商编码 + 供应商 + 到货日期 + 创建人 + 创建日期 更多 - - {{i+1}} - - + + {{i+1}} + {{e.djbh}} + {{e.ywrq}} + {{e.tjsj}} + {{e.cggs}} + {{e.sscq}} + {{e.gysbm}} + {{e.gys}} + {{e.dhrq}} + {{e.cjr}} + {{e.cjrq}} + + - {{e.djbh}} - {{e.bmmc}} - {{e.zzmc}} - {{e.ckmc}} - {{e.djzt}} - {{e.cjsj}} - {{e.cjr}} - {{e.ywrq}} - {{e.update_time}} - {{e.update_name}} - - - - 序号 - 选择 - 仓库名称 - 物料编号 - 物料名称 - 单位 - 库位 - 数量 - {{crType === 'IN'? '已入数量':'已出数量'}} - 剩余数量 - 库存 - 操作人 - 操作日期 - 更多 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
序号选择采购订单号物料编码物料名称规格型号单位订单量本次送货数量收货组织件数收货数量收货仓库收货库位更多
{{j+1}}{{el.cgbh}}{{el.wlbm}}{{el.wlmc}}{{el.ggxh}}{{el.jldw}}{{el.ddsl}}{{el.bcshsl}}{{el.zzmc}}{{el.num}} + + + +
{{j+1}}{{el.cgbh}}{{el.wlbm}}{{el.wlmc}}{{el.ggxh}}{{el.jldw}}{{el.ddsl}}{{el.bcshsl}}{{el.zzmc}}{{el.num}}{{el.shsl}}{{el.ckbm}}{{el.kwbm}}
- - {{j+1}} - - {{el.ckmc}} - {{el.wlbm}} - {{el.wlmc}} - {{el.jldw}} - {{el.kwbm}} - {{el.sl}} - {{el.czsl}} - {{el.sysl}} - {{el.kcsl}} - {{el.update_name}} - {{el.update_time}} - - - - - + + + - - + + @@ -111,60 +124,27 @@ - + + + - + - {{crType === 'IN' ? '入库' : '出库'}} - - - 序号 - 物料编号 - 物料名称 - 选择库位 - 数量 - 库存数量 - - - {{t+1}} - {{ele.wlbm}} - {{ele.wlmc}} - - - - - - - - {{ele.kcsl}} - - - - - + 修改{{modalObj.title}} + + + - - - - - + + + - - - @@ -174,7 +154,7 @@ import ScanInput from '@/components/ScanInput.vue' import Pagination from '@/components/Pagination.vue' import GridDetail from '@/components/GridDetail.vue' - import {easOutInBillPage, easOutInBillDetailPage, easOutInBillUpdate, easOutInBillDetailUpdate, queryInventoryInfo} from '@/utils/getData2.js' + import {getWarehouseInfo, receiptPage, receiptBillPage, receiptBillUpdate, receiptBillConfirm} from '@/utils/getData2.js' export default { components: { NavBar, @@ -185,62 +165,50 @@ }, data() { return { - title: '', - id: '', - crType: '', val1: '', dataList1: [], - dataList2: [], - dataList3: [], - pkId: '', - pkObj: {}, - checkArr1: [], - disabled1: false, - btnActive1: false, totalCount1: 0, queryParams1:{ pageSize: 10, pageNum: 1 }, currentPage1: 1, + pkId: '', + pkObj: {}, + dataList2: [], totalCount2: 0, queryParams2:{ - pageSize: 10, + pageSize: 20, pageNum: 1 }, currentPage2: 1, - checkArr2: [], + checkArr: [], checkArrActive: false, - disabled2: false, - show: false, - type: '', - kwCode: '', - checkArr3: [], delShow: false, detailObj: {}, value: '', - range:[{value: 1, text: '提交'}, {value: 2, text: '审核'}], - value1: '', - range1: [{value: '3.03.013', text: '三期原材料库'}] + range: [], + show: false, + modalObj: {}, + disabled: false }; }, - onShow() { - if (this.$store.getters.publicArr) { - this.dataList1 = this.$store.getters.publicArr - } - }, - destroyed () { - this.$store.dispatch('setPublicArr', '') - }, - onLoad (options) { - this.id = options.id - this.title = options.name - this.crType = options.type - }, created () { - this.toSearch() + this._getWarehouseInfo() }, methods: { + // 仓库下拉框 + async _getWarehouseInfo () { + let res = await getWarehouseInfo() + if (res.code === 1) { + this.range = [...res.result] + this.range.map(e => { + this.$set(e, 'text', e.ckmc) + this.$set(e, 'value', e.ckbm) + }) + this.toSearch() + } + }, // 查询一级表格 toSearch () { this.queryParams1 = { @@ -250,16 +218,12 @@ this.currentPage1 = 1 this.dataList2 = [] this.pkId = '' - this._easOutInBillPage() + this._receiptPage() }, // 一级表格接口 - async _easOutInBillPage () { - let res = await easOutInBillPage(this.val1, this.id, this.value, this.value1, this.queryParams1.pageNum + '', this.queryParams1.pageSize + '') + async _receiptPage () { + let res = await receiptPage(this.val1, this.queryParams1.pageNum + '', this.queryParams1.pageSize + '') if (res.code === 1) { - this.checkArr1 = [] - res.result.map(el => { - this.$set(el, 'checked', false) - }) this.dataList1 = [...res.result] this.totalCount1 = Number(res.totalElements) this.queryParams1.pageSize = Number(res.pageSize) @@ -272,15 +236,15 @@ } }, // 二级表格接口 - async _easOutInBillDetailPage () { - let res = await easOutInBillDetailPage(this.pkObj.djid, this.queryParams2.pageNum + '', this.queryParams2.pageSize + '') + async _receiptBillPage () { + let res = await receiptBillPage(this.pkObj.djid, this.queryParams2.pageNum + '', this.queryParams2.pageSize + '') if (res.code === 1) { - this.checkArr2 = [] - this.checkArrActive = false res.result.map(el => { - this.$set(el, 'checked', false) + this.$set(el, 'checked', true) }) this.dataList2 = [...res.result] + this.checkArr = [...this.dataList2] + this.checkArrActive = true this.totalCount2 = Number(res.totalElements) this.queryParams2.pageSize = Number(res.pageSize) this.queryParams2.pageNum = Number(res.pageNum) @@ -297,13 +261,13 @@ this.currentPage1 = page this.dataList2 = [] this.pkId = '' - this._easOutInBillPage() + this._receiptPage() }, // 二级表格切换分页 handlePageChange2(page) { this.queryParams2.pageNum = page this.currentPage2 = page - this._easOutInBillDetailPage() + this._receiptBillPage() }, // 点击一级表格一行加载二级表格 toCollapse (e) { @@ -312,61 +276,18 @@ this.dataList2 = [] if (this.pkId === e.djid) { this.queryParams2 = { - pageSize: 10, + pageSize: 20, pageNum: 1 } this.currentPage2 = 1 - this._easOutInBillDetailPage() + this._receiptBillPage() } }, - // 一级表格选中一行 - toCheck1 (e) { - e.checked = !e.checked - let arr = this.dataList1.filter(el => el.checked === true) - this.checkArr1 = arr.map(el => {return el.djid}) - // if (arr.length === 1) { - // this.btnActive1 = arr[0].djzt === '提交' ? true : false - // } else { - // this.btnActive1 = false - // } - }, - // 点击单据审核按钮 - async toSure () { - this.disabled1 = true - // if (this.checkArr1.length === 0 || this.btnActive1) { - // this.disabled1 = false - // return - // } - if (this.checkArr1.length === 0) { - this.disabled1 = false - return - } - try { - let res = await easOutInBillUpdate(this.checkArr1) - if (res.code === 1) { - this.disabled1 = false - this.checkArr1 = [] - this._easOutInBillPage() - uni.showToast({ - title: res.desc, - icon: 'none' - }) - } else { - this.disabled1 = false - uni.showToast({ - title: res.desc, - icon: 'none' - }) - } - } catch (e) { - this.disabled1 = false - } - }, // 二级表格多选 toCheck2 (e) { e.checked = !e.checked - this.checkArr2 = this.dataList2.filter(el => el.checked === true) - if (this.checkArr2.length === this.dataList2.length) { + this.checkArr = this.dataList2.filter(el => el.checked === true) + if (this.checkArr.length === this.dataList2.length) { this.checkArrActive = true } }, @@ -376,141 +297,84 @@ this.dataList2.map(el => { el.checked = this.checkArrActive }) - this.checkArr2 = this.dataList2.filter(el => el.checked === true) + this.checkArr = this.dataList2.filter(el => el.checked === true) }, - // 点击出入库按钮 - kuwConfirm () { - if (this.checkArr2.length === 0) { - return - } else if (this.checkArr2.length === 1) { - if ((Number(this.checkArr2[0].sl) > Number(this.checkArr2[0].kcsl)) && this.crType === 'OUT') { + // 二级表格详情修改接口 + async _receiptBillUpdate (e) { + try { + let res = await receiptBillUpdate(e) + if (res.code !== 1) { uni.showToast({ - title: '库存不足', + title: res.desc, icon: 'none' }) - return - } else { - this.type = '1' - this._queryInventoryInfo() } - } else if (this.checkArr2.length >= 2) { - let flag = false - this.checkArr2.map(el => { - if (Number(el.sl) > Number(el.kcsl)) { - flag = true + } catch (e) { + console.log(e) + } + }, + // 修改调出仓库弹窗 + checkWarehouse (type, title, e) { + this.modalObj = {type: type, title: title, id: e.flid} + if (type === 1) { + this.value = e.dcckmc + } else if (type === 2) { + this.value = e.drckmc + } + this.show = true + }, + // 修改调出仓库确定 + modalConfirm () { + let obj = {} + if (this.modalObj.type === 1) { + this.dataList2.map(e => { + if (e.flid === this.modalObj.id) { + e.dcckmc = this.value + obj = e } }) - if (flag && this.crType === 'OUT') { + } else if (this.modalObj.type === 2) { + this.dataList2.map(e => { + if (e.flid === this.modalObj.id) { + e.drckmc = this.value + obj = e + } + }) + } + this.show = false + this._receiptBillUpdate(obj) + }, + // 点击直接调拨按钮 + async _receiptBillConfirm () { + this.disabled = true + if (!this.checkArr.length) { + this.disabled = false + return + } + try { + let res = receiptBillConfirm(this.checkArr) + if (res.code === 1) { + this.queryParams2 = { + pageSize: 10, + pageNum: 1 + } + this.currentPage2 = 1 + this._receiptBillPage() uni.showToast({ - title: '库存不足', + title: res.desc, icon: 'none' }) - return } else { - this.type = '2' - // this.show = true - // this.kwCode = '' - this.$refs.alertDialog.open() + uni.showToast({ + title: res.desc, + icon: 'none' + }) } + this.disabled = false + } catch (e) { + this.disabled = false } }, - // 选择二级表格一行,点击出入库按钮,弹窗加载出入库表格 - async _queryInventoryInfo () { - let res = await queryInventoryInfo(this.checkArr2) - if (res.code ===1) { - res.result.map(el => { - this.$set(el, 'checked', false) - this.$set(el, 'yqty', el.sysl) - }) - this.dataList3 = [...res.result] - this.show = true - } else { - uni.showToast({ - title: res.desc, - icon: 'none' - }) - } - }, - // 出入库表格输入框计算,功能暂时隐藏 - handleBlur (ele) { - if (Number(ele.sysl) >= Number(ele.yqty)) { - ele.sysl = ele.yqty - return - } - ele.checked = true - let index = '' - let obj = {} - this.dataList3.map((e, i) => { - if (e.id === ele.id) { - index = i - obj = Object.assign({}, e, {'checked': false}, {'kwbm': ''}, {id: e.id + Math.random() * 1000}, {sysl: Number(e.yqty) - Number(ele.sysl)}, {yqty: Number(e.yqty) - Number(ele.sysl)}) - } - }) - this.dataList3.splice(index+1, 0, obj) - this.dataList3 = [...this.dataList3] - }, - // 点击出入库弹窗确定按钮 - modalConfirm () { - this.disabled2 = true - let arr = [] - if (this.type === '1' && this.dataList3.length === 0) { - this.disabled2 = false - return - } else if (this.type === '2' && this.kwCode === '') { - this.disabled2 = false - return - } else if (this.type === '1') { - // arr = this.dataList3 - this.checkArr3 = [...this.dataList3] - this.$refs.alertDialog.open() - this.disabled2 = false - return - } else if (this.type === '2') { - this.checkArr2.map(el => { - el.kwbm = this.kwCode - }) - arr = [...this.checkArr2] - } - this._easOutInBillDetailUpdate(arr) - }, - // 提示弹窗确定按钮 - dialogConfirm () { - if (this.type === '2') { - this._easOutInBillDetailUpdate(this.checkArr2) - } else { - this._easOutInBillDetailUpdate(this.checkArr3) - } - }, - dialogClose () {}, - // 出入库确定接口 - async _easOutInBillDetailUpdate (arr) { - try { - - let res = await easOutInBillDetailUpdate(arr) - if (res.code === 1) { - this.disabled2 = false - this.show = false - this.queryParams2 = { - pageSize: 10, - pageNum: 1 - } - this.currentPage2 = 1 - this._easOutInBillDetailPage() - uni.showToast({ - title: res.desc, - icon: 'none' - }) - } else { - this.disabled2 = false - uni.showToast({ - title: res.desc, - icon: 'none' - }) - } - } catch (e) { - this.disabled2 = false - } - }, // 详情弹窗 getDetails (type,e) { this.delShow = !this.delShow @@ -545,4 +409,8 @@ border-bottom-color #071F3E /deep/ .uni-select__selector-item color #fff +.zd-th + font-size: 12px; + line-height: 13px; + height: 36px; diff --git a/utils/getData2.js b/utils/getData2.js index 0557247..ad345e7 100644 --- a/utils/getData2.js +++ b/utils/getData2.js @@ -95,4 +95,36 @@ export const allocationBillUpdate = (obj) => request({ export const allocationBillConfirm = (arr) => request({ url:'api/allocationBill/confirm', data: arr -}) \ No newline at end of file +}) + +/** + * 收货确认 + */ +// 1.收货单据分页 +export const receiptPage = (fuzzy, page, size) => request({ + url:'api/receiptBill/receiptPage', + data: { + fuzzy: fuzzy, + page: page, + size: size + } +}) +// 2.收货单明细分页查询 +export const receiptBillPage = (djid, page, size) => request({ + url:'/api/receiptBill/page', + data: { + djid: djid, + page: page, + size: size + } +}) +// 3.收货单明细修改 +export const receiptBillUpdate = (obj) => request({ + url:'/api/receiptBill/update', + data: obj +}) +// 4.单据直接调拨 +export const receiptBillConfirm = (arr) => request({ + url:'api/receiptBill/confirm', + data: arr +}) diff --git a/utils/mork2.js b/utils/mork2.js index 670767b..10b6b59 100644 --- a/utils/mork2.js +++ b/utils/mork2.js @@ -924,4 +924,358 @@ export const allocationBillConfirm = () => { desc: 'ok' } return res +} +export const receiptPage = () => { + let res = { + "pageNum": 1, + "pageSize": 10, + "totalPage": 109, + "totalElements": 1084, + "result": [ + { + "id": "1783279018842394625", + "djid": "btAAAAW8Wd5QCrde", + "djbh": "SOUT04240408783", + "djlx": "LLCKD", + "ywlx": "OUT", + "zzbm": "01.09.07", + "drkcmc": "四期智能工厂", + "dckcmc": "智能原材料库1", + "ckbm": "3.04.001", + "djzt": "提交", + "jhdrrq": "2024-04-25", + "ywrq": "2024-04-25", + "cjr": "系统", + "drckmc": "04.2512804叉车线边库领料", + "cksj": null, + "llr": null, + "djly": "1", + "update_id": null, + "update_name": null, + "update_time": null + }, + { + "id": "1783273986298351616", + "djid": "btAAAAW8WdpQCrde", + "djbh": "SOUT04240408782", + "djlx": "LLCKD", + "ywlx": "OUT", + "zzbm": "01.09.07", + "drkcmc": "四期智能工厂", + "dckcmc": "智能原材料库2", + "ckbm": "3.04.001", + "djzt": "审核后", + "jhdrrq": "2024-04-25", + "ywrq": "2024-04-25", + "cjr": "系统", + "drckmc": "叉车12804虚拟库1领料", + "cksj": null, + "llr": null, + "djly": "1", + "update_id": null, + "update_name": null, + "update_time": null + }, + { + "id": "1783283548866875392", + "djid": "btAAAAW8We5QCrde", + "djbh": "SOUT04240408787", + "djlx": "LLCKD", + "ywlx": "OUT", + "zzbm": "01.09.07", + "dcckmc": "四期智能工厂", + "ckmc": "智能原材料库3", + "ckbm": "3.04.001", + "djzt": "提交", + "cjsj": "2024-04-25", + "ywrq": "2024-04-25", + "cjr": "系统", + "btbz": "叉车12804虚拟库1领料", + "cksj": null, + "llr": null, + "djly": "1", + "update_id": null, + "update_name": null, + "update_time": null + }, + { + "id": "1783279018842394624", + "djid": "btAAAAW8WeJQCrde", + "djbh": "SOUT04240408784", + "djlx": "LLCKD", + "ywlx": "OUT", + "zzbm": "01.09.07", + "dcckmc": "四期智能工厂", + "ckmc": "智能原材料库4", + "ckbm": "3.04.001", + "djzt": "提交", + "cjsj": "2024-04-25", + "ywrq": "2024-04-25", + "cjr": "系统", + "btbz": "04.2512804叉车线边库领料", + "cksj": null, + "llr": null, + "djly": "1", + "update_id": null, + "update_name": null, + "update_time": null + }, + { + "id": "1783280025932533760", + "djid": "btAAAAW8WeZQCrde", + "djbh": "SOUT04240408785", + "djlx": "LLCKD", + "ywlx": "OUT", + "zzbm": "01.09.07", + "zzmc": "四期智能工厂", + "ckmc": "智能原材料库5", + "ckbm": "3.04.001", + "djzt": "提交", + "cjsj": "2024-04-25", + "ywrq": "2024-04-25", + "cjr": "系统", + "btbz": "叉车12804虚拟库1领料", + "cksj": null, + "llr": null, + "djly": "1", + "update_id": null, + "update_name": null, + "update_time": null + }, + { + "id": "1783285814353072129", + "djid": "btAAAAW8Wf5QCrde", + "djbh": "SOUT04240408791", + "djlx": "LLCKD", + "ywlx": "OUT", + "zzbm": "01.09.07", + "zzmc": "四期智能工厂", + "ckmc": "智能原材料库6", + "ckbm": "3.04.001", + "djzt": "提交", + "cjsj": "2024-04-25", + "ywrq": "2024-04-25", + "cjr": "系统", + "btbz": "04.2512802堆高车线边库领料", + "cksj": null, + "llr": null, + "djly": "1", + "update_id": null, + "update_name": null, + "update_time": null + }, + { + "id": "1783284303816429569", + "djid": "btAAAAW8WfJQCrde", + "djbh": "SOUT04240408788", + "djlx": "LLCKD", + "ywlx": "OUT", + "zzbm": "01.09.07", + "zzmc": "四期智能工厂", + "ckmc": "智能原材料库7", + "ckbm": "3.04.001", + "djzt": "提交", + "cjsj": "2024-04-25", + "ywrq": "2024-04-25", + "cjr": "系统", + "btbz": "叉车12804虚拟库1领料", + "cksj": null, + "llr": null, + "djly": "1", + "update_id": null, + "update_name": null, + "update_time": null + }, + { + "id": "1783285310164176896", + "djid": "btAAAAW8WfdQCrde", + "djbh": "SOUT04240408790", + "djlx": "LLCKD", + "ywlx": "OUT", + "zzbm": "01.09.07", + "zzmc": "四期智能工厂", + "ckmc": "智能原材料库8", + "ckbm": "3.04.001", + "djzt": "提交", + "cjsj": "2024-04-25", + "ywrq": "2024-04-25", + "cjr": "系统", + "btbz": "叉车12805门架虚拟库领料", + "cksj": null, + "llr": null, + "djly": "1", + "update_id": null, + "update_name": null, + "update_time": null + }, + { + "id": "1783285814353072130", + "djid": "btAAAAW8Wg9QCrde", + "djbh": "SOUT04240408792", + "djlx": "LLCKD", + "ywlx": "OUT", + "zzbm": "01.09.07", + "zzmc": "四期智能工厂", + "ckmc": "智能原材料库9", + "ckbm": "3.04.001", + "djzt": "提交", + "cjsj": "2024-04-25", + "ywrq": "2024-04-25", + "cjr": "系统", + "btbz": "叉车12805门架虚拟库领料", + "cksj": null, + "llr": null, + "djly": "1", + "update_id": null, + "update_name": null, + "update_time": null + }, + { + "id": "1783286569814331392", + "djid": "btAAAAW8WiJQCrde", + "djbh": "SOUT04240408794", + "djlx": "LLCKD", + "ywlx": "OUT", + "zzbm": "01.09.07", + "zzmc": "四期智能工厂", + "ckmc": "智能原材料库10", + "ckbm": "3.04.001", + "djzt": "提交", + "cjsj": "2024-04-25", + "ywrq": "2024-04-25", + "cjr": "系统", + "btbz": "04.2512802堆高车线边库领料", + "cksj": null, + "llr": null, + "djly": "1", + "update_id": null, + "update_name": null, + "update_time": null + } + ], + "code": 1, + "desc": "查询成功" +} + return res +} +export const receiptBillPage = () => { + let res = { + "pageNum": 1, + "pageSize": 10, + "totalPage": 1, + "totalElements": 1, + "result": [ + { + "flid": "1", + "id": null, + "djid": "btAAAAW8Wd5QCrde", + "djlx": "LLCKD", + "ywlx": "OUT", + "djbh": "SOUT04240408783", + "zzbm": "01.09.07", + "zzmc": "四期智能工厂", + "btbz": "04.2512804叉车线边库领料", + "djzt": "提交", + "cjsj": "2024-04-25", + "ywrq": "2024-04-25", + "cjr": "系统", + "flxh": "1", + "wlbm": "910200200098", + "wlmc": "螺钉GB70.1-M12x30-8.8", + "ggxh": "内六角圆柱头螺钉GB70.1-M12x30-8.8-c1B", + "pc": null, + "jldw": "PCS", + "jbjldw": "PCS", + "fzjldw": null, + "sl": 1050.00, + "jbsl": "1050", + "kcsl": 2000.00, + "tjkwbm": null, + "tjkwmc": null, + "fzsl": "0", + "ckbm": "3.04.001", + "ckmc": "智能原材料库1", + "kwbm": null, + "kwmc": null, + "flbz": null, + "sysl": 1050.00, + "code": "1783279018838200320", + "cksj": null, + "llr": null, + "djly": null, + "trackno": null, + "update_id": null, + "update_name": null, + "update_time": null, + "czsl": 0.00, + "dcckmc": '1.05.003', + "drckmc": '1.05.003' + }, + { + "flid": "2", + "id": null, + "djid": "btAAAAW8Wd5QCrde", + "djlx": "LLCKD", + "ywlx": "OUT", + "djbh": "SOUT04240408783", + "zzbm": "01.09.07", + "zzmc": "四期智能工厂", + "btbz": "04.2512804叉车线边库领料", + "djzt": "提交", + "cjsj": "2024-04-25", + "ywrq": "2024-04-25", + "cjr": "系统", + "flxh": "1", + "wlbm": "910200200098", + "wlmc": "螺钉GB70.1-M12x30-8.8", + "ggxh": "内六角圆柱头螺钉GB70.1-M12x30-8.8-c1B", + "pc": null, + "jldw": "PCS", + "jbjldw": "PCS", + "fzjldw": null, + "sl": 1050.00, + "jbsl": "1050", + "kcsl": 2000.00, + "tjkwbm": null, + "tjkwmc": null, + "fzsl": "0", + "ckbm": "3.04.001", + "ckmc": "智能原材料库2", + "kwbm": null, + "kwmc": null, + "flbz": null, + "sysl": 1050.00, + "code": "1783279018838200320", + "cksj": null, + "llr": null, + "djly": null, + "trackno": null, + "update_id": null, + "update_name": null, + "update_time": null, + "czsl": 0.00, + "dckwmc": '99', + "dcckmc": '1.05.003', + "drckmc": '1.05.003', + "jhdrrq": '2020-1-10' + } + ], + "code": 1, + "desc": "查询成功" +} + return res +} +export const receiptBillUpdate = () => { + let res = { + code: 1, + desc: 'ok' + } + return res +} +export const receiptBillConfirm = () => { + let res = { + code: 1, + desc: 'ok' + } + return res } \ No newline at end of file