diff --git a/anrui-scm/anrui-scm-ui/src/api/bikerebate/bicyclerebatemanagement.js b/anrui-scm/anrui-scm-ui/src/api/bikerebate/bicyclerebatemanagement.js new file mode 100644 index 0000000000..16481466a6 --- /dev/null +++ b/anrui-scm/anrui-scm-ui/src/api/bikerebate/bicyclerebatemanagement.js @@ -0,0 +1,56 @@ +import request from '@/utils/request' + +export default { + // 查询分页列表 + listPage: function(data) { + return request({ + url: '/scm/v1/scmvehrebate/listPage', + method: 'post', + data: data, + headers: { 'Content-Type': 'application/json' } + }) + }, + // 选择车辆信息--查询分页列表 + pageList: function(data) { + return request({ + url: '/base/v1/basevehicle/vehicleRebateList', + method: 'post', + data: data, + headers: { 'Content-Type': 'application/json' } + }) + }, + // 删除 + delete: function(params) { + return request({ + url: '/scm/v1/scmvehrebate/delBySids', + method: 'DELETE', + data: params, + headers: { 'Content-Type': 'application/json' } + }) + }, + // 新增保存修改记录 + save: function(data) { + return request({ + url: '/scm/v1/scmvehrebate/save', + method: 'post', + data: data, + headers: { 'Content-Type': 'application/json' } + }) + }, + // 编辑保存修改记录 + update: function(data) { + return request({ + url: '/scm/v1/scmvehrebate/update', + method: 'post', + data: data, + headers: { 'Content-Type': 'application/json' } + }) + }, + // 通过sid查询一条记录 + fetchBySid: function(data) { + return request({ + url: '/scm/v1/scmvehrebate/fetchDetailsBySid/' + data, + method: 'get' + }) + } +} diff --git a/anrui-scm/anrui-scm-ui/src/api/cheliang/dictcommons.js b/anrui-scm/anrui-scm-ui/src/api/cheliang/dictcommons.js index ef2fefaedb..617367b9de 100644 --- a/anrui-scm/anrui-scm-ui/src/api/cheliang/dictcommons.js +++ b/anrui-scm/anrui-scm-ui/src/api/cheliang/dictcommons.js @@ -26,16 +26,6 @@ export function getListOrg(data) { }) } -// 获取厂商 -export function getNamesDownes(data) { - return request({ - url: '/base/v1/basemanufacturer/namesDown', - method: 'get', - params: data, - data: qs.stringify(data), - }) -} - // 根据登陆人sid查询分公司 (孟哲写的接口) export function getPathSidByUserSid(data) { return request({ @@ -69,7 +59,6 @@ export function getGressionUserList(data) { }) } - // 根据当前登录用户分公司sid获取本分公司下存放地点 export function fetchByUseOrgSid(data) { return request({ diff --git a/anrui-scm/anrui-scm-ui/src/views/bikerebate/bikerebatemanagement/bicyclerebatemanagement.vue b/anrui-scm/anrui-scm-ui/src/views/bikerebate/bikerebatemanagement/bicyclerebatemanagement.vue index 8d1df4eaa5..6f68a5b5ef 100644 --- a/anrui-scm/anrui-scm-ui/src/views/bikerebate/bikerebatemanagement/bicyclerebatemanagement.vue +++ b/anrui-scm/anrui-scm-ui/src/views/bikerebate/bikerebatemanagement/bicyclerebatemanagement.vue @@ -9,13 +9,15 @@ - + + + diff --git a/anrui-scm/anrui-scm-ui/src/views/bikerebate/bikerebatemanagement/bicyclerebatemanagementEdit.vue b/anrui-scm/anrui-scm-ui/src/views/bikerebate/bikerebatemanagement/bicyclerebatemanagementEdit.vue new file mode 100644 index 0000000000..70cedc8556 --- /dev/null +++ b/anrui-scm/anrui-scm-ui/src/views/bikerebate/bikerebatemanagement/bicyclerebatemanagementEdit.vue @@ -0,0 +1,303 @@ + + + + + diff --git a/anrui-scm/anrui-scm-ui/src/views/bikerebate/bikerebatemanagement/bicyclerebatemanagementInfo.vue b/anrui-scm/anrui-scm-ui/src/views/bikerebate/bikerebatemanagement/bicyclerebatemanagementInfo.vue index 1b2dec4705..eba328d88b 100644 --- a/anrui-scm/anrui-scm-ui/src/views/bikerebate/bikerebatemanagement/bicyclerebatemanagementInfo.vue +++ b/anrui-scm/anrui-scm-ui/src/views/bikerebate/bikerebatemanagement/bicyclerebatemanagementInfo.vue @@ -20,19 +20,19 @@ 返利类型 - {{ formobj.createOrgName }} + {{ formobj.rebateTypeValue }} 厂家返利名称 - {{ formobj.applyPeoName }} + {{ formobj.rebateName }} 所属年月 - {{ formobj.createTime }} + {{ formobj.palceGenDate }} @@ -40,46 +40,62 @@ 计算方式 - + {{ formobj.calculationModeValue }} - 计算标注(%) + 计算标准(%) - + {{ formobj.calculationStandard }}
-
返利车辆列表
+
返利车辆
- - - - - - - - - - - - - - - - - - + + + 车架号 + + + + {{ formobj.vinNo }} + + + + 厂家结算价 + + + + {{ formobj.manufactorSettlementPrice }} + + + + 其中运费 + + + + {{ formobj.freight }} + + + + + + 预计返利 + + + + {{ formobj.estimateRebate }} + + + + 备注 + + + + {{ formobj.remarks }} + + + @@ -88,29 +104,15 @@