diff --git a/hb_client/src/api/wpm.js b/hb_client/src/api/wpm.js new file mode 100644 index 0000000..6fae6a3 --- /dev/null +++ b/hb_client/src/api/wpm.js @@ -0,0 +1,17 @@ +import request from '@/utils/request' + +export function createPick(data) { + return request({ + url: '/wpm/wmaterial/pick/', + method: 'post', + data + }) +} + +export function getwmaterialList(query) { + return request({ + url: '/wpm/wmaterial/', + method: 'get', + params: query + }) +} \ No newline at end of file diff --git a/hb_client/src/router/index.js b/hb_client/src/router/index.js index d8f4a46..6437898 100644 --- a/hb_client/src/router/index.js +++ b/hb_client/src/router/index.js @@ -192,9 +192,9 @@ export const asyncRoutes = [ meta: { title: '车间任务', icon: 'example', perms: ['index_manage'] } }, { - path: 'testitem', - name: 'testitem', - component: () => import('@/views/wpm/testitem'), + path: 'need/:id', + name: 'need', + component: () => import('@/views/wpm/need'), meta: { title: '检测项目', icon: 'example', perms: ['index_manage'] } } ] diff --git a/hb_client/src/views/pm/resources.vue b/hb_client/src/views/pm/resources.vue index f3b4247..989daed 100644 --- a/hb_client/src/views/pm/resources.vue +++ b/hb_client/src/views/pm/resources.vue @@ -238,7 +238,7 @@ export default { //物料计算 handlecount() { - console.log() + let _this=this _this.mutipID=[] this.$refs.multipleTable.selection.forEach((item) => { diff --git a/hb_client/src/views/wpm/testitem.vue b/hb_client/src/views/wpm/need.vue similarity index 100% rename from hb_client/src/views/wpm/testitem.vue rename to hb_client/src/views/wpm/need.vue diff --git a/hb_client/src/views/wpm/worktask.vue b/hb_client/src/views/wpm/worktask.vue index 281ed91..2f292a0 100644 --- a/hb_client/src/views/wpm/worktask.vue +++ b/hb_client/src/views/wpm/worktask.vue @@ -1,10 +1,14 @@