Browse Source

Merge branch 'master_hella' of http://dev.ccwin-in.com:3000/sfms3.0/sfms3.0-ui into master_hella

master_hella_20240701
zhaoxuebing 9 months ago
parent
commit
1bde35008c
  1. 5
      src/api/wms/itemwarehouse/index.ts
  2. 2
      src/views/wms/basicDataManage/itemManage/packageunit/index.vue

5
src/api/wms/itemwarehouse/index.ts

@ -45,7 +45,12 @@ export const deleteItemwarehouse = async (id: number) => {
// 导出物料仓库默认配置 Excel // 导出物料仓库默认配置 Excel
export const exportItemwarehouse = async (params) => { export const exportItemwarehouse = async (params) => {
if (params.isSearch) {
const data = {...params}
return await request.downloadPost({ url: `/wms/itemwarehouse/export-excel-senior`, data })
} else {
return await request.download({ url: `/wms/itemwarehouse/export-excel`, params }) return await request.download({ url: `/wms/itemwarehouse/export-excel`, params })
}
} }
// 下载用户导入模板 // 下载用户导入模板

2
src/views/wms/basicDataManage/itemManage/packageunit/index.vue

@ -219,7 +219,7 @@ const handleImport = () => {
// //
const importTemplateData = reactive({ const importTemplateData = reactive({
templateUrl: '', templateUrl: '',
templateTitle: '物品包装规格信息 导入模版.xlsx' templateTitle: '物品包装规格信息导入模版.xlsx'
}) })
// //
const importSuccess = () => { const importSuccess = () => {

Loading…
Cancel
Save