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

This commit is contained in:
季圣华 2022-10-31 22:48:04 +08:00
parent e04065736a
commit 0165f5610b
2 changed files with 2 additions and 2 deletions

View File

@ -298,7 +298,7 @@
this.materialTable.columns[0].type = FormTypes.normal
}
this.model.operTime = this.model.operTimeStr
if(this.model.accountId == null) {
if(this.model.accountId == null && this.model.accountIdList) {
this.model.accountId = 0
this.manyAccountBtnStatus = true
this.accountIdList = this.model.accountIdList

View File

@ -280,7 +280,7 @@
})
} else {
this.model.operTime = this.model.operTimeStr
if(this.model.accountId == null) {
if(this.model.accountId == null && this.model.accountIdList) {
this.model.accountId = 0
this.manyAccountBtnStatus = true
this.accountIdList = this.model.accountIdList