Commit c17dbb72 by YG8429

车辆保险详情优化

parent 99289bf5
...@@ -49,7 +49,7 @@ ...@@ -49,7 +49,7 @@
align="center" filter="contains" sort="true"> align="center" filter="contains" sort="true">
<EF:EFOptions blockId="user_block_id" textField="textField" valueField="valueField"/> <EF:EFOptions blockId="user_block_id" textField="textField" valueField="valueField"/>
</EF:EFComboColumn> </EF:EFComboColumn>
<EF:EFComboColumn ename="inquiryType" cname="询价类型" width="80" align="center" readonly="true"> <EF:EFComboColumn ename="inquiryType" cname="询价类型" width="80" align="center" readonly="true">
<EF:EFCodeOption codeName="hpjx.hpcg.inquiryType"/> <EF:EFCodeOption codeName="hpjx.hpcg.inquiryType"/>
</EF:EFComboColumn> </EF:EFComboColumn>
<EF:EFComboColumn ename="proApplyStatus" cname="提交状态" width="80" align="center" enable="false" defaultValue="0"> <EF:EFComboColumn ename="proApplyStatus" cname="提交状态" width="80" align="center" enable="false" defaultValue="0">
......
...@@ -103,12 +103,12 @@ let save = function (btnNode) { ...@@ -103,12 +103,12 @@ let save = function (btnNode) {
flag = false; flag = false;
return false; return false;
} }
let insuranceCompany= item.get("insuranceCompany"); // let insuranceCompany= item.get("insuranceCompany");
if(isBlank(insuranceCompany)){ // if(isBlank(insuranceCompany)){
message("选中的第"+(index+1)+"行\"保险公司\",不能为空!"); // message("选中的第"+(index+1)+"行\"保险公司\",不能为空!");
flag = false; // flag = false;
return false; // return false;
} // }
let insuranceAmount= item.get("insuranceAmount"); let insuranceAmount= item.get("insuranceAmount");
if(isBlank(insuranceAmount)){ if(isBlank(insuranceAmount)){
...@@ -119,7 +119,7 @@ let save = function (btnNode) { ...@@ -119,7 +119,7 @@ let save = function (btnNode) {
let insuranceStartDate= item.get("insuranceStartDate"); let insuranceStartDate= item.get("insuranceStartDate");
let insuranceEndDate= item.get("insuranceEndDate"); let insuranceEndDate= item.get("insuranceEndDate");
if (new Date(insuranceStartDate) > new Date(insuranceEndDate)){ if (new Date(insuranceStartDate) > new Date(insuranceEndDate)){
message("投保时间\"不能大于\"\"结束时间\"!"); message("投保开始时间\"不能大于\"\"结束时间\"!");
flag = false; flag = false;
return false; return false;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment