app
wangxia 5 months ago
parent 356438222b
commit 10a6c9e649

@ -532,6 +532,7 @@ export default {
relationId: that.relationId, relationId: that.relationId,
}, },
(res) => { (res) => {
console.log('order_detail_new',that.api.order_detail_new);
console.log("工单详情:", res); console.log("工单详情:", res);
// return; // return;
console.log("res", res); console.log("res", res);
@ -557,7 +558,7 @@ export default {
} }
res.zhengceTextShow = that.G.policyNumToHanZi(res.policyIdx); res.zhengceTextShow = that.G.policyNumToHanZi(res.policyIdx);
// //
res.newZhuchang = res.onSiteInfo.replaceAll("", "\n"); res.newZhuchang = res.onSiteInfo ? res.onSiteInfo.replaceAll("", "\n"):'';
res.totalZC = res.prevRecordId || (!res.prevRecordId && !res.nextRecordId) ? res.newZhuchang : ""; res.totalZC = res.prevRecordId || (!res.prevRecordId && !res.nextRecordId) ? res.newZhuchang : "";
if (res.upOnSiteInfo) { if (res.upOnSiteInfo) {
res.totalZC = res.upOnSiteInfo || !res.prevRecordId ? res.upOnSiteInfo.replaceAll("", "\n") + "\n" + res.totalZC : res.totalZC; res.totalZC = res.upOnSiteInfo || !res.prevRecordId ? res.upOnSiteInfo.replaceAll("", "\n") + "\n" + res.totalZC : res.totalZC;

Loading…
Cancel
Save