소스 검색

历史拜访-拜访详情获取storeId

zhujindu 1 년 전
부모
커밋
19c312a139
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      src/views/historicalVisit/historicalDetails.vue

+ 2 - 2
src/views/historicalVisit/historicalDetails.vue

@@ -220,7 +220,7 @@ export default {
             path: '/abnormalVisit',
             query: {
               type: 'edit',
-              storeCode: this.$route.query.storeCode,
+              storeCode: this.$route.query.storeCode || this.list.storeCode,
               rdId: this.$route.query.visitId,
               visitId: this.$route.query.visitId,
               storeId: this.list.storeId,
@@ -242,7 +242,7 @@ export default {
             query: {
               type: 'edit',
               storeGroupId: this.list.storeGroupId,
-              storeCode: this.$route.query.storeCode,
+              storeCode: this.$route.query.storeCode || this.list.storeCode,
               storeName: this.list.storeName,
               addressLine: this.list.addressLine,
               rdId: this.$route.query.visitId,