|
|
@ -187,6 +187,9 @@ const searchTableSuccess = (formField, searchField, val, formRef, type, row) => |
|
|
|
if (item.field == 'remark') { |
|
|
|
item.tableForm.disabled = false |
|
|
|
} |
|
|
|
if (item.field == 'qty') { |
|
|
|
item.tableForm.disabled = false |
|
|
|
} |
|
|
|
if (item.field == 'reason') { |
|
|
|
item.tableForm.disabled = false |
|
|
|
} |
|
|
@ -330,6 +333,7 @@ const buttonTableClick = async (val, row) => { |
|
|
|
const formRef = ref() |
|
|
|
const openForm = async (type: string, row?: number) => { |
|
|
|
tableData.value = [] // 重置明细数据 |
|
|
|
isShowButton.value = true |
|
|
|
formRef.value.open(type, row) |
|
|
|
} |
|
|
|
|
|
|
|