li.shaoyi 10 hónapja
szülő
commit
396c3aebda

+ 4 - 0
src/packages/pc/components/modules/select-account/index.vue

@@ -61,4 +61,8 @@ const onChange = (value?: number) => {
     const item = dataList.value.find((e) => e.accountid === value)
     emit('change', toRaw(item))
 }
+
+defineExpose({
+    onReset
+})
 </script>

+ 4 - 0
src/packages/pc/components/modules/select-goods/index.vue

@@ -65,4 +65,8 @@ const onChange = (value?: number) => {
     const item = dataList.value.find((e) => e.goodsId === value)
     emit('change', toRaw(item))
 }
+
+defineExpose({
+    onReset
+})
 </script>

+ 4 - 0
src/packages/pc/components/modules/select-institution/index.vue

@@ -70,4 +70,8 @@ const onChange = (value?: number) => {
     const item = dataList.value.find((e) => e.userid === value)
     emit('change', toRaw(item))
 }
+
+defineExpose({
+    onReset
+})
 </script>

+ 4 - 0
src/packages/pc/components/modules/select-investor/index.vue

@@ -66,4 +66,8 @@ const onChange = (value?: number) => {
     const item = dataList.value.find((e) => e.userId === value)
     emit('change', toRaw(item))
 }
+
+defineExpose({
+    onReset
+})
 </script>

+ 1 - 1
src/packages/pc/views/investor/user/open/components/edit/index.vue

@@ -231,7 +231,7 @@ const { loading, run } = useRequest(queryInvestorDetail, {
         uploadFiles.legalcardbackphotourl = getUploadFiles(res.data.legalcardbackphotourl)
         uploadFiles.otherurl = getUploadFiles(res.data.otherurl)
 
-        memberareaidRef.value.onReset(res.data.memberareaid)
+        memberareaidRef.value?.onReset(res.data.memberareaid)
         areaidRef.value.onReset(res.data.areaid)
         brokeridRef.value.onReset(res.data.brokerid)
         referralRef.value.onReset(res.data.referral)

+ 4 - 0
src/packages/pc/views/member/subinstitution/transfer/components/edit/select-level/index.vue

@@ -65,4 +65,8 @@ const onChange = (value?: number) => {
     const item = dataList.value.find((e) => e.userid === value)
     emit('change', toRaw(item))
 }
+
+defineExpose({
+    onReset
+})
 </script>