소스 검색

fix:修改代码

lazy 5 일 전
부모
커밋
3d47424a41
2개의 변경된 파일7개의 추가작업 그리고 4개의 파일을 삭제
  1. 7 0
      src/views/myStoreEnterprise/EnterpriseAddInfo.vue
  2. 0 4
      src/views/myStoreEnterprise/components/Enterprise.vue

+ 7 - 0
src/views/myStoreEnterprise/EnterpriseAddInfo.vue

@@ -39,6 +39,13 @@ export default {
 
     if (this.$route.query.id && this.$route.query.companyZrId) {
       this.getDetails(this.$route.query.id)
+    } else {
+      const { code, name } = this.$route.query
+      this.baseInfo = {
+        companyType: '',
+        socialCreditCode: code || '',
+        enterpriseName: name || ''
+      }
     }
   },
   methods: {

+ 0 - 4
src/views/myStoreEnterprise/components/Enterprise.vue

@@ -237,7 +237,6 @@ export default {
             query: {
               type: 'supInfo',
               id: row.id,
-              typeName: row.type,
               name: row.name,
               code: row.code,
               taskId: row.taskId || '',
@@ -251,7 +250,6 @@ export default {
           query: {
             type: 'edit',
             id: row.id,
-            typeName: row.type,
             name: row.name,
             code: row.code,
             taskId: row.taskId || '',
@@ -264,7 +262,6 @@ export default {
           query: {
             type: 'reAdd',
             id: row.id,
-            typeName: row.type,
             name: row.name,
             code: row.code,
             taskId: row.taskId || '',
@@ -277,7 +274,6 @@ export default {
           query: {
             type: 'see',
             id: row.id,
-            typeName: row.type,
             name: row.name,
             code: row.code,
             companyZrId: row.companyZrId