fix: service => not display workflow when no properties

This commit is contained in:
puriphatt 2024-11-04 12:43:55 +07:00
parent 980bb86574
commit cf809b0b4f
5 changed files with 91 additions and 62 deletions

View file

@ -273,6 +273,7 @@ const formDataProductService = ref<ServiceCreate>({
showTotalPrice: false,
additional: [],
workflowId: '',
workflowName: '',
stepProperties: [],
},
detail: '',
@ -899,6 +900,7 @@ const prevService = ref<ServiceCreate>({
work: [],
attributes: {
showTotalPrice: false,
workflowName: '',
workflowId: '',
stepProperties: [],
additional: [],
@ -1057,6 +1059,7 @@ function clearFormService() {
name: '',
detail: '',
attributes: {
workflowName: '',
workflowId: '',
stepProperties: [],
additional: [],
@ -1285,6 +1288,7 @@ function triggerConfirmCloseWork() {
const tempValueProperties = ref<Attributes>({
showTotalPrice: false,
workflowName: '',
workflowId: '',
stepProperties: [],
additional: [],