This commit is contained in:
linfso 2024-06-13 10:59:10 +08:00
parent c11f249b11
commit a6e2ac0f49

View File

@ -97,7 +97,7 @@
<el-row :gutter="10" style="display: flex;flex-wrap: wrap;"> <el-row :gutter="10" style="display: flex;flex-wrap: wrap;">
<el-col :span="6" v-for="(item,index) in productFeeList" :key="index" > <el-col :span="6" v-for="(item,index) in productFeeList" :key="index" >
<CardWithHeader :header="item.productTypeName" :isLinearBg="true" > <CardWithHeader :header="item.productTypeName" >
<template v-slot:body> <template v-slot:body>
<div style="font-size: 13px;display:inline-flex;width: 100%;"> <div style="font-size: 13px;display:inline-flex;width: 100%;">
<div style="width:40%;color:gray">{{ item.agingDesc }}</div> <div style="width:40%;color:gray">{{ item.agingDesc }}</div>
@ -294,6 +294,7 @@ export default {
}, },
/** 提交按钮 */ /** 提交按钮 */
submitCalcFee() { submitCalcFee() {
this.productFeeList=[];
this.form.sendDate =this.sendDate; this.form.sendDate =this.sendDate;
this.$refs["form"].validate(valid => { this.$refs["form"].validate(valid => {
if (valid) { if (valid) {
@ -363,6 +364,9 @@ export default {
console.log(response); console.log(response);
this.productFeeList = response.data; this.productFeeList = response.data;
if(!this.productFeeList || this.productFeeList.length==0){
this.$message.error(`无报价`);
}
}); });
} }
}, },