forked from angelo/web-retail-admin
## Opt - 取消分公司区域验证
This commit is contained in:
parent
04a5f057c2
commit
a6ac96279d
|
|
@ -597,14 +597,14 @@ export default {
|
||||||
if (this.multipleSelection.length > 0) {
|
if (this.multipleSelection.length > 0) {
|
||||||
const settlementGrade = this.handleBusinessList.find(item => item.editTypeKey == 'change_settlement_grade')
|
const settlementGrade = this.handleBusinessList.find(item => item.editTypeKey == 'change_settlement_grade')
|
||||||
if (settlementGrade.businessValueList?.[0] == 155) {
|
if (settlementGrade.businessValueList?.[0] == 155) {
|
||||||
const needSelection = this.multipleSelection.filter(item => !item.areaId)
|
// const needSelection = this.multipleSelection.filter(item => !item.areaId)
|
||||||
if (needSelection.length > 0) {
|
// if (needSelection.length > 0) {
|
||||||
this.$message({
|
// this.$message({
|
||||||
message: '请选择分公司所属省份',
|
// message: '请选择分公司所属省份',
|
||||||
type: 'warning'
|
// type: 'warning'
|
||||||
})
|
// })
|
||||||
return
|
// return
|
||||||
}
|
// }
|
||||||
} else {
|
} else {
|
||||||
this.multipleSelection.forEach(item => {
|
this.multipleSelection.forEach(item => {
|
||||||
item.areaId = ''
|
item.areaId = ''
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue