diff --git a/src/pages/Item/ItemFixedPrice.vue b/src/pages/Item/ItemFixedPrice.vue index 1d7a30dee..d91b5189e 100644 --- a/src/pages/Item/ItemFixedPrice.vue +++ b/src/pages/Item/ItemFixedPrice.vue @@ -212,15 +212,6 @@ const editTableFieldsOptions = [ type: 'number', }, }, - { - field: 'hasMinPrice', - label: t('item.fixedPrice.hasMinPrice'), - component: 'checkbox', - attrs: { - 'false-value': 0, - 'true-value': 1, - }, - }, { field: 'started', label: t('item.fixedPrice.started'), @@ -286,8 +277,7 @@ async function upsertFixedPrice(row) { async function saveOnRowChange(row) { if (rowsSelected.value.length > 1) return; if (rowsSelected.value[0]?.id === row.id) return; - else if (rowsSelected.value.length === 1) - await upsertFixedPrice(rowsSelected.value[0]); + else if (rowsSelected.value.length === 1) await upsertPrice(rowsSelected.value[0]); rowsSelected.value = [row]; } @@ -457,6 +447,12 @@ function handleOnDataSave({ CrudModelRef }) {