|
@@ -207,6 +207,12 @@
|
|
|
</template>
|
|
</template>
|
|
|
</el-input>
|
|
</el-input>
|
|
|
</el-form-item>
|
|
</el-form-item>
|
|
|
|
|
+ <el-form-item
|
|
|
|
|
+ label="发起人所属部门"
|
|
|
|
|
+ prop="createDeptName"
|
|
|
|
|
+ >
|
|
|
|
|
+ <el-input v-model="form.createDeptName" :disabled="true"></el-input>
|
|
|
|
|
+ </el-form-item>
|
|
|
</el-col>
|
|
</el-col>
|
|
|
</el-row>
|
|
</el-row>
|
|
|
<headerTitle title="基本信息" v-if="form.needProduce != 2"></headerTitle>
|
|
<headerTitle title="基本信息" v-if="form.needProduce != 2"></headerTitle>
|
|
@@ -574,6 +580,7 @@
|
|
|
import { parameterGetByCode } from '@/api/main/index.js';
|
|
import { parameterGetByCode } from '@/api/main/index.js';
|
|
|
import quotationList from '@/views/contractManage/contractBook/components/quotationList.vue';
|
|
import quotationList from '@/views/contractManage/contractBook/components/quotationList.vue';
|
|
|
import opportunityDialog from '@/views/financialManage/components/opportunityDialog.vue';
|
|
import opportunityDialog from '@/views/financialManage/components/opportunityDialog.vue';
|
|
|
|
|
+ import { mapGetters } from 'vuex';
|
|
|
export default {
|
|
export default {
|
|
|
mixins: [dictMixins],
|
|
mixins: [dictMixins],
|
|
|
components: {
|
|
components: {
|
|
@@ -650,7 +657,8 @@
|
|
|
relationType: '',
|
|
relationType: '',
|
|
|
relationName: '',
|
|
relationName: '',
|
|
|
relationCode: '',
|
|
relationCode: '',
|
|
|
- relationId: ''
|
|
|
|
|
|
|
+ relationId: '',
|
|
|
|
|
+ createDeptName: ''
|
|
|
};
|
|
};
|
|
|
|
|
|
|
|
return {
|
|
return {
|
|
@@ -729,7 +737,7 @@
|
|
|
};
|
|
};
|
|
|
},
|
|
},
|
|
|
computed: {
|
|
computed: {
|
|
|
-
|
|
|
|
|
|
|
+ ...mapGetters(['user']),
|
|
|
rules() {
|
|
rules() {
|
|
|
let isRequired = this.isRequired;
|
|
let isRequired = this.isRequired;
|
|
|
return {
|
|
return {
|
|
@@ -800,6 +808,7 @@
|
|
|
}
|
|
}
|
|
|
},
|
|
},
|
|
|
created() {
|
|
created() {
|
|
|
|
|
+ console.log('user', this.user.info)
|
|
|
this.changePersonel();
|
|
this.changePersonel();
|
|
|
this.getGroupAll();
|
|
this.getGroupAll();
|
|
|
this.getEnterprisePage();
|
|
this.getEnterprisePage();
|
|
@@ -1275,7 +1284,8 @@
|
|
|
saleTypeName,
|
|
saleTypeName,
|
|
|
relationType,
|
|
relationType,
|
|
|
orderFiles,
|
|
orderFiles,
|
|
|
- remark
|
|
|
|
|
|
|
+ remark,
|
|
|
|
|
+ createDeptName: this.user.info.groupName
|
|
|
});
|
|
});
|
|
|
this.projectData = {};
|
|
this.projectData = {};
|
|
|
|
|
|
|
@@ -1324,6 +1334,7 @@
|
|
|
if (this.contactData.id) {
|
|
if (this.contactData.id) {
|
|
|
this.changeParent({ id: this.contactData.id });
|
|
this.changeParent({ id: this.contactData.id });
|
|
|
}
|
|
}
|
|
|
|
|
+ this.form.createDeptName = this.user.info.groupName;
|
|
|
this.form.saleType = 1;
|
|
this.form.saleType = 1;
|
|
|
this.form.progress = 700;
|
|
this.form.progress = 700;
|
|
|
//嘉实默认值
|
|
//嘉实默认值
|