From e96e9c4a7e572f19895d0106e902f6b0109af2dd Mon Sep 17 00:00:00 2001 From: 2256907009 <2256907009@qq.com> Date: Wed, 4 Feb 2026 10:49:24 +0800 Subject: [PATCH] =?UTF-8?q?feate:=E7=BC=96=E8=BE=91=E5=A5=97=E9=A4=90?= =?UTF-8?q?=E6=B7=BB=E5=8A=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/product/ProductList.vue | 7 +++++++ 1 file changed, 7 insertions(+) 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 }