Browse Source

费率调整

max 7 months ago
parent
commit
cc916e25b1
2 changed files with 7 additions and 4 deletions
  1. 3 0
      package.json
  2. 4 4
      src/modules/payment/views/rate.vue

+ 3 - 0
package.json

@@ -72,5 +72,8 @@
 		"vite-plugin-compression": "^0.5.1",
 		"vite-plugin-vue-devtools": "^7.5.2",
 		"vue-tsc": "^2.1.6"
+	},
+	"volta": {
+		"node": "20.18.1"
 	}
 }

+ 4 - 4
src/modules/payment/views/rate.vue

@@ -168,7 +168,7 @@ const Upsert = useUpsert({
 			payment_type_list.map(e => {
 				return {
 					label: e.name || '',
-					value: e.id
+					value: e.value
 				};
 			})
 		);
@@ -181,14 +181,14 @@ const Upsert = useUpsert({
 				'DEPOSIT_method',
 				payment_type_list.map(e => ({
 					label: e.name || '',
-					value: e.id
+					value: e.value
 				}))
 			);
 			Upsert.value?.setOptions(
 				'WITHDRAWAL_method',
 				payment_type_list.map(e => ({
 					label: e.name || '',
-					value: e.id
+					value: e.value
 				}))
 			);
 			return
@@ -202,7 +202,7 @@ const Upsert = useUpsert({
 			'method',
 			payment_type_list.map(e => ({
 				label: e.name || '',
-				value: e.id
+				value: e.value
 			}))
 		);
 	},