|
@@ -213,7 +213,7 @@ export default {
|
|
|
cellStyle: { padding: 0 + 'px' },
|
|
|
appoinsList:[],
|
|
|
appoinObj:{
|
|
|
- appoint:'',
|
|
|
+ appoint:0,
|
|
|
appointName:""
|
|
|
}
|
|
|
}
|
|
@@ -232,7 +232,7 @@ export default {
|
|
|
const arr= this.appoinsList.filter(item=>{
|
|
|
return item.id === val;
|
|
|
})
|
|
|
- this.appoinObj.appoint = arr && arr[0].id;
|
|
|
+ this.appoinObj.appoint = arr && arr[0].id || 0;
|
|
|
this.appoinObj.appointName =arr && arr[0].tname;
|
|
|
console.log( this.appoinObj,'hss----111')
|
|
|
},
|
|
@@ -309,7 +309,7 @@ export default {
|
|
|
return false
|
|
|
}
|
|
|
}
|
|
|
- this.table.list.unshift({ 'myId': (new Date()).valueOf(), 'Edit': true, 'NoEdit': false, 'isCreate': true, 'isUpdate': false, 'isUpdateSave': false, 'enable': 1, 'eqcode': '', 'tname': '', 'datacaptureno': '', 'tclassid': '', 'maxstirfeed': '', 'tcolor': '#ccc', 'autosecond': '0', 'imei': '','volume':'' })
|
|
|
+ this.table.list.unshift({ 'myId': (new Date()).valueOf(), 'Edit': true, 'NoEdit': false, 'isCreate': true, 'isUpdate': false, 'isUpdateSave': false, 'enable': 1, 'eqcode': '', 'tname': '', 'datacaptureno': '', 'tclassid': '', 'maxstirfeed': '', 'tcolor': '#ccc', 'autosecond': '0', 'imei': '','volume':'', 'appoint':0,'appointName':""})
|
|
|
},
|
|
|
// TMR设备类型
|
|
|
changeType(item) {
|