Browse Source

2024-04-30 排产 代码优化 排产恢复状态错误问题修正

master_hella_20240701
zhousq 7 months ago
parent
commit
2ad8b8857b
  1. 6
      src/views/mes/orderDay/components/schedule.vue
  2. 2
      src/views/mes/workScheduling/index.vue

6
src/views/mes/orderDay/components/schedule.vue

@ -436,14 +436,14 @@ const getConfigProcessEquipment= async (code:any) => {
equipmentData.value = await orderDayconfigApi.getConfigProcessEquipment(queryParams)
}
const nodeClick = (e, x, y, node, view) => {
console.log(node.id)
//console.log(node.id)
getProcessBom(node.id)
getConfigProcessWorkstation(node.id)
getConfigProcessWorker(node.id)
getConfigProcessEquipment(node.id)
processCode.value = node.id
currentNode.value.id=node.id
console.log(node)
//console.log(node)
currentNode.value.name=node.attrs.title.text
}
@ -686,7 +686,7 @@ const opensearchTableEquipment = async (
/*设备保存接口*/
const saveEquipment = async () =>{
await orderDayconfigApi.saveEquipment(equipmentData.value)
console.log(equipmentData.value)
//console.log(equipmentData.value)
message.success("设备配置成功!")
}

2
src/views/mes/workScheduling/index.vue

@ -184,7 +184,7 @@ const buttonTableClick = async (val, row) => {
}else if (val == 'pause') { //
changeBillStatus(row,"3")
}else if (val == 'resume') { //
changeBillStatus(row,"0")
changeBillStatus(row,"1")
}
}

Loading…
Cancel
Save