优化采购订单和销售订单的账户加载逻辑
This commit is contained in:
parent
e04065736a
commit
0165f5610b
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user