Browse Source

单体出厂检验

master
wangyufei 1 month ago
parent
commit
5a9294da5e
  1. 8
      src/views/battery/monomer/index.vue

8
src/views/battery/monomer/index.vue

@ -317,7 +317,13 @@ const buttonTableClick = async (val, row) => {
const basicFormRef = ref()
const openForm = (type: string, row?: any) => {
if(tableObject.tableList.length>0){
row = tableObject.tableList[0]
if(isStatic.value){
//
row = tableObject.tableList.find(item=>item.type == 'static')
}else{
//
row = tableObject.tableList.find(item=>item.type == 'moving')
}
}
basicFormRef.value.open(type, row)
}

Loading…
Cancel
Save