|
|
@ -280,7 +280,7 @@ const showMaterialsData=ref() //物料信息分页展示 |
|
|
|
const page=ref({ |
|
|
|
total:0, |
|
|
|
current:1, |
|
|
|
size:5 |
|
|
|
size:7 |
|
|
|
}) |
|
|
|
/*班组数据*/ |
|
|
|
const teamData = ref([]) |
|
|
@ -412,8 +412,8 @@ const getProcessroute = async () => { |
|
|
|
currentNode.value = graphJson.value.cells[0] |
|
|
|
// 手动触发点击事件 |
|
|
|
nodeClick('','','',currentNode.value,'') |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
//获取配置的工序信息 |
|
|
|
const getConfigProcessRouteNode= async () => { |
|
|
@ -714,14 +714,14 @@ const handleCurrentChangeM=(value: number)=>{ |
|
|
|
let index=(value-1)*page.value.size |
|
|
|
page.value.current=value |
|
|
|
showMaterialsData.value=materialsData.value.slice(index,index+page.value.size) |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
const handlePrevClickM=(value: number)=>{ |
|
|
|
page.value.current=value-1 |
|
|
|
if(page.value.current==0) { |
|
|
|
page.value.current=1 |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
const handleNextClickM=(value: number)=>{ |
|
|
|
page.value.current=value+1 |
|
|
|