隐藏mork

This commit is contained in:
2024-02-28 10:36:30 +08:00
parent a6ebe25839
commit 99dc716916

View File

@@ -26,55 +26,55 @@ export const handLogin = (user, password) => request({
* 人工排产 * 人工排产
*/ */
// 工单 // 工单
// export const manualSortingOrders = () => request({ export const manualSortingOrders = () => request({
// url:'api/pda/manualSorting/orders', url:'api/pda/manualSorting/orders',
// data: {} data: {}
// }) })
export const manualSortingOrders = () => { // export const manualSortingOrders = () => {
let res = [ // let res = [
{ // {
"workorder_code": "231117001", // "workorder_code": "231117001",
"material_code": "ZJB", // "material_code": "ZJB",
"material_name": "正极板", // "material_name": "正极板",
"workorder_status": "1", // "workorder_status": "1",
"operator": null, // "operator": null,
"create_name": "管理员", // "create_name": "管理员",
"plan_qty": "1111", // "plan_qty": "1111",
"real_qty": "0" // "real_qty": "0"
}, // },
{ // {
"workorder_code": "231128002", // "workorder_code": "231128002",
"material_code": "FJB", // "material_code": "FJB",
"material_name": "负极板", // "material_name": "负极板",
"workorder_status": "3", // "workorder_status": "3",
"operator": null, // "operator": null,
"create_name": "管理员", // "create_name": "管理员",
"plan_qty": "2222", // "plan_qty": "2222",
"real_qty": "0" // "real_qty": "0"
}, // },
{ // {
"workorder_code": "231128003", // "workorder_code": "231128003",
"material_code": "BFJB", // "material_code": "BFJB",
"material_name": "边负极板", // "material_name": "边负极板",
"workorder_status": "4", // "workorder_status": "4",
"operator": 'admin', // "operator": 'admin',
"create_name": "管理员", // "create_name": "管理员",
"plan_qty": "1111", // "plan_qty": "1111",
"real_qty": "0" // "real_qty": "0"
}, // },
{ // {
"workorder_code": "231212003", // "workorder_code": "231212003",
"material_code": "BFJB", // "material_code": "BFJB",
"material_name": "边负极板", // "material_name": "边负极板",
"workorder_status": "1", // "workorder_status": "1",
"operator": null, // "operator": null,
"create_name": "管理员", // "create_name": "管理员",
"plan_qty": "8989767", // "plan_qty": "8989767",
"real_qty": "0" // "real_qty": "0"
} // }
] // ]
return res // return res
} // }
// 开工 // 开工
export const productionScheduling = (code, user) => request({ export const productionScheduling = (code, user) => request({
url:'api/pda/manualSorting/productionScheduling', url:'api/pda/manualSorting/productionScheduling',
@@ -96,14 +96,14 @@ export const productionComplete = (code, user) => request({
* 涂板线 * 涂板线
*/ */
// 数据 // 数据
// export const coatedWireIntoStorageTaskShow = () => request({ export const coatedWireIntoStorageTaskShow = () => request({
// url:'api/pda/manualSorting/coatedWireIntoStorageTaskShow', url:'api/pda/manualSorting/coatedWireIntoStorageTaskShow',
// data: {} data: {}
// }) })
export const coatedWireIntoStorageTaskShow = () => { // 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"}] // 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 // return res
} // }
// 入库 // 入库
export const coatedWireIntoStorageTask = (code, qty) => request({ export const coatedWireIntoStorageTask = (code, qty) => request({
url:'api/pda/manualSorting/coatedWireIntoStorageTask', url:'api/pda/manualSorting/coatedWireIntoStorageTask',
@@ -117,22 +117,22 @@ export const coatedWireIntoStorageTask = (code, qty) => request({
* 物料库存 * 物料库存
*/ */
// 物料下拉框 // 物料下拉框
// export const materialList = () => request({ export const materialList = () => request({
// url:'api/pda/materialList', url:'api/pda/materialList',
// data: {} data: {}
// }) })
export const materialList = () => { // export const materialList = () => {
let res = [{"value":"BFJB","text":"边负极板"},{"value":"FJB","text":"负极板"},{"value":"ZJB","text":"正极板"}] // let res = [{"value":"BFJB","text":"边负极板"},{"value":"FJB","text":"负极板"},{"value":"ZJB","text":"正极板"}]
return res // return res
} // }
// 根据物料获取库存数据 // 根据物料获取库存数据
// export const getInventoryMaterialInfo = (code) => request({ export const getInventoryMaterialInfo = (code) => request({
// url:'api/pda/getInventoryMaterialInfo', url:'api/pda/getInventoryMaterialInfo',
// data: { data: {
// material_code: code material_code: code
// } }
// }) })
export const getInventoryMaterialInfo = (code) => { // 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"}] // 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 // return res
} // }