|
|
@ -74,6 +74,7 @@ |
|
|
|
:apiDelete="InventoryinitRequestDetailApi.deleteInventoryinitRequestDetail" |
|
|
|
:Echo="Echo" |
|
|
|
@searchTableSuccessDetail="searchTableSuccessDetail" |
|
|
|
@handleMainFefresh="getList()" |
|
|
|
/> |
|
|
|
|
|
|
|
<!-- 导入 --> |
|
|
@ -385,9 +386,13 @@ const handleRefused = async (id: number) => { |
|
|
|
|
|
|
|
/** 添加/修改操作 */ |
|
|
|
const formRef = ref() |
|
|
|
const openForm =async (type: string, row?: number) => { |
|
|
|
const openForm =async (type: string, row?: any) => { |
|
|
|
tableData.value = [] // 重置明细数据 |
|
|
|
formRef.value.open(type, row) |
|
|
|
const row1 = {...row} |
|
|
|
if (type == 'update') { |
|
|
|
row1.remark = row.remark1 |
|
|
|
} |
|
|
|
formRef.value.open(type, row1) |
|
|
|
} |
|
|
|
|
|
|
|
// 获取部门 用于详情 部门回显 |
|
|
|