diff --git a/src/views/product/ProductList.vue b/src/views/product/ProductList.vue index dd87fb9..2d39abd 100644 --- a/src/views/product/ProductList.vue +++ b/src/views/product/ProductList.vue @@ -663,6 +663,9 @@ + + + @@ -1607,6 +1610,7 @@ const planForm = reactive({ args: '', extra_arg_ids: '', extra_arg_ids_array: [], + inventory: 0, index: 0, disable: false }) @@ -1962,6 +1966,7 @@ const handleAddPlan = async () => { args: '', extra_arg_ids: '', extra_arg_ids_array: [], + inventory: 0, index: 0, disable: false }) @@ -2002,6 +2007,7 @@ const handleEditPlan = async (row) => { args: data.args || '', extra_arg_ids: extraArgIdsArray.join(','), extra_arg_ids_array: extraArgIdsArray, + inventory: data.inventory || 0, index: data.index || 0, disable: data.disable || false }) @@ -2059,6 +2065,7 @@ const submitPlanForm = () => { note: planForm.note || '', args: planForm.args || '', extra_arg_ids: planForm.extra_arg_ids || '', + inventory: Number(planForm.inventory) || 0, index: Number(planForm.index) || 0 }