diff --git a/common/style/layout.styl b/common/style/layout.styl index d1cf7c4..86a0be7 100644 --- a/common/style/layout.styl +++ b/common/style/layout.styl @@ -53,6 +53,7 @@ uni-button:after { font-weight: bold; letter-spacing: 4rpx; padding-left: 10rpx; + white-space: nowrap; /* text-align:justify; text-align-last: justify; text-justify: inter-ideograph; */ diff --git a/components/NumberInput.vue b/components/NumberInput.vue index 8542bcf..1f63518 100644 --- a/components/NumberInput.vue +++ b/components/NumberInput.vue @@ -4,6 +4,7 @@ :value="displayValue" @input="handleInput" @blur="handleBlur" + class="filter_input" :class="inputClass" /> diff --git a/pages.json b/pages.json index 6390600..9d89d0e 100644 --- a/pages.json +++ b/pages.json @@ -24,296 +24,6 @@ "navigationStyle": "custom" } } - ,{ - "path" : "pages/manage/cbj-carry", - "style" : - { - "navigationStyle": "custom" - } - - } - ,{ - "path" : "pages/manage/press-carry", - "style" : - { - "navigationStyle": "custom" - } - - } - ,{ - "path" : "pages/manage/mater-scrap", - "style" : - { - "navigationStyle": "custom" - } - - } - ,{ - "path" : "pages/manage/man-sort", - "style" : - { - "navigationStyle": "custom" - } - - } - ,{ - "path" : "pages/manage/task-manage", - "style" : - { - "navigationStyle": "custom" - } - - } - ,{ - "path" : "pages/manage/inst-manage", - "style" : - { - "navigationStyle": "custom" - } - - } - ,{ - "path" : "pages/manage/yzhnml-carry", - "style" : - { - "navigationStyle": "custom" - } - - } - ,{ - "path" : "pages/manage/vehicle-unbind", - "style" : - { - "navigationStyle": "custom" - } - - } - ,{ - "path" : "pages/manage/group-task", - "style" : - { - "navigationStyle": "custom" - } - - } - ,{ - "path" : "pages/entry/group-to-store", - "style" : - { - "navigationStyle": "custom" - } - - } - ,{ - "path" : "pages/entry/empty-tray-to-store", - "style" : - { - "navigationStyle": "custom" - } - - } - ,{ - "path" : "pages/outbound/tray-out-store", - "style" : - { - "navigationStyle": "custom" - } - - } - ,{ - "path" : "pages/outbound/out-store-confirm", - "style" : - { - "navigationStyle": "custom" - } - - } - ,{ - "path" : "pages/in/store-info", - "style" : - { - "navigationStyle": "custom" - } - - } - ,{ - "path" : "pages/pick/pick-task", - "style" : - { - "navigationStyle": "custom" - } - - } - ,{ - "path" : "pages/task/task-manage", - "style" : - { - "navigationStyle": "custom", - "enablePullDownRefresh": true, - "onReachBottomDistance": 50 - } - - } - ,{ - "path" : "pages/entry/document", - "style" : - { - "navigationStyle": "custom", - "enablePullDownRefresh": true, - "onReachBottomDistance": 50 - } - - } - ,{ - "path" : "pages/pick/pick-list", - "style" : - { - "navigationStyle": "custom" - } - - } - ,{ - "path" : "pages/check/check-task", - "style" : - { - "navigationStyle": "custom" - } - - } - ,{ - "path" : "pages/entry/mater-group-to-store", - "style" : - { - "navigationStyle": "custom" - } - - } - ,{ - "path" : "pages/mode/switch-in-out", - "style" : - { - "navigationStyle": "custom" - } - - } - ,{ - "path" : "pages/common/mater-list", - "style" : - { - "navigationStyle": "custom", - "enablePullDownRefresh": true, - "onReachBottomDistance": 50 - } - - } - ,{ - "path" : "pages/mode/pick", - "style" : - { - "navigationStyle": "custom" - } - - } - ,{ - "path" : "pages/mode/command", - "style" : - { - "navigationStyle": "custom" - } - - } - ,{ - "path" : "pages/outbound/bill-out-store", - "style" : - { - "navigationStyle": "custom" - } - - } - ,{ - "path" : "pages/outbound/bill-list", - "style" : - { - "navigationStyle": "custom", - "enablePullDownRefresh": true, - "onReachBottomDistance": 50 - } - - } - ,{ - "path" : "pages/entry/qualified-to-store", - "style" : - { - "navigationStyle": "custom" - } - - } - ,{ - "path" : "pages/transfer/tray-transfer", - "style" : - { - "navigationStyle": "custom" - } - - } - ,{ - "path" : "pages/outbound/stock-out-store", - "style" : - { - "navigationStyle": "custom" - } - - } - ,{ - "path" : "pages/outbound/stock-list", - "style" : - { - "navigationStyle": "custom", - "enablePullDownRefresh": true, - "onReachBottomDistance": 50 - } - - } - ,{ - "path" : "pages/outbound/produce-out-store-2nd", - "style" : - { - "navigationStyle": "custom" - } - - } - ,{ - "path" : "pages/outbound/pick-confirm-2nd", - "style" : - { - "navigationStyle": "custom" - } - - } - ,{ - "path" : "pages/outbound/shelf-bind-2nd", - "style" : - { - "navigationStyle": "custom" - } - - } - ,{ - "path" : "pages/entry/bill-to-store", - "style" : - { - "navigationStyle": "custom" - } - - } - ,{ - "path" : "pages/entry/check-to-store", - "style" : - { - "navigationStyle": "custom" - } - - } ,{ "path" : "pages/test", "style" : diff --git a/pages/General/distribution-box.vue b/pages/General/distribution-box.vue index 1ec10bb..6afe19b 100644 --- a/pages/General/distribution-box.vue +++ b/pages/General/distribution-box.vue @@ -173,6 +173,7 @@ icon: 'none' }) } + this.toEmpty() this.disabled = false } catch (e) { this.disabled = false diff --git a/pages/General/line-transfer.vue b/pages/General/line-transfer.vue index 7ed949e..b92a0bb 100644 --- a/pages/General/line-transfer.vue +++ b/pages/General/line-transfer.vue @@ -85,7 +85,7 @@ } }, toEmpty () { - this.vehicleCode = null, + this.vehicleCode = null this.code1 = '' this.code2 = '' this.index = '' @@ -105,7 +105,7 @@ icon: 'none' }) } - this.disabled = false + this.toEmpty() } catch (e) { this.disabled = false } diff --git a/pages/General/warehouse-box.vue b/pages/General/warehouse-box.vue index 37e3e84..631836b 100644 --- a/pages/General/warehouse-box.vue +++ b/pages/General/warehouse-box.vue @@ -222,6 +222,7 @@ icon: 'none' }) } + this.toEmpty() this.disabled = false } catch (e) { this.disabled = false diff --git a/pages/check/check-task.vue b/pages/check/check-task.vue deleted file mode 100644 index b8721a4..0000000 --- a/pages/check/check-task.vue +++ /dev/null @@ -1,172 +0,0 @@ - - - - - diff --git a/pages/common/mater-list.vue b/pages/common/mater-list.vue deleted file mode 100644 index 0c2e4b7..0000000 --- a/pages/common/mater-list.vue +++ /dev/null @@ -1,141 +0,0 @@ - - - \ No newline at end of file diff --git a/pages/entry/bill-to-store.vue b/pages/entry/bill-to-store.vue deleted file mode 100644 index 2a75801..0000000 --- a/pages/entry/bill-to-store.vue +++ /dev/null @@ -1,343 +0,0 @@ - - - - - diff --git a/pages/entry/check-to-store.vue b/pages/entry/check-to-store.vue deleted file mode 100644 index 4fc47bf..0000000 --- a/pages/entry/check-to-store.vue +++ /dev/null @@ -1,244 +0,0 @@ - - - - - diff --git a/pages/entry/document.vue b/pages/entry/document.vue deleted file mode 100644 index 21ca2d3..0000000 --- a/pages/entry/document.vue +++ /dev/null @@ -1,157 +0,0 @@ - - - diff --git a/pages/entry/empty-tray-to-store.vue b/pages/entry/empty-tray-to-store.vue deleted file mode 100644 index 3250200..0000000 --- a/pages/entry/empty-tray-to-store.vue +++ /dev/null @@ -1,140 +0,0 @@ - - - - - diff --git a/pages/entry/group-to-store.vue b/pages/entry/group-to-store.vue deleted file mode 100644 index 85b133b..0000000 --- a/pages/entry/group-to-store.vue +++ /dev/null @@ -1,158 +0,0 @@ - - - - - diff --git a/pages/entry/mater-group-to-store.vue b/pages/entry/mater-group-to-store.vue deleted file mode 100644 index 9d33921..0000000 --- a/pages/entry/mater-group-to-store.vue +++ /dev/null @@ -1,233 +0,0 @@ - - - - - diff --git a/pages/entry/qualified-to-store.vue b/pages/entry/qualified-to-store.vue deleted file mode 100644 index b359c49..0000000 --- a/pages/entry/qualified-to-store.vue +++ /dev/null @@ -1,218 +0,0 @@ - - - - - diff --git a/pages/home/home.vue b/pages/home/home.vue index b001c83..4fd226c 100644 --- a/pages/home/home.vue +++ b/pages/home/home.vue @@ -50,14 +50,20 @@ {title: '作业管理', path: '/pages/General/ops-mgmt'}, {title: '点位更新', path: '/pages/General/pt-update'} ]}, - {title: '小料箱功能', path: 'RF03', sonTree: [{title: '空载具出库', path: '/pages/Material/kzj-out-store'}, {title: '空载具入库', path: '/pages/Material/kzj-in-store'}, {title: '小料箱入库', path: '/pages/Material/xlx-in-store'}]}, - {title: '大料箱功能', path: 'RF04', sonTree: [{title: '空载具出入库', path: '/pages/Material/kzj-inout-store'}, {title: '料箱入库', path: '/pages/Material/lx-in-store'}, {title: '物料入库', path: '/pages/Material/mater-in-store'}, {title: '大料箱出库', path: '/pages/Material/dlx-out-store'}, {title: '退库确认', path: '/pages/Material/tuiku-confirm'}, {title: '大料箱移库', path: '/pages/Material/dlx-move-store'}, {title: '大料箱盘库', path: '/pages/Material/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'}]}, - // {title: '设备操控', path: 'RF07', sonTree: [{title: '切换出入库模式', path: '/pages/mode/switch-in-out'}, {title: '拣选工位启停模式', path: '/pages/mode/pick'}, {title: '下发输送线运动命令', path: '/pages/mode/command'}]}, - // {title: '产线叫料', path: 'RF10', sonTree: [{title: '二楼生产出库', path: '/pages/outbound/produce-out-store-2nd'}, {title: '二楼取货确认', path: '/pages/outbound/pick-confirm-2nd'}, {title: '二楼货架绑定', path: '/pages/outbound/shelf-bind-2nd'}]}, - // {title: '转运管理', path: 'RF09', sonTree: [{title: '托盘转运', path: '/pages/transfer/tray-transfer'}, {title: '打印测试', path: '/pages/test'}]} + {title: '小料箱功能', path: 'RF03', sonTree: [ + {title: '空载具出库', path: '/pages/Material/kzj-out-store'}, + {title: '空载具入库', path: '/pages/Material/kzj-in-store'}, + {title: '小料箱入库', path: '/pages/Material/xlx-in-store'} + ]}, + {title: '大料箱功能', path: 'RF04', sonTree: [ + {title: '空载具出入库', path: '/pages/Material/kzj-inout-store'}, + {title: '料箱入库', path: '/pages/Material/lx-in-store'}, + {title: '物料入库', path: '/pages/Material/mater-in-store'}, + {title: '大料箱出库', path: '/pages/Material/dlx-out-store'}, + {title: '退库确认', path: '/pages/Material/tuiku-confirm'}, + {title: '大料箱移库', path: '/pages/Material/dlx-move-store'}, + {title: '大料箱盘库', path: '/pages/Material/dlx-pan-store'} + ]} ], show: false, secM: [], diff --git a/pages/in/store-info.vue b/pages/in/store-info.vue deleted file mode 100644 index 239d03a..0000000 --- a/pages/in/store-info.vue +++ /dev/null @@ -1,19 +0,0 @@ - - - - - diff --git a/pages/manage/cbj-carry.vue b/pages/manage/cbj-carry.vue deleted file mode 100644 index e22f3fc..0000000 --- a/pages/manage/cbj-carry.vue +++ /dev/null @@ -1,267 +0,0 @@ - - - \ No newline at end of file diff --git a/pages/manage/group-task.vue b/pages/manage/group-task.vue deleted file mode 100644 index 3b008c4..0000000 --- a/pages/manage/group-task.vue +++ /dev/null @@ -1,102 +0,0 @@ - - - - - diff --git a/pages/manage/inst-manage.vue b/pages/manage/inst-manage.vue deleted file mode 100644 index 1d4028b..0000000 --- a/pages/manage/inst-manage.vue +++ /dev/null @@ -1,152 +0,0 @@ - - - - - diff --git a/pages/manage/man-sort.vue b/pages/manage/man-sort.vue deleted file mode 100644 index 659ca41..0000000 --- a/pages/manage/man-sort.vue +++ /dev/null @@ -1,115 +0,0 @@ - - - - - diff --git a/pages/manage/mater-scrap.vue b/pages/manage/mater-scrap.vue deleted file mode 100644 index 858a92e..0000000 --- a/pages/manage/mater-scrap.vue +++ /dev/null @@ -1,82 +0,0 @@ - - - diff --git a/pages/manage/press-carry.vue b/pages/manage/press-carry.vue deleted file mode 100644 index 8899deb..0000000 --- a/pages/manage/press-carry.vue +++ /dev/null @@ -1,149 +0,0 @@ - - - \ No newline at end of file diff --git a/pages/manage/task-manage.vue b/pages/manage/task-manage.vue deleted file mode 100644 index 2ed12d6..0000000 --- a/pages/manage/task-manage.vue +++ /dev/null @@ -1,136 +0,0 @@ - - - - - diff --git a/pages/manage/vehicle-unbind.vue b/pages/manage/vehicle-unbind.vue deleted file mode 100644 index c738ab3..0000000 --- a/pages/manage/vehicle-unbind.vue +++ /dev/null @@ -1,108 +0,0 @@ - - - - - diff --git a/pages/manage/yzhnml-carry.vue b/pages/manage/yzhnml-carry.vue deleted file mode 100644 index 9d8a10b..0000000 --- a/pages/manage/yzhnml-carry.vue +++ /dev/null @@ -1,133 +0,0 @@ - - - \ No newline at end of file diff --git a/pages/mode/command.vue b/pages/mode/command.vue deleted file mode 100644 index 911033a..0000000 --- a/pages/mode/command.vue +++ /dev/null @@ -1,105 +0,0 @@ - - - - - diff --git a/pages/mode/pick.vue b/pages/mode/pick.vue deleted file mode 100644 index 79875e4..0000000 --- a/pages/mode/pick.vue +++ /dev/null @@ -1,92 +0,0 @@ - - - - - diff --git a/pages/mode/switch-in-out.vue b/pages/mode/switch-in-out.vue deleted file mode 100644 index 18a2165..0000000 --- a/pages/mode/switch-in-out.vue +++ /dev/null @@ -1,92 +0,0 @@ - - - - - diff --git a/pages/outbound/bill-list.vue b/pages/outbound/bill-list.vue deleted file mode 100644 index 59830d9..0000000 --- a/pages/outbound/bill-list.vue +++ /dev/null @@ -1,182 +0,0 @@ - - - diff --git a/pages/outbound/bill-out-store.vue b/pages/outbound/bill-out-store.vue deleted file mode 100644 index 89741db..0000000 --- a/pages/outbound/bill-out-store.vue +++ /dev/null @@ -1,243 +0,0 @@ - - - - - \ No newline at end of file diff --git a/pages/outbound/out-store-confirm.vue b/pages/outbound/out-store-confirm.vue deleted file mode 100644 index d97c820..0000000 --- a/pages/outbound/out-store-confirm.vue +++ /dev/null @@ -1,82 +0,0 @@ - - - - - diff --git a/pages/outbound/pick-confirm-2nd.vue b/pages/outbound/pick-confirm-2nd.vue deleted file mode 100644 index 56b996a..0000000 --- a/pages/outbound/pick-confirm-2nd.vue +++ /dev/null @@ -1,99 +0,0 @@ - - - diff --git a/pages/outbound/produce-out-store-2nd.vue b/pages/outbound/produce-out-store-2nd.vue deleted file mode 100644 index ea1aea4..0000000 --- a/pages/outbound/produce-out-store-2nd.vue +++ /dev/null @@ -1,234 +0,0 @@ - - - diff --git a/pages/outbound/shelf-bind-2nd.vue b/pages/outbound/shelf-bind-2nd.vue deleted file mode 100644 index b0f386f..0000000 --- a/pages/outbound/shelf-bind-2nd.vue +++ /dev/null @@ -1,152 +0,0 @@ - - - diff --git a/pages/outbound/stock-list.vue b/pages/outbound/stock-list.vue deleted file mode 100644 index 2cac68b..0000000 --- a/pages/outbound/stock-list.vue +++ /dev/null @@ -1,188 +0,0 @@ - - - - - diff --git a/pages/outbound/stock-out-store.vue b/pages/outbound/stock-out-store.vue deleted file mode 100644 index b901cd1..0000000 --- a/pages/outbound/stock-out-store.vue +++ /dev/null @@ -1,132 +0,0 @@ - - - - - diff --git a/pages/outbound/tray-out-store.vue b/pages/outbound/tray-out-store.vue deleted file mode 100644 index 90dd57b..0000000 --- a/pages/outbound/tray-out-store.vue +++ /dev/null @@ -1,115 +0,0 @@ - - - - - diff --git a/pages/pick/pick-list.vue b/pages/pick/pick-list.vue deleted file mode 100644 index 0e39c3c..0000000 --- a/pages/pick/pick-list.vue +++ /dev/null @@ -1,142 +0,0 @@ - - - \ No newline at end of file diff --git a/pages/pick/pick-task.vue b/pages/pick/pick-task.vue deleted file mode 100644 index 6c5395d..0000000 --- a/pages/pick/pick-task.vue +++ /dev/null @@ -1,302 +0,0 @@ - - - \ No newline at end of file diff --git a/pages/task/task-manage.vue b/pages/task/task-manage.vue deleted file mode 100644 index ffff41e..0000000 --- a/pages/task/task-manage.vue +++ /dev/null @@ -1,176 +0,0 @@ - - - \ No newline at end of file diff --git a/pages/transfer/tray-transfer.vue b/pages/transfer/tray-transfer.vue deleted file mode 100644 index bbbbcf6..0000000 --- a/pages/transfer/tray-transfer.vue +++ /dev/null @@ -1,110 +0,0 @@ - - - - - diff --git a/utils/getData4.js b/utils/getData4.js deleted file mode 100644 index bd53872..0000000 --- a/utils/getData4.js +++ /dev/null @@ -1,322 +0,0 @@ -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} -})