diff --git a/src/views/wms/instockOrderCopy/index.vue b/src/views/wms/instockOrderCopy/index.vue index 0ec9d10..9f2f0fb 100644 --- a/src/views/wms/instockOrderCopy/index.vue +++ b/src/views/wms/instockOrderCopy/index.vue @@ -830,8 +830,15 @@ const setMaterialList = (materialCategoryId) => { } // 添加子表格行 +// const addDialogTableCell = () => { +// dialogtable.value.push({}) +// } const addDialogTableCell = () => { - dialogtable.value.push({}) + dialogtable.value.push({ + _showQtyInput: true, // 确保新增行可以显示数量输入框 + instockQty: 0, // 初始化入库数量为0 + codeYesNo: '0' // 默认无条码 + }); } // 新增提交