|
|
@ -812,11 +812,13 @@ const openForm = async (type: string, row?: any) => { |
|
|
|
} |
|
|
|
tableData.value = [] // 重置明细数据 |
|
|
|
formRef.value.open(type, row) |
|
|
|
nextTick(() => { |
|
|
|
formRef.value.formRef.setValues({ |
|
|
|
procurementCreator:procurementCreators.value[0].id |
|
|
|
}) |
|
|
|
}) |
|
|
|
if(type=='create'){ |
|
|
|
nextTick(() => { |
|
|
|
formRef.value.formRef.setValues({ |
|
|
|
procurementCreator:procurementCreators.value[0].id |
|
|
|
}) |
|
|
|
}) |
|
|
|
} |
|
|
|
}) |
|
|
|
} |
|
|
|
const defaultSupplierCode = ref('') |
|
|
|