huangbin 4 年 前
コミット
ebe8b8372c

+ 2 - 2
src/views/information/spot-contract/components/add/index.vue

@@ -220,8 +220,8 @@
                         style="width: 200px"
                         placeholder="请选择结算币种">
                 <a-select-option v-for="item in payCurrency"
-                                 :key="item.enumitemname"
-                                 :value="item.enumitemname">
+                                 :key="item.enumdicid"
+                                 :value="item.enumdicid">
                   {{item.enumdicname}}
                 </a-select-option>
               </a-select>

+ 2 - 2
src/views/information/spot-contract/components/modify/index.vue

@@ -476,13 +476,13 @@ export default defineComponent({
                     merchandiserList.value = getBusinesserOrMerchandiser('23');
                 });
                 queryTradeManager();
-
                 mergeTwoObj(formState, props.selectedRow);
                 const { deliverygoodsid, qty, price } = props.selectedRow;
                 deliverygoodsid && deliveryGoodsChange(deliverygoodsid);
                 formState.Qty = qty.toString();
                 formState.Price = price.toString();
-                contractChange(formState.ContractType)
+                formState.CurrencyID = props.selectedRow.currencyid;
+                contractChange(formState.ContractType);
             }
         });
         function submit() {