huangbin преди 4 години
родител
ревизия
d43b373f4f

+ 1 - 1
public/config/app.config.json

@@ -1,3 +1,3 @@
 {
-    "apiUrl": "http://192.168.31.139:8080/cfg?key=test_139"
+    "apiUrl": "http://192.168.31.135:8080/cfg?key=test_135"
 }

+ 12 - 1
src/views/market/spot_trade/spot_trade_order_transaction/spot_trade_order_transaction_swap/components/delisting/index.vue

@@ -159,7 +159,7 @@ import { useTaAccount } from '@/common/setup/account';
 import { validateAction } from '@/common/setup/form';
 import { _closeModal } from '@/common/setup/modal/modal';
 import { useTradeRule } from '@/common/setup/trade';
-import { getGoodsAgreeunitByGoodsId } from '@/services/bus/goods';
+import { getGoodsAgreeunitByGoodsId, getQuoteDayInfoByCodeFindPrice } from '@/services/bus/goods';
 import { geLoginID_number } from '@/services/bus/login';
 import { getMarketByTradeMode, getMarketIdsByTradeMode } from '@/services/bus/market';
 import { QueryQuoteGoodsListRsp, QueryTjmdTodayAccountMarginReq, QueryTjmdTradeOrderDetailRsp } from '@/services/go/Tjmd/interface';
@@ -236,6 +236,17 @@ export default defineComponent({
             }
             return result ? result.toFixed(2) : '--';
         };
+        // 估算价
+        // function getGuseetPrice() {
+        //     let result = '--';
+        //     const goodsPrice = getQuoteDayInfoByCodeFindPrice(props.selectedRow.refgoodscode);
+        //     console.log('goodsPrice', goodsPrice);
+        //     if (goodsPrice && goodsPrice !== '--') {
+        //         // 有实时行情价格
+        //         result = ((goodsPrice as number) + formState.PriceMove).toFixed(2);
+        //     }
+        //     return result;
+        // }
         // const { getMaxNum, getMoney, getMargin, getPrice } = handleNumAndPrice(props.selectedRow);
         function submit() {
             validateAction<FormParam>(formRef, formState).then((res) => {