diff --git a/anrui-scm/anrui-scm-ui/src/api/flow/todo.js b/anrui-scm/anrui-scm-ui/src/api/flow/todo.js new file mode 100644 index 0000000000..8f193deb4a --- /dev/null +++ b/anrui-scm/anrui-scm-ui/src/api/flow/todo.js @@ -0,0 +1,50 @@ +import request from '@/utils/request' + +// 代办任务同意办理 +export function businessAgree(params) { + return request({ + url: '/portal/v1/flow/complete', + method: 'post', + data: params, + headers: { + 'Content-Type': 'application/json' + } + }) +} + +// 代办任务驳回任务 +export function rejectTask(params) { + return request({ + url: '/portal/v1/flow/reject/' + params.businessSid, + method: 'post', + data: params, + headers: { + 'Content-Type': 'application/json' + } + }) +} + +// 代办任务终止任务 +export function breakTask(params) { + return request({ + url: '/portal/v1/flow/breakProcess/' + params.businessSid, + method: 'post', + data: params, + headers: { + 'Content-Type': 'application/json' + } + }) +} + +// 代办任务撤回任务 +export function revokeTask(params) { + return request({ + url: '/portal/v1/flow/revokeProcess/' + params.userSid + '/' + params.businessSid, + method: 'post', + data: params, + headers: { + 'Content-Type': 'application/json' + } + }) +} + diff --git a/anrui-scm/anrui-scm-ui/src/api/ruzhang/scmapplyinbound.js b/anrui-scm/anrui-scm-ui/src/api/ruzhang/scmapplyinbound.js new file mode 100644 index 0000000000..c47792207b --- /dev/null +++ b/anrui-scm/anrui-scm-ui/src/api/ruzhang/scmapplyinbound.js @@ -0,0 +1,47 @@ +import request from '@/utils/request' + +export default { + // 查询分页列表 + listPage: function(params) { + return request({ + url: '/scm/v1/scmapplyinbound/listPage', + method: 'post', + data: params, + headers: { 'Content-Type': 'application/json' } + }) + }, + // 保存修改记录 + saveOrUpdate: function(params) { + return request({ + url: '/scm/v1/scmapplyinbound/saveOrUpdateApplyInBound', + method: 'post', + data: params, + headers: { 'Content-Type': 'application/json' } + }) + }, + // 提交流程 + submitVehicleApply: function(params) { + return request({ + url: '/base/v1/busvehicleapply/submitVehicleApply', + method: 'post', + data: params, + headers: { 'Content-Type': 'application/json' } + }) + }, + // 通过sid删除一条或多条记录 + delBySids: function(params) { + return request({ + url: '/base/v1/busvehicleapply/delBySids', + method: 'post', + data: params, + headers: { 'Content-Type': 'application/json' } + }) + }, + // 通过sid查询一条记录 + fetchBySid: function(sid) { + return request({ + url: '/scm/v1/scmapplyinbound/fetchSid/' + sid, + method: 'get' + }) + } +} diff --git a/anrui-scm/anrui-scm-ui/src/router/modules/codemenu.js b/anrui-scm/anrui-scm-ui/src/router/modules/codemenu.js index 14aafd0160..31d920d436 100644 --- a/anrui-scm/anrui-scm-ui/src/router/modules/codemenu.js +++ b/anrui-scm/anrui-scm-ui/src/router/modules/codemenu.js @@ -243,10 +243,40 @@ const codemenu = [ path: '/vehicle/cheliangpaichan', component: () => import('@/views/supplychain/vehicle/cheliangpaichan/cheliangpaichan.vue'), name: 'cheliangpaichan', - meta: { title: '车辆排产管理' } + meta: { title: '排产管理' } } ] - } + }, + + { + path: '/ruzhang', + component: Layout, + redirect: '/ruzhang', + meta: { + title: '入账管理' + }, + children: [{ + path: '/ruzhang/ruzhangguanli', + component: () => import('@/views/ruzhang/ruzhangguanli/ruzhangguanli.vue'), + name: 'ruzhangguanli', + meta: { title: '入账单管理' } + }] + }, + // 排产管理 + // 排产管理申请详情 + { + path: '/paichanguanliFlow/paichanguanli/cheliangpaichanInfo', + component: () => + import('@/views/workFlow/paichanguanliFlow/paichanguanli/cheliangpaichanInfo.vue'), + name: 'cheliangpaichanInfo' + }, + // 排产管理申请编辑 + { + path: '/paichanguanliFlow/paichanguanli/cheliangpaichanEdit', + component: () => + import('@/views/workFlow/paichanguanliFlow/paichanguanli/cheliangpaichanEdit.vue'), + name: 'cheliangpaichanEdit' + } ] export default codemenu diff --git a/anrui-scm/anrui-scm-ui/src/views/ruzhang/ruzhangguanli/ruzhangAdd.vue b/anrui-scm/anrui-scm-ui/src/views/ruzhang/ruzhangguanli/ruzhangAdd.vue new file mode 100644 index 0000000000..f9717109f7 --- /dev/null +++ b/anrui-scm/anrui-scm-ui/src/views/ruzhang/ruzhangguanli/ruzhangAdd.vue @@ -0,0 +1,276 @@ + + + + + + + {{ viewTitle }} + + + 保存 + + 提交 + + 返回 + + + + + + 车辆入账单 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 车辆列表 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/anrui-scm/anrui-scm-ui/src/views/ruzhang/ruzhangguanli/ruzhangInfo.vue b/anrui-scm/anrui-scm-ui/src/views/ruzhang/ruzhangguanli/ruzhangInfo.vue new file mode 100644 index 0000000000..2694646412 --- /dev/null +++ b/anrui-scm/anrui-scm-ui/src/views/ruzhang/ruzhangguanli/ruzhangInfo.vue @@ -0,0 +1,219 @@ + + + + + + + {{ viewTitle }} + + + 返回 + + + + + + 车辆入账单 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 车辆列表 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/anrui-scm/anrui-scm-ui/src/views/ruzhang/ruzhangguanli/ruzhangguanli.vue b/anrui-scm/anrui-scm-ui/src/views/ruzhang/ruzhangguanli/ruzhangguanli.vue new file mode 100644 index 0000000000..9ac20e0ca1 --- /dev/null +++ b/anrui-scm/anrui-scm-ui/src/views/ruzhang/ruzhangguanli/ruzhangguanli.vue @@ -0,0 +1,258 @@ + + + + + 入账申请单管理 + + + 提交 + 关闭 + + + + {{ isSearchShow ? '隐藏查询条件' : '显示查询条件' }} + + + + + + + + + + + + 至 + + + + + + + + 查询 + 重置 + + + + + + + 入账申请列表 + + + + + + + + + + + + 办理 + 查看 + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/anrui-scm/anrui-scm-ui/src/views/workFlow/ruzhangguanliFlow/ruzhangguanli/ruzhangEdit.vue b/anrui-scm/anrui-scm-ui/src/views/workFlow/ruzhangguanliFlow/ruzhangguanli/ruzhangEdit.vue new file mode 100644 index 0000000000..f9717109f7 --- /dev/null +++ b/anrui-scm/anrui-scm-ui/src/views/workFlow/ruzhangguanliFlow/ruzhangguanli/ruzhangEdit.vue @@ -0,0 +1,276 @@ + + + + + + + {{ viewTitle }} + + + 保存 + + 提交 + + 返回 + + + + + + 车辆入账单 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 车辆列表 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/anrui-scm/anrui-scm-ui/src/views/workFlow/ruzhangguanliFlow/ruzhangguanli/ruzhangInfo.vue b/anrui-scm/anrui-scm-ui/src/views/workFlow/ruzhangguanliFlow/ruzhangguanli/ruzhangInfo.vue new file mode 100644 index 0000000000..2694646412 --- /dev/null +++ b/anrui-scm/anrui-scm-ui/src/views/workFlow/ruzhangguanliFlow/ruzhangguanli/ruzhangInfo.vue @@ -0,0 +1,219 @@ + + + + + + + {{ viewTitle }} + + + 返回 + + + + + + 车辆入账单 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 车辆列表 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +