diff --git a/build/webpack.dev.conf.js b/build/webpack.dev.conf.js index 26a5584a..7287008e 100644 --- a/build/webpack.dev.conf.js +++ b/build/webpack.dev.conf.js @@ -95,4 +95,4 @@ module.exports = new Promise((resolve, reject) => { resolve(devWebpackConfig) } }) -}) +}) \ No newline at end of file diff --git a/src/api/SaleOut.js b/src/api/SaleOut.js index 6c387573..07cd6286 100644 --- a/src/api/SaleOut.js +++ b/src/api/SaleOut.js @@ -1,7 +1,7 @@ import request from '@/utils/request' // 添加销售出库单 -export function createsaleOut(query, query2, query3, query4) { +export function createsaleOut(query, query2, query3, query4, query5) { var params = new URLSearchParams() params.append('Json', query) // 你要传给后台的参数值 key/value params.append('detailJson', query2) // 你要传给后台的参数值 key/value @@ -12,6 +12,7 @@ export function createsaleOut(query, query2, query3, query4) { if (query4.regionId !== '' && query4.regionId !== null && query4.regionId !== undefined) { params.append('regionId', query4.regionId) // 你要传给后台的参数值 key/value } + params.append('receivableMoney2', query5) // 你要传给后台的参数值 key/value return request({ url: '/saleOut/create', method: 'post', @@ -89,11 +90,12 @@ export function searchsaleOut(query) { } // 修改销售出库单 -export function updatesaleOut(query, query2, query3) { +export function updatesaleOut(query, query2, query3, query4) { var params = new URLSearchParams() params.append('Json', query) // 你要传给后台的参数值 key/value params.append('detailJson', query2) // 你要传给后台的参数值 key/value params.append('giftJson', query3) // 你要传给后台的参数值 key/value + params.append('receivableMoney2', query4) // 你要传给后台的参数值 key/value return request({ url: '/saleOut/update', method: 'post', diff --git a/src/api/SalePlan.js b/src/api/SalePlan.js index 541fbad5..e96fec5c 100644 --- a/src/api/SalePlan.js +++ b/src/api/SalePlan.js @@ -98,3 +98,41 @@ export function updatesaleplan2(query) { data: params }) } + +// 分类属性列表 +export function searchEmpCategory(query) { + var params = new URLSearchParams() + params.append('iseffective', 1) // 你要传给后台的参数值 key/value + params.append('type', 2) // 你要传给后台的参数值 key/value + // if (query.type !== '' && query.type !== null && query.type !== undefined) { + // params.append('type', query.type) + // } + params.append('pagenum', 1) // 你要传给后台的参数值 key/value + params.append('pagesize', 999999) // 你要传给后台的参数值 key/value + return request({ + url: '/product/searchProCategory', + method: 'post', + data: params + }) +} +// 销售计划详情 +export function saleplanlistDetail(query) { + var params = new URLSearchParams() + params.append('planId', query) // 你要传给后台的参数值 key/value + return request({ + url: '/saleplan/planDetail', + method: 'post', + data: params + }) +} + +// 销售计划追踪 +export function updatetrace(query2) { + var params = new URLSearchParams() + params.append('salePlanDetailJson', query2) // 你要传给后台的参数值 key/value + return request({ + url: '/saleplan/updateDetail', + method: 'post', + data: params + }) +} diff --git a/src/lang/en.js b/src/lang/en.js index 98057460..89e18c68 100644 --- a/src/lang/en.js +++ b/src/lang/en.js @@ -2106,6 +2106,7 @@ export default { SalePlan: { title: 'plan subject', planType: 'plan type', + planCategory: 'planCategory', planDate: 'plan date', beginTime: 'start time', endTime: 'end time', @@ -2115,9 +2116,21 @@ export default { targetMoney: 'planned amount', regionId: 'area', repositoryid: 'branch', + regOrRep: 'region/repository', week: 'week', month: 'month', - quarter: 'season' + quarter: 'season', + planTarget: 'planTarget', + address: 'address', + typeId: 'typeId', + quantity: 'quantity', + money: 'money', + actualQuantity: 'actualQuantity', + actualMoney: 'actualMoney', + xzmd: 'Enter', + planNum: 'No.', + trackingStatistics: 'trackingStats', + progress: 'progress' }, SaleOpportunity: { title: 'subject', @@ -3039,6 +3052,7 @@ export default { qsrmm: 'please input password' }, updates: { + gz: 'trace', ckmx: 'Out of stock detail', shmx: 'recovery detail', zxsyj: 'total sales amount', diff --git a/src/lang/zh.js b/src/lang/zh.js index 58a685dc..96839d41 100644 --- a/src/lang/zh.js +++ b/src/lang/zh.js @@ -2133,6 +2133,7 @@ export default { SalePlan: { title: '计划主题', planType: '计划类型', + planCategory: '计划类别', planDate: '计划日期', beginTime: '开始时间', endTime: '结束时间', @@ -2142,9 +2143,21 @@ export default { targetMoney: '计划额', regionId: '区域', repositoryid: '门店', + regOrRep: '区域/门店', week: '周', month: '月', - quarter: '季度' + quarter: '季度', + planTarget: '销售目标', + address: '地点名称', + typeId: '商品类型', + quantity: '数量', + money: '金额', + actualQuantity: '实际数量', + actualMoney: '实际金额', + xzmd: '请输入内容', + planNum: '计划编号', + trackingStatistics: '跟踪统计', + progress: '进度' }, SaleOpportunity: { title: '机会主题', @@ -3072,6 +3085,7 @@ export default { qsrmm: '请输入密码' }, updates: { + gz: '跟踪', wly: '无来源', ckmx: '出库明细', shmx: '收回明细', @@ -3966,7 +3980,9 @@ export default { actualUseMoney: '实际抵扣金额', leftMoney: '剩余金额', number2: '数量', - ffxx: '发放信息' + ffxx: '发放信息', + couponNumbers: '优惠券码', + couponSupport2: '优惠劵抵用金额' }, collectAndPayDetail: { name: '名称', diff --git a/src/views/Receipt/AddReceipt.vue b/src/views/Receipt/AddReceipt.vue index 37a15bb8..c841a271 100644 --- a/src/views/Receipt/AddReceipt.vue +++ b/src/views/Receipt/AddReceipt.vue @@ -64,9 +64,15 @@ + + + + + + - - + + @@ -190,6 +196,7 @@ diff --git a/src/views/SalePlan/components/DetailList.vue b/src/views/SalePlan/components/DetailList.vue index b5d4faf8..60aca2cf 100644 --- a/src/views/SalePlan/components/DetailList.vue +++ b/src/views/SalePlan/components/DetailList.vue @@ -4,53 +4,57 @@ {{ $t('Hmodule.basicinfo') }} - {{ $t('updates.print') }} - + - - - {{ personalForm.planNumber }} - - - {{ personalForm.title }} + - - {{ personalForm.planType | planTypeFilter }} + + + + + - - {{ personalForm.planDate }} + + + + + + + + - {{ personalForm.beginTime }} + - {{ personalForm.endTime }} + - - - {{ personalForm.lowerPlanMoney }} + + + - - - {{ personalForm.planTotalMoney }} - - - - - {{ personalForm.urgePlan }} + + + @@ -59,16 +63,44 @@ - {{ $t('updates.jhmx') }} + {{ $t('updates.jhmx') }} - + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -150,6 +182,7 @@ + +