项目清单确认流程修改bug

This commit is contained in:
宋伟佳
2021-09-01 17:51:08 +08:00
parent 4bce323022
commit 1c15592d6c
2 changed files with 5 additions and 5 deletions
@@ -325,7 +325,7 @@ export default {
let routeUrl = this.$router.resolve({ let routeUrl = this.$router.resolve({
name: "OtherStandardDetails", name: "OtherStandardDetails",
params: { params: {
id: item.standId, id: item.id,
pageType: "INLAND_STAND" pageType: "INLAND_STAND"
} }
}); });
@@ -493,7 +493,7 @@ export default {
let routeUrl = this.$router.resolve({ let routeUrl = this.$router.resolve({
name: "OtherStandardDetails", name: "OtherStandardDetails",
params: { params: {
id: item.standId, id: item.id,
pageType: "INLAND_STAND" pageType: "INLAND_STAND"
} }
}); });
@@ -671,11 +671,11 @@ export default {
} }
this.standardData = res.data.records; this.standardData = res.data.records;
this.standardData.forEach(item => { this.standardData.forEach(item => {
if (item.zccssrqgj === "-") { if (item.zccssrqgj === "-" || item.zccssrqgj === 'null' || item.zccssrqgj === 'undefined') {
item.zccssrqgj = ""; item.zccssrqgj = "";
} }
if (item.xcxssrqgj === "-") { if (item.xcxssrqgj === "-" || item.xcxssrqgj === 'null' || item.xcxssrqgj === 'undefined' ) {
item.xcxssrq = ""; item.xcxssrqgj = "";
} }
}); });
this.total = res.data.total; this.total = res.data.total;