소스 검색

费率调整

max 7 달 전
부모
커밋
cc916e25b1
2개의 변경된 파일7개의 추가작업 그리고 4개의 파일을 삭제
  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
 			}))
 		);
 	},