Commit 0165f561 authored by 季圣华's avatar 季圣华
Browse files

优化采购订单和销售订单的账户加载逻辑

parent e0406573
...@@ -298,7 +298,7 @@ ...@@ -298,7 +298,7 @@
this.materialTable.columns[0].type = FormTypes.normal this.materialTable.columns[0].type = FormTypes.normal
} }
this.model.operTime = this.model.operTimeStr this.model.operTime = this.model.operTimeStr
if(this.model.accountId == null) { if(this.model.accountId == null && this.model.accountIdList) {
this.model.accountId = 0 this.model.accountId = 0
this.manyAccountBtnStatus = true this.manyAccountBtnStatus = true
this.accountIdList = this.model.accountIdList this.accountIdList = this.model.accountIdList
......
...@@ -280,7 +280,7 @@ ...@@ -280,7 +280,7 @@
}) })
} else { } else {
this.model.operTime = this.model.operTimeStr this.model.operTime = this.model.operTimeStr
if(this.model.accountId == null) { if(this.model.accountId == null && this.model.accountIdList) {
this.model.accountId = 0 this.model.accountId = 0
this.manyAccountBtnStatus = true this.manyAccountBtnStatus = true
this.accountIdList = this.model.accountIdList this.accountIdList = this.model.accountIdList
......
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