diff --git a/anrui-scm/anrui-scm-ui/src/api/baseoutsourcingapplication/baseoutsourcingapplication.js b/anrui-scm/anrui-scm-ui/src/api/baseoutsourcingapplication/baseoutsourcingapplication.js new file mode 100644 index 0000000000..c62dd122e1 --- /dev/null +++ b/anrui-scm/anrui-scm-ui/src/api/baseoutsourcingapplication/baseoutsourcingapplication.js @@ -0,0 +1,59 @@ +import request from '@/utils/request' +// 外采申请表 +export default { + + // 查询分页列表 + listPage: function(params) { + return request({ + url: '/base/baseoutsourcingapplication/listPage', + method: 'post', + data: params + }) + }, + // 保存新增记录 + saveOrUpdate: function(params) { + return request({ + url: '/base/baseoutsourcingapplication/save', + method: 'post', + data: params + }) + }, + // 通过sid删除一条或多条记录 + delBySids: function(params) { + return request({ + url: '/base/baseoutsourcingapplication/delBySids', + method: 'delete', + data: params + }) + }, + // 通过sid查询一条记录 + fetchBySid: function(sid) { + return request({ + url: '/base/v1/baseoutsourcingapplication/fetchDetailsBySid/' + sid + }) + }, + // 提交 + doSubmit: function(params) { + return request({ + url: '/base/v1/baseoutsourcingapplication/doSubmit', + method: 'post', + data: params + }) + }, + // 导入 + importExcel: function(params) { + return request({ + url: '/base/v1/baseoutsourcingapplication/importExcel', + method: 'post', + data: params + }) + }, + // 导出 + exportExcel: function(params) { + return request({ + url: '/base/v1/baseoutsourcingapplication/exportExcel', + method: 'post', + data: params + }) + } +} diff --git a/anrui-scm/anrui-scm-ui/src/api/baseoutsourcingapplication/baseoutsourcingapplicationvehicle.js b/anrui-scm/anrui-scm-ui/src/api/baseoutsourcingapplication/baseoutsourcingapplicationvehicle.js new file mode 100644 index 0000000000..03473f0bdd --- /dev/null +++ b/anrui-scm/anrui-scm-ui/src/api/baseoutsourcingapplication/baseoutsourcingapplicationvehicle.js @@ -0,0 +1,59 @@ +import request from '@/utils/request' +// 外采申请车辆列表 +export default { + + // 查询分页列表 + listPage: function(params) { + return request({ + url: '/base/v1/baseoutsourcingapplicationvehicle/listPage', + method: 'post', + data: params + }) + }, + // 保存新增记录 + saveOrUpdate: function(params) { + return request({ + url: '/base/v1/baseoutsourcingapplicationvehicle/save', + method: 'post', + data: params + }) + }, + // 通过sid删除一条或多条记录 + delBySids: function(params) { + return request({ + url: '/base/v1/baseoutsourcingapplicationvehicle/delBySids', + method: 'delete', + data: params + }) + }, + // 通过sid查询一条记录 + fetchBySid: function(sid) { + return request({ + url: '/base/v1/baseoutsourcingapplicationvehicle/fetchDetailsBySid/' + sid + }) + }, + // 提交 + doSubmit: function(params) { + return request({ + url: '/base/v1/baseoutsourcingapplicationvehicle/doSubmit', + method: 'post', + data: params + }) + }, + // 导入 + importExcel: function(params) { + return request({ + url: '/base/v1/baseoutsourcingapplicationvehicle/importExcel', + method: 'post', + data: params + }) + }, + // 导出 + exportExcel: function(params) { + return request({ + url: '/base/v1/baseoutsourcingapplicationvehicle/exportExcel', + method: 'post', + data: params + }) + } +} diff --git a/anrui-scm/anrui-scm-ui/src/router/modules/codemenu-demo.js b/anrui-scm/anrui-scm-ui/src/router/modules/codemenu-demo.js deleted file mode 100644 index d2a4d08382..0000000000 --- a/anrui-scm/anrui-scm-ui/src/router/modules/codemenu-demo.js +++ /dev/null @@ -1,38 +0,0 @@ -import Layout from '@/layout' - -const codemenu = [{ - path: '/zifangxinxi', - component: Layout, - redirect: '/zifangxinxi', - meta: { - title: '资方信息' - }, - children: [{ - path: '/zifangxinxi/zifangxinxi', - component: () => - import('@/views/zifang/zifangxinxi/zifangxinxi.vue'), - name: 'zifangxinxi', - meta: { - title: '资方信息' - } - }] - }, - { - path: '/zifangzhengce', - component: Layout, - redirect: '/zifangzhengce', - meta: { - title: '资方政策' - }, - children: [{ - path: '/zifangzhengce/zifangzhengce', - component: () => - import('@/views/zifang/zifangzhengce/zifangzhengce.vue'), - name: 'zifangzhengce', - meta: { - title: '资方政策' - } - }] - } -] -export default codemenu 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 0bf35b85a6..955600f5e4 100644 --- a/anrui-scm/anrui-scm-ui/src/router/modules/codemenu.js +++ b/anrui-scm/anrui-scm-ui/src/router/modules/codemenu.js @@ -278,6 +278,22 @@ const codemenu = [ } ] }, + { + path: '/baseoutsourcingapplication', + component: Layout, + // redirect: '/baseoutsourcingapplication/index', + meta: { + title: '车辆外采' + }, + children: [ + { + path: '/baseoutsourcingapplication/index', + component: () => import('@/views/baseoutsourcingapplication/baseoutsourcingapplication.vue'), + name: 'baseoutsourcingapplication', + meta: {title: '车辆外采'} + } + ] + }, // 流程审批 // 采购退库驳回到发起人办理编辑页面 diff --git a/anrui-scm/anrui-scm-ui/src/views/baseoutsourcingapplication/baseoutsourcingapplication.vue b/anrui-scm/anrui-scm-ui/src/views/baseoutsourcingapplication/baseoutsourcingapplication.vue new file mode 100644 index 0000000000..7c2f2ebb64 --- /dev/null +++ b/anrui-scm/anrui-scm-ui/src/views/baseoutsourcingapplication/baseoutsourcingapplication.vue @@ -0,0 +1,325 @@ + + + + + + {{ isSearchShow ? '隐藏查询条件' : '显示查询条件' }} + + + + + + + + + + + + + + + + + 查询 + 重置 + + + + + + + 外采申请表列表 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/anrui-scm/anrui-scm-ui/src/views/baseoutsourcingapplication/baseoutsourcingapplicationAdd.vue b/anrui-scm/anrui-scm-ui/src/views/baseoutsourcingapplication/baseoutsourcingapplicationAdd.vue new file mode 100644 index 0000000000..3b0fe01c40 --- /dev/null +++ b/anrui-scm/anrui-scm-ui/src/views/baseoutsourcingapplication/baseoutsourcingapplicationAdd.vue @@ -0,0 +1,325 @@ + + + + + + {{ viewTitle }} + + + 保存 + 返回 + + + + + + + + + 外采申请表 + + + *申请编号 + + + + + + + + *申请人姓名 + + + + + + + + *申请日期 + + + + + + + + *外采类型key + + + + + + + + *外采类型value + + + + + + + + *采购单位sid + + + + + + + + *采购单位名称 + + + + + + + + *车型sid + + + + + + + + *车型名称 + + + + + + + + *常用配置名称 + + + + + + + + *采购价格 + + + + + + + + *销售指导价 + + + + + + + + *厂家合同价 + + + + + + + + *台数 + + + + + + + + *订金 + + + + + + + + *费用名称 + + + + + + + + *费用金额合计 + + + + + + + + *部门sid + + + + + + + + + + + + + + diff --git a/anrui-scm/anrui-scm-ui/src/views/baseoutsourcingapplication/baseoutsourcingapplicationInfo.vue b/anrui-scm/anrui-scm-ui/src/views/baseoutsourcingapplication/baseoutsourcingapplicationInfo.vue new file mode 100644 index 0000000000..a52a2cb91b --- /dev/null +++ b/anrui-scm/anrui-scm-ui/src/views/baseoutsourcingapplication/baseoutsourcingapplicationInfo.vue @@ -0,0 +1,142 @@ + + + + + + 外采申请表详情 + + 返回 + + + + + + 外采申请表 + + 申请编号 + {{ formobj.applicationCode }} + + + 申请人姓名 + {{ formobj.createByName }} + + + 申请日期 + {{ formobj.applicationDate }} + + + 外采类型key + {{ formobj.externalMiningTypeKey }} + + + 外采类型value + {{ formobj.externalMiningTypeValue }} + + + 采购单位sid + {{ formobj.purchasingUnitSid }} + + + 采购单位名称 + {{ formobj.purchasingUnitName }} + + + 车型sid + {{ formobj.modelSid }} + + + 车型名称 + {{ formobj.modelName }} + + + 常用配置名称 + {{ formobj.configName }} + + + 采购价格 + {{ formobj.purchasePrice }} + + + 销售指导价 + {{ formobj.guidedPrice }} + + + 厂家合同价 + {{ formobj.manufactorSettlementPrice }} + + + 台数 + {{ formobj.num }} + + + 订金 + {{ formobj.deposit }} + + + 费用名称 + {{ formobj.expenseName }} + + + 费用金额合计 + {{ formobj.totalExpenseAmount }} + + + 部门sid + {{ formobj.orgSid }} + + + + + + + + + diff --git a/anrui-scm/anrui-scm-ui/src/views/baseoutsourcingapplication/baseoutsourcingapplicationvehicle.vue b/anrui-scm/anrui-scm-ui/src/views/baseoutsourcingapplication/baseoutsourcingapplicationvehicle.vue new file mode 100644 index 0000000000..84487dc6af --- /dev/null +++ b/anrui-scm/anrui-scm-ui/src/views/baseoutsourcingapplication/baseoutsourcingapplicationvehicle.vue @@ -0,0 +1,291 @@ + + + + + + {{ isSearchShow ? '隐藏查询条件' : '显示查询条件' }} + + + + + + + 查询 + 重置 + + + + + + + 外采申请车辆列表列表 + + + + + + + + + + + + {{ scope.row.sid }} + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/anrui-scm/anrui-scm-ui/src/views/baseoutsourcingapplication/baseoutsourcingapplicationvehicleAdd.vue b/anrui-scm/anrui-scm-ui/src/views/baseoutsourcingapplication/baseoutsourcingapplicationvehicleAdd.vue new file mode 100644 index 0000000000..fc1789398f --- /dev/null +++ b/anrui-scm/anrui-scm-ui/src/views/baseoutsourcingapplication/baseoutsourcingapplicationvehicleAdd.vue @@ -0,0 +1,133 @@ + + + + + + {{ viewTitle }} + + + 保存 + 返回 + + + + + + + + + 外采申请车辆列表 + + + *外采申请单sid + + + + + + + + *车架号 + + + + + + + + + + + + + + diff --git a/anrui-scm/anrui-scm-ui/src/views/baseoutsourcingapplication/baseoutsourcingapplicationvehicleInfo.vue b/anrui-scm/anrui-scm-ui/src/views/baseoutsourcingapplication/baseoutsourcingapplicationvehicleInfo.vue new file mode 100644 index 0000000000..ee08d7cc8c --- /dev/null +++ b/anrui-scm/anrui-scm-ui/src/views/baseoutsourcingapplication/baseoutsourcingapplicationvehicleInfo.vue @@ -0,0 +1,62 @@ + + + + + + 外采申请车辆列表详情 + + 返回 + + + + + + 外采申请车辆列表 + + 外采申请单sid + {{ formobj.outAppSid }} + + + 车架号 + {{ formobj.VIN }} + + + + + + + + +