缓存码变更\code

This commit is contained in:
蔡玲
2024-09-11 17:42:14 +08:00
parent 6fc5425842
commit 25e87da566
9 changed files with 139 additions and 51 deletions

View File

@@ -21,6 +21,14 @@ export const handLogin = (user, password) => request({
password: password
}
})
// export const handLogin = (user, password) => {
// let res = {
// user: {user: 'admin'},
// token: 'aaaa',
// roles: 'A1,A2,'
// }
// return res
// }
/**
* 人工排产
@@ -135,4 +143,15 @@ export const materialList = () => {
export const getInventoryMaterialInfo = (code) => {
let res = [{"material_code":"FJB","material_name":"负极板","point_code":"01-09-01","point_name":"01排09列01层","vehicle_code":"T202312060006","vehicle_type":"1"}]
return res
}
}
/**
* 缓存码变更
*/
export const zpchange = (code, ncode) => request({
url:'api/pda/zpchange',
data: {
sub_tray: code,
new_sub_tray: ncode
}
})