From eaa800bb1b69f308be1712ef503201095bc6cc7f Mon Sep 17 00:00:00 2001 From: xiangxy Date: Tue, 2 Sep 2025 11:10:13 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B0=8F=E6=96=99=E7=AE=B1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages.json | 359 ++++++++++++++++++++------------- pages/home/home.vue | 4 +- pages/xzhy/dlx-move-store.vue | 176 ++++++++++++++++ pages/xzhy/dlx-out-store.vue | 176 ++++++++++++++++ pages/xzhy/dlx-pan-store.vue | 176 ++++++++++++++++ pages/xzhy/kzj-in-store.vue | 136 +++++++++++++ pages/xzhy/kzj-inout-store.vue | 176 ++++++++++++++++ pages/xzhy/kzj-out-store.vue | 163 +++++++++++++++ pages/xzhy/lx-in-store.vue | 176 ++++++++++++++++ pages/xzhy/mater-in-store.vue | 176 ++++++++++++++++ pages/xzhy/tuiku-confirm.vue | 176 ++++++++++++++++ pages/xzhy/xlx-in-store.vue | 201 ++++++++++++++++++ utils/getData4.js | 322 +++++++++++++++++++++++++++++ 13 files changed, 2270 insertions(+), 147 deletions(-) create mode 100644 pages/xzhy/dlx-move-store.vue create mode 100644 pages/xzhy/dlx-out-store.vue create mode 100644 pages/xzhy/dlx-pan-store.vue create mode 100644 pages/xzhy/kzj-in-store.vue create mode 100644 pages/xzhy/kzj-inout-store.vue create mode 100644 pages/xzhy/kzj-out-store.vue create mode 100644 pages/xzhy/lx-in-store.vue create mode 100644 pages/xzhy/mater-in-store.vue create mode 100644 pages/xzhy/tuiku-confirm.vue create mode 100644 pages/xzhy/xlx-in-store.vue create mode 100644 utils/getData4.js diff --git a/pages.json b/pages.json index 383f7e8..ddb6bca 100644 --- a/pages.json +++ b/pages.json @@ -23,305 +23,374 @@ "style": { "navigationStyle": "custom" } - } - ,{ - "path" : "pages/manage/cbj-carry", + } + ,{ + "path" : "pages/manage/cbj-carry", "style" : { "navigationStyle": "custom" } - - } - ,{ - "path" : "pages/manage/press-carry", + + } + ,{ + "path" : "pages/manage/press-carry", "style" : { "navigationStyle": "custom" } - - } - ,{ - "path" : "pages/manage/mater-scrap", + + } + ,{ + "path" : "pages/manage/mater-scrap", "style" : { "navigationStyle": "custom" } - - } - ,{ - "path" : "pages/manage/man-sort", + + } + ,{ + "path" : "pages/manage/man-sort", "style" : { "navigationStyle": "custom" } - - } - ,{ - "path" : "pages/manage/task-manage", + + } + ,{ + "path" : "pages/manage/task-manage", "style" : { "navigationStyle": "custom" } - - } - ,{ - "path" : "pages/manage/inst-manage", + + } + ,{ + "path" : "pages/manage/inst-manage", "style" : { "navigationStyle": "custom" } - - } - ,{ - "path" : "pages/manage/yzhnml-carry", + + } + ,{ + "path" : "pages/manage/yzhnml-carry", "style" : { "navigationStyle": "custom" } - - } - ,{ - "path" : "pages/manage/vehicle-unbind", + + } + ,{ + "path" : "pages/manage/vehicle-unbind", "style" : { "navigationStyle": "custom" } - - } - ,{ - "path" : "pages/manage/group-task", + + } + ,{ + "path" : "pages/manage/group-task", "style" : { "navigationStyle": "custom" } - - } - ,{ - "path" : "pages/entry/group-to-store", + + } + ,{ + "path" : "pages/entry/group-to-store", "style" : { "navigationStyle": "custom" } - - } - ,{ - "path" : "pages/entry/empty-tray-to-store", + + } + ,{ + "path" : "pages/entry/empty-tray-to-store", "style" : { "navigationStyle": "custom" } - - } - ,{ - "path" : "pages/outbound/tray-out-store", + + } + ,{ + "path" : "pages/outbound/tray-out-store", "style" : { "navigationStyle": "custom" } - - } - ,{ - "path" : "pages/outbound/out-store-confirm", + + } + ,{ + "path" : "pages/outbound/out-store-confirm", "style" : { "navigationStyle": "custom" } - - } - ,{ - "path" : "pages/in/store-info", + + } + ,{ + "path" : "pages/in/store-info", "style" : { "navigationStyle": "custom" } - - } - ,{ - "path" : "pages/pick/pick-task", + + } + ,{ + "path" : "pages/pick/pick-task", "style" : { "navigationStyle": "custom" } - - } - ,{ - "path" : "pages/task/task-manage", + + } + ,{ + "path" : "pages/task/task-manage", "style" : { "navigationStyle": "custom", "enablePullDownRefresh": true, "onReachBottomDistance": 50 } - - } - ,{ - "path" : "pages/entry/document", + + } + ,{ + "path" : "pages/entry/document", "style" : { "navigationStyle": "custom", "enablePullDownRefresh": true, "onReachBottomDistance": 50 } - - } - ,{ - "path" : "pages/pick/pick-list", + + } + ,{ + "path" : "pages/pick/pick-list", "style" : { "navigationStyle": "custom" } - - } - ,{ - "path" : "pages/check/check-task", + + } + ,{ + "path" : "pages/check/check-task", "style" : { "navigationStyle": "custom" } - - } - ,{ - "path" : "pages/entry/mater-group-to-store", + + } + ,{ + "path" : "pages/entry/mater-group-to-store", "style" : { "navigationStyle": "custom" } - - } - ,{ - "path" : "pages/mode/switch-in-out", + + } + ,{ + "path" : "pages/mode/switch-in-out", "style" : { "navigationStyle": "custom" } - - } - ,{ - "path" : "pages/common/mater-list", + + } + ,{ + "path" : "pages/common/mater-list", "style" : { "navigationStyle": "custom", "enablePullDownRefresh": true, "onReachBottomDistance": 50 } - - } - ,{ - "path" : "pages/mode/pick", + + } + ,{ + "path" : "pages/mode/pick", "style" : { "navigationStyle": "custom" } - - } - ,{ - "path" : "pages/mode/command", + + } + ,{ + "path" : "pages/mode/command", "style" : { "navigationStyle": "custom" } - - } - ,{ - "path" : "pages/outbound/bill-out-store", + + } + ,{ + "path" : "pages/outbound/bill-out-store", "style" : { "navigationStyle": "custom" } - - } - ,{ - "path" : "pages/outbound/bill-list", + + } + ,{ + "path" : "pages/outbound/bill-list", "style" : { "navigationStyle": "custom", "enablePullDownRefresh": true, "onReachBottomDistance": 50 } - - } - ,{ - "path" : "pages/entry/qualified-to-store", + + } + ,{ + "path" : "pages/entry/qualified-to-store", "style" : { "navigationStyle": "custom" } - - } - ,{ - "path" : "pages/transfer/tray-transfer", + + } + ,{ + "path" : "pages/transfer/tray-transfer", "style" : { "navigationStyle": "custom" } - - } - ,{ - "path" : "pages/outbound/stock-out-store", + + } + ,{ + "path" : "pages/outbound/stock-out-store", "style" : { "navigationStyle": "custom" } - - } - ,{ - "path" : "pages/outbound/stock-list", + + } + ,{ + "path" : "pages/outbound/stock-list", "style" : { "navigationStyle": "custom", "enablePullDownRefresh": true, "onReachBottomDistance": 50 } - - } - ,{ - "path" : "pages/outbound/produce-out-store-2nd", + + } + ,{ + "path" : "pages/outbound/produce-out-store-2nd", "style" : { "navigationStyle": "custom" } - - } - ,{ - "path" : "pages/outbound/pick-confirm-2nd", + + } + ,{ + "path" : "pages/outbound/pick-confirm-2nd", "style" : { "navigationStyle": "custom" } - - } - ,{ - "path" : "pages/outbound/shelf-bind-2nd", + + } + ,{ + "path" : "pages/outbound/shelf-bind-2nd", "style" : { "navigationStyle": "custom" } - - } - ,{ - "path" : "pages/entry/bill-to-store", + + } + ,{ + "path" : "pages/entry/bill-to-store", "style" : { "navigationStyle": "custom" } - - } - ,{ - "path" : "pages/entry/check-to-store", + + } + ,{ + "path" : "pages/entry/check-to-store", "style" : { "navigationStyle": "custom" } - - } - ,{ - "path" : "pages/test", + + } + ,{ + "path" : "pages/test", "style" : { "navigationStyle": "custom" } - - } + } + ,{ + "path" : "pages/xzhy/kzj-out-store", + "style" : + { + "navigationStyle": "custom" + } + } + ,{ + "path" : "pages/xzhy/kzj-in-store", + "style" : + { + "navigationStyle": "custom" + } + } + ,{ + "path" : "pages/xzhy/xlx-in-store", + "style" : + { + "navigationStyle": "custom" + } + } + ,{ + "path" : "pages/xzhy/kzj-inout-store", + "style" : + { + "navigationStyle": "custom" + } + } + ,{ + "path" : "pages/xzhy/lx-in-store", + "style" : + { + "navigationStyle": "custom" + } + } + ,{ + "path" : "pages/xzhy/mater-in-store", + "style" : + { + "navigationStyle": "custom" + } + } + ,{ + "path" : "pages/xzhy/dlx-out-store", + "style" : + { + "navigationStyle": "custom" + } + } + ,{ + "path" : "pages/xzhy/tuiku-confirm", + "style" : + { + "navigationStyle": "custom" + } + } + ,{ + "path" : "pages/xzhy/dlx-move-store", + "style" : + { + "navigationStyle": "custom" + } + } + ,{ + "path" : "pages/xzhy/dlx-pan-store", + "style" : + { + "navigationStyle": "custom" + } + } ], "globalStyle": { // "pageOrientation": "landscape", diff --git a/pages/home/home.vue b/pages/home/home.vue index 41a2ce8..a25d3aa 100644 --- a/pages/home/home.vue +++ b/pages/home/home.vue @@ -43,8 +43,8 @@ userName: '', menuList: [ {title: '通用功能', path: 'RF06', sonTree: [{title: '物料组盘入库', path: '/pages/entry/mater-group-to-store'}]}, - {title: '小料箱功能', path: 'RF03', sonTree: [{title: '物料组盘入库', path: '/pages/entry/mater-group-to-store'}]}, - {title: '大料箱功能', path: 'RF04', sonTree: [{title: '物料组盘入库', path: '/pages/entry/mater-group-to-store'}]}, + {title: '小料箱功能', path: 'RF03', sonTree: [{title: '空载具出库', path: '/pages/xzhy/kzj-out-store'}, {title: '空载具入库', path: '/pages/xzhy/kzj-in-store'}, {title: '小料箱入库', path: '/pages/xzhy/xlx-in-store'}]}, + {title: '大料箱功能', path: 'RF04', sonTree: [{title: '空载具出入库', path: '/pages/xzhy/kzj-inout-store'}, {title: '料箱入库', path: '/pages/xzhy/lx-in-store'}, {title: '物料入库', path: '/pages/xzhy/mater-in-store'}, {title: '大料箱出库', path: '/pages/xzhy/dlx-out-store'}, {title: '退库确认', path: '/pages/xzhy/tuiku-confirm'}, {title: '大料箱移库', path: '/pages/xzhy/dlx-move-store'}, {title: '大料箱盘库', path: '/pages/xzhy/dlx-pan-store'}]}, // {title: '入库管理', path: 'RF01', sonTree: [{title: '物料组盘入库', path: '/pages/entry/mater-group-to-store'}, {title: '合格证入库', path: '/pages/entry/qualified-to-store'}, {title: '单据入库', path: '/pages/entry/bill-to-store'}, {title: '盘点入库', path: '/pages/entry/check-to-store'}, {title: '空托盘入库', path: '/pages/entry/empty-tray-to-store'}]}, // {title: '出库管理', path: 'RF02', sonTree: [{title: '空托盘出库', path: '/pages/outbound/tray-out-store'}, {title: '出库确认', path: '/pages/outbound/out-store-confirm'}, {title: '单据出库', path: '/pages/outbound/bill-list'}, {title: '盘点出库', path: '/pages/outbound/stock-out-store'}]}, // {title: '拣选管理', path: 'RF04', sonTree: [{title: '拣选作业', path: '/pages/pick/pick-task'}]}, diff --git a/pages/xzhy/dlx-move-store.vue b/pages/xzhy/dlx-move-store.vue new file mode 100644 index 0000000..ffff41e --- /dev/null +++ b/pages/xzhy/dlx-move-store.vue @@ -0,0 +1,176 @@ + + + \ No newline at end of file diff --git a/pages/xzhy/dlx-out-store.vue b/pages/xzhy/dlx-out-store.vue new file mode 100644 index 0000000..ffff41e --- /dev/null +++ b/pages/xzhy/dlx-out-store.vue @@ -0,0 +1,176 @@ + + + \ No newline at end of file diff --git a/pages/xzhy/dlx-pan-store.vue b/pages/xzhy/dlx-pan-store.vue new file mode 100644 index 0000000..ffff41e --- /dev/null +++ b/pages/xzhy/dlx-pan-store.vue @@ -0,0 +1,176 @@ + + + \ No newline at end of file diff --git a/pages/xzhy/kzj-in-store.vue b/pages/xzhy/kzj-in-store.vue new file mode 100644 index 0000000..80a0b9c --- /dev/null +++ b/pages/xzhy/kzj-in-store.vue @@ -0,0 +1,136 @@ + + + + + diff --git a/pages/xzhy/kzj-inout-store.vue b/pages/xzhy/kzj-inout-store.vue new file mode 100644 index 0000000..ffff41e --- /dev/null +++ b/pages/xzhy/kzj-inout-store.vue @@ -0,0 +1,176 @@ + + + \ No newline at end of file diff --git a/pages/xzhy/kzj-out-store.vue b/pages/xzhy/kzj-out-store.vue new file mode 100644 index 0000000..9da9832 --- /dev/null +++ b/pages/xzhy/kzj-out-store.vue @@ -0,0 +1,163 @@ + + + + + diff --git a/pages/xzhy/lx-in-store.vue b/pages/xzhy/lx-in-store.vue new file mode 100644 index 0000000..ffff41e --- /dev/null +++ b/pages/xzhy/lx-in-store.vue @@ -0,0 +1,176 @@ + + + \ No newline at end of file diff --git a/pages/xzhy/mater-in-store.vue b/pages/xzhy/mater-in-store.vue new file mode 100644 index 0000000..ffff41e --- /dev/null +++ b/pages/xzhy/mater-in-store.vue @@ -0,0 +1,176 @@ + + + \ No newline at end of file diff --git a/pages/xzhy/tuiku-confirm.vue b/pages/xzhy/tuiku-confirm.vue new file mode 100644 index 0000000..ffff41e --- /dev/null +++ b/pages/xzhy/tuiku-confirm.vue @@ -0,0 +1,176 @@ + + + \ No newline at end of file diff --git a/pages/xzhy/xlx-in-store.vue b/pages/xzhy/xlx-in-store.vue new file mode 100644 index 0000000..1ccb44a --- /dev/null +++ b/pages/xzhy/xlx-in-store.vue @@ -0,0 +1,201 @@ + + + \ No newline at end of file diff --git a/utils/getData4.js b/utils/getData4.js new file mode 100644 index 0000000..bd53872 --- /dev/null +++ b/utils/getData4.js @@ -0,0 +1,322 @@ +import request from './request.js' + +// 版本更新测试 +export const pdaUpdate = () => request({ + url:'api/pda/iosOut/update' +}) +// export const pdaUpdate = () => { +// let res = { +// versionName: '1.0.1', +// url: 'https://mp-e979e0eb-882b-42b3-a4a1-923ad08ea194.cdn.bspapp.com/cloudstorage/f72ec59f-7b25-487d-a034-fead1b6654c6.apk' +// } +// return res +// } + +// 登录 +export const handLogin = (user, password) => request({ + url:'mobile/auth/login', + data: { + username: user, + password: password + } +}) + +// 公共接口 +// 仓库列表/区域列表 +export const getSect = (scode, page, size) => request({ + url:'api/pda/iosIn/getSect', + data: {stor_code: scode, page: page, size: size} +}) +// 区域列表 +export const getRegion = (region, page, size) => request({ + url:'api/pda/iosIn/getRegion', + data: {region: region, page: page, size: size} +}) +// 获取物料列表 +export const getMaterialList = (search, page, size) => request({ + url:'api/pda/iosIn/getMaterialList', + data: {search: search, page: page, size: size} +}) + + +// 入库管理 +// 物料组盘确认 +// export const groupPlate = (mid, pcsn, qty, vcode, ecode) => request({ +// url:'api/pda/iosIn/groupPlate', +// data: {material_id: mid, pcsn: pcsn, qty: qty, vehicle_code: vcode, ext_code: ecode} +// }) +// 组盘入库确认 +export const confirmIn = (vcode, sitecode, sid) => request({ + url:'api/pda/iosIn/confirmIn', + data: {vehicle_code: vcode, site_code: sitecode, sect_id: sid} +}) +// 空载具入库确认 +export const emptyconfirmIn = (vcode, sitecode, sid, isempty, type) => request({ + url:'api/pda/iosIn/confirmIn', + data: {vehicle_code: vcode, site_code: sitecode, sect_id: sid, is_empty_vehicle: isempty, material_id: type} +}) +// 组盘入库获取物料明细 +export const getVehicleMaterial = (search) => request({ + url:'api/pda/iosIn/getVehicleMaterial', + data: {search: search} +}) +// 拣选余料回库查询 +export const getReturnMaterial = (search) => request({ + url:'api/pda/iosIn/getReturnMaterial', + data: {search: search} +}) +// 拣选余料回库确认 +export const confirmReturnMaterial = (sid, obj) => request({ + url:'api/pda/iosIn/confirmReturnMaterial', + data: {sect_id: sid, obj: obj} +}) + +// 出库管理 +// 线边仓出库获取物料库存 +export const getMaterialDtl = (sid, search) => request({ + url:'api/pda/iosOut/getMaterialDtl', + data: {sect_id: sid, search: search} +}) +// 线边仓出库确认 +export const materialConfirm = (sid, siteCode, obj) => request({ + url:'api/pda/iosOut/materialConfirm', + data: {sect_id: sid, siteCode: siteCode, obj: obj} +}) +// 产线叫料获取物料库存 +export const linegetMaterialDtl = (rcode, search) => request({ + url:'api/pda/iosOut/getMaterialDtl', + data: {region_code: rcode, search: search} +}) +// 产线叫料确认 +export const callMaterialConfirm = (rcode, siteCode, obj) => request({ + url:'api/pda/iosOut/callMaterialConfirm', + data: {region_code: rcode, siteCode: siteCode, obj: obj} +}) +// 出库确认获取物料明细 +export const iosOutgetVehicleMaterial = (search) => request({ + url:'api/pda/iosOut/getVehicleMaterial', + data: {search: search} +}) +// 出库确认 +export const confirm = (gid, scode, type) => request({ + url:'api/pda/iosOut/confirm', + data: {group_id: gid, storagevehicle_code: scode, type: type} +}) +// 货架绑定/解绑 +export const bindOrUnbind = (siteCode, shelfCode, mode) => request({ + url:'api/pda/iosOut/bindOrUnbind', + data: {siteCode: siteCode, shelfCode: shelfCode, mode: mode} +}) +// 转运确认 +export const transferConfirm = (scode, siteCode, rcode) => request({ + url:'api/pda/iosOut/transferConfirm', + data: {storagevehicle_code: scode, siteCode: siteCode, region_code: rcode} +}) +// 空载具/CTU出库确认 +export const vehicleOutConfirm = (sid, siteCode, qty) => request({ + url:'api/pda/iosOut/vehicleOutConfirm', + data: {sect_id: sid, siteCode: siteCode, qty: qty} +}) + +// 中坞 +// 公用 +// 获取设备区域下拉框 +export const regionList = () => request({ + url:'api/pda/schPoint/regionList', + data: {} +}) +// 获取设备下拉框数组 +export const pointList = (rcode) => request({ + url:'api/pda/schPoint/pointList', + data: {region_code: rcode} +}) +// 供应商下拉框 +export const suppList = () => request({ + url:'api/pda/jb/suppList', + data: {} +}) + +// 解包上料 +// 获取工单表格数据 +export const getOrderList = (pcode, flag) => request({ + url:'api/pda/jb/getOrderList', + data: {point_code: pcode, flag: flag} +}) +// 开工 +export const callMaterial = (wid, pcode, area) => request({ + url:'api/pda/jb/callMaterial', + data: {workorder_id: wid, point_code: pcode, area: area} +}) + +// 解包下料 +// 获取重量 +export const getWeight = (pcode, wid) => request({ + url:'api/pda/jb/getWeight', + data: {point_code: pcode, workorder_id: wid} +}) +// 下料 +export const downMaterial = (wid, area, weight, pcode, tcode, lcode) => request({ + url:'api/pda/jb/downMaterial', + data: {workorder_id: wid, area: area, weight: weight, point_code: pcode, tp_code: tcode, lt_code: lcode} +}) +// 获取解包点位的托盘编码 +export const jbGetVehicleCode = (pcode) => request({ + url:'api/pda/jb/jbGetVehicleCode', + data: {point_code: pcode} +}) + +// 料桶出入 +// 检测站点 +export const checkStruct = (pcode) => request({ + url:'api/pda/jb/checkStruct', + data: {point_code: pcode} +}) +// 确认放置 +export const confirmSet = (pcode, vcode) => request({ + url:'api/pda/jb/confirmSet', + data: {point_code: pcode, vehicle_code: vcode} +}) +// 获取料桶组盘信息 +export const jbGetLtInfo = (scode, vcode) => request({ + url:'api/pda/jb/jbGetLtInfo', + data: {struct_code: scode, vehicle_code: vcode} +}) +// 空桶取出 +export const jbEmptyTakeOut = (pcode) => request({ + url:'api/pda/jb/jbEmptyTakeOut', + data: {point_code: pcode} +}) + +// 解包退料 +// 解包退料 +export const jbReturnMaterial = (area, pcode, tpcode, wid) => request({ + url:'api/pda/jb/jbReturnMaterial', + data: {area: area, point_code: pcode, tp_code: tpcode, workorder_id: wid} +}) + +// 人车安全 +// 进入区域 +export const intoRegion = (rcode, nickname) => request({ + url:'api/pda/jb/intoRegion', + data: {region_code: rcode, nickname: nickname} +}) +// 退出区域 +export const outRegion = (rcode, nickname, rows) => request({ + url:'api/pda/jb/outRegion', + data: {region_code: rcode, nickname: nickname, rows: rows} +}) +// 获取进入区域的信息记录 +export const getAllIntoRegionMembers = (rcode) => request({ + url:'api/pda/jb/getAllIntoRegionMembers', + data: {region_code: rcode} +}) + +// 来料入库 +// 来料入库接口 +export const zwConfirmIn = (fdcode, plist) => request({ + url:'api/pda/iosIn/zwConfirmIn', + data: {form_data_code: fdcode, param_list: plist} +}) +// 获取单据下拉清单 +export const getFormDataList = (date) => request({ + url:'api/pda/iosIn/getFormDataList', + data: {date: date} +}) +// 查询组盘明细 +export const getPlate = (vcode) => request({ + url:'api/pda/iosIn/getPlate', + data: {vehicle_code: vcode} +}) +// PDA来料入库校验点位和托盘码 +export const inCheck = (scode, vcode) => request({ + url:'api/pda/iosIn/inCheck', + data: {site_code: scode, vehicle_code: vcode} +}) + +// 空载具出入库 +// 载具编码下拉框 +export const getPdaSect = (scode, page, size) => request({ + url:'api/pda/iosIn/getPdaSect', + data: {stor_code: scode, page: page, size: size} +}) +// 空载具入库 +export const vehicleInConfirm = (vcode, sectcode, pcode) => request({ + url:'api/pda/iosIn/vehicleInConfirm', + data: {vehicle_code: vcode, sect_code: sectcode, point_code: pcode} +}) +// 空载具出库 +export const iosOutvehicleOutConfirm = (sid, siteCode) => request({ + url:'api/pda/iosOut/vehicleOutConfirm', + data: {sect_id: sid, siteCode: siteCode} +}) +// 通过载具编码获取点位 +export const getPointCodeByVehicleCode = (vcode) => request({ + url:'api/pda/iosIn/getPointCodeByVehicleCode', + data: {vehicle_code: vcode} +}) + +// 手工叫料/退料 +// 手工叫料 +export const checkoutbillcallMaterial = (dcode, scode, mcode, type, spcode, spname) => request({ + url:'api/checkoutbill/callMaterial', + data: {device_code: dcode, struct_code: scode, material_code: mcode, task_type: type, supp_code: spcode, supp_name: spname} +}) +// 手工退料 +export const checkoutbillBackMaterial = (dcode, vcode, type, qty, mcode, spcode, spname) => request({ + url:'api/checkoutbill/BackMaterial', + data: {device_code: dcode, vehicle_code: vcode, task_type: type, qty: qty, material_code: mcode, supp_code: spcode, supp_name: spname} +}) +// 获取库位(已弃用) +export const getPdaStruct = (scode) => request({ + url:'api/pda/iosIn/getPdaStruct', + data: {sect_code: scode} +}) +// 根据库区获得料桶号列表 +export const getPdaVehicleCodeBySectCode = (scode) => request({ + url:'api/pda/iosOut/getPdaVehicleCodeBySectCode', + data: {sect_code: scode} +}) +// 根据料桶号获得物料、供应商详情 +export const getMaterialSuppByVehicleCode = (vcode) => request({ + url:'api/pda/iosOut/getMaterialSuppByVehicleCode', + data: {vehicle_code: vcode} +}) +// 点位属性设置 +export const updatePointType = (code, type) => request({ + url:'api/schBasePoint/updatePointType', + data: {point_code: code, point_type: type} +}) + +// 组盘入库 +// 物料组盘(带单据) +export const zwgroupPlate = (vcode, mid, qty, ecode, spcode, spname) => request({ + url:'api/pda/iosIn/groupPlate', + data: {vehicle_code: vcode, material_id: mid, qty: qty, ext_code: ecode, supp_code: spcode, supp_name: spname} +}) +// 获取单据下拉清单 +// export const getFormDataList = (fdcode) => request({ +// url:'api/pda/iosIn/getFormDataList', +// data: {form_data_code: fdcode} +// }) +// 获取物料详情 +export const getFormMaterial = (ecode) => request({ + url:'api/pda/iosIn/getFormMaterial', + data: {ext_code: ecode} +}) +// 获取供应商 +export const supplierdroplist = () => request({ + url:'api/pda/iosIn/supplier-drop-list', + data: {} +}) + +// 物料组盘入库 +export const combination = (vcode, pcsn, mid, spcode, spname, sweight) => request({ + url:'api/pda/jb/combination', + data: {vehicle_code: vcode, pcsn: pcsn, material_id: mid, supp_code: spcode, supp_name: spname, single_weight: sweight} +}) + +// 确认取货 +export const pickUp = (pcode, pstatus) => request({ + url:'api/pda/iosOut/pickUp', + data: {point_code: pcode, point_status: pstatus} +})