Explorar o código

commit id错误

yu jie %!s(int64=4) %!d(string=hai) anos
pai
achega
9badf35ac1

+ 2 - 2
src/views/business/plan/components/add/index.vue

@@ -121,8 +121,8 @@
                       v-model:value="formState.Currencyid"
                       placeholder="请选择结算币种">
               <a-select-option v-for="item in priceTyep"
-                               :key="item.enumdicid"
-                               :value="item.enumdicid">
+                               :key="item.enumitemname"
+                               :value="item.enumitemname">
                 {{item.enumdicname}}
               </a-select-option>
             </a-select>

+ 2 - 2
src/views/business/plan/components/modify/index.vue

@@ -117,8 +117,8 @@
                       v-model:value="formState.Currencyid"
                       placeholder="请选择结算币种">
               <a-select-option v-for="item in priceTyep"
-                               :key="item.enumdicid"
-                               :value="item.enumdicid">
+                               :key="item.enumitemname"
+                               :value="item.enumitemname">
                 {{item.enumdicname}}
               </a-select-option>
             </a-select>

+ 2 - 2
src/views/business/plan/components/recommit/index.vue

@@ -116,8 +116,8 @@
                       v-model:value="formState.Currencyid"
                       placeholder="请选择结算币种">
               <a-select-option v-for="item in priceTyep"
-                               :key="item.enumdicid"
-                               :value="item.enumdicid">
+                               :key="item.enumitemname"
+                               :value="item.enumitemname">
                 {{item.enumdicname}}
               </a-select-option>
             </a-select>

+ 1 - 1
src/views/information/spot-contract/components/setup.ts

@@ -313,7 +313,7 @@ export function handlePrice(formState: UnwrapRef<FormState>) {
 
     // 切换币种
     function parCurrencyChange(value: number) {
-        const obj = payCurrency.find(e => e.enumdicid === value)
+        const obj = payCurrency.find(e => e.enumitemname === value)
         console.log('切换币种', obj);
 
         // payCurrencyUnit.value = obj?.enumdicname