diff --git a/pages/ftdl/kc-manage.vue b/pages/ftdl/kc-manage.vue index da9afcc..945f1f4 100644 --- a/pages/ftdl/kc-manage.vue +++ b/pages/ftdl/kc-manage.vue @@ -65,7 +65,7 @@ - + diff --git a/pages/ftdl/line-down-mater.vue b/pages/ftdl/line-down-mater.vue index e18743d..ebdf823 100644 --- a/pages/ftdl/line-down-mater.vue +++ b/pages/ftdl/line-down-mater.vue @@ -26,13 +26,13 @@ - + - + - + @@ -50,24 +50,23 @@ - - {{i+1}} - {{e.task_code}} - {{e.vehicle_code}} - {{e.status}} - {{e.point_code1}} - {{e.point_code2}} + + {{i+1}} + + {{e.material_name}} + + + {{e.measure_unit_id}} - - - + + @@ -75,7 +74,7 @@ \ No newline at end of file + + \ No newline at end of file diff --git a/pages/ftdl/man-load-goods.vue b/pages/ftdl/man-load-goods.vue index c89f8dc..aae5d91 100644 --- a/pages/ftdl/man-load-goods.vue +++ b/pages/ftdl/man-load-goods.vue @@ -18,13 +18,13 @@ - + - + - + @@ -42,24 +42,23 @@ - - {{i+1}} - {{e.task_code}} - {{e.vehicle_code}} - {{e.status}} - {{e.point_code1}} - {{e.point_code2}} + + {{i+1}} + + {{e.material_name}} + + + {{e.measure_unit_id}} - - - + + @@ -67,7 +66,7 @@ \ No newline at end of file + + \ No newline at end of file diff --git a/pages/ftdl/mater-list0.vue b/pages/ftdl/mater-list0.vue index 33e419b..8e8134e 100644 --- a/pages/ftdl/mater-list0.vue +++ b/pages/ftdl/mater-list0.vue @@ -56,12 +56,12 @@ return { title: '', val1: '', - // dataList: [], - dataList: [ - {material_code: 'code1', material_name: 'name1', measure_unit_id: '千克'}, - {material_code: 'code2', material_name: 'name2', measure_unit_id: '千克'}, - {material_code: 'code3', material_name: 'name3', measure_unit_id: '千克'}, - ], + dataList: [], + // dataList: [ + // {material_code: 'code1', material_name: 'name1', measure_unit_id: '千克'}, + // {material_code: 'code2', material_name: 'name2', measure_unit_id: '千克'}, + // {material_code: 'code3', material_name: 'name3', measure_unit_id: '千克'}, + // ], pkId: '', pkObj: {}, reload: false, @@ -78,7 +78,7 @@ }, onLoad (options) { this.title = options.title - this.searchList() + // this.searchList() }, methods: { searchList () { @@ -87,7 +87,7 @@ this._selectMaterials() }, async _selectMaterials () { - let res = await selectMaterials( this.val1) + let res = await selectMaterials(this.val1) this.dataList = res.data // this.totalCount = res.totalElements // if (res.totalElements > 0) { diff --git a/pages/home/home.vue b/pages/home/home.vue index 2a3cc30..5281347 100644 --- a/pages/home/home.vue +++ b/pages/home/home.vue @@ -41,11 +41,12 @@ return { userName: '', menuList: [ - {title: '东丽管理', path: 'RF03', sonTree: [{title: '人工放货', path: '/pages/ftdl/man-load-goods'}, {title: '人工取货', path: '/pages/ftdl/man-get-goods'}, {title: '产线叫料', path: '/pages/ftdl/line-call-mater'}, {title: '产线下料', path: '/pages/ftdl/line-down-mater'}, {title: '库存锁定/解锁', path: '/pages/ftdl/kc-manage'}, {title: '定点作业', path: '/pages/ftdl/fixedpoint-work'}, {title: '作业管理', path: '/pages/ftdl/work-manage'}]}, - {title: '预装管理', path: 'RF04', sonTree: [{title: '物料组盘', path: '/pages/entry/mater-group2'}, {title: '货架绑定', path: '/pages/outbound/shelf-bind'}]}, - {title: '产线管理', path: 'RF07', sonTree: [{title: '产线叫料', path: '/pages/outbound/line-callmater'}, {title: '线边仓出库', path: '/pages/outbound/mater-outstore'}, {title: '产线转运', path: '/pages/outbound/line-transfer2'}]}, - {title: '入库管理', path: 'RF01', sonTree: [{title: '物料组盘', path: '/pages/entry/mater-group'}, {title: '组盘入库', path: '/pages/entry/groupplate-instore'}, {title: '货架绑定', path: '/pages/outbound/shelf-bind'}, {title: '拣选余料回库', path: '/pages/entry/pick-yl-return-store'}, {title: '空载具入库', path: '/pages/entry/empty-vehicle-instore'}]}, - {title: '出库管理', path: 'RF02', sonTree: [{title: '产线转运', path: '/pages/outbound/line-transfer'}, {title: '空载具出库', path: '/pages/outbound/empty-vehicle-outstore'}, {title: 'CTU载具出库', path: '/pages/outbound/ctu-vehicle-outstore'}, {title: '出库确认', path: '/pages/outbound/out-store-confirm'}]}, + {title: '功能管理', path: 'RF03', sonTree: [{title: '人工取货', path: '/pages/ftdl/man-get-goods'}, {title: '产线叫料', path: '/pages/ftdl/line-call-mater'}, {title: '库存锁定/解锁', path: '/pages/ftdl/kc-manage'}, {title: '定点作业', path: '/pages/ftdl/fixedpoint-work'}, {title: '作业管理', path: '/pages/ftdl/work-manage'}]}, + // {title: '东丽管理', path: 'RF03', sonTree: [{title: '人工放货', path: '/pages/ftdl/man-load-goods'}, {title: '人工取货', path: '/pages/ftdl/man-get-goods'}, {title: '产线叫料', path: '/pages/ftdl/line-call-mater'}, {title: '产线下料', path: '/pages/ftdl/line-down-mater'}, {title: '库存锁定/解锁', path: '/pages/ftdl/kc-manage'}, {title: '定点作业', path: '/pages/ftdl/fixedpoint-work'}, {title: '作业管理', path: '/pages/ftdl/work-manage'}]}, + // {title: '预装管理', path: 'RF04', sonTree: [{title: '物料组盘', path: '/pages/entry/mater-group2'}, {title: '货架绑定', path: '/pages/outbound/shelf-bind'}]}, + // {title: '产线管理', path: 'RF07', sonTree: [{title: '产线叫料', path: '/pages/outbound/line-callmater'}, {title: '线边仓出库', path: '/pages/outbound/mater-outstore'}, {title: '产线转运', path: '/pages/outbound/line-transfer2'}]}, + // {title: '入库管理', path: 'RF01', sonTree: [{title: '物料组盘', path: '/pages/entry/mater-group'}, {title: '组盘入库', path: '/pages/entry/groupplate-instore'}, {title: '货架绑定', path: '/pages/outbound/shelf-bind'}, {title: '拣选余料回库', path: '/pages/entry/pick-yl-return-store'}, {title: '空载具入库', path: '/pages/entry/empty-vehicle-instore'}]}, + // {title: '出库管理', path: 'RF02', sonTree: [{title: '产线转运', path: '/pages/outbound/line-transfer'}, {title: '空载具出库', path: '/pages/outbound/empty-vehicle-outstore'}, {title: 'CTU载具出库', path: '/pages/outbound/ctu-vehicle-outstore'}, {title: '出库确认', path: '/pages/outbound/out-store-confirm'}]}, // {title: '入库管理', path: 'RF01', sonTree: [{title: '组盘入库', path: '/pages/entry/groupplate-instore'}, {title: '拣选余料回库', path: '/pages/entry/pick-yl-return-store'}, {title: '空载具入库', path: '/pages/entry/empty-vehicle-instore'}]}, // {title: '出库管理', path: 'RF02', sonTree: [{title: '产线转运', path: '/pages/outbound/line-transfer'}, {title: '空载具出库', path: '/pages/outbound/empty-vehicle-outstore'}, {title: 'CTU载具出库', path: '/pages/outbound/ctu-vehicle-outstore'}]} // {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'}]}, diff --git a/pages/login/login.vue b/pages/login/login.vue index 87b00c1..df2a544 100644 --- a/pages/login/login.vue +++ b/pages/login/login.vue @@ -101,6 +101,7 @@ url: '/pages/home/home' }) } else { + console.log(11111) uni.showToast({ title: res.message, icon: 'none' diff --git a/vuex/modules/user.js b/vuex/modules/user.js index 1399f57..45f59bb 100644 --- a/vuex/modules/user.js +++ b/vuex/modules/user.js @@ -1,6 +1,6 @@ import * as types from '../types' -const baseUrl = process.env.NODE_ENV === 'development' ? 'http://172.18.51.221:8011' : 'http://172.18.51.221:8011' +const baseUrl = process.env.NODE_ENV === 'development' ? 'http://192.168.10.47:8011' : 'http://192.168.10.47:8011' const acsUrl = process.env.NODE_ENV === 'development' ? 'http://192.168.18.250:8012' : 'http://192.168.18.250:8012' const printUrl = process.env.NODE_ENV === 'development' ? 'http://192.168.81.162:8010' : 'http://192.168.81.162:8010' const state = {