|
@@ -534,8 +534,13 @@ export default {
|
|
|
i = 0
|
|
|
}
|
|
|
}
|
|
|
-
|
|
|
- console.log('点击了新增保存', this.create.list)
|
|
|
+ for(let i=0;i<this.create.list.length;i++){
|
|
|
+ if(this.create.list[i].operatetime == '' || this.create.list[i].operatetime == undefined){
|
|
|
+ this.$message({ type: 'error', message: '生效日期不可为空', duration: 2000 })
|
|
|
+ return
|
|
|
+ }
|
|
|
+ }
|
|
|
+ console.log('点击了新增保存11', this.create.list)
|
|
|
this.requestParam.common = { 'returnmap': '0' }
|
|
|
this.requestParam.data = []
|
|
|
this.requestParam.data[0] = { 'name': 'insertSpotList', 'resultmaps': { 'list': this.create.list }}
|
|
@@ -575,7 +580,7 @@ export default {
|
|
|
}, 1000)
|
|
|
|
|
|
for (var i = 0; i < this.create.list2.length; i++) {
|
|
|
- if (this.create.lis2t[i].driverid == '') {
|
|
|
+ if (this.create.list2[i].driverid == '') {
|
|
|
this.create.list2.splice(i, 1)
|
|
|
i = 0
|
|
|
}
|