Commit c22f9262 authored by 季圣华's avatar 季圣华
Browse files

解决商品编辑时条码偶尔不能修改的bug

parent 35e745a7
......@@ -1076,6 +1076,11 @@
$("#materialExtendData").datagrid('loadData',res.data);
if(type === "add") {
$("#materialDlg #append").click(); //新增行
} else if(type === "edit") {
if(res.data.rows.length>0){
editIndex = 0;
$('#materialExtendData').datagrid('selectRow', 0).datagrid('beginEdit', 0);
}
}
}
},
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment