|
@@ -547,10 +547,10 @@ export default {
|
|
|
} else if (type === "add") {
|
|
|
// 新增时设置默认值
|
|
|
this.form = {
|
|
|
- orgId: this.userInfo.orgId || 1,
|
|
|
- orgCode: this.userInfo.orgCode || 'ORG_0001',
|
|
|
- orgName: this.userInfo.orgName || '默认组织',
|
|
|
- visibleRoles: [2], // 默认经销商
|
|
|
+ orgId: this.userInfo.orgId || '',
|
|
|
+ orgCode: this.userInfo.orgCode || '',
|
|
|
+ orgName: this.userInfo.orgName || '',
|
|
|
+ visibleRoles: [], // 默认经销商
|
|
|
brandScope: {},
|
|
|
customerBlacklist: {},
|
|
|
remark: ''
|