commit
This commit is contained in:
@@ -1325,12 +1325,15 @@ export default {
|
|||||||
}
|
}
|
||||||
this.dataList = res.data.records;
|
this.dataList = res.data.records;
|
||||||
this.dataList.forEach(item => {
|
this.dataList.forEach(item => {
|
||||||
if (item.xcxssrqgj === null) {
|
if(item.xcxssrqgj === 'undefined' ||item.xcxssrqgj === '-' || item.xcxssrqgj === 'null'){
|
||||||
this.$set(item, "XCXSSRQ", "");
|
item.xcxssrqgj = ''
|
||||||
this.$set(item, "ZCCSSRQ", "");
|
}else{
|
||||||
} else {
|
this.$set(item, "XCXSSRQ", item.xcxssrqgj)
|
||||||
this.$set(item, "XCXSSRQ", item.xcxssrqgj);
|
}
|
||||||
this.$set(item, "ZCCSSRQ", item.zccssrqgj);
|
if(item.zccssrqgj === 'undefined' || item.zccssrqgj === '-'|| item.zccssrqgj === 'null'){
|
||||||
|
item.zccssrqgj = ''
|
||||||
|
}else{
|
||||||
|
this.$set(item, "ZCCSSRQ", item.zccssrqgj)
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
this.listForm.dataList = res.data.records;
|
this.listForm.dataList = res.data.records;
|
||||||
|
|||||||
@@ -1305,12 +1305,12 @@ export default {
|
|||||||
}
|
}
|
||||||
this.dataList = res.data.records;
|
this.dataList = res.data.records;
|
||||||
this.dataList.forEach(item => {
|
this.dataList.forEach(item => {
|
||||||
if(item.xcxssrqgj === 'undefined' ||item.xcxssrqgj === '-' ){
|
if(item.xcxssrqgj === 'undefined' ||item.xcxssrqgj === '-' || item.xcxssrqgj === 'null'){
|
||||||
item.xcxssrqgj = ''
|
item.xcxssrqgj = ''
|
||||||
}else{
|
}else{
|
||||||
this.$set(item, "XCXSSRQ", item.xcxssrqgj)
|
this.$set(item, "XCXSSRQ", item.xcxssrqgj)
|
||||||
}
|
}
|
||||||
if(item.zccssrqgj === 'undefined' || item.zccssrqgj === '-'){
|
if(item.zccssrqgj === 'undefined' || item.zccssrqgj === '-'|| item.zccssrqgj === 'null'){
|
||||||
item.zccssrqgj = ''
|
item.zccssrqgj = ''
|
||||||
}else{
|
}else{
|
||||||
this.$set(item, "ZCCSSRQ", item.zccssrqgj)
|
this.$set(item, "ZCCSSRQ", item.zccssrqgj)
|
||||||
|
|||||||
Reference in New Issue
Block a user