Browse Source

修改bug

master_hella_20240701
zhaoyiran 8 months ago
parent
commit
8c8e636c64
  1. 9
      src/views/qms/basicDataManage/selectedSet/index.vue

9
src/views/qms/basicDataManage/selectedSet/index.vue

@ -177,7 +177,7 @@ const butttondata = [
// -
const buttonTableClick = async (val, row) => {
if (val == 'edit') { //
openForm('update', row)
editForm('update', row)
} else if (val == 'delete') { //
handleDelete(row.id)
}
@ -189,6 +189,13 @@ const openForm = (type: string, row?: any) => {
tableData.value = []
basicFormRef.value.open(type, row)
}
const editForm = async (type: string, row?: any) => {
tableData.value = []
SelectedProjectApi.getSelectedProjectNoPage({masterId:row.id}).then(res=>{
tableData.value = res
})
basicFormRef.value.open(type, row)
}
// form
const formsSuccess = async (formType,data) => {

Loading…
Cancel
Save