2024-08-19 15:45:30 +08:00
|
|
|
export const handLogin = (user, password) => {
|
|
|
|
|
let res = {
|
|
|
|
|
user: {
|
|
|
|
|
user: {username: 'admin'},
|
|
|
|
|
},
|
|
|
|
|
token: 'abcd'
|
|
|
|
|
}
|
|
|
|
|
return res
|
|
|
|
|
}
|
2024-09-01 16:21:54 +08:00
|
|
|
export const regionList = () => {
|
2024-08-19 15:45:30 +08:00
|
|
|
let res = {
|
2024-09-06 10:51:49 +08:00
|
|
|
content: [{value: '1', label: 'A0000001'}, {value: '2', label: 'A0000002'}, {value: '3', label: 'A0000003'}, {value: '4', label: 'A0000004'}, {value: '5', label: 'A0000005'}, {value: '6', label: 'A0000006'}]
|
2024-08-19 15:45:30 +08:00
|
|
|
}
|
|
|
|
|
return res
|
|
|
|
|
}
|
2024-09-01 16:21:54 +08:00
|
|
|
|
2024-09-02 14:07:36 +08:00
|
|
|
export const fabOrders = (data) => {
|
2024-09-11 13:22:09 +08:00
|
|
|
let res = [
|
|
|
|
|
{order_code: '111'}
|
2024-09-01 16:21:54 +08:00
|
|
|
]
|
2024-08-19 15:45:30 +08:00
|
|
|
return res
|
2024-09-20 11:24:16 +08:00
|
|
|
}
|
|
|
|
|
export const updateRouteStatus = (data) => {
|
|
|
|
|
let res = {
|
|
|
|
|
message: 'ok'
|
|
|
|
|
}
|
|
|
|
|
return res
|
2024-09-23 17:09:16 +08:00
|
|
|
}
|
|
|
|
|
export const selectOrderByRegion = (code, code1) => {
|
|
|
|
|
let res = {
|
|
|
|
|
content: [{ vehicle_code: '123', order_code: '800034202869', region_code: '111-07', material_id: 'A7E0019008760_00', material_type: 'S39_SA01', custom: 'BBC支撑板后上', material_qty: '120', plan_date: '2024/8/11' }]
|
|
|
|
|
}
|
|
|
|
|
return res
|
|
|
|
|
}
|
|
|
|
|
export const fabMaterial = (code, code1) => {
|
|
|
|
|
let res = [{ vehicle_code: '123', order_code: '800034202869', region_code: '111-07', material_id: 'A7E0019008760_00', material_type: 'S39_SA01', custom: 'BBC支撑板后上', material_qty: '120', plan_date: '2024/8/11' }, { vehicle_code: '123', order_code: '800034202869', region_code: '111-07', material_id: 'A7E0019008760_00', material_type: 'S39_SA01', custom: 'BBC支撑板后上', material_qty: '120', plan_date: '2024/8/11' }, { vehicle_code: '123', order_code: '800034202869', region_code: '111-07', material_id: 'A7E0019008760_00', material_type: 'S39_SA01', custom: 'BBC支撑板后上', material_qty: '120', plan_date: '2024/8/11' }, { vehicle_code: '123', order_code: '800034202869', region_code: '111-07', material_id: 'A7E0019008760_00', material_type: 'S39_SA01', custom: 'BBC支撑板后上', material_qty: '120', plan_date: '2024/8/11' }]
|
|
|
|
|
return res
|
2024-09-24 15:15:04 +08:00
|
|
|
}
|
|
|
|
|
export const selectPointByRegion = (code) => {
|
2024-09-29 17:38:09 +08:00
|
|
|
let res = [{point_code: '1', point_name: 'Amada 80T冲床07-01-06-01'}, {point_code: '2', point_name: 'Amada 80T冲床07-01-06-01', point_status: '0'}, {point_code: '3', point_name: 'Amada 80T冲床07-01-06-01', point_status: '0'}, {point_code: '4', point_name: 'Amada 80T冲床07-01-06-01', point_status: '0'}, {point_code: '5', point_name: 'Amada 80T冲床07-01-06-01', point_status: '1'}, {point_code: '1', point_name: 'Amada 80T冲床07-01-06-01', point_status: '0'}, {point_code: '2', point_name: 'Amada 80T冲床07-01-06-01', point_status: '0'}, {point_code: '3', point_name: 'Amada 80T冲床07-01-06-01', point_status: '0'}, {point_code: '4', point_name: 'Amada 80T冲床07-01-06-01', point_status: '0'}, {point_code: '5', point_name: 'Amada 80T冲床07-01-06-01', point_status: '1'}]
|
2024-09-24 15:15:04 +08:00
|
|
|
return res
|
2024-08-19 15:45:30 +08:00
|
|
|
}
|