diff --git a/anrui-scm/anrui-scm-ui/src/api/guache/guachechuku.js b/anrui-scm/anrui-scm-ui/src/api/guache/guachechuku.js new file mode 100644 index 0000000000..ee35a89a83 --- /dev/null +++ b/anrui-scm/anrui-scm-ui/src/api/guache/guachechuku.js @@ -0,0 +1,105 @@ +import request from '@/utils/request' + +// 物料信息 +export default { + + // 查询分页列表 + listPage: function(data) { + return request({ + url: '/base/v1/basetraileroutapply/listPage', + method: 'post', + data: data, + headers: { 'Content-Type': 'application/json' } + }) + }, + // 保存新增记录 + saveOrUpdate: function(data) { + return request({ + url: '/base/v1/basetraileroutapply/save', + method: 'post', + data: data, + headers: { 'Content-Type': 'application/json' } + }) + }, + // 通过sid删除一条或多条记录 + delBySids: function(data) { + return request({ + url: '/base/v1/basetraileroutapply/delBySids', + method: 'delete', + data: data, + headers: { 'Content-Type': 'application/json' } + }) + }, + // 通过sid查询一条记录 + fetchBySid: function(sid) { + return request({ + url: '/base/v1/basetraileroutapply/fetchDetailsBySid/' + sid, + method: 'get' + }) + }, + // 通过sid查询一条记录 + initialize: function(data) { + return request({ + url: '/base/v1/basetraileroutapply/init', + method: 'post', + data: data, + headers: { 'Content-Type': 'application/json' } + }) + }, + // 通过sid查询一条记录 + submit: function(data) { + return request({ + url: '/base/v1/basetraileroutapply/submitFinBillApplication', + method: 'post', + data: data, + headers: { 'Content-Type': 'application/json' } + }) + }, + // 代办任务同意办理 + complete: function(params) { + return request({ + url: '/base/v1/basetraileroutapply/complete', + method: 'post', + data: params + }) + }, + // 代办任务驳回任务 + reject: function(params) { + return request({ + url: '/base/v1/basetraileroutapply/reject', + method: 'post', + data: params + }) + }, + // 代办任务终止任务 + breakProcess: function(params) { + return request({ + url: '/base/v1/basetraileroutapply/breakProcess', + method: 'post', + data: params + }) + }, + // 代办任务撤回任务 + revokeProcess: function(params) { + return request({ + url: '/base/v1/basetraileroutapply/revokeProcess', + method: 'post', + data: params + }) + }, + + getNextNodesForSubmit: function(data) { + return request({ + url: '/base/v1/basetraileroutapply/getNextNodesForSubmit', + method: 'get', + params: data + }) + }, + getPreviousNodesForReject(data) { + return request({ + url: '/base/v1/basetraileroutapply/getPreviousNodesForReject', + method: 'get', + params: data + }) + } +} 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 a838a7ee12..2be1c9cf39 100644 --- a/anrui-scm/anrui-scm-ui/src/router/modules/codemenu.js +++ b/anrui-scm/anrui-scm-ui/src/router/modules/codemenu.js @@ -220,7 +220,13 @@ const codemenu = [ component: () => import('@/views/guache/guachetaizhang/guachetaizhangguanli'), name: 'GuaCheTaiZhangGuanLi', meta: { title: '挂车台账管理', noCache: true } - } + }, + { + path: '/guache/guachechuku', + component: () => import('@/views/guache/guachechuku/trailerout'), + name: 'GuaCheChuKu', + meta: { title: '挂车出库管理', noCache: true } + }, ] }, @@ -1214,6 +1220,28 @@ const codemenu = [ component: () => import('@/views/workFlow/huikuanfanliheduiFlow/huikuanfanliheduiEdit.vue'), name: 'huikuanfanliheduiEdit' + }, + + // 挂车出库申请待办详情页面 + { + path: '/guachechukuFlow/chukuDaiBanInfo', + component: () => + import('@/views/workFlow/guachechukuFlow/chukuDaiBanInfo.vue'), + name: 'chukuDaiBanInfo' + }, + // 挂车出库申请已办详情 + { + path: '/guachechukuFlow/chukuYiBanInfo', + component: () => + import('@/views/workFlow/guachechukuFlow/chukuYiBanInfo.vue'), + name: 'chukuYiBanInfo' + }, + // 挂车出库申请办理 + { + path: '/guachechukuFlow/chukuEdit', + component: () => + import('@/views/workFlow/guachechukuFlow/chukuEdit.vue'), + name: 'chukuEdit' } ] export default codemenu diff --git a/anrui-scm/anrui-scm-ui/src/views/guache/guachechuku/trailerout.vue b/anrui-scm/anrui-scm-ui/src/views/guache/guachechuku/trailerout.vue new file mode 100644 index 0000000000..6776536132 --- /dev/null +++ b/anrui-scm/anrui-scm-ui/src/views/guache/guachechuku/trailerout.vue @@ -0,0 +1,307 @@ + + + + diff --git a/anrui-scm/anrui-scm-ui/src/views/guache/guachechuku/traileroutAdd.vue b/anrui-scm/anrui-scm-ui/src/views/guache/guachechuku/traileroutAdd.vue new file mode 100644 index 0000000000..b37e53b169 --- /dev/null +++ b/anrui-scm/anrui-scm-ui/src/views/guache/guachechuku/traileroutAdd.vue @@ -0,0 +1,290 @@ + + + + + diff --git a/anrui-scm/anrui-scm-ui/src/views/guache/guachechuku/traileroutInfo.vue b/anrui-scm/anrui-scm-ui/src/views/guache/guachechuku/traileroutInfo.vue new file mode 100644 index 0000000000..706683c4f9 --- /dev/null +++ b/anrui-scm/anrui-scm-ui/src/views/guache/guachechuku/traileroutInfo.vue @@ -0,0 +1,233 @@ + + + + + diff --git a/anrui-scm/anrui-scm-ui/src/views/guache/guachetaizhang/guachetaizhangguanli.vue b/anrui-scm/anrui-scm-ui/src/views/guache/guachetaizhang/guachetaizhangguanli.vue index 00e3cadaae..4a3a80dfbe 100644 --- a/anrui-scm/anrui-scm-ui/src/views/guache/guachetaizhang/guachetaizhangguanli.vue +++ b/anrui-scm/anrui-scm-ui/src/views/guache/guachetaizhang/guachetaizhangguanli.vue @@ -79,6 +79,8 @@ + + @@ -89,6 +91,7 @@ import Pagination from '@/components/pagination' import pageye from '@/components/pagination/pageye' import guachetaizhangAdd from './guachetaizhangAdd' import guachetaizhangInfo from './guachetaizhangInfo' +import traileroutAdd from '../../guache/guachechuku/traileroutAdd' import { getButtonPermissions, getGysTypeByOrgSid, getOrgSidByPath } from '@/api/cheliang/dictcommons' export default { @@ -98,7 +101,8 @@ export default { Pagination, pageye, guachetaizhangAdd, - guachetaizhangInfo + guachetaizhangInfo, + traileroutAdd }, data() { return { @@ -273,12 +277,14 @@ export default { this.$message({ showClose: true, type: 'error', message: '请选择一条记录进行出库操作' }) return } else { - req.trailerOut(this.multipleSelection[0]).then((resp) => { - if (resp.success) { - this.$message({ showClose: true, type: 'success', message: '出库成功' }) - this.getList() - } - }) + // req.trailerOut(this.multipleSelection[0]).then((resp) => { + // if (resp.success) { + // this.$message({ showClose: true, type: 'success', message: '出库成功' }) + // this.getList() + // } + // }) + this.viewState = 5 + this.$refs['divOut'].showAdd(this.multipleSelection[0]) } }, toEdit(row) { @@ -308,8 +314,10 @@ export default { }) req.delBySids(this.multipleSelection).then((resp) => { loading.close() - this.$message({ type: 'success', message: resp.msg, showClose: true }) - this.loadList() + if (resp.success) { + this.$message({ type: 'success', message: resp.msg, showClose: true }) + this.loadList() + } }).catch((e) => { loading.close() }) diff --git a/anrui-scm/anrui-scm-ui/src/views/workFlow/guachechukuFlow/chukuDaiBanInfo.vue b/anrui-scm/anrui-scm-ui/src/views/workFlow/guachechukuFlow/chukuDaiBanInfo.vue new file mode 100644 index 0000000000..6245e4423f --- /dev/null +++ b/anrui-scm/anrui-scm-ui/src/views/workFlow/guachechukuFlow/chukuDaiBanInfo.vue @@ -0,0 +1,396 @@ + + + + + diff --git a/anrui-scm/anrui-scm-ui/src/views/workFlow/guachechukuFlow/chukuEdit.vue b/anrui-scm/anrui-scm-ui/src/views/workFlow/guachechukuFlow/chukuEdit.vue new file mode 100644 index 0000000000..68da1a292a --- /dev/null +++ b/anrui-scm/anrui-scm-ui/src/views/workFlow/guachechukuFlow/chukuEdit.vue @@ -0,0 +1,271 @@ + + + + + diff --git a/anrui-scm/anrui-scm-ui/src/views/workFlow/guachechukuFlow/chukuYiBanInfo.vue b/anrui-scm/anrui-scm-ui/src/views/workFlow/guachechukuFlow/chukuYiBanInfo.vue new file mode 100644 index 0000000000..0945feba97 --- /dev/null +++ b/anrui-scm/anrui-scm-ui/src/views/workFlow/guachechukuFlow/chukuYiBanInfo.vue @@ -0,0 +1,267 @@ + + + + + diff --git a/anrui-scm/anrui-scm-ui/src/views/workFlow/guachechukuFlow/relation/financialscheme.vue b/anrui-scm/anrui-scm-ui/src/views/workFlow/guachechukuFlow/relation/financialscheme.vue new file mode 100644 index 0000000000..03a472a7cb --- /dev/null +++ b/anrui-scm/anrui-scm-ui/src/views/workFlow/guachechukuFlow/relation/financialscheme.vue @@ -0,0 +1,332 @@ + + + + diff --git a/anrui-scm/anrui-scm-ui/src/views/workFlow/guachechukuFlow/relation/paymentticket.vue b/anrui-scm/anrui-scm-ui/src/views/workFlow/guachechukuFlow/relation/paymentticket.vue new file mode 100644 index 0000000000..111fac5141 --- /dev/null +++ b/anrui-scm/anrui-scm-ui/src/views/workFlow/guachechukuFlow/relation/paymentticket.vue @@ -0,0 +1,244 @@ + + + + diff --git a/anrui-scm/anrui-scm-ui/src/views/workFlow/guachechukuFlow/relation/xiaoshoudingdanInfo.vue b/anrui-scm/anrui-scm-ui/src/views/workFlow/guachechukuFlow/relation/xiaoshoudingdanInfo.vue new file mode 100644 index 0000000000..69de818aa6 --- /dev/null +++ b/anrui-scm/anrui-scm-ui/src/views/workFlow/guachechukuFlow/relation/xiaoshoudingdanInfo.vue @@ -0,0 +1,527 @@ + + + +