rev:新增导入相关功能

This commit is contained in:
zhouz
2023-07-17 11:28:11 +08:00
parent ec0fd6cd53
commit ffe29d6d4d
47 changed files with 1883 additions and 257 deletions

View File

@@ -79,4 +79,12 @@ export function getClassName() {
})
}
export default { add, edit, del, getClass, getClassSuperior, getClassType, getClassTable, getType, queryClassById, getClassName }
export function excelImport(data) {
return request({
url: 'api/Classstandard/excelImport',
method: 'post',
data
})
}
export default { add, edit, del, getClass, getClassSuperior, getClassType, getClassTable, getType, queryClassById, getClassName, excelImport }

View File

@@ -24,4 +24,12 @@ export function edit(data) {
})
}
export default { add, edit, del }
export function excelImport(data) {
return request({
url: 'api/customerbase/excelImport',
method: 'post',
data
})
}
export default { add, edit, del, excelImport }

View File

@@ -55,4 +55,12 @@ export function getProductSeries() {
})
}
export default { add, edit, del, getMaterOptType, isAlongMaterType, synchronize, getProductSeries }
export function excelImport(data) {
return request({
url: 'api/mdMeMaterialbase/excelImport',
method: 'post',
data
})
}
export default { add, edit, del, getMaterOptType, isAlongMaterType, synchronize, getProductSeries, excelImport }

View File

@@ -32,4 +32,12 @@ export function updateRawmaterial(data) {
})
}
export default { add, edit, del, updateRawmaterial }
export function excelImport(data) {
return request({
url: 'api/semirealrawmaterial/excelImport',
method: 'post',
data
})
}
export default { add, edit, del, updateRawmaterial, excelImport }