|
@@ -123,13 +123,180 @@
|
|
|
width="55%"
|
|
width="55%"
|
|
|
:before-close="handleClose"
|
|
:before-close="handleClose"
|
|
|
>
|
|
>
|
|
|
- <el-form ref="form" :model="formDataList" label-width="130px">
|
|
|
|
|
|
|
+ <el-form
|
|
|
|
|
+ ref="form"
|
|
|
|
|
+ :model="formDataList"
|
|
|
|
|
+ label-width="130px"
|
|
|
|
|
+ :rules="rulesAdd"
|
|
|
|
|
+ >
|
|
|
<el-row>
|
|
<el-row>
|
|
|
|
|
+ <el-col :span="8">
|
|
|
|
|
+ <el-form-item label="签单日期" prop="signDate">
|
|
|
|
|
+ <el-date-picker
|
|
|
|
|
+ v-model="formDataList.signDate"
|
|
|
|
|
+ type="date"
|
|
|
|
|
+ placeholder="选择日期"
|
|
|
|
|
+ size="small"
|
|
|
|
|
+ value-format="yyyy-MM-dd"
|
|
|
|
|
+ >
|
|
|
|
|
+ </el-date-picker>
|
|
|
|
|
+ </el-form-item>
|
|
|
|
|
+ </el-col>
|
|
|
|
|
+ <el-col :span="8">
|
|
|
|
|
+ <el-form-item label="车牌号" prop="licenseno">
|
|
|
|
|
+ <el-input
|
|
|
|
|
+ v-model="formDataList.licenseno"
|
|
|
|
|
+ class="inputType"
|
|
|
|
|
+ size="small"
|
|
|
|
|
+ ></el-input>
|
|
|
|
|
+ </el-form-item>
|
|
|
|
|
+ </el-col>
|
|
|
|
|
+ <el-col :span="8">
|
|
|
|
|
+ <el-form-item label="被保险人">
|
|
|
|
|
+ <el-input
|
|
|
|
|
+ v-model="formDataList.insuredName"
|
|
|
|
|
+ class="inputType"
|
|
|
|
|
+ size="small"
|
|
|
|
|
+ ></el-input>
|
|
|
|
|
+ </el-form-item>
|
|
|
|
|
+ </el-col>
|
|
|
|
|
+ <el-col :span="8">
|
|
|
|
|
+ <el-form-item label="险种">
|
|
|
|
|
+ <el-select
|
|
|
|
|
+ v-model="formDataList.riskcode"
|
|
|
|
|
+ placeholder="选择险种"
|
|
|
|
|
+ size="small"
|
|
|
|
|
+ >
|
|
|
|
|
+ <el-option
|
|
|
|
|
+ v-for="item in riskcodeList"
|
|
|
|
|
+ :key="item.dictValue"
|
|
|
|
|
+ :label="item.dictTag"
|
|
|
|
|
+ :value="item.dictTag"
|
|
|
|
|
+ ></el-option>
|
|
|
|
|
+ </el-select>
|
|
|
|
|
+ </el-form-item>
|
|
|
|
|
+ </el-col>
|
|
|
|
|
+ <el-col :span="8">
|
|
|
|
|
+ <el-form-item label="保司机构">
|
|
|
|
|
+ <el-cascader
|
|
|
|
|
+ ref="partnerCompaniesCascader"
|
|
|
|
|
+ @change="partnerCompaniesFun"
|
|
|
|
|
+ v-model="formDataList.partnerCompaniesId"
|
|
|
|
|
+ size="small"
|
|
|
|
|
+ :show-all-levels="false"
|
|
|
|
|
+ ize="small"
|
|
|
|
|
+ :options="ztreeNodes"
|
|
|
|
|
+ :props="optionProps"
|
|
|
|
|
+ clearable
|
|
|
|
|
+ filterable
|
|
|
|
|
+ ></el-cascader>
|
|
|
|
|
+ </el-form-item>
|
|
|
|
|
+ </el-col>
|
|
|
|
|
+ <el-col :span="8">
|
|
|
|
|
+ <el-form-item label="保险公司" prop="companyId">
|
|
|
|
|
+ <el-select
|
|
|
|
|
+ v-model="formDataList.companyId"
|
|
|
|
|
+ placeholder="选择保险公司"
|
|
|
|
|
+ size="small"
|
|
|
|
|
+ filterable
|
|
|
|
|
+ >
|
|
|
|
|
+ <el-option
|
|
|
|
|
+ v-for="(item, index) in InsCompanyList"
|
|
|
|
|
+ :key="index"
|
|
|
|
|
+ :label="item.name"
|
|
|
|
|
+ :value="item.id"
|
|
|
|
|
+ ></el-option>
|
|
|
|
|
+ </el-select>
|
|
|
|
|
+ </el-form-item>
|
|
|
|
|
+ </el-col>
|
|
|
|
|
+
|
|
|
|
|
+ <el-col :span="8">
|
|
|
|
|
+ <el-form-item label="协议选择">
|
|
|
|
|
+ <el-select
|
|
|
|
|
+ size="small"
|
|
|
|
|
+ v-model="formDataList.agreementId"
|
|
|
|
|
+ placeholder="请选择协议类型"
|
|
|
|
|
+ style="width: 100%"
|
|
|
|
|
+ filterable
|
|
|
|
|
+ >
|
|
|
|
|
+ <el-option
|
|
|
|
|
+ v-for="item in agreementTypeoptions"
|
|
|
|
|
+ :key="item.dictValue"
|
|
|
|
|
+ :label="item.agreementName"
|
|
|
|
|
+ :value="item.id"
|
|
|
|
|
+ ></el-option>
|
|
|
|
|
+ </el-select>
|
|
|
|
|
+ </el-form-item>
|
|
|
|
|
+ </el-col>
|
|
|
|
|
+ <el-col :span="8">
|
|
|
|
|
+ <el-form-item label="交强保单号" prop="policyno">
|
|
|
|
|
+ <el-input
|
|
|
|
|
+ v-model="formDataList.policyno"
|
|
|
|
|
+ class="inputType"
|
|
|
|
|
+ size="small"
|
|
|
|
|
+ ></el-input>
|
|
|
|
|
+ </el-form-item>
|
|
|
|
|
+ </el-col>
|
|
|
|
|
+ <el-col :span="8">
|
|
|
|
|
+ <el-form-item label="商业保单号" prop="syPolicyno">
|
|
|
|
|
+ <el-input
|
|
|
|
|
+ v-model="formDataList.syPolicyno"
|
|
|
|
|
+ class="inputType"
|
|
|
|
|
+ size="small"
|
|
|
|
|
+ ></el-input>
|
|
|
|
|
+ </el-form-item>
|
|
|
|
|
+ </el-col>
|
|
|
|
|
+ <el-col :span="8">
|
|
|
|
|
+ <el-form-item label="非车保单号" prop="noPolicyno">
|
|
|
|
|
+ <el-input
|
|
|
|
|
+ v-model="formDataList.noPolicyno"
|
|
|
|
|
+ class="inputType"
|
|
|
|
|
+ size="small"
|
|
|
|
|
+ ></el-input>
|
|
|
|
|
+ </el-form-item>
|
|
|
|
|
+ </el-col>
|
|
|
|
|
+ <el-col :span="8">
|
|
|
|
|
+ <el-form-item label="交强保费">
|
|
|
|
|
+ <el-input
|
|
|
|
|
+ v-model="formDataList.jqPremium"
|
|
|
|
|
+ class="inputType"
|
|
|
|
|
+ size="small"
|
|
|
|
|
+ ></el-input>
|
|
|
|
|
+ </el-form-item>
|
|
|
|
|
+ </el-col>
|
|
|
|
|
+ <el-col :span="8">
|
|
|
|
|
+ <el-form-item label="商业保费">
|
|
|
|
|
+ <el-input
|
|
|
|
|
+ v-model="formDataList.syPremium"
|
|
|
|
|
+ class="inputType"
|
|
|
|
|
+ size="small"
|
|
|
|
|
+ ></el-input>
|
|
|
|
|
+ </el-form-item>
|
|
|
|
|
+ </el-col>
|
|
|
|
|
+ <el-col :span="8">
|
|
|
|
|
+ <el-form-item label="车船税">
|
|
|
|
|
+ <el-input
|
|
|
|
|
+ v-model="formDataList.taxamount"
|
|
|
|
|
+ class="inputType"
|
|
|
|
|
+ size="small"
|
|
|
|
|
+ ></el-input>
|
|
|
|
|
+ </el-form-item>
|
|
|
|
|
+ </el-col>
|
|
|
|
|
+ <el-col :span="8">
|
|
|
|
|
+ <el-form-item label="非车保费">
|
|
|
|
|
+ <el-input
|
|
|
|
|
+ v-model="formDataList.noPremium"
|
|
|
|
|
+ class="inputType"
|
|
|
|
|
+ size="small"
|
|
|
|
|
+ ></el-input>
|
|
|
|
|
+ </el-form-item>
|
|
|
|
|
+ </el-col>
|
|
|
<el-col :span="8">
|
|
<el-col :span="8">
|
|
|
<el-form-item label="交强手续费比例">
|
|
<el-form-item label="交强手续费比例">
|
|
|
<el-input
|
|
<el-input
|
|
|
v-model="formDataList.jqSuperviseCostsProportion"
|
|
v-model="formDataList.jqSuperviseCostsProportion"
|
|
|
class="inputType"
|
|
class="inputType"
|
|
|
|
|
+ size="small"
|
|
|
></el-input>
|
|
></el-input>
|
|
|
</el-form-item>
|
|
</el-form-item>
|
|
|
</el-col>
|
|
</el-col>
|
|
@@ -138,6 +305,7 @@
|
|
|
<el-input
|
|
<el-input
|
|
|
v-model="formDataList.sySuperviseCostsProportion"
|
|
v-model="formDataList.sySuperviseCostsProportion"
|
|
|
class="inputType"
|
|
class="inputType"
|
|
|
|
|
+ size="small"
|
|
|
></el-input>
|
|
></el-input>
|
|
|
</el-form-item>
|
|
</el-form-item>
|
|
|
</el-col>
|
|
</el-col>
|
|
@@ -146,14 +314,17 @@
|
|
|
<el-input
|
|
<el-input
|
|
|
v-model="formDataList.noSuperviseCostsProportion"
|
|
v-model="formDataList.noSuperviseCostsProportion"
|
|
|
class="inputType"
|
|
class="inputType"
|
|
|
|
|
+ size="small"
|
|
|
></el-input>
|
|
></el-input>
|
|
|
</el-form-item>
|
|
</el-form-item>
|
|
|
</el-col>
|
|
</el-col>
|
|
|
|
|
+
|
|
|
<el-col :span="8">
|
|
<el-col :span="8">
|
|
|
<el-form-item label="交强跟单比例">
|
|
<el-form-item label="交强跟单比例">
|
|
|
<el-input
|
|
<el-input
|
|
|
v-model="formDataList.jqOtherCostsProportion"
|
|
v-model="formDataList.jqOtherCostsProportion"
|
|
|
class="inputType"
|
|
class="inputType"
|
|
|
|
|
+ size="small"
|
|
|
></el-input>
|
|
></el-input>
|
|
|
</el-form-item>
|
|
</el-form-item>
|
|
|
</el-col>
|
|
</el-col>
|
|
@@ -162,6 +333,7 @@
|
|
|
<el-input
|
|
<el-input
|
|
|
v-model="formDataList.syOtherCostsProportion"
|
|
v-model="formDataList.syOtherCostsProportion"
|
|
|
class="inputType"
|
|
class="inputType"
|
|
|
|
|
+ size="small"
|
|
|
></el-input>
|
|
></el-input>
|
|
|
</el-form-item>
|
|
</el-form-item>
|
|
|
</el-col>
|
|
</el-col>
|
|
@@ -170,43 +342,84 @@
|
|
|
<el-input
|
|
<el-input
|
|
|
v-model="formDataList.noOtherCostsProportion"
|
|
v-model="formDataList.noOtherCostsProportion"
|
|
|
class="inputType"
|
|
class="inputType"
|
|
|
|
|
+ size="small"
|
|
|
></el-input>
|
|
></el-input>
|
|
|
</el-form-item>
|
|
</el-form-item>
|
|
|
</el-col>
|
|
</el-col>
|
|
|
<el-col :span="8">
|
|
<el-col :span="8">
|
|
|
- <el-form-item label="协议选择">
|
|
|
|
|
- <el-select
|
|
|
|
|
|
|
+ <el-form-item label="交强应收比例">
|
|
|
|
|
+ <el-input
|
|
|
|
|
+ v-model="formDataList.jqReceivableProportion"
|
|
|
|
|
+ class="inputType"
|
|
|
size="small"
|
|
size="small"
|
|
|
- v-model="formDataList.agreementId"
|
|
|
|
|
- placeholder="请选择协议类型"
|
|
|
|
|
- style="width: 100%"
|
|
|
|
|
- filterable
|
|
|
|
|
- >
|
|
|
|
|
- <el-option
|
|
|
|
|
- v-for="item in agreementTypeoptions"
|
|
|
|
|
- :key="item.dictValue"
|
|
|
|
|
- :label="item.agreementName"
|
|
|
|
|
- :value="item.id"
|
|
|
|
|
- ></el-option>
|
|
|
|
|
- </el-select>
|
|
|
|
|
|
|
+ ></el-input>
|
|
|
</el-form-item>
|
|
</el-form-item>
|
|
|
</el-col>
|
|
</el-col>
|
|
|
<el-col :span="8">
|
|
<el-col :span="8">
|
|
|
- <el-form-item label="手续费金额">
|
|
|
|
|
|
|
+ <el-form-item label="商业应收比例">
|
|
|
|
|
+ <el-input
|
|
|
|
|
+ v-model="formDataList.syReceivableProportion"
|
|
|
|
|
+ class="inputType"
|
|
|
|
|
+ size="small"
|
|
|
|
|
+ ></el-input>
|
|
|
|
|
+ </el-form-item>
|
|
|
|
|
+ </el-col>
|
|
|
|
|
+ <el-col :span="8">
|
|
|
|
|
+ <el-form-item label="非车应收比例">
|
|
|
|
|
+ <el-input
|
|
|
|
|
+ v-model="formDataList.noReceivableProportion"
|
|
|
|
|
+ class="inputType"
|
|
|
|
|
+ size="small"
|
|
|
|
|
+ ></el-input>
|
|
|
|
|
+ </el-form-item>
|
|
|
|
|
+ </el-col>
|
|
|
|
|
+
|
|
|
|
|
+ <el-col :span="8">
|
|
|
|
|
+ <el-form-item label="跟单金额" prop="otherFeevalue">
|
|
|
|
|
+ <el-input
|
|
|
|
|
+ v-model="formDataList.otherFeevalue"
|
|
|
|
|
+ class="inputType"
|
|
|
|
|
+ size="small"
|
|
|
|
|
+ ></el-input>
|
|
|
|
|
+ </el-form-item>
|
|
|
|
|
+ </el-col>
|
|
|
|
|
+
|
|
|
|
|
+ <el-col :span="8">
|
|
|
|
|
+ <el-form-item label="手续费金额" prop="commissionFeevalue">
|
|
|
<el-input
|
|
<el-input
|
|
|
- v-model="formDataList.ptCommissionFeevalue"
|
|
|
|
|
|
|
+ v-model="formDataList.commissionFeevalue"
|
|
|
class="inputType"
|
|
class="inputType"
|
|
|
|
|
+ size="small"
|
|
|
></el-input>
|
|
></el-input>
|
|
|
</el-form-item>
|
|
</el-form-item>
|
|
|
</el-col>
|
|
</el-col>
|
|
|
|
|
+
|
|
|
<el-col :span="8">
|
|
<el-col :span="8">
|
|
|
- <el-form-item label="跟单费金额">
|
|
|
|
|
|
|
+ <el-form-item label="应收金额">
|
|
|
<el-input
|
|
<el-input
|
|
|
- v-model="formDataList.ptOtherFeevalue"
|
|
|
|
|
|
|
+ v-model="formDataList.receivableAmount"
|
|
|
class="inputType"
|
|
class="inputType"
|
|
|
|
|
+ size="small"
|
|
|
></el-input>
|
|
></el-input>
|
|
|
</el-form-item>
|
|
</el-form-item>
|
|
|
</el-col>
|
|
</el-col>
|
|
|
|
|
+ <el-col :span="8">
|
|
|
|
|
+ <el-form-item label="增加类型" prop="addType">
|
|
|
|
|
+ <el-select
|
|
|
|
|
+ size="small"
|
|
|
|
|
+ clearable
|
|
|
|
|
+ v-model="formDataList.addType"
|
|
|
|
|
+ filterable
|
|
|
|
|
+ >
|
|
|
|
|
+ <el-option
|
|
|
|
|
+ v-for="(s, i) in addTypeList"
|
|
|
|
|
+ :key="i"
|
|
|
|
|
+ :label="s.label"
|
|
|
|
|
+ :value="s.value"
|
|
|
|
|
+ ></el-option>
|
|
|
|
|
+ </el-select>
|
|
|
|
|
+ </el-form-item>
|
|
|
|
|
+ </el-col>
|
|
|
</el-row>
|
|
</el-row>
|
|
|
</el-form>
|
|
</el-form>
|
|
|
<span slot="footer" class="dialog-footer">
|
|
<span slot="footer" class="dialog-footer">
|
|
@@ -400,6 +613,7 @@
|
|
|
</el-select>
|
|
</el-select>
|
|
|
</el-form-item>
|
|
</el-form-item>
|
|
|
</el-col>
|
|
</el-col>
|
|
|
|
|
+
|
|
|
<el-col :span="8">
|
|
<el-col :span="8">
|
|
|
<el-form-item label="协议选择">
|
|
<el-form-item label="协议选择">
|
|
|
<el-select
|
|
<el-select
|
|
@@ -593,6 +807,23 @@
|
|
|
></el-input>
|
|
></el-input>
|
|
|
</el-form-item>
|
|
</el-form-item>
|
|
|
</el-col>
|
|
</el-col>
|
|
|
|
|
+ <el-col :span="8">
|
|
|
|
|
+ <el-form-item label="增加类型" prop="addType">
|
|
|
|
|
+ <el-select
|
|
|
|
|
+ size="small"
|
|
|
|
|
+ clearable
|
|
|
|
|
+ v-model="formDataListAdd.addType"
|
|
|
|
|
+ filterable
|
|
|
|
|
+ >
|
|
|
|
|
+ <el-option
|
|
|
|
|
+ v-for="(s, i) in addTypeList"
|
|
|
|
|
+ :key="i"
|
|
|
|
|
+ :label="s.label"
|
|
|
|
|
+ :value="s.value"
|
|
|
|
|
+ ></el-option>
|
|
|
|
|
+ </el-select>
|
|
|
|
|
+ </el-form-item>
|
|
|
|
|
+ </el-col>
|
|
|
</el-row>
|
|
</el-row>
|
|
|
</el-form>
|
|
</el-form>
|
|
|
<span slot="footer" class="dialog-footer">
|
|
<span slot="footer" class="dialog-footer">
|
|
@@ -1207,6 +1438,7 @@ export default {
|
|
|
{ required: true, message: "请输入手续费金额", trigger: "blur" },
|
|
{ required: true, message: "请输入手续费金额", trigger: "blur" },
|
|
|
],
|
|
],
|
|
|
},
|
|
},
|
|
|
|
|
+ addTypeList: [],
|
|
|
};
|
|
};
|
|
|
},
|
|
},
|
|
|
|
|
|
|
@@ -1219,6 +1451,11 @@ export default {
|
|
|
this.$message.error(res.msg);
|
|
this.$message.error(res.msg);
|
|
|
}
|
|
}
|
|
|
});
|
|
});
|
|
|
|
|
+ this.$api.dict.findByLableName("add_type").then((res) => {
|
|
|
|
|
+ if (res.code === 200) {
|
|
|
|
|
+ this.addTypeList = res.data;
|
|
|
|
|
+ }
|
|
|
|
|
+ });
|
|
|
this.$api.insCompany.dicType("productsType").then((res) => {
|
|
this.$api.insCompany.dicType("productsType").then((res) => {
|
|
|
if (res.code == 200) {
|
|
if (res.code == 200) {
|
|
|
this.formList.forEach((filed) => {
|
|
this.formList.forEach((filed) => {
|
|
@@ -1241,6 +1478,7 @@ export default {
|
|
|
};
|
|
};
|
|
|
this.$api.insCompany.findLeftInsTree(params).then((res) => {
|
|
this.$api.insCompany.findLeftInsTree(params).then((res) => {
|
|
|
this.ztreeNodes = res.data;
|
|
this.ztreeNodes = res.data;
|
|
|
|
|
+ console.log(this.ztreeNodes);
|
|
|
});
|
|
});
|
|
|
this.agrmentlist();
|
|
this.agrmentlist();
|
|
|
},
|
|
},
|
|
@@ -1354,7 +1592,7 @@ export default {
|
|
|
},
|
|
},
|
|
|
|
|
|
|
|
agrmentlist() {
|
|
agrmentlist() {
|
|
|
- this.$api.task.findPtlAgreementListNew().then((res) => {
|
|
|
|
|
|
|
+ this.$api.task.findPtlAgreementListNew({ type: "1" }).then((res) => {
|
|
|
this.agreementTypeoptions = res.data;
|
|
this.agreementTypeoptions = res.data;
|
|
|
});
|
|
});
|
|
|
},
|
|
},
|
|
@@ -1704,6 +1942,7 @@ export default {
|
|
|
},
|
|
},
|
|
|
haldUpload(row) {
|
|
haldUpload(row) {
|
|
|
this.formDataId = row.id;
|
|
this.formDataId = row.id;
|
|
|
|
|
+ // this.formDataList = { ...row };
|
|
|
this.dialogVisibleDetail = true;
|
|
this.dialogVisibleDetail = true;
|
|
|
this.$api.task.plyFeeId(row.id).then((res) => {
|
|
this.$api.task.plyFeeId(row.id).then((res) => {
|
|
|
if (res.code == 200) {
|
|
if (res.code == 200) {
|