diff --git a/erp_web/js/pages/materials/in_out.js b/erp_web/js/pages/materials/in_out.js index a62dd10b..8472402e 100644 --- a/erp_web/js/pages/materials/in_out.js +++ b/erp_web/js/pages/materials/in_out.js @@ -1093,7 +1093,7 @@ //订单转采购或销售 function skipDepotHead(index){ var res = $("#tableData").datagrid("getRows")[index]; - if(status == "0" || status == "2") { + if(res.status == "0" || res.status == "2") { $.messager.alert('提示','未审核和已转的单据禁止操作!','warning'); } else { sessionStorage.setItem("rowInfo", JSON.stringify(res)); //将单据信息存入缓存中 diff --git a/erp_web/pages/materials/allocation_out_list.html b/erp_web/pages/materials/allocation_out_list.html index 755fd9a9..51ccd28e 100644 --- a/erp_web/pages/materials/allocation_out_list.html +++ b/erp_web/pages/materials/allocation_out_list.html @@ -57,7 +57,7 @@