Sfoglia il codice sorgente

查询套保品种详情

yu.jie 4 anni fa
parent
commit
5ac5cfb41e

+ 0 - 4
src/views/business/exposure/list/realTime/index.vue

@@ -130,10 +130,6 @@ function handleDeatil(loading: Ref<boolean>, selectedRow: ErmcpRealExposureModel
                 loading.value = false;
                 console.log('查询列表', detailTableList);
             })
-            .catch((err) => {
-                message.error(err);
-                loading.value = false;
-            });
     }
     return { tabList, selectMenu, detailTableList, detailColumns };
 }

+ 3 - 6
src/views/business/exposure/list/spot/index.vue

@@ -64,6 +64,7 @@ function getExposure() {
                 console.log('获取表格数据', tableList);
             })
             .catch((err) => {
+                debugger
                 message.error(err);
                 loading.value = false;
             });
@@ -89,7 +90,7 @@ function handleDeatil(loading: Ref<boolean>, selectedRow: Ermcp3AreaSpot) {
     // 切换明细
     function selectMenu(index: number) {
         ActualExposureDetail();
-        const { columns, getColumns } = getColumsAndSearch('table_pcweb_exposure_detail', false);
+        const { columns, getColumns } = getColumsAndSearch('table_pcweb_exposure_spotposition', false);
         getColumns();
         detailColumns.value = columns.value;
     }
@@ -106,10 +107,6 @@ function handleDeatil(loading: Ref<boolean>, selectedRow: Ermcp3AreaSpot) {
                 loading.value = false;
                 console.log('现货头寸明细', detailTableList);
             })
-            .catch((err) => {
-                message.error(err);
-                loading.value = false;
-            });
     }
     return { tabList, selectMenu, detailTableList, detailColumns };
 }
@@ -124,7 +121,7 @@ export default defineComponent({
     },
     setup() {
         const { visible, closeDrawer } = handleDrawer();
-        const { columns, search, getColumns } = getColumsAndSearch('table_pcweb_exposure_detail', true);
+        const { columns, search, getColumns } = getColumsAndSearch('table_pcweb_exposure_spotposition', true);
         const { expandedRowKeys, selectedRow, Rowclick } = handleTableEvent<Ermcp3AreaSpot>(closeDrawer);
         const { loading, tableList, queryList } = getExposure();
         initData(() => {

+ 0 - 2
src/views/information/goods/components/add/index.vue

@@ -287,7 +287,6 @@ import { validateCommon } from '@/common/setup/validate';
 import { getGoodsUnitEnumList } from '@/common/constants/enumsList';
 import { getGoodsUnitEnumItemName } from '@/common/constants/enumsName';
 import {requestResultLoadingAndInfo} from "@/common/methods/request/resultInfo";
-import {QueryModifyUserInfo} from "@/services/go/ermcp/customInfo";
 import {DeliveryGoodsApplyReq} from "@/services/proto/delivery/interface";
 import {addDeliveryGoodsApply} from "@/services/proto/delivery";
 
@@ -352,7 +351,6 @@ export default defineComponent({
                             }
                         })
                     }
-                    debugger
                     requestResultLoadingAndInfo(addDeliveryGoodsApply, reqParam, loading, ['新增现货品种成功', '新增现货品种失败:']).then(() => {
                         cancel();
                         context.emit('refresh');

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

@@ -423,6 +423,10 @@ import { Ermcp3ContractRsp } from '@/services/go/ermcp/spot-contract/interface';
 import { handleAccountManager } from '../setup';
 import { Moment } from 'moment';
 import { handleFormRule, handleContract, handleDeliveryGoods, handleAmout, handlePrice, handleDate, handleFromState } from '../setup';
+import {requestResultLoadingAndInfo} from "@/common/methods/request/resultInfo";
+import {addDeliveryGoodsApply} from "@/services/proto/delivery";
+import {orderContract} from "@/services/proto/spotcontract";
+import {GldErmcpSpotContractOperateReq} from "@/services/proto/spotcontract/interface";
 
 export default defineComponent({
     name: 'add-spot-contract',
@@ -486,7 +490,6 @@ export default defineComponent({
                         const EndDate = fn(pDate[1]);
                         Object.assign(param, { StartDate, EndDate });
                     }
-                    console.log('values', formState);
 
                     sendReq(param, loading, OperateType)
                         .then((res) => {