|
@@ -1536,8 +1536,10 @@ export default {
|
|
gethxcfDate1 (row) {
|
|
gethxcfDate1 (row) {
|
|
let that = this;
|
|
let that = this;
|
|
let arr = [];
|
|
let arr = [];
|
|
|
|
+ try{
|
|
that.gridDataLoading = true;
|
|
that.gridDataLoading = true;
|
|
- for (let i = 0; i < row.dataByGmid.length; i++) {
|
|
|
|
|
|
+ if(row.dataByGmid) {
|
|
|
|
+ for (let i = 0; i < row.dataByGmid.length; i++) {
|
|
let item = row.dataByGmid[i];
|
|
let item = row.dataByGmid[i];
|
|
arr.push({
|
|
arr.push({
|
|
seq: i,
|
|
seq: i,
|
|
@@ -1546,9 +1548,15 @@ export default {
|
|
nkstdmin: item.nkStdMin,
|
|
nkstdmin: item.nkStdMin,
|
|
nkstdmax: item.nkStdMax
|
|
nkstdmax: item.nkStdMax
|
|
})
|
|
})
|
|
|
|
+ }
|
|
}
|
|
}
|
|
that.gridData = arr;
|
|
that.gridData = arr;
|
|
that.gridDataLoading = false;
|
|
that.gridDataLoading = false;
|
|
|
|
+ }catch(e){
|
|
|
|
+ that.gridData = arr;
|
|
|
|
+ //TODO handle the exception
|
|
|
|
+ that.gridDataLoading = false;
|
|
|
|
+ }
|
|
},
|
|
},
|
|
gethxcfDate (row) {
|
|
gethxcfDate (row) {
|
|
let that = this;
|
|
let that = this;
|