|
|
@@ -1,4 +1,6 @@
|
|
|
<template>
|
|
|
+ <div>
|
|
|
+
|
|
|
<el-dialog :visible.sync="dialogVisible" width="80%" class="details_style">
|
|
|
<div slot="title" class=" dialog-title details-title">
|
|
|
<img src="../../../icon/归属信息.png" alt class="icon-img" />
|
|
|
@@ -23,7 +25,8 @@
|
|
|
<li :class="{ 'li-selected': selectedItem === 'yxzl' }" @click="selectItem('yxzl')"
|
|
|
v-if="Object.keys(obj).length != 0">影像资料</li>
|
|
|
<li
|
|
|
- :class="{ 'li-selected': selectedItem === 'fymx' }" @click="selectItem('fymx')">费用明细</li>
|
|
|
+ :class="{ 'li-selected': selectedItem === 'fymx' }" @click="selectItem('fymx')"
|
|
|
+ v-if="orderInfo.feeOrderNewVo && orderInfo.feeOrderNewVo.exportFee && Feepermissions">费用明细</li>
|
|
|
<li v-if="isAuditing && orderInfo.feeOrderNewVo && orderInfo.feeOrderNewVo.deptManagerFee.length > 0"
|
|
|
:class="{ 'li-selected': selectedItem === 'jgglf' }" @click="selectItem('jgglf')">机构管理费</li>
|
|
|
<li v-if="orderInfo.distributionLevelVoList && orderInfo.distributionLevelVoList.length > 0 "
|
|
|
@@ -421,7 +424,7 @@
|
|
|
</div>
|
|
|
</OpenCloseBox>
|
|
|
<OpenCloseBox id="fymx" v-if="orderInfo.feeOrderNewVo && orderInfo.feeOrderNewVo.exportFee && Feepermissions">
|
|
|
- <span slot="title">费用明细</span>
|
|
|
+ <span slot="title">费用明细<el-button v-if="isTaskPool" type="primary" style="margin-left: 30px;" size="mini" @click="productCostAddVehicleFactorVisible = true">匹配费用信息</el-button></span>
|
|
|
<div slot="boby" style="font-size:12px;width: 100%" class="FeeEnclosure">
|
|
|
<el-table :data="orderInfo.feeOrderNewVo.exportFee" :border="true" width="100%"
|
|
|
:stripe="true" size="mini" :header-cell-style="{
|
|
|
@@ -479,9 +482,226 @@
|
|
|
<el-button size="small" type="primary" plain @click="dialogVisible = false">关闭</el-button>
|
|
|
</span>
|
|
|
</el-dialog>
|
|
|
+ <el-dialog title="产品因子录入" :visible.sync="productCostFactorDialogVisible" :close-on-click-modal="false" width="70%"
|
|
|
+ top="6vh" :fullscreen="true" @close="productCostFactoropenDialog">
|
|
|
+ <Product-Cost-Form v-if="productCostFactorDialogVisible" :form="orderInfo.agreementProductCostsSave.costsAttrLinks" :operator="operatorlist"
|
|
|
+ over-size="small" :disabled="true"
|
|
|
+ @cancelForm="productCostFactorCancelForm"></Product-Cost-Form>
|
|
|
+ </el-dialog>
|
|
|
+ <el-dialog title="产品编辑" :visible.sync="productCostAddVehicleFactorVisible" width="80%" top="6vh"
|
|
|
+ @close="productcloseDialog">
|
|
|
+ <el-collapse accordion>
|
|
|
+ <div class="productstitle flex j-s" style="margin-top: 10px">
|
|
|
+ <div>
|
|
|
+ <span v-for="(item, index) in orderInfo.agreementProductCostsSave.productName" :key="index">
|
|
|
+ {{ item }}-
|
|
|
+ </span>
|
|
|
+ <span>费用</span>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <el-button class="mrgin-1" size="small" type="warning"
|
|
|
+ @click="productCostFactorDialogVisible = true">产品费用因子</el-button>
|
|
|
+ <el-form ref="productCostForm" v-if="orderInfo.agreementProductCostsSave" :model="orderInfo.agreementProductCostsSave" label-width="130px" :size="overSize"
|
|
|
+ :rules="costformRules">
|
|
|
+ <el-row>
|
|
|
+ <el-col :span="20" :offset="2">
|
|
|
+ <el-form-item label="费用描述">
|
|
|
+ <el-input type="textarea" v-model="orderInfo.agreementProductCostsSave.costsDescription" placeholder="输入费用描述内容"></el-input>
|
|
|
+ </el-form-item>
|
|
|
+ </el-col>
|
|
|
+ <el-col :span="10" :offset="2">
|
|
|
+ <el-form-item label="费用起期" prop="costsStartDate">
|
|
|
+ <el-date-picker style="width: 100%" v-model="orderInfo.agreementProductCostsSave.costsStartDate" type="datetime"
|
|
|
+ placeholder="选择费用开始日期" value-format="yyyy-MM-dd HH:mm:ss" :picker-options="pickerOptions"
|
|
|
+ @change="cleanEndDate">
|
|
|
+ </el-date-picker>
|
|
|
+ </el-form-item>
|
|
|
+ </el-col>
|
|
|
+ <el-col :span="10">
|
|
|
+ <el-form-item label="费用止期" prop="costsEndDate">
|
|
|
+ <el-date-picker style="width: 100%" v-model="orderInfo.agreementProductCostsSave.costsEndDate" type="datetime"
|
|
|
+ placeholder="选择费用结束日期" value-format="yyyy-MM-dd HH:mm:ss" @change="checkStartDate">
|
|
|
+ </el-date-picker>
|
|
|
+ </el-form-item>
|
|
|
+ </el-col>
|
|
|
+ <el-col :span="10" :offset="2">
|
|
|
+ <el-form-item label="优先级">
|
|
|
+ <el-input style="width: 100%" v-model="orderInfo.agreementProductCostsSave.priorityLevel"
|
|
|
+ onkeyup="value=value.replace(/\D/g,'')" placeholder="输入数字"></el-input>
|
|
|
+ </el-form-item>
|
|
|
+ </el-col>
|
|
|
+ </el-row>
|
|
|
+ <el-row >
|
|
|
+ <h4 style="color: tomato">交强险费用</h4>
|
|
|
+ <el-col :span="5" :offset="1">
|
|
|
+ <el-form-item label="费用比例" prop="jqCarCostsProportion">
|
|
|
+ <el-input v-model="orderInfo.agreementProductCostsSave.jqCarCostsProportion"
|
|
|
+ @blur="costRatioInput('jqCostsProportion', 'jqCarCostsProportion', 'jqCarOtherCostsProportion')"
|
|
|
+ placeholder="请输入费用比例"></el-input>
|
|
|
+ </el-form-item>
|
|
|
+ </el-col>
|
|
|
+ <el-col :span="5" :offset="1" v-if="permissions">
|
|
|
+ <el-form-item label="其他费用比例">
|
|
|
+ <el-input disabled v-model="orderInfo.agreementProductCostsSave.jqCarOtherCostsProportion" placeholder="请输入其他费用比例"></el-input>
|
|
|
+ </el-form-item>
|
|
|
+ </el-col>
|
|
|
+ <el-col :span="5" :offset="1" v-if="permissions">
|
|
|
+ <el-form-item label="总费用比例" prop="jqCostsProportion">
|
|
|
+ <el-input v-model="orderInfo.agreementProductCostsSave.jqCostsProportion"
|
|
|
+ @blur="totalCostRatioInput('jqCostsProportion', 'jqCarCostsProportion', 'jqCarOtherCostsProportion')"
|
|
|
+ placeholder="请输入总费用比例"></el-input>
|
|
|
+ </el-form-item>
|
|
|
+ </el-col>
|
|
|
+ <el-col :span="5" :offset="1">
|
|
|
+ <el-form-item label="交强管理比例一级 " prop="jqExportRadioLevel1">
|
|
|
+ <el-input v-model="orderInfo.agreementProductCostsSave.jqExportRadioLevel1" placeholder="请输入管理费比例"></el-input>
|
|
|
+ </el-form-item>
|
|
|
+ </el-col>
|
|
|
+ <el-col :span="5" :offset="1">
|
|
|
+ <el-form-item label="交强管理比例二级 " prop="jqExportRadioLevel2">
|
|
|
+ <el-input v-model="orderInfo.agreementProductCostsSave.jqExportRadioLevel2" placeholder="请输入管理费比例"></el-input>
|
|
|
+ </el-form-item>
|
|
|
+ </el-col>
|
|
|
+ <el-col :span="5" :offset="1">
|
|
|
+ <el-form-item label="交强管理比例三级 " prop="jqExportRadioLevel3">
|
|
|
+ <el-input v-model="orderInfo.agreementProductCostsSave.jqExportRadioLevel3" placeholder="请输入管理费比例"></el-input>
|
|
|
+ </el-form-item>
|
|
|
+ </el-col>
|
|
|
+ <el-col :span="5" :offset="1">
|
|
|
+ <el-form-item label="交强管理比例四级 " prop="jqExportRadioLevel4">
|
|
|
+ <el-input v-model="orderInfo.agreementProductCostsSave.jqExportRadioLevel4" placeholder="请输入管理费比例"></el-input>
|
|
|
+ </el-form-item>
|
|
|
+ </el-col>
|
|
|
+ <el-col :span="5" :offset="1">
|
|
|
+ <el-form-item label="交强管理比例五级 " prop="jqExportRadioLevel5">
|
|
|
+ <el-input v-model="orderInfo.agreementProductCostsSave.jqExportRadioLevel5" placeholder="请输入管理费比例"></el-input>
|
|
|
+ </el-form-item>
|
|
|
+ </el-col>
|
|
|
+ <el-col :span="5" :offset="1">
|
|
|
+ <el-form-item label="交强出口手续比例" prop="jqCostsExportProportion">
|
|
|
+ <el-input v-model="orderInfo.agreementProductCostsSave.jqCostsExportProportion" placeholder="请输入出口手续费比例"></el-input>
|
|
|
+ </el-form-item>
|
|
|
+ </el-col>
|
|
|
+ </el-row>
|
|
|
+ <el-row >
|
|
|
+ <h4 style="color: tomato">商业险费用</h4>
|
|
|
+
|
|
|
+ <el-col :span="5" :offset="1">
|
|
|
+ <el-form-item label="费用比例" prop="syCarCostsProportion">
|
|
|
+ <el-input v-model="orderInfo.agreementProductCostsSave.syCarCostsProportion"
|
|
|
+ @blur="totalCostRatioInput('syCostsProportion', 'syCarCostsProportion', 'syCarOtherCostsProportion')"
|
|
|
+ placeholder="请输入费用比例"></el-input>
|
|
|
+ </el-form-item>
|
|
|
+ </el-col>
|
|
|
+
|
|
|
+ <el-col :span="5" :offset="1" v-if="permissions">
|
|
|
+ <el-form-item label="其他费用比例">
|
|
|
+ <el-input v-model="orderInfo.agreementProductCostsSave.syCarOtherCostsProportion" placeholder="请输入其他费用比例" disabled></el-input>
|
|
|
+ </el-form-item>
|
|
|
+ </el-col>
|
|
|
+
|
|
|
+ <el-col :span="5" :offset="1" v-if="permissions">
|
|
|
+ <el-form-item label="总费用比例" prop="syCostsProportion">
|
|
|
+ <el-input v-model="orderInfo.agreementProductCostsSave.syCostsProportion" placeholder="请输入总费用比例"
|
|
|
+ @blur="totalCostRatioInput('syCostsProportion', 'syCarCostsProportion', 'syCarOtherCostsProportion')"></el-input>
|
|
|
+ </el-form-item>
|
|
|
+ </el-col>
|
|
|
+ <el-col :span="5" :offset="1">
|
|
|
+ <el-form-item label="商业手续比例一级 " prop="syExportRadioLevel1">
|
|
|
+ <el-input v-model="orderInfo.agreementProductCostsSave.syExportRadioLevel1" placeholder="请输入手续费比例"></el-input>
|
|
|
+ </el-form-item>
|
|
|
+ </el-col>
|
|
|
+ <el-col :span="5" :offset="1">
|
|
|
+ <el-form-item label="商业手续比例二级 " prop="syExportRadioLevel2">
|
|
|
+ <el-input v-model="orderInfo.agreementProductCostsSave.syExportRadioLevel2" placeholder="请输入手续费比例"></el-input>
|
|
|
+ </el-form-item>
|
|
|
+ </el-col>
|
|
|
+ <el-col :span="5" :offset="1">
|
|
|
+ <el-form-item label="商业手续比例三级 " prop="syExportRadioLevel3">
|
|
|
+ <el-input v-model="orderInfo.agreementProductCostsSave.syExportRadioLevel3" placeholder="请输入手续费比例"></el-input>
|
|
|
+ </el-form-item>
|
|
|
+ </el-col>
|
|
|
+ <el-col :span="5" :offset="1">
|
|
|
+ <el-form-item label="商业手续比例四级 " prop="syExportRadioLevel4">
|
|
|
+ <el-input v-model="orderInfo.agreementProductCostsSave.syExportRadioLevel4" placeholder="请输入手续费比例"></el-input>
|
|
|
+ </el-form-item>
|
|
|
+ </el-col>
|
|
|
+ <el-col :span="5" :offset="1">
|
|
|
+ <el-form-item label="商业手续比例五级 " prop="syExportRadioLevel5">
|
|
|
+ <el-input v-model="orderInfo.agreementProductCostsSave.syExportRadioLevel5" placeholder="请输入手续费比例"></el-input>
|
|
|
+ </el-form-item>
|
|
|
+ </el-col>
|
|
|
+ <el-col :span="5" :offset="1">
|
|
|
+ <el-form-item label="商业出口手续比例" prop="syCostsExportProportion">
|
|
|
+ <el-input v-model="orderInfo.agreementProductCostsSave.syCostsExportProportion" placeholder="请输入出口手续费比例"></el-input>
|
|
|
+ </el-form-item>
|
|
|
+ </el-col>
|
|
|
+ </el-row>
|
|
|
+ <el-row>
|
|
|
+ <h4 style="color: tomato">非车费用</h4>
|
|
|
+ <el-col :span="5" :offset="1">
|
|
|
+ <el-form-item label="费用比例" prop="noCarCostsProportion">
|
|
|
+ <el-input v-model="orderInfo.agreementProductCostsSave.noCarCostsProportion"
|
|
|
+ @blur="totalCostRatioInput('noCostsProportion', 'noCarCostsProportion', 'noCarOtherCostsProportion')"
|
|
|
+ placeholder="请输入费用比例"></el-input>
|
|
|
+ </el-form-item>
|
|
|
+ </el-col>
|
|
|
+
|
|
|
+ <el-col :span="5" :offset="1" v-if="permissions">
|
|
|
+ <el-form-item label="其他费用比例">
|
|
|
+ <el-input v-model="orderInfo.agreementProductCostsSave.noCarOtherCostsProportion" placeholder="请输入其他费用比例" disabled></el-input>
|
|
|
+ </el-form-item>
|
|
|
+ </el-col>
|
|
|
+
|
|
|
+ <el-col :span="5" :offset="1" v-if="permissions">
|
|
|
+ <el-form-item label="总费用比例" prop="noCostsProportion">
|
|
|
+ <el-input v-model="orderInfo.agreementProductCostsSave.noCostsProportion" placeholder="请输入总费用比例"
|
|
|
+ @blur="totalCostRatioInput('noCostsProportion', 'noCarCostsProportion', 'noCarOtherCostsProportion')"></el-input>
|
|
|
+ </el-form-item>
|
|
|
+ </el-col>
|
|
|
+ <el-col :span="5" :offset="1">
|
|
|
+ <el-form-item label="非车手续比例一级 " prop="noCarExportRadioLevel1">
|
|
|
+ <el-input v-model="orderInfo.agreementProductCostsSave.noCarExportRadioLevel1" placeholder="请输入手续费比例"></el-input>
|
|
|
+ </el-form-item>
|
|
|
+ </el-col>
|
|
|
+ <el-col :span="5" :offset="1">
|
|
|
+ <el-form-item label="非车手续比例二级 " prop="noCarExportRadioLevel2">
|
|
|
+ <el-input v-model="orderInfo.agreementProductCostsSave.noCarExportRadioLevel2" placeholder="请输入手续费比例"></el-input>
|
|
|
+ </el-form-item>
|
|
|
+ </el-col>
|
|
|
+ <el-col :span="5" :offset="1">
|
|
|
+ <el-form-item label="非车手续比例三级 " prop="noCarExportRadioLevel3">
|
|
|
+ <el-input v-model="orderInfo.agreementProductCostsSave.noCarExportRadioLevel3" placeholder="请输入手续费比例"></el-input>
|
|
|
+ </el-form-item>
|
|
|
+ </el-col>
|
|
|
+ <el-col :span="5" :offset="1">
|
|
|
+ <el-form-item label="非车手续比例四级 " prop="noCarExportRadioLevel4">
|
|
|
+ <el-input v-model="orderInfo.agreementProductCostsSave.noCarExportRadioLevel4" placeholder="请输入手续费比例"></el-input>
|
|
|
+ </el-form-item>
|
|
|
+ </el-col>
|
|
|
+ <el-col :span="5" :offset="1">
|
|
|
+ <el-form-item label="非车手续比例五级 " prop="noCarExportRadioLevel5">
|
|
|
+ <el-input v-model="orderInfo.agreementProductCostsSave.noCarExportRadioLevel5" placeholder="请输入手续费比例"></el-input>
|
|
|
+ </el-form-item>
|
|
|
+ </el-col>
|
|
|
+ <el-col :span="5" :offset="1">
|
|
|
+ <el-form-item label="非车出口手续比例" prop="noCostsExportProportion">
|
|
|
+ <el-input v-model="orderInfo.agreementProductCostsSave.noCostsExportProportion" placeholder="请输入出口手续费比例"></el-input>
|
|
|
+ </el-form-item>
|
|
|
+ </el-col>
|
|
|
+ </el-row>
|
|
|
+ </el-form>
|
|
|
+ </el-collapse>
|
|
|
+ <span slot="footer" class="dialog-footer">
|
|
|
+ <el-button :size="overSize" @click="productCostAddVehicleFactorVisible = false">取 消</el-button>
|
|
|
+ </span>
|
|
|
+ </el-dialog>
|
|
|
+ </div>
|
|
|
+
|
|
|
</template>
|
|
|
<script>
|
|
|
import OpenCloseBox from './openclose.vue'
|
|
|
+import ProductCostForm from '@/components/Form/ProductCostForm.vue';//表单组件
|
|
|
|
|
|
export default {
|
|
|
name: "detailsDialog",
|
|
|
@@ -490,7 +710,71 @@ export default {
|
|
|
dialogVisible: false,
|
|
|
obj: {},
|
|
|
warrantObj: {},
|
|
|
+ operatorlist: [],
|
|
|
selectedItem: null,
|
|
|
+ productCostAddVehicleFactorVisible: false, //产品费用录入 显示/隐藏
|
|
|
+ productCostFactorDialogVisible:false,
|
|
|
+ permissions: null,
|
|
|
+ overSize:'small',
|
|
|
+ costformRules: {
|
|
|
+ costsStartDate: [
|
|
|
+ { required: true, message: "请选择费用起期", trigger: "change" },
|
|
|
+ ],
|
|
|
+ costsEndDate: [
|
|
|
+ { required: true, message: "请选择费用止期", trigger: "change" },
|
|
|
+ ],
|
|
|
+
|
|
|
+ jqNewCarCostsProportion: [
|
|
|
+ { required: true, message: "请输入新车费用比例", trigger: "blur" },
|
|
|
+ {
|
|
|
+ pattern: /^([0-4])$/,
|
|
|
+ message: "请输入0-4的整数",
|
|
|
+ trigger: "blur",
|
|
|
+ },
|
|
|
+ ],
|
|
|
+ jqOldCarCostsProportion: [
|
|
|
+ { required: true, message: "请输入旧车费用比例", trigger: "blur" },
|
|
|
+ {
|
|
|
+ pattern: /^([0-4])$/,
|
|
|
+ message: "请输入0-4的整数",
|
|
|
+ trigger: "blur",
|
|
|
+ },
|
|
|
+ ],
|
|
|
+ jqCostsProportion: [
|
|
|
+ { required: true, message: "请输入总费用比例", trigger: "blur" },
|
|
|
+ {
|
|
|
+ pattern: /^100$|^[1-9]?\d(\.\d+)?$|^0(\.\d+)?$/,
|
|
|
+ message: "请输入0-100数",
|
|
|
+ trigger: "blur",
|
|
|
+ },
|
|
|
+ ],
|
|
|
+
|
|
|
+ syNewCarCostsProportion: [
|
|
|
+ { required: true, message: "请输入新车费用比例", trigger: "blur" },
|
|
|
+ {
|
|
|
+ pattern: /^([0-9]{1,2}|100)$/,
|
|
|
+ message: "请输入0-100的整数",
|
|
|
+ trigger: "blur",
|
|
|
+ },
|
|
|
+ ],
|
|
|
+ syOldCarCostsProportion: [
|
|
|
+ { required: true, message: "请输入旧车费用比例", trigger: "blur" },
|
|
|
+ {
|
|
|
+ pattern: /^([0-9]{1,2}|100)$/,
|
|
|
+ message: "请输入0-100的整数",
|
|
|
+ trigger: "blur",
|
|
|
+ },
|
|
|
+ ],
|
|
|
+ syCostsProportion: [
|
|
|
+ { required: true, message: "请输入总费用比例", trigger: "blur" },
|
|
|
+ {
|
|
|
+ pattern: /^100$|^[1-9]?\d(\.\d+)?$|^0(\.\d+)?$/,
|
|
|
+ message: "请输入0-100的数",
|
|
|
+ trigger: "blur",
|
|
|
+ },
|
|
|
+ ],
|
|
|
+ },
|
|
|
+ dynamicFormArray: [],
|
|
|
};
|
|
|
},
|
|
|
props: {
|
|
|
@@ -506,10 +790,84 @@ export default {
|
|
|
type: Object,
|
|
|
default: () => { }
|
|
|
},
|
|
|
+ isTaskPool:{
|
|
|
+ type:Boolean,
|
|
|
+ default:false,
|
|
|
+ },
|
|
|
+
|
|
|
+ },
|
|
|
+ computed: {
|
|
|
+ pickerOptions() {
|
|
|
+ return {
|
|
|
+ disabledDate: this.disabledDate,
|
|
|
+ };
|
|
|
+ },
|
|
|
},
|
|
|
+ created(){
|
|
|
+ //获取操作符
|
|
|
+ this.$api.dict.findPage(this.operator).then(res => {
|
|
|
+ this.operatorlist = res.data.content;
|
|
|
+ })
|
|
|
+ this.$api.insCompany.shutdown().then((res) => {
|
|
|
+ this.permissions = res.data;
|
|
|
+ });
|
|
|
|
|
|
- components: { OpenCloseBox },
|
|
|
+ this.getFactorTemplate();
|
|
|
+
|
|
|
+ },
|
|
|
+ components: { OpenCloseBox,ProductCostForm },
|
|
|
methods: {
|
|
|
+ getFactorTemplate() {
|
|
|
+ this.$api.insCompany.productConfigItem().then(res => {
|
|
|
+ if (res.code == '200') {
|
|
|
+ let data = res.data;
|
|
|
+ data.map(ele => {
|
|
|
+ switch (ele.attrType) {
|
|
|
+ case 'inputNumber':
|
|
|
+ ele.operator = '1';
|
|
|
+ break;
|
|
|
+ }
|
|
|
+ if (ele.attrName == '车牌号') {
|
|
|
+ ele.dictLabal = this.areanumberplateList;
|
|
|
+ }
|
|
|
+ })
|
|
|
+ // this.productCostForm.costsAttrLinks = data;
|
|
|
+ this.dynamicFormArray = data;
|
|
|
+ }
|
|
|
+ })
|
|
|
+ },
|
|
|
+ productCostFactorCancelForm(data) {
|
|
|
+ this.productCostFactorDialogVisible = data;
|
|
|
+ },
|
|
|
+ productcloseDialog() {
|
|
|
+ this.productCostAddVehicleFactorVisible=false
|
|
|
+ },
|
|
|
+ productCostFactoropenDialog() {
|
|
|
+ this.productCostFactorDialogVisible =false
|
|
|
+ },
|
|
|
+ //改变费用起期时,同步清空对应费用止期,重新填写
|
|
|
+ cleanEndDate() {
|
|
|
+ this.orderInfo.agreementProductCostsSave.costsEndDate = null;
|
|
|
+ },
|
|
|
+ //改变费用止期时,校验必须先填费用起期
|
|
|
+ checkStartDate() {
|
|
|
+ let tempStartDate = this.orderInfo.agreementProductCostsSave.costsAttrLinks.costsStartDate;
|
|
|
+ let tempEndDate = this.orderInfo.agreementProductCostsSave.costsEndDate;
|
|
|
+ if (!tempStartDate) {
|
|
|
+ this.orderInfo.agreementProductCostsSave.costsEndDate = null;
|
|
|
+ this.$message({
|
|
|
+ message: "请先选择费用起期!",
|
|
|
+ type: "error",
|
|
|
+ });
|
|
|
+ }
|
|
|
+ if (!this.validateEndDate(tempStartDate, tempEndDate)) {
|
|
|
+ this.orderInfo.agreementProductCostsSave.costsEndDate = null;
|
|
|
+ this.$message({
|
|
|
+ message: "费用止期不能小于/等于费用起期!",
|
|
|
+ type: "error",
|
|
|
+ });
|
|
|
+ }
|
|
|
+ },
|
|
|
selectItem(item) {
|
|
|
this.selectedItem = item;
|
|
|
document.getElementById(item).scrollIntoView({ behavior: "smooth" });
|
|
|
@@ -670,10 +1028,31 @@ export default {
|
|
|
width: 100% !important;
|
|
|
}
|
|
|
}
|
|
|
+.products>div {
|
|
|
+ margin: 5px;
|
|
|
+}
|
|
|
+
|
|
|
+.productstitle {
|
|
|
+ width: 100%;
|
|
|
+ border-bottom: 2px solid #409eff;
|
|
|
+ text-align: center;
|
|
|
+}
|
|
|
|
|
|
-/deep/ .el-dialog__body {
|
|
|
+.productstitle>div {
|
|
|
+ width: 100px;
|
|
|
+ height: 26px;
|
|
|
+ line-height: 30px;
|
|
|
+ background: #409eff;
|
|
|
+ color: #fff;
|
|
|
+ border-top-right-radius: 15px;
|
|
|
+ padding: 2px;
|
|
|
+ font-size: 12px;
|
|
|
+}
|
|
|
+.details_style /deep/ .el-dialog__body {
|
|
|
padding-top: 0;
|
|
|
border-bottom: 1px solid #EEF1F6;
|
|
|
background-color: rgb(242, 242, 242);
|
|
|
padding: 0;
|
|
|
-}</style>
|
|
|
+}
|
|
|
+
|
|
|
+</style>
|