更新镇公司与镇公司签约
This commit is contained in:
parent
109f78d122
commit
8e31016ad0
@ -11,12 +11,26 @@
|
|||||||
/>
|
/>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="公司类型" prop="company_type">
|
<el-form-item label="公司类型" prop="company_type">
|
||||||
<el-input
|
<el-select
|
||||||
|
v-model="queryParams.company_type"
|
||||||
|
placeholder="公司类型"
|
||||||
|
clearable
|
||||||
|
@change="getLists"
|
||||||
|
:style="{ width: '100%' }"
|
||||||
|
>
|
||||||
|
<el-option
|
||||||
|
v-for="(item, index) in typeList"
|
||||||
|
:key="index"
|
||||||
|
:label="item.name"
|
||||||
|
:value="item.id"
|
||||||
|
></el-option>
|
||||||
|
</el-select>
|
||||||
|
<!-- <el-input
|
||||||
class="w-[280px]"
|
class="w-[280px]"
|
||||||
v-model="queryParams.company_type"
|
v-model="queryParams.company_type"
|
||||||
clearable
|
clearable
|
||||||
placeholder="请输入公司类型"
|
placeholder="请输入公司类型"
|
||||||
/>
|
/> -->
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item>
|
<el-form-item>
|
||||||
<el-button type="primary" @click="resetPage">查询</el-button>
|
<el-button type="primary" @click="resetPage">查询</el-button>
|
||||||
@ -54,6 +68,16 @@ const props = defineProps({
|
|||||||
type: Number,
|
type: Number,
|
||||||
default: 0,
|
default: 0,
|
||||||
},
|
},
|
||||||
|
companyTypeList: {
|
||||||
|
type: Array,
|
||||||
|
default: () => {
|
||||||
|
return [];
|
||||||
|
},
|
||||||
|
},
|
||||||
|
});
|
||||||
|
|
||||||
|
const typeList = props.companyTypeList.filter((item: any) => {
|
||||||
|
return item.id == 30 || item.id == 16;
|
||||||
});
|
});
|
||||||
|
|
||||||
// 查询条件
|
// 查询条件
|
||||||
|
@ -275,14 +275,14 @@
|
|||||||
<el-row>
|
<el-row>
|
||||||
<el-col :span="12">
|
<el-col :span="12">
|
||||||
<el-form-item label-width="100px" label="甲方" prop="field130">
|
<el-form-item label-width="100px" label="甲方" prop="field130">
|
||||||
<!-- <el-input
|
<el-input
|
||||||
v-model="contractFormData.party_a_name"
|
v-model="contractFormData.party_a_name"
|
||||||
placeholder="请选择甲方"
|
placeholder="请选择甲方"
|
||||||
@click="showCompany = true"
|
@click="showCompany = true"
|
||||||
clearable
|
clearable
|
||||||
:style="{ width: '100%' }"
|
:style="{ width: '100%' }"
|
||||||
></el-input> -->
|
></el-input>
|
||||||
<el-select
|
<!-- <el-select
|
||||||
v-model="contractFormData.party_a"
|
v-model="contractFormData.party_a"
|
||||||
placeholder="请选择甲方"
|
placeholder="请选择甲方"
|
||||||
clearable
|
clearable
|
||||||
@ -294,7 +294,7 @@
|
|||||||
:label="item.company_name"
|
:label="item.company_name"
|
||||||
:value="item.id"
|
:value="item.id"
|
||||||
></el-option>
|
></el-option>
|
||||||
</el-select>
|
</el-select> -->
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
<el-col :span="12">
|
<el-col :span="12">
|
||||||
@ -356,8 +356,14 @@
|
|||||||
>返回</el-button
|
>返回</el-button
|
||||||
>
|
>
|
||||||
</p>
|
</p>
|
||||||
|
<el-dialog v-model="showCompany">
|
||||||
|
<DialogIndex
|
||||||
|
:companyTypeList="datas.dictTypeLists"
|
||||||
|
:type="30"
|
||||||
|
@customEvent="customEvent"
|
||||||
|
></DialogIndex>
|
||||||
|
</el-dialog>
|
||||||
</el-dialog>
|
</el-dialog>
|
||||||
<DialogIndex v-if="showCompany"></DialogIndex>
|
|
||||||
<el-dialog v-model="showPop" @close="offPop">
|
<el-dialog v-model="showPop" @close="offPop">
|
||||||
<h1>重要提醒</h1>
|
<h1>重要提醒</h1>
|
||||||
<div class="content" v-if="showConctactPop">
|
<div class="content" v-if="showConctactPop">
|
||||||
@ -405,6 +411,11 @@ import { dictContractTypeList } from "@/utils/dict.ts";
|
|||||||
import DialogIndex from "./dialog_index.vue";
|
import DialogIndex from "./dialog_index.vue";
|
||||||
|
|
||||||
const showCompany = ref(false);
|
const showCompany = ref(false);
|
||||||
|
const customEvent = (e: any) => {
|
||||||
|
contractFormData.value.party_a = e.id;
|
||||||
|
contractFormData.value.party_a_name = e.company_name;
|
||||||
|
showCompany.value = false;
|
||||||
|
};
|
||||||
|
|
||||||
const userStore = useUserStore();
|
const userStore = useUserStore();
|
||||||
console.log(userStore.userInfo.company_id);
|
console.log(userStore.userInfo.company_id);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user