清单抽屉修改确认添加时间空的判断
This commit is contained in:
@@ -1267,7 +1267,6 @@ export default {
|
||||
},
|
||||
// 编辑按钮
|
||||
editTghisRow(row) {
|
||||
console.log(row);
|
||||
// 用来储存取消时原来的数据,防止取消时修改
|
||||
localStorage.setItem("obj", JSON.stringify(row));
|
||||
|
||||
@@ -1300,14 +1299,13 @@ export default {
|
||||
},
|
||||
// 抽屉提交按钮
|
||||
saveInfo() {
|
||||
console.log(this.editRowData);
|
||||
if (this.editRowData.ssrq !== '') {
|
||||
if (this.editRowData.ssrq !== '' && this.editRowData.ssrq !== null) {
|
||||
this.editRowData.ssrq = this.editRowData.ssrq.join(',')
|
||||
}
|
||||
if (this.editRowData.xcxssrqgj !== ''){
|
||||
if (this.editRowData.xcxssrqgj !== '' && this.editRowData.xcxssrqgj !== null){
|
||||
this.editRowData.xcxssrqgj = this.editRowData.xcxssrqgj.join(',')
|
||||
}
|
||||
if (this.editRowData.zccssrqgj !== ''){
|
||||
if (this.editRowData.zccssrqgj !== '' && this.editRowData.zccssrqgj !== null){
|
||||
this.editRowData.zccssrqgj = this.editRowData.zccssrqgj.join(',')
|
||||
}
|
||||
this.drawerEdit = false
|
||||
@@ -2127,8 +2125,6 @@ export default {
|
||||
this.$http.get('sys/dictype/getDicTypeListCode', '', {
|
||||
_this: this
|
||||
}, res => {
|
||||
console.log('能源类型',res.data.NYLXCLASS);
|
||||
console.log('适用车型',res.data.ENERGYTYPES);
|
||||
this.allSelectOptions = res.data || {}
|
||||
this.regionOptions = res.data.REGION // 基础信息 区域list
|
||||
this.applyArcticOptions = res.data.NYLXCLASS // 能源类型
|
||||
|
||||
Reference in New Issue
Block a user