Browse Source

调整分页数量

master_hella_20240701
TengXF 7 months ago
parent
commit
e3321fe969
  1. 10
      src/views/mes/orderDay/components/schedule.vue

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

@ -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

Loading…
Cancel
Save