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