Files
hht-xinfengtianneng-uni/utils/mork2.js
2024-06-04 15:33:24 +08:00

228 lines
7.2 KiB
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

export const pdaUpdate = () => {
let res = {
versionName: '1.0.1',
url: 'https://mp-e979e0eb-882b-42b3-a4a1-923ad08ea194.cdn.bspapp.com/cloudstorage/f72ec59f-7b25-487d-a034-fead1b6654c6.apk'
}
return res
}
export const manualSortingOrders = () => {
let res = [
{
"workorder_code": "231117001",
"material_code": "ZJB",
"material_name": "正极板",
"workorder_status": "1",
"operator": null,
"create_name": "管理员",
"plan_qty": "1111",
"real_qty": "0"
},
{
"workorder_code": "231128002",
"material_code": "FJB",
"material_name": "负极板",
"workorder_status": "3",
"operator": null,
"create_name": "管理员",
"plan_qty": "2222",
"real_qty": "0"
},
{
"workorder_code": "231128003",
"material_code": "BFJB",
"material_name": "边负极板",
"workorder_status": "4",
"operator": 'admin',
"create_name": "管理员",
"plan_qty": "1111",
"real_qty": "0"
},
{
"workorder_code": "231212003",
"material_code": "BFJB",
"material_name": "边负极板",
"workorder_status": "1",
"operator": null,
"create_name": "管理员",
"plan_qty": "8989767",
"real_qty": "0"
}
]
return res
}
export const getPointList = () => {
let res = [
{
"point_code": "PTX01DJW01",
"point_name": "普涂线01对接位01",
"region_code": "TBX",
"region_name": "涂板线区域",
"point_type": "2",
"point_status": null,
"can_material_type": null,
"can_vehicle_type": "1",
"vehicle_max_qty": 0,
"vehicle_type": null,
"vehicle_code": null,
"vehicle_qty": 0,
"block_num": 0,
"row_num": 0,
"col_num": 0,
"layer_num": 0,
"in_order_seq": 0,
"out_order_seq": 0,
"in_empty_seq": 0,
"out_empty_seq": 0,
"parent_point_code": "PTX01",
"ext_point_code": null,
"ing_task_code": null,
"is_has_workder": false,
"workshop_code": "A1",
"is_auto": true,
"remark": null,
"is_used": true,
"create_id": "1",
"create_name": "管理员",
"create_time": "2023-11-14 17:42:30",
"update_id": null,
"update_name": null,
"update_time": null
},
{
"point_code": "PTX02DJW02",
"point_name": "普涂线02对接位02",
"region_code": "TBX",
"region_name": "涂板线区域",
"point_type": "2",
"point_status": null,
"can_material_type": null,
"can_vehicle_type": "1",
"vehicle_max_qty": 0,
"vehicle_type": null,
"vehicle_code": null,
"vehicle_qty": 0,
"block_num": 0,
"row_num": 0,
"col_num": 0,
"layer_num": 0,
"in_order_seq": 0,
"out_order_seq": 0,
"in_empty_seq": 0,
"out_empty_seq": 0,
"parent_point_code": "PTX02",
"ext_point_code": null,
"ing_task_code": null,
"is_has_workder": false,
"workshop_code": "A1",
"is_auto": true,
"remark": null,
"is_used": true,
"create_id": "1",
"create_name": "管理员",
"create_time": "2023-11-14 17:42:30",
"update_id": null,
"update_name": null,
"update_time": null
},
{
"point_code": "PTX03DJW03",
"point_name": "普涂线03对接位03",
"region_code": "TBX",
"region_name": "涂板线区域",
"point_type": "2",
"point_status": null,
"can_material_type": null,
"can_vehicle_type": "1",
"vehicle_max_qty": 0,
"vehicle_type": null,
"vehicle_code": null,
"vehicle_qty": 0,
"block_num": 0,
"row_num": 0,
"col_num": 0,
"layer_num": 0,
"in_order_seq": 0,
"out_order_seq": 0,
"in_empty_seq": 0,
"out_empty_seq": 0,
"parent_point_code": "PTX03",
"ext_point_code": null,
"ing_task_code": null,
"is_has_workder": false,
"workshop_code": "A1",
"is_auto": true,
"remark": null,
"is_used": true,
"create_id": "1",
"create_name": "管理员",
"create_time": "2023-11-14 17:42:30",
"update_id": null,
"update_name": null,
"update_time": null
},
{
"point_code": "PTX04DJW04",
"point_name": "普涂线04对接位04",
"region_code": "TBX",
"region_name": "涂板线区域",
"point_type": "2",
"point_status": null,
"can_material_type": null,
"can_vehicle_type": "1",
"vehicle_max_qty": 0,
"vehicle_type": null,
"vehicle_code": null,
"vehicle_qty": 0,
"block_num": 0,
"row_num": 0,
"col_num": 0,
"layer_num": 0,
"in_order_seq": 0,
"out_order_seq": 0,
"in_empty_seq": 0,
"out_empty_seq": 0,
"parent_point_code": "PTX04",
"ext_point_code": null,
"ing_task_code": null,
"is_has_workder": false,
"workshop_code": "A1",
"is_auto": true,
"remark": null,
"is_used": true,
"create_id": "1",
"create_name": "管理员",
"create_time": "2023-11-14 17:42:30",
"update_id": null,
"update_name": null,
"update_time": null
}
]
return res
}
export const coatedWireIntoStorageTaskShow = () => {
let res = [{"point_name1":"普涂线01对接位01","point_name2":'普涂线01对接位01',"point_name3":'普涂线01对接位01',"point_name4":'普涂线01对接位01',"task_status":"1","remark":"普涂线01对接位01"}, {"point_name1":"普涂线01对接位01","point_name2":'普涂线01对接位01',"point_name3":'普涂线01对接位01',"point_name4":'普涂线01对接位01',"task_status":"2","remark":"普涂线01对接位01"}, {"point_name1":"普涂线01对接位01","point_name2":'普涂线01对接位01',"point_name3":'普涂线01对接位01',"point_name4":'普涂线01对接位01',"task_status":"3","remark":"普涂线01对接位01"}, {"point_name1":"普涂线01对接位01","point_name2":'普涂线01对接位01',"point_name3":'普涂线01对接位01',"point_name4":'普涂线01对接位01',"task_status":"4","remark":"普涂线01对接位01"}]
return res
}
export const materialList = () => {
let res = [{"value":"BFJB","text":"边负极板"},{"value":"FJB","text":"负极板"},{"value":"ZJB","text":"正极板"}]
return res
}
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 getGhsPointList = () => {
let res = [
{
"point_code": "GHS0101",
"vehicle_name": "负涂片极板真黑金6-DZM-13.2",
"group_id": "1739900219769884672",
"material_qty": 9942
}
]
return res
}
export const changePointQty = (id, qty) => {
let res = {"message":"涂板线入库请求成功"}
return res
}