diff --git a/src/views/customerManagement/customerInformation/customerInformation.vue b/src/views/customerManagement/customerInformation/customerInformation.vue index 0065c38..cb9bb9f 100644 --- a/src/views/customerManagement/customerInformation/customerInformation.vue +++ b/src/views/customerManagement/customerInformation/customerInformation.vue @@ -202,7 +202,9 @@ export default { mobile: '', name: '', remindStartDay: '', - remindEndtDay: '' + remindEndtDay: '', + useOrgSid: '', + createOrgSid: '' }, total: 0 } @@ -287,6 +289,8 @@ export default { // 查询列表信息 getList() { this.listLoading = true + this.listQuery.params.useOrgSid = window.sessionStorage.getItem('defaultDeptSid') + this.listQuery.params.createOrgSid = window.sessionStorage.getItem('orgSid') req.listPage(this.listQuery).then((response) => { this.listLoading = false if (response.success) { @@ -314,7 +318,9 @@ export default { mobile: '', name: '', remindStartDay: '', - remindEndtDay: '' + remindEndtDay: '', + useOrgSid: '', + createOrgSid: '' }, total: 0 } diff --git a/src/views/customerManagement/customerInformation/customerInformationAdd.vue b/src/views/customerManagement/customerInformation/customerInformationAdd.vue index bfb8103..837e4f6 100644 --- a/src/views/customerManagement/customerInformation/customerInformationAdd.vue +++ b/src/views/customerManagement/customerInformation/customerInformationAdd.vue @@ -285,8 +285,10 @@ export default { sourceKey: '', // 客户来源key staffSid: '', // 业务员sid taxpayerNo: '', // 身份证号 - useOrgName: '', // 分公司名称 - useOrgSid: '', // 分公司sid + useOrgName: '', // 部门名称 + useOrgSid: '', // 部门sid + createOrgName: '', // 单位名称 + createOrgSid: '', // 单位sid userSid: '', // 当前登录用户的sid visitWay: '', // 见面方式(到店/电话/拜访) visitWayKey: '', // 见面方式key @@ -342,7 +344,10 @@ export default { this.temp.visitWayKey = customerTypeList.visitWayKey this.temp.userSid = window.sessionStorage.getItem('userSid') this.temp.staffSid = '' - this.temp.orgSid = window.sessionStorage.getItem('orgSid') + this.temp.createOrgSid = window.sessionStorage.getItem('orgSid') + this.temp.createOrgName = window.sessionStorage.getItem('orgName') + this.temp.useOrgSid = window.sessionStorage.getItem('defaultDeptSid') + this.temp.useOrgName = window.sessionStorage.getItem('defaultDeptName') this.$refs['dataForm'].clearValidate() if (this.temp.customerType !== '') { if (this.temp.customerType === '个人') { @@ -496,8 +501,10 @@ export default { sourceKey: '', // 客户来源key staffSid: '', // 业务员sid taxpayerNo: '', // 身份证号 - useOrgName: '', // 分公司名称 - useOrgSid: '', // 分公司sid + useOrgName: '', // 部门名称 + useOrgSid: '', // 部门sid + createOrgName: '', // 单位名称 + createOrgSid: '', // 单位sid userSid: '', // 当前登录用户的sid visitWay: '', // 见面方式(到店/电话/拜访) visitWayKey: '', // 见面方式key