lilei hai 1 ano
pai
achega
2a265bb5e0

+ 1 - 1
public/version.json

@@ -1,5 +1,5 @@
 {
   "message": "发现有新版本发布,确定更新系统?",
   "vendorJsVersion": "",
-  "version": 1708939486038
+  "version": 1709016339112
 }

+ 64 - 16
src/api/allocLinkageOut.js

@@ -8,7 +8,10 @@ export const allocLinkageOutList = (params) => {
   return axios({
     url: url,
     data: params,
-    method: 'post'
+    method: 'post',
+    headers: {
+      'module': encodeURIComponent('列表查询')
+    }
   })
 }
 // 导出
@@ -17,7 +20,10 @@ export const allocLinkageOutExport = (params) => {
     url: '/allocLinkageOut/detail/export',
     data: params,
     method: 'post',
-    responseType: 'blob'
+    responseType: 'blob',
+    headers: {
+      'module': encodeURIComponent('导出')
+    }
   })
 }
 // 连锁调拨调出  统计
@@ -33,14 +39,20 @@ export const allocLinkageOutSave = (params) => {
   return axios({
     url: '/allocLinkageOut/save',
     data: params,
-    method: 'post'
+    method: 'post',
+    headers: {
+      'module': encodeURIComponent('新增')
+    }
   })
 }
 //  连锁调拨调出   提交
 export const allocLinkageOutSubmit = (params) => {
   return axios({
     url: `/allocLinkageOut/submit/${params.sn}`,
-    method: 'get'
+    method: 'get',
+    headers: {
+      'module': encodeURIComponent('提交')
+    }
   })
 }
 //  连锁调拨调出 详情 列表  分页
@@ -51,35 +63,50 @@ export const allocLinkageOutDetailList = (params) => {
   return axios({
     url: url,
     data: params,
-    method: 'post'
+    method: 'post',
+    headers: {
+      'module': encodeURIComponent('明细列表查询')
+    }
   })
 }
 //  连锁调拨调出 详情  根据sn查
 export const allocLinkageOutDetailSn = (params) => {
   return axios({
     url: `/allocLinkageOut/findBySn/${params.sn}`,
-    method: 'get'
+    method: 'get',
+    headers: {
+      'module': encodeURIComponent('详情信息')
+    }
   })
 }
 //  连锁调拨调出  审核
 export const allocLinkageAudit = (params) => {
   return axios({
     url: `/allocLinkageOut/audit/${params.sn}`,
-    method: 'get'
+    method: 'get',
+    headers: {
+      'module': encodeURIComponent('审核')
+    }
   })
 }
 //  连锁调拨调出  出库
 export const allocLinkageOutStock = (params) => {
   return axios({
     url: `/allocLinkageOut/outStock/${params.sn}`,
-    method: 'get'
+    method: 'get',
+    headers: {
+      'module': encodeURIComponent('出库')
+    }
   })
 }
 //  连锁调拨调出  删除
 export const allocLinkageOutDel = (params) => {
   return axios({
     url: `/allocLinkageOut/delete/${params.sn}`,
-    method: 'get'
+    method: 'get',
+    headers: {
+      'module': encodeURIComponent('删除')
+    }
   })
 }
 //  连锁调拨调出  详情  添加
@@ -87,21 +114,30 @@ export const allocLinkageOutDetailSave = (params) => {
   return axios({
     url: '/allocLinkageOut/detail/save',
     data: params,
-    method: 'post'
+    method: 'post',
+    headers: {
+      'module': encodeURIComponent('添加')
+    }
   })
 }
 //  连锁调拨调出  详情  删除
 export const allocLinkageOutDetailDel = (params) => {
   return axios({
     url: `/allocLinkageOut/detail/delete/${params.id}`,
-    method: 'get'
+    method: 'get',
+    headers: {
+      'module': encodeURIComponent('删除')
+    }
   })
 }
 //  连锁调拨调出  详情  清空列表
 export const allocLinkageOutDetailDelAll = (params) => {
   return axios({
     url: `/allocLinkageOut/detail/deleteAll/${params.sn}`,
-    method: 'get'
+    method: 'get',
+    headers: {
+      'module': encodeURIComponent('清空列表')
+    }
   })
 }
 //  连锁调拨调出  详情  合计
@@ -135,7 +171,10 @@ export const importProductExportError = (params) => {
     url: '/allocLinkageOut/importProduct/exportError',
     data: params,
     method: 'post',
-    responseType: 'blob'
+    responseType: 'blob',
+    headers: {
+      'module': encodeURIComponent('导出错误项')
+    }
   })
 }
 
@@ -144,7 +183,10 @@ export const importProductInsertBatch = (params) => {
   return axios({
     url: '/allocLinkageOut/importProduct/insertBatch',
     data: params,
-    method: 'post'
+    method: 'post',
+    headers: {
+      'module': encodeURIComponent('导入产品')
+    }
   })
 }
 
@@ -153,7 +195,10 @@ export const getReportOutTenantList = (params) => {
   return axios({
     url: '/report/reportAllocLinkageOut/reportDealer',
     data: params,
-    method: 'post'
+    method: 'post',
+    headers: {
+      'module': encodeURIComponent('调往对象')
+    }
   })
 }
 
@@ -161,7 +206,10 @@ export const getReportOutTenantList = (params) => {
 export const allocLinkageOutDetailPrint = params => {
   const data = {
     url: `allocLinkageOut/print/${params.sn}/${params.type}/${params.showFlag}`,
-    method: 'get'
+    method: 'get',
+    headers: {
+      'module': encodeURIComponent(params.type == 'INK' ? '喷墨打印':'针式打印')
+    }
   }
   // 喷墨打印
   if (params.type == 'INK') {

+ 36 - 9
src/api/allocLinkagePut.js

@@ -4,7 +4,10 @@ export const getReportPutTenantList = (params) => {
   return axios({
     url: '/report/reportAllocLinkagePut/reportDealer',
     data: params,
-    method: 'post'
+    method: 'post',
+    headers: {
+      'module': encodeURIComponent('调往对象列表查询')
+    }
   })
 }
 //  连锁调拨调入 列表  分页
@@ -15,7 +18,10 @@ export const allocLinkagePutList = (params) => {
   return axios({
     url: url,
     data: params,
-    method: 'post'
+    method: 'post',
+    headers: {
+      'module': encodeURIComponent('列表查询')
+    }
   })
 }
 
@@ -31,14 +37,20 @@ export const allocLinkagePutQueryCount = (params) => {
 export const allocLinkagePutAudit = (params) => {
   return axios({
     url: `/allocLinkagePut/audit/${params.sn}`,
-    method: 'get'
+    method: 'get',
+    headers: {
+      'module': encodeURIComponent('审核')
+    }
   })
 }
 //  连锁调拨调入  入库
 export const allocLinkagePutSubmit = (params) => {
   return axios({
     url: `/allocLinkagePut/submit/${params.sn}`,
-    method: 'get'
+    method: 'get',
+    headers: {
+      'module': encodeURIComponent('入库')
+    }
   })
 }
 //  连锁调拨调入 详情 合计
@@ -53,7 +65,10 @@ export const allocLinkagePutDetailCount = (params) => {
 export const allocLinkagePutDetailSn = (params) => {
   return axios({
     url: `/allocLinkagePut/findBySn/${params.sn}`,
-    method: 'get'
+    method: 'get',
+    headers: {
+      'module': encodeURIComponent('详情信息')
+    }
   })
 }
 //  连锁调拨调入 详情 列表  分页
@@ -64,7 +79,10 @@ export const allocLinkagePutDetailList = (params) => {
   return axios({
     url: url,
     data: params,
-    method: 'post'
+    method: 'post',
+    headers: {
+      'module': encodeURIComponent('明细列表查询')
+    }
   })
 }
 //  连锁调拨调入 详情 编辑
@@ -73,14 +91,20 @@ export const allocLinkagePutDetailUpdate = (params) => {
   return axios({
     url: url,
     data: params,
-    method: 'post'
+    method: 'post',
+    headers: {
+      'module': encodeURIComponent('编辑基本信息')
+    }
   })
 }
 // 连锁调拨调入 详情  打印
 export const allocLinkagePutDetailPrint = params => {
   const data = {
     url: `allocLinkagePut/print/${params.sn}/${params.type}/${params.showFlag}`,
-    method: 'get'
+    method: 'get',
+    headers: {
+      'module': encodeURIComponent(params.type == 'INK' ? '喷墨打印':'针式打印')
+    }
   }
   // 喷墨打印
   if (params.type == 'INK') {
@@ -95,6 +119,9 @@ export const allocLinkagePutExport = (params) => {
     url: '/allocLinkagePut/detail/export',
     data: params,
     method: 'post',
-    responseType: 'blob'
+    responseType: 'blob',
+    headers: {
+      'module': encodeURIComponent('导出')
+    }
   })
 }

+ 61 - 16
src/api/allocWarehouse.js

@@ -8,7 +8,10 @@ export const allocWarehouseList = (params) => {
   return axios({
     url: url,
     data: params,
-    method: 'post'
+    method: 'post',
+    headers: {
+      'module': encodeURIComponent('列表查询')
+    }
   })
 }
 // 仓库调拨  统计
@@ -24,14 +27,20 @@ export const allocWarehouseAudit = params => {
   return axios({
     url: '/allocWarehouse/audit',
     data: params,
-    method: 'post'
+    method: 'post',
+    headers: {
+      'module': encodeURIComponent('审核')
+    }
   })
 }
 // 仓库调拨  删除
 export const allocWarehouseDel = params => {
   return axios({
     url: `/allocWarehouse/delete/${params.id}`,
-    method: 'get'
+    method: 'get',
+    headers: {
+      'module': encodeURIComponent('删除')
+    }
   })
 }
 // 修改仓位的接口
@@ -39,7 +48,10 @@ export const updatePutWhLocation = params => {
   return axios({
     url: '/allocWarehouse/detail/updatePutWhLocation',
     data: params,
-    method: 'post'
+    method: 'post',
+    headers: {
+      'module': encodeURIComponent('修改仓位')
+    }
   })
 }
 // 仓库调拨 详情  合计
@@ -58,7 +70,10 @@ export const allocWarehouseDetailList = params => {
   return axios({
     url: url,
     data: params,
-    method: 'post'
+    method: 'post',
+    headers: {
+      'module': encodeURIComponent('明细列表查询')
+    }
   })
 }
 // 仓库调拨  详情  添加/编辑
@@ -66,7 +81,10 @@ export const allocWarehouseDetailSave = params => {
   return axios({
     url: '/allocWarehouse/detail/save',
     data: params,
-    method: 'post'
+    method: 'post',
+    headers: {
+      'module': encodeURIComponent(params.id?'修改':'添加')
+    }
   })
 }
 // 仓库调拨  详情  删除
@@ -74,7 +92,10 @@ export const allocWarehouseDetailDel = params => {
   return axios({
     url: '/allocWarehouse/detail/delete',
     data: params,
-    method: 'post'
+    method: 'post',
+    headers: {
+      'module': encodeURIComponent(params.productSn ? '删除' : '清空列表')
+    }
   })
 }
 // 仓库调拨  保存
@@ -82,7 +103,10 @@ export const allocWarehouseSave = params => {
   return axios({
     url: '/allocWarehouse/save',
     data: params,
-    method: 'post'
+    method: 'post',
+    headers: {
+      'module': encodeURIComponent('新增')
+    }
   })
 }
 // 选择产品
@@ -93,7 +117,10 @@ export const productQuery = params => {
   return axios({
     url: url,
     data: params,
-    method: 'post'
+    method: 'post',
+    headers: {
+      'module': encodeURIComponent('可选产品列表查询')
+    }
   })
 }
 // 仓库调拨 详情
@@ -103,14 +130,20 @@ export const allocWarehouseDetail = params => {
   return axios({
     url: url,
     data: params,
-    method: 'post'
+    method: 'post',
+    headers: {
+      'module': encodeURIComponent('详情信息')
+    }
   })
 }
 //  仓库调拨 详情  根据sn查
 export const allocWarehouseDetailSn = (params) => {
   return axios({
     url: `/allocWarehouse/findBySn/${params.sn}`,
-    method: 'get'
+    method: 'get',
+    headers: {
+      'module': encodeURIComponent('详情信息')
+    }
   })
 }
 // 仓库调拨 提交
@@ -118,7 +151,10 @@ export const allocWarehouseSubmit = params => {
   return axios({
     url: '/allocWarehouse/submit',
     data: params,
-    method: 'post'
+    method: 'post',
+    headers: {
+      'module': encodeURIComponent('提交')
+    }
   })
 }
 
@@ -127,7 +163,7 @@ export const importProduct = params => {
   return axios({
     url: '/allocWarehouse/importProduct',
     data: params,
-    method: 'post'
+    method: 'post',
   })
 }
 
@@ -137,7 +173,10 @@ export const importProductExportError = (params) => {
     url: '/allocWarehouse/importProduct/exportError',
     data: params,
     method: 'post',
-    responseType: 'blob'
+    responseType: 'blob',
+    headers: {
+      'module': encodeURIComponent('导出错误项')
+    }
   })
 }
 
@@ -146,7 +185,10 @@ export const importProductInsertBatch = (params) => {
   return axios({
     url: '/allocWarehouse/importProduct/insertBatch',
     data: params,
-    method: 'post'
+    method: 'post',
+    headers: {
+      'module': encodeURIComponent('导入产品')
+    }
   })
 }
 
@@ -156,6 +198,9 @@ export const allocWarehouseExport = (params) => {
     url: '/allocWarehouse/detail/export',
     data: params,
     method: 'post',
-    responseType: 'blob'
+    responseType: 'blob',
+    headers: {
+      'module': encodeURIComponent('导出')
+    }
   })
 }

+ 1 - 1
src/api/costType.js

@@ -7,7 +7,7 @@ export const costTypeAllQuery = (params) => {
     data: {},
     method: 'post',
     headers: {
-      'module': encodeURIComponent('列表查询')
+      'module': encodeURIComponent('费用类型列表查询')
     }
   })
 }

+ 36 - 9
src/api/settle.js

@@ -8,7 +8,10 @@ export const settleUnitClientList = (params) => {
   return axios({
     url: url,
     data: params,
-    method: 'post'
+    method: 'post',
+    headers: {
+      'module': encodeURIComponent('列表查询')
+    }
   })
 }
 //  单位收付款记录 列表 结算记录 分页
@@ -19,7 +22,10 @@ export const settleUnitList = (params) => {
   return axios({
     url: url,
     data: params,
-    method: 'post'
+    method: 'post',
+    headers: {
+      'module': encodeURIComponent('列表查询')
+    }
   })
 }
 //  单位收付款 提交收付款
@@ -27,7 +33,10 @@ export const settleUnitSave = (params) => {
   return axios({
     url: '/settle/unit/save',
     data: params,
-    method: 'post'
+    method: 'post',
+    headers: {
+      'module': encodeURIComponent('提交')
+    }
   })
 }
 //  单位收付款记录  详情 列表 结算记录 分页
@@ -38,14 +47,20 @@ export const settleUnitDetailList = (params) => {
   return axios({
     url: url,
     data: params,
-    method: 'post'
+    method: 'post',
+    headers: {
+      'module': encodeURIComponent('明细列表')
+    }
   })
 }
 //  单位收付款记录  详情
 export const settleUnitDetail = (params) => {
   return axios({
     url: `/settle/unit/findById/${params.id}`,
-    method: 'get'
+    method: 'get',
+    headers: {
+      'module': encodeURIComponent('详情信息')
+    }
   })
 }
 //  单位收付款记录  合计
@@ -62,7 +77,10 @@ export const settleUnitPrint = params => {
   const data = {
     url: `/settle/unit/print/${params.type}`,
     data: params,
-    method: 'post'
+    method: 'post',
+    headers: {
+      'module': encodeURIComponent(params.type == 'INK' ? '喷墨打印' : '针式打印')
+    }
   }
   // 喷墨打印
   if (params.type == 'INK') {
@@ -77,7 +95,10 @@ export const settleUnitExport = params => {
     url: `/settle/unit/excel`,
     data: params,
     method: 'post',
-    responseType: 'blob'
+    responseType: 'blob',
+    headers: {
+      'module': encodeURIComponent('导出Excel')
+    }
   })
 }
 
@@ -87,7 +108,10 @@ export const settleInfoAllList = (params) => {
   return axios({
     url: '/settle/info/queryList',
     data: params,
-    method: 'post'
+    method: 'post',
+    headers: {
+      'module': encodeURIComponent('单据列表查询')
+    }
   })
 }
 //  单位收付款 列表 分页
@@ -98,7 +122,10 @@ export const settleInfoList = (params) => {
   return axios({
     url: url,
     data: params,
-    method: 'post'
+    method: 'post',
+    headers: {
+      'module': encodeURIComponent('明细列表查询')
+    }
   })
 }
 //  单位收付款  详情 合计

+ 36 - 9
src/api/settleAcount.js

@@ -4,14 +4,20 @@ import { axios } from '@/utils/request'
 export const updateAccountMangeState = params => {
   return axios({
     url: `/settleAccount/updateFunctionState/${params.enableFlag}`,
-    method: 'get'
+    method: 'get',
+    headers: {
+      'module': encodeURIComponent('启用禁用资金账户功能')
+    }
   })
 }
 // 查询结算账户功能状态
 export const queryAccountMangeState = params => {
   return axios({
     url: `/settleAccount/queryFunctionState`,
-    method: 'get'
+    method: 'get',
+    headers: {
+      'module': encodeURIComponent('结算账户功能状态查询')
+    }
   })
 }
 // 分页查找结算账户列表
@@ -22,7 +28,10 @@ export const settleAccountList = (params) => {
   return axios({
     url: url,
     data: params,
-    method: 'post'
+    method: 'post',
+    headers: {
+      'module': encodeURIComponent('列表查询')
+    }
   })
 }
 
@@ -34,7 +43,10 @@ export const findSettleFlowPage = (params) => {
   return axios({
     url: url,
     data: params,
-    method: 'post'
+    method: 'post',
+    headers: {
+      'module': encodeURIComponent('资金明细列表查询')
+    }
   })
 }
 
@@ -43,7 +55,10 @@ export const settleAccountSave = params => {
   return axios({
     url: '/settleAccount/save',
     data: params,
-    method: 'post'
+    method: 'post',
+    headers: {
+      'module': encodeURIComponent(params.id?'编辑':'新增')
+    }
   })
 }
 
@@ -51,27 +66,39 @@ export const settleAccountSave = params => {
 export const settleAccountDetail = params => {
   return axios({
     url: `/settleAccount/findBySn/${params.settleAccountSn}`,
-    method: 'get'
+    method: 'get',
+    headers: {
+      'module': encodeURIComponent('结算账户信息')
+    }
   })
 }
 // 启禁用结算账户信息
 export const settleAccountEnable = params => {
   return axios({
     url: `/settleAccount/enable/${params.settleAccountSn}/${params.enableFlag}`,
-    method: 'get'
+    method: 'get',
+    headers: {
+      'module': encodeURIComponent(params.enableFlag=='ENABLE' ? '启用' : '禁用')
+    }
   })
 }
 // 删除结算账户信息
 export const settleAccountDelete = params => {
   return axios({
     url: `/settleAccount/delete/${params.settleAccountSn}`,
-    method: 'get'
+    method: 'get',
+    headers: {
+      'module': encodeURIComponent('删除')
+    }
   })
 }
 // 审核结算账户信息
 export const settleAccountAudit = params => {
   return axios({
     url: `/settleAccount/audit/${params.settleAccountSn}/${params.auditState}`,
-    method: 'get'
+    method: 'get',
+    headers: {
+      'module': encodeURIComponent('审核')
+    }
   })
 }

+ 28 - 7
src/api/settleExpense.js

@@ -5,7 +5,10 @@ export const settleExpenseQuery = (params) => {
   return axios({
     url: `settle/expense/queryPage/${params.pageNo}/${params.pageSize}`,
     data: params,
-    method: 'post'
+    method: 'post',
+    headers: {
+      'module': encodeURIComponent('列表查询')
+    }
   })
 }
 
@@ -14,7 +17,10 @@ export const settleExpenseQueryAll = (params) => {
   return axios({
     url: `settle/expense/queryList`,
     data: params,
-    method: 'post'
+    method: 'post',
+    headers: {
+      'module': encodeURIComponent('费用单列表查询')
+    }
   })
 }
 
@@ -23,7 +29,10 @@ export const settleExpenseSave = (params) => {
   return axios({
     url: `settle/expense/save`,
     data: params,
-    method: 'post'
+    method: 'post',
+    headers: {
+      'module': encodeURIComponent(params.id ? '编辑':'新建')
+    }
   })
 }
  
@@ -40,13 +49,19 @@ export const settleExpenseQuerySum = (params) => {
 export const findExpenseDetail = (params) => {
   return axios({
     url: `settle/expense/findById/${params.id}`,
-    method: 'get'
+    method: 'get',
+    headers: {
+      'module': encodeURIComponent('费用详细信息')
+    }
   })
 }
 export const findExpenseDetailBySn = (params) => {
   return axios({
     url: `settle/expense/findBySn/${params.sn}`,
-    method: 'get'
+    method: 'get',
+    headers: {
+      'module': encodeURIComponent('费用详细信息')
+    }
   })
 }
 
@@ -54,7 +69,10 @@ export const findExpenseDetailBySn = (params) => {
 export const delExpense = (params) => {
   return axios({
     url: `settle/expense/delete/${params.id}`,
-    method: 'get'
+    method: 'get',
+    headers: {
+      'module': encodeURIComponent('删除')
+    }
   })
 }
 
@@ -62,6 +80,9 @@ export const delExpense = (params) => {
 export const auditExpense = (params) => {
   return axios({
     url: `settle/expense/audit/${params.id}`,
-    method: 'get'
+    method: 'get',
+    headers: {
+      'module': encodeURIComponent('审核')
+    }
   })
 }

+ 24 - 6
src/api/settlePay.js

@@ -5,7 +5,10 @@ export const settlePayQuery = (params) => {
   return axios({
     url: `settle/pay/queryPage/${params.pageNo}/${params.pageSize}`,
     data: params,
-    method: 'post'
+    method: 'post',
+    headers: {
+      'module': encodeURIComponent('列表查询')
+    }
   })
 }
 
@@ -14,7 +17,10 @@ export const settlePayQueryAll = (params) => {
   return axios({
     url: `settle/pay/queryList`,
     data: params,
-    method: 'post'
+    method: 'post',
+    headers: {
+      'module': encodeURIComponent('财务收款列表查询')
+    }
   })
 }
 
@@ -23,7 +29,10 @@ export const settlePaySave = (params) => {
   return axios({
     url: `settle/pay/save`,
     data: params,
-    method: 'post'
+    method: 'post',
+    headers: {
+      'module': encodeURIComponent('新建付款单')
+    }
   })
 }
 
@@ -50,7 +59,10 @@ export const settlePayMoney = (params) => {
   return axios({
     url: `settle/pay/payBatch`,
     data: params,
-    method: 'post'
+    method: 'post',
+    headers: {
+      'module': encodeURIComponent(params.settleIds.length==1 ? '付款' : '批量付款')
+    }
   })
 }
 
@@ -58,7 +70,10 @@ export const settlePayMoney = (params) => {
 export const findPayDetail = (params) => {
   return axios({
     url: `settle/pay/findById/${params.id}`,
-    method: 'get'
+    method: 'get',
+    headers: {
+      'module': encodeURIComponent('凭证')
+    }
   })
 }
 
@@ -66,6 +81,9 @@ export const findPayDetail = (params) => {
 export const delPay = (params) => {
   return axios({
     url: `settle/pay/delete/${params.id}`,
-    method: 'get'
+    method: 'get',
+    headers: {
+      'module': encodeURIComponent('删除')
+    }
   })
 }

+ 27 - 9
src/api/settleReceipt.js

@@ -5,7 +5,10 @@ export const settleReceiptQuery = (params) => {
   return axios({
     url: `settle/receipt/queryPage/${params.pageNo}/${params.pageSize}`,
     data: params,
-    method: 'post'
+    method: 'post',
+    headers: {
+      'module': encodeURIComponent('列表查询')
+    }
   })
 }
 
@@ -14,7 +17,10 @@ export const settleReceiptQueryAll = (params) => {
   return axios({
     url: `settle/receipt/queryList`,
     data: params,
-    method: 'post'
+    method: 'post',
+    headers: {
+      'module': encodeURIComponent('财务收款列表查询')
+    }
   })
 }
 
@@ -23,7 +29,10 @@ export const settleReceiptSave = (params) => {
   return axios({
     url: `settle/receipt/save`,
     data: params,
-    method: 'post'
+    method: 'post',
+    headers: {
+      'module': encodeURIComponent('新建收款单')
+    }
   })
 }
 
@@ -45,27 +54,36 @@ export const queryByTypeSum = (params) => {
   })
 }
 
-// 
+// 
 export const settleReceiptMoney = (params) => {
   return axios({
     url: `settle/receipt/receiptBatch`,
     data: params,
-    method: 'post'
+    method: 'post',
+    headers: {
+      'module': encodeURIComponent(params.settleIds.length==1 ? '收款' : '批量收款')
+    }
   })
 }
 
-// 款详情(凭证查询)
+// 款详情(凭证查询)
 export const findReceiptDetail = (params) => {
   return axios({
     url: `settle/receipt/findById/${params.id}`,
-    method: 'get'
+    method: 'get',
+    headers: {
+      'module': encodeURIComponent('凭证')
+    }
   })
 }
 
-// 删除
+// 删除
 export const delReceipt = (params) => {
   return axios({
     url: `settle/receipt/delete/${params.id}`,
-    method: 'get'
+    method: 'get',
+    headers: {
+      'module': encodeURIComponent('删除')
+    }
   })
 }

+ 56 - 14
src/api/storeCallOut.js

@@ -8,7 +8,10 @@ export const storeCallOutList = (params) => {
   return axios({
     url: url,
     data: params,
-    method: 'post'
+    method: 'post',
+    headers: {
+      'module': encodeURIComponent('列表查询')
+    }
   })
 }
 // 店内调出  统计
@@ -24,7 +27,10 @@ export const storeCallOutSave = (params) => {
   return axios({
     url: '/storeCallOut/save',
     data: params,
-    method: 'post'
+    method: 'post',
+    headers: {
+      'module': encodeURIComponent('新增')
+    }
   })
 }
 //  店内调出 审核
@@ -32,7 +38,10 @@ export const storeCallOutAudit = (params) => {
   return axios({
     url: '/storeCallOut/audit',
     data: params,
-    method: 'post'
+    method: 'post',
+    headers: {
+      'module': encodeURIComponent('审核')
+    }
   })
 }
 //  店内调出 出库
@@ -40,28 +49,40 @@ export const storeCallOutOut = (params) => {
   return axios({
     url: '/storeCallOut/out',
     data: params,
-    method: 'post'
+    method: 'post',
+    headers: {
+      'module': encodeURIComponent('出库')
+    }
   })
 }
 //  店内调出 删除
 export const storeCallOutDel = (params) => {
   return axios({
     url: `/storeCallOut/delete/${params.id}`,
-    method: 'get'
+    method: 'get',
+    headers: {
+      'module': encodeURIComponent('删除')
+    }
   })
 }
 //  店内调出 详情
 export const storeCallOutDetail = (params) => {
   return axios({
     url: `/storeCallOut/findById/${params.id}`,
-    method: 'get'
+    method: 'get',
+    headers: {
+      'module': encodeURIComponent('详情信息')
+    }
   })
 }
 //  店内调出 详情  根据sn查
 export const storeCallOutDetailSn = (params) => {
   return axios({
     url: `/storeCallOut/findBySn/${params.sn}`,
-    method: 'get'
+    method: 'get',
+    headers: {
+      'module': encodeURIComponent('详情信息')
+    }
   })
 }
 //  店内调出  提交
@@ -69,7 +90,10 @@ export const storeCallOutSubmit = (params) => {
   return axios({
     url: '/storeCallOut/submit',
     data: params,
-    method: 'post'
+    method: 'post',
+    headers: {
+      'module': encodeURIComponent('提交')
+    }
   })
 }
 //  店内调出详情 列表  分页
@@ -80,7 +104,10 @@ export const storeCallOutDetailList = (params) => {
   return axios({
     url: url,
     data: params,
-    method: 'post'
+    method: 'post',
+    headers: {
+      'module': encodeURIComponent('明细列表查询')
+    }
   })
 }
 //  店内调出详情 合计
@@ -96,7 +123,10 @@ export const storeCallOutDetailSave = (params) => {
   return axios({
     url: '/storeCallOut/detail/save',
     data: params,
-    method: 'post'
+    method: 'post',
+    headers: {
+      'module': encodeURIComponent(params.id?'修改调出数量':'添加')
+    }
   })
 }
 //  店内调出详情 删除
@@ -104,14 +134,20 @@ export const storeCallOutDetailDel = (params) => {
   return axios({
     url: '/storeCallOut/detail/delete',
     data: params,
-    method: 'post'
+    method: 'post',
+    headers: {
+      'module': encodeURIComponent('删除')
+    }
   })
 }
 // 店内调出 详情  打印
 export const storeCallOutDetailPrint = params => {
   const data = {
     url: `storeCallOut/print/${params.sn}/${params.type}/${params.costFlag}`,
-    method: 'get'
+    method: 'get',
+    headers: {
+      'module': encodeURIComponent(params.type == 'INK' ? '喷墨打印':'针式打印')
+    }
   }
   // 喷墨打印
   if (params.type == 'INK') {
@@ -132,7 +168,10 @@ export const storeCallOutDetailBatchSave = (params) => {
   return axios({
     url: '/storeCallOut/detail/saveBatch',
     data: params,
-    method: 'post'
+    method: 'post',
+    headers: {
+      'module': encodeURIComponent('导入产品')
+    }
   })
 }
 // 导出错误项
@@ -141,6 +180,9 @@ export const storeCallOutDetailImportError = (params) => {
     url: '/storeCallOut/detail/exportImportError',
     data: params,
     method: 'post',
-    responseType: 'blob'
+    responseType: 'blob',
+    headers: {
+      'module': encodeURIComponent('导出错误项')
+    }
   })
 }

+ 3 - 1
src/views/allocationManagement/storeTransferOut/list.vue

@@ -298,7 +298,9 @@ export default {
       this.$refs.outWareRangeDate.resetDate('')
       this.queryParam.outWarehouseBeginDate = ''
       this.queryParam.outWarehouseEndDate = ''
-      this.$refs.custList.resetForm()
+      if(this.advanced){
+        this.$refs.custList.resetForm()
+      }
       this.queryParam.customerSnCurrent = undefined
       this.queryParam.customerNameCurrent = undefined
       this.queryParam.storeCallOutNo = undefined