出库逻辑添加,扫码识别编码成功,后续对应逻辑没有完成

This commit is contained in:
dxc
2026-02-04 17:22:20 +08:00
parent 596f366fc4
commit 797b611530
12 changed files with 919 additions and 28 deletions

View File

@ -0,0 +1,19 @@
import request from '@/utils/request'
/**
* 上传文件通用接口
* @param file File 对象
*/
export function uploadFile(file: File) {
const formData = new FormData()
formData.append('file', file)
return request({
url: '/api/v1/common/upload',
method: 'post',
data: formData,
headers: {
'Content-Type': 'multipart/form-data'
}
})
}