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