diff --git a/README.md b/README.md index 98e1947..85e36d0 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,5 @@ # 注意事项 + 原生APP云打包使用自有证书 + 证书别名:testalias -+ 接口在线地址:(https://apifox.com/apidoc/shared-e9d4798e-2db1-493d-a0cb-7a0e881c4bd6/api-160097540) + app图标为lms -+ 接口在线地址:http://47.98.105.245:8001/project/21/interface/api/cat_122 \ No newline at end of file ++ 接口在线地址:[http://47.111.78.178:8014/] \ No newline at end of file diff --git a/components/LimitInput.vue b/components/LimitInput.vue new file mode 100644 index 0000000..1f44c03 --- /dev/null +++ b/components/LimitInput.vue @@ -0,0 +1,135 @@ + + + + + diff --git a/pages.json b/pages.json index 383f7e8..bf77131 100644 --- a/pages.json +++ b/pages.json @@ -321,6 +321,13 @@ "navigationStyle": "custom" } + }, + { + "path" : "pages/entry/tray-mix-group", + "style" : + { + "navigationStyle": "custom" + } } ], "globalStyle": { diff --git a/pages/common/mater-list.vue b/pages/common/mater-list.vue index 0c2e4b7..71a060d 100644 --- a/pages/common/mater-list.vue +++ b/pages/common/mater-list.vue @@ -29,7 +29,20 @@ 仓库编码 - + + + {{e.material_code}} + {{e.material_name}} + {{e.material_spec}} + {{e.unit_id}} + {{e.single_weight}} + {{e.pcsn}} + {{e.qty}} + {{e.vehicle_code}} + {{e.stor_code}} + + + {{e.material_code}} {{e.material_name}} @@ -50,7 +63,8 @@ - + + @@ -66,6 +80,8 @@ }, data() { return { + check: null, + checkData: [], title: '', val1: '', dataList: [], @@ -85,6 +101,7 @@ }, onLoad (options) { this.title = options.title + this.check = options.check }, methods: { searchList () { @@ -98,6 +115,11 @@ this.totalCount = res.totalElements if (res.totalElements > 0) { const dataMap = res.content + if (this.check === 'all') { + dataMap.map(el => { + this.$set(el, 'checked', false) + }) + } this.dataList = this.reload ? dataMap : this.dataList.concat(dataMap) this.reload = false } else { @@ -124,11 +146,22 @@ this.pkId = this.pkId === e.material_id ? '' : e.material_id this.pkObj = this.pkId === e.material_id ? e : {} }, + allCheck (e) { + e.checked = !e.checked + this.checkData = this.dataList.filter(el => {return el.checked}) + }, toEmpty () { this.val1 = '' this.dataList = [] this.pageNum = 1 this.pkId = '' + this.checkData = [] + }, + toSure1 () { + if (this.checkData.length > 0) { + this.$store.dispatch('setPublicArr', this.checkData) + uni.navigateBack() + } }, toSure () { if (this.pkId) { diff --git a/pages/entry/tray-mix-group.vue b/pages/entry/tray-mix-group.vue new file mode 100644 index 0000000..56054cf --- /dev/null +++ b/pages/entry/tray-mix-group.vue @@ -0,0 +1,174 @@ + + + + + diff --git a/pages/home/home.vue b/pages/home/home.vue index ea34744..833ffcb 100644 --- a/pages/home/home.vue +++ b/pages/home/home.vue @@ -42,12 +42,61 @@ return { userName: '', menuList: [ - {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: 'RF01', + sonTree: [ + {title: '物料组盘入库', path: '/pages/entry/mater-group-to-store'}, + {title: '合格证入库', path: '/pages/entry/qualified-to-store'}, + {title: '托盘混料组盘', path: '/pages/entry/tray-mix-group'}, + {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'}, + ], + } ], show: false, secM: [], diff --git a/pages/outbound/bill-list.vue b/pages/outbound/bill-list.vue index 59830d9..fc23c04 100644 --- a/pages/outbound/bill-list.vue +++ b/pages/outbound/bill-list.vue @@ -12,7 +12,7 @@ - + 单据编码 diff --git a/utils/getData2.js b/utils/getData2.js index e845244..d7b9df8 100644 --- a/utils/getData2.js +++ b/utils/getData2.js @@ -279,4 +279,11 @@ export const checkMaterConfirm = (obj) => request({ export const getStructCount = (code) => request({ url:'api/pda/common/getStructCount', data: {vehicle_code: code} +}) +/** + * 托盘混料组盘 + */ +export const mixingGroupDick = (code, item) => request({ + url:'api/mdGruopDick/mixingGroupDick', + data: {vehicle_code: code, item: item} }) \ No newline at end of file