客户 供应商审批按钮

This commit is contained in:
‘huanghaiixia’
2026-01-05 17:17:47 +08:00
parent 32b58d7c79
commit 93c0f9fc74
16 changed files with 595 additions and 174 deletions

View File

@ -211,15 +211,27 @@
}
function handleEdit(record: Recordable) {
router.push({
path: '/form/ContractPurPng/' + record.id + '/updateForm',
query: {
if (schemaIdComputedRef.value) {
router.push({
path: '/flow/' + schemaIdComputedRef.value + '/0/createFlow',
query: {
formPath: 'contract/ContractPurPng',
formName: formName,
formId:currentRoute.value.meta.formId
}
});
formId:currentRoute.value.meta.formId,
type:'edit',
id: record.id
}
});
} else {
router.push({
path: '/form/ContractPurPng/' + record.id + '/updateForm',
query: {
formPath: 'contract/ContractPurPng',
formName: formName,
formId:currentRoute.value.meta.formId
}
});
}
}
function handleDelete(record: Recordable) {
deleteList([record.id]);