This commit is contained in:
weiz 2024-01-20 14:27:24 +08:00
parent 2f27d2fcec
commit 0d768598a7

View File

@ -2,14 +2,6 @@
<div class="edit-popup">
<popup ref="popupRef" :title="popupTitle" :async="true" width="80%" @confirm="handleSubmit" @close="handleClose">
<el-form ref="formRef" :model="formData" label-width="auto" :rules="formRules">
<div style="display: flex; flex-direction: row-reverse; justify-content: flex-start;margin-bottom: 30px;">
<el-select class="w-[180px]" v-model="formData.dept_id" clearable placeholder="请选择部门">
<el-option v-for="(item, index) in list2" :key="index" :label="item.name" :value="item.id" />
</el-select>
<el-select class="w-[180px]" v-model="formData.org_id" clearable placeholder="请选择组织" @change="deptrmt">
<el-option v-for="(item, index) in list1" :key="index" :label="item.name" :value="item.id" />
</el-select>
</div>
<el-row :gutter="10">
<el-col :span="12">
<el-form-item label="项目名称" prop="project_id" @click="showDialog = true">
@ -264,8 +256,6 @@ const getlist1 = (id: any) => {
//
const formData = reactive({
id: '',
dept_id: '',
org_id: '',
project_id: '',
contacts: '',
custom_master_name: "",