Merge branch 'main' of http://xny.yj-3d.com:3000/taoge/new_project into ljx
This commit is contained in:
@ -98,3 +98,18 @@ export const cashTotal = () => {
|
||||
method: 'get'
|
||||
});
|
||||
};
|
||||
//安全天数
|
||||
export const getSafetyDay = (projectId) => {
|
||||
return request({
|
||||
url: '/money/big/screen/safetyDay/' + projectId,
|
||||
method: 'get'
|
||||
});
|
||||
};
|
||||
|
||||
//安全天数
|
||||
export const getWeather = (projectId) => {
|
||||
return request({
|
||||
url: '/money/big/screen/weather/' + projectId,
|
||||
method: 'get'
|
||||
});
|
||||
};
|
||||
|
@ -61,3 +61,22 @@ export const delSupplierInput = (id: string | number | Array<string | number>) =
|
||||
method: 'delete'
|
||||
});
|
||||
};
|
||||
//导入供商入库
|
||||
export const leadingIn = (formData: FormData, projectId) => {
|
||||
return request({
|
||||
url: '/supplierInput/supplierInput/import?projectId=' + projectId,
|
||||
method: 'post',
|
||||
data: formData,
|
||||
|
||||
headers: {
|
||||
'Content-Type': 'multipart/form-data'
|
||||
}
|
||||
});
|
||||
};
|
||||
//导入供商出库
|
||||
export const leadingOut = () => {
|
||||
return request({
|
||||
url: '/supplierInput/supplierInput/export',
|
||||
method: 'post'
|
||||
});
|
||||
};
|
||||
|
Reference in New Issue
Block a user