This commit is contained in:
weipengfei 2023-09-05 16:21:07 +08:00
parent 12ed6e90a4
commit 23d4dd0eb5
3 changed files with 62 additions and 22 deletions

View File

@ -318,7 +318,7 @@
<el-input <el-input
disabled disabled
v-model="formData.master_email" v-model="formData.master_email"
placeholder="请输入邮箱" placeholder="邮箱将由系统自动生成"
clearable clearable
:style="{ width: '100%' }" :style="{ width: '100%' }"
></el-input> ></el-input>
@ -1010,6 +1010,19 @@ function company_type_change(type: any) {
if (type != 16) { if (type != 16) {
partyDisabled.value = false; partyDisabled.value = false;
} }
//
if (type == 41) {
isArea.value = true;
isStreet.value = true;
isVillage.value = false;
isBrigade.value = false;
formData.village = "";
formData.brigade = "";
// partyDisabled.value = true;
// indexType.value = 30;
regionType.value = "street";
return true;
}
// //
if (type == 17) { if (type == 17) {
isArea.value = true; isArea.value = true;

View File

@ -420,7 +420,7 @@
<el-col :span="12"> <el-col :span="12">
<el-form-item label="企业代码" prop="company_name"> <el-form-item label="企业代码" prop="company_name">
<el-input <el-input
placeholder="请输入公司名称" placeholder="请输入企业代码"
clearable clearable
:value="auth_id.organization_code" :value="auth_id.organization_code"
readonly readonly
@ -431,7 +431,7 @@
<el-col :span="12"> <el-col :span="12">
<el-form-item label="主要联系人" prop="company_name"> <el-form-item label="主要联系人" prop="company_name">
<el-input <el-input
placeholder="请输入公司名称" placeholder="请输入主要联系人"
clearable clearable
:value="auth_id.master_name" :value="auth_id.master_name"
readonly readonly
@ -442,7 +442,7 @@
<el-col :span="12"> <el-col :span="12">
<el-form-item label="手机号码" prop="company_name"> <el-form-item label="手机号码" prop="company_name">
<el-input <el-input
placeholder="请输入公司名称" placeholder="请输入手机号码"
clearable clearable
:value="auth_id.master_phone" :value="auth_id.master_phone"
readonly readonly
@ -460,7 +460,9 @@
@click="handleAuthentication(auth_id.id)" @click="handleAuthentication(auth_id.id)"
>确认</el-button >确认</el-button
> >
<el-button type="warning" size="large" @click="sendMsg">修改</el-button> <el-button type="warning" size="large" @click="toEditCompany"
>修改</el-button
>
<el-button type="info" size="large" @click="offAuthPop">返回</el-button> <el-button type="info" size="large" @click="offAuthPop">返回</el-button>
</p> </p>
</el-dialog> </el-dialog>
@ -498,6 +500,7 @@ const customEvent = (e: any) => {
const userStore = useUserStore(); const userStore = useUserStore();
console.log(userStore.userInfo.company_id); console.log(userStore.userInfo.company_id);
const route = useRoute(); const route = useRoute();
const router = useRouter();
const company_type_show = ref(true); const company_type_show = ref(true);
// //
// //
@ -521,6 +524,15 @@ const authPop = ref(false);
const offAuthPop = () => { const offAuthPop = () => {
authPop.value = false; authPop.value = false;
}; };
const toEditCompany = () => {
router.push({
path: getRoutePath("company/add:edit"),
query: {
id: auth_id.value.id,
edit: true,
},
});
};
// //
const contractFormData = ref({ const contractFormData = ref({

View File

@ -114,6 +114,7 @@
</el-input> </el-input>
</el-form-item> </el-form-item>
<el-form-item label="一阶段金额"> <el-form-item label="一阶段金额">
<div style="width: 100%">
<el-input <el-input
v-model="formData.money" v-model="formData.money"
clearable clearable
@ -122,6 +123,13 @@
> >
<template #append></template> <template #append></template>
</el-input> </el-input>
<div
v-if="formData.type == 35"
style="color: #e6a23c; font-size: 12px"
>
提示 : 本任务的金额将会在任务完成后按阶段天数*阶段金额统一结算
</div>
</div>
</el-form-item> </el-form-item>
<el-form-item label="二阶段天数"> <el-form-item label="二阶段天数">
<el-input <el-input
@ -133,8 +141,8 @@
<template #append></template> <template #append></template>
</el-input> </el-input>
</el-form-item> </el-form-item>
<el-form-item label="二阶段金额"> <el-form-item label="二阶段金额">
<div style="width: 100%">
<el-input <el-input
v-model="formData.money_two" v-model="formData.money_two"
clearable clearable
@ -143,6 +151,13 @@
> >
<template #append></template> <template #append></template>
</el-input> </el-input>
<div
v-if="formData.type == 35"
style="color: #e6a23c; font-size: 12px"
>
提示 : 本任务的金额将会在任务完成后按阶段天数*阶段金额统一结算
</div>
</div>
</el-form-item> </el-form-item>
<el-form-item label="长期金额" v-if="+formData.types == 2"> <el-form-item label="长期金额" v-if="+formData.types == 2">
<el-input <el-input