Quellcode durchsuchen

fix: 客户管理账单默认值

lyc vor 3 Wochen
Ursprung
Commit
a23363e6a7
1 geänderte Dateien mit 7 neuen und 3 gelöschten Zeilen
  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: {