更新
This commit is contained in:
parent
39f6609b22
commit
3045a0a554
src/views
File diff suppressed because it is too large
Load Diff
@ -109,10 +109,15 @@
|
||||
<img :src="compenyimg.business_licenseB" />
|
||||
</div>
|
||||
</el-form-item>
|
||||
<el-form-item label="其他资质" prop="contract_no" required>
|
||||
<el-form-item
|
||||
v-if="compenyimg.other_qualifications?.length > 0"
|
||||
label="其他资质"
|
||||
prop="contract_no"
|
||||
required
|
||||
>
|
||||
<div
|
||||
class="company other"
|
||||
v-for="(v, i) in compenyimg.bank_account"
|
||||
v-for="(v, i) in compenyimg.other_qualifications"
|
||||
:key="i"
|
||||
>
|
||||
<img :src="v" />
|
||||
@ -224,7 +229,13 @@
|
||||
<img :src="compenyBimg.business_licenseB" />
|
||||
</div>
|
||||
</el-form-item>
|
||||
<el-form-item class="other" label="其他资质" prop="contract_no" required>
|
||||
<el-form-item
|
||||
v-if="compenyBimg.other_qualifications?.length > 0"
|
||||
class="other"
|
||||
label="其他资质"
|
||||
prop="contract_no"
|
||||
required
|
||||
>
|
||||
<div
|
||||
class="company"
|
||||
v-for="(v, i) in compenyBimg.other_qualifications"
|
||||
|
@ -109,7 +109,7 @@
|
||||
v-if="formData.type == 32"
|
||||
label="起点"
|
||||
@click="changeMap(0)"
|
||||
prop="origin"
|
||||
prop="extend.origin.address"
|
||||
>
|
||||
<el-input
|
||||
placeholder="请选择起点"
|
||||
@ -121,7 +121,7 @@
|
||||
v-if="formData.type == 32"
|
||||
label="中转点"
|
||||
@click="changeMap(1)"
|
||||
prop="transfer"
|
||||
prop="extend.transfer.address"
|
||||
>
|
||||
<el-input
|
||||
placeholder="请选择中转点"
|
||||
@ -133,7 +133,7 @@
|
||||
v-if="formData.type == 32"
|
||||
label="终点"
|
||||
@click="changeMap(2)"
|
||||
prop="terminus"
|
||||
prop="extend.terminus.address"
|
||||
>
|
||||
<el-input
|
||||
placeholder="请选择终点"
|
||||
@ -211,9 +211,18 @@ const formData = reactive({
|
||||
money_three: 0, // 长期金额
|
||||
types: "", //阶段类型
|
||||
extend: {
|
||||
origin: {}, //起点
|
||||
transfer: {}, //中转
|
||||
terminus: {}, //终点
|
||||
origin: {
|
||||
address: "",
|
||||
lnglat: [],
|
||||
}, //起点
|
||||
transfer: {
|
||||
address: "",
|
||||
lnglat: [],
|
||||
}, //中转
|
||||
terminus: {
|
||||
address: "",
|
||||
lnglat: [],
|
||||
}, //终点
|
||||
},
|
||||
});
|
||||
if (route.query.id) {
|
||||
@ -261,21 +270,21 @@ const formRules = reactive<any>({
|
||||
trigger: ["blur"],
|
||||
},
|
||||
],
|
||||
origin: [
|
||||
{
|
||||
required: true,
|
||||
message: "请选择起点",
|
||||
trigger: ["blur"],
|
||||
},
|
||||
],
|
||||
transfer: [
|
||||
"extend.origin.address": [
|
||||
{
|
||||
required: true,
|
||||
message: "请选择中转点",
|
||||
trigger: ["blur"],
|
||||
},
|
||||
],
|
||||
terminus: [
|
||||
"extend.transfer.address": [
|
||||
{
|
||||
required: true,
|
||||
message: "请选择中转点",
|
||||
trigger: ["blur"],
|
||||
},
|
||||
],
|
||||
"extend.terminus.address": [
|
||||
{
|
||||
required: true,
|
||||
message: "请选择终点",
|
||||
|
Loading…
x
Reference in New Issue
Block a user