Browse Source

fix: 客户管理账单默认值

lyc 2 months ago
parent
commit
a23363e6a7
1 changed files with 7 additions and 3 deletions
  1. 7 3
      src/views/customer/edit.vue

+ 7 - 3
src/views/customer/edit.vue

@@ -667,6 +667,13 @@ export default {
             this.$set(this.dto, 'PayIdList', PayIdList)
           }
         })
+        _getDownloadUrl().then((res) => {
+          this.BillDownloadUrlList = res
+          if (res && res.length > 0) {
+            const BillDownloadUrl = res[0].Url
+            this.$set(this.dto, 'BillDownloadUrl', BillDownloadUrl)
+          }
+        })
       })
     _getDockingPlatform().then((response) => {
       this.Dockingplatform = response
@@ -711,9 +718,6 @@ export default {
         this.WXUserId = resp.WXUserId
       })
     }
-    _getDownloadUrl().then((res) => {
-      this.BillDownloadUrlList = res
-    })
 
   },
   methods: {