|
@@ -450,7 +450,7 @@ export default {
|
|
isCondition: 0,
|
|
isCondition: 0,
|
|
searchForm: {
|
|
searchForm: {
|
|
code: "",
|
|
code: "",
|
|
- endTime: "",
|
|
|
|
|
|
+ endTime: "2100-01-01 00:00:00",
|
|
imgSrc: "",
|
|
imgSrc: "",
|
|
remark: "",
|
|
remark: "",
|
|
startTime: "",
|
|
startTime: "",
|
|
@@ -671,6 +671,7 @@ export default {
|
|
},
|
|
},
|
|
// 提交审核
|
|
// 提交审核
|
|
handleAddPolicy(policyCustomers) {
|
|
handleAddPolicy(policyCustomers) {
|
|
|
|
+
|
|
if (!this.searchForm.title) {
|
|
if (!this.searchForm.title) {
|
|
this.$errorMsg("请输入说明");
|
|
this.$errorMsg("请输入说明");
|
|
return;
|
|
return;
|
|
@@ -683,10 +684,7 @@ export default {
|
|
this.$errorMsg("请选择生效日期");
|
|
this.$errorMsg("请选择生效日期");
|
|
return;
|
|
return;
|
|
}
|
|
}
|
|
- if (!this.searchForm.endTime) {
|
|
|
|
- this.$errorMsg("请选择失效日期");
|
|
|
|
- return;
|
|
|
|
- }
|
|
|
|
|
|
+
|
|
if (policyCustomers.length) {
|
|
if (policyCustomers.length) {
|
|
var arr = [];
|
|
var arr = [];
|
|
policyCustomers.forEach((el) => {
|
|
policyCustomers.forEach((el) => {
|