Selaa lähdekoodia

feat: 用户信息认证

max 7 kuukautta sitten
vanhempi
sitoutus
e6652ecf17

+ 4 - 5
src/modules/payment/views/auth.vue

@@ -15,8 +15,8 @@
 					</el-col>
 				</el-row>
 			</div>
-			{{ merchant?.business?.status }}
-			{{ merchant?.individual?.status }}
+			{{ merchant?.business?.status && '您已完成信息认证, 请继续使用' }}
+			{{ merchant?.individual?.status && '您已完成信息认证, 请继续使用' }}
 			<div
 				class="subtitle"
 				v-if="merchant?.business?.status == 0 || merchant?.individual?.status == 0"
@@ -43,15 +43,14 @@
 				</el-row>
 			</div>
 			<business
-				:mch-id="merchant.id"
-				:business="merchant.business"
+				:mch-id="merchant.mchId"
 				@close="openBusiness = false"
 				@submit="getUser"
 				ref="business"
 				:open="openBusiness"
 			/>
 			<individual
-				:mch-id="merchant.id"
+				:mch-id="merchant.mchId"
 				:individual="merchant.individual"
 				@close="openIndividual = false"
 				@submit="getUser"

+ 9 - 9
src/modules/payment/views/components/business.vue

@@ -119,15 +119,15 @@ const Upsert = useUpsert({
 			component: { name: 'el-input', props: { clearable: true } },
 			required: true
 		},
-		{
-			label: '注册日期',
-			prop: 'registration_date',
-			component: {
-				name: 'el-date-picker',
-				props: { type: 'date', valueFormat: 'YYYY-MM-DD' }
-			},
-			required: true
-		},
+		// {
+		// 	label: '注册日期',
+		// 	prop: 'registration_date',
+		// 	component: {
+		// 		name: 'el-date-picker',
+		// 		props: { type: 'date', valueFormat: 'YYYY-MM-DD' }
+		// 	},
+		// 	required: true
+		// },
 		{
 			label: '合作伙伴文件编号',
 			prop: 'partners_document_number',