|
@@ -374,6 +374,10 @@
|
|
|
<div v-if="user.userNameNeedTranslate == '1'"><TranslationOpenDataText type='departmentName' :openid='depForm.name'></TranslationOpenDataText></div>
|
|
|
</el-form-item>
|
|
|
|
|
|
+ <el-form-item label="部门编码" prop="deptCode">
|
|
|
+ <el-input v-model.trim="depForm.deptCode" :placeholder="$t('peaseenterthe')" clearable style="width: 100%"></el-input>
|
|
|
+ </el-form-item>
|
|
|
+
|
|
|
<!-- 主要负责人 -->
|
|
|
<el-form-item :label="$t('Principalpersoninharge')" prop="managerId">
|
|
|
<el-select v-model="depForm.managerId" filterable v-if="user.userNameNeedTranslate != '1'" clearable :placeholder="$t('defaultText.pleaseChoose')" style="width: 100%">
|
|
@@ -3355,6 +3359,7 @@ export default {
|
|
|
managerId: that.depData.managerId,
|
|
|
reportAuditUserid: that.depData.reportAuditUserid,
|
|
|
pushToSap:that.depData.pushToSap,
|
|
|
+ deptCode: that.depData.deptCode,
|
|
|
isEnableMulti: 0
|
|
|
}
|
|
|
if(that.depData.otherManagerIds) {
|
|
@@ -3419,6 +3424,9 @@ export default {
|
|
|
if (this.user.timeType.type == 2 && this.user.timeType.multiWorktime == 1) {
|
|
|
form.isEnableMulti = this.depForm.isEnableMulti;
|
|
|
}
|
|
|
+ if(this.depForm.deptCode) {
|
|
|
+ form.deptCode = this.depForm.deptCode;
|
|
|
+ }
|
|
|
this.http.post(
|
|
|
this.depForm.id == null
|
|
|
? this.port.manage.add
|