feat: show option propertie (service)
This commit is contained in:
parent
9ce656ae45
commit
c240963512
5 changed files with 158 additions and 107 deletions
|
|
@ -5,10 +5,10 @@ import { moveItemUp, moveItemDown, deleteItem, dialog } from 'src/stores/utils';
|
|||
import NoData from 'src/components/NoData.vue';
|
||||
import WorkManagementComponent from './WorkManagementComponent.vue';
|
||||
|
||||
const { t } = useI18n();
|
||||
|
||||
import { WorkItems } from 'src/stores/product-service/types';
|
||||
|
||||
const { t } = useI18n();
|
||||
|
||||
const workItems = defineModel<WorkItems[]>('workItems', { default: [] });
|
||||
|
||||
defineProps<{
|
||||
|
|
@ -75,6 +75,7 @@ function confirmDelete(items: unknown[], index: number) {
|
|||
:readonly="readonly"
|
||||
v-model:work-name="workItems[index].name"
|
||||
v-model:product-items="work.product"
|
||||
v-model:attributes="work.attributes"
|
||||
@add-product="$emit('addProduct', index)"
|
||||
@move-work-up="moveItemUp(workItems, index)"
|
||||
@move-work-down="moveItemDown(workItems, index)"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue