|
|
|
@ -140,7 +140,7 @@ |
|
|
|
<!-- 按钮区域 --> |
|
|
|
<div style="margin-left: 10px; margin-top: 5%" width="150px"> |
|
|
|
<div class="btnList"> |
|
|
|
<el-button type="primary" @click="add">新增</el-button> |
|
|
|
<el-button type="primary" @click="add('')">新增</el-button> |
|
|
|
</div> |
|
|
|
<div class="btnList"> |
|
|
|
<el-button type="primary" @click="add('child')">新增子单位</el-button> |
|
|
|
@ -311,7 +311,7 @@ export default { |
|
|
|
} |
|
|
|
this.customerOrg.customerOrgRd = { id: "", isLock: "N", isActive: "Y" ,parentId:this.customerOrg.customerOrgId}; |
|
|
|
}else{ |
|
|
|
this.customerOrg.customerOrgRd = { id: "", isLock: "N", isActive: "Y" }; |
|
|
|
this.customerOrg.customerOrgRd = { id: "", isLock: "N", isActive: "Y",parentId:null }; |
|
|
|
} |
|
|
|
|
|
|
|
this.customerOrg.customerOrgId = ""; |
|
|
|
|