diff --git a/erp_web/js/pages/materials/in_out.js b/erp_web/js/pages/materials/in_out.js
index d50b95cf..a7d5a4bd 100644
--- a/erp_web/js/pages/materials/in_out.js
+++ b/erp_web/js/pages/materials/in_out.js
@@ -455,8 +455,8 @@
options += "";
for(var i = 0 ;i < accountList.length;i++) {
var account = accountList[i];
- options += '';
- if(account.isDefault) {
+ options += '';
+ if(account.isdefault) {
defaultAccountId = account.id; //给账户赋值默认id
}
}