|
|
@@ -17,6 +17,9 @@
|
|
|
:record="record"
|
|
|
@click="openComponent" />
|
|
|
</template>
|
|
|
+ <template #orderprice="{ record }">
|
|
|
+ <span>{{getBuyOrSellMarketPrice(record, parantSelectedRow)}}</span>
|
|
|
+ </template>
|
|
|
<template #username="{text, record }">
|
|
|
<span>{{record.userid + " " }}{{text}}</span>
|
|
|
</template>
|
|
|
@@ -44,12 +47,13 @@ import { ColumnType } from '@/common/methods/table/interface';
|
|
|
import { Moment } from 'moment';
|
|
|
import moment from 'moment';
|
|
|
import { getShowBottomValue } from '@/common/config/constrolBottom';
|
|
|
-import { useBuyOrSellBtnList } from '../setup';
|
|
|
+import { useBuyOrSellBtnList, getBuyOrSellMarketPrice } from '../setup';
|
|
|
import { getUserId } from '@/services/bus/account';
|
|
|
import { getUserAccountType } from '@/services/bus/user';
|
|
|
import { queryTjmdTradeOrderDetail } from '@/services/go/Tjmd';
|
|
|
import { QueryTjmdTradeOrderDetailReq } from '@/services/go/Tjmd/interface';
|
|
|
import { findItemGoods } from '../../setup';
|
|
|
+import { RefGoodsList } from '../../interface';
|
|
|
|
|
|
const columns = [
|
|
|
{
|
|
|
@@ -102,7 +106,7 @@ export default defineComponent({
|
|
|
type: String as PropType<EnumRouterName>,
|
|
|
},
|
|
|
parantSelectedRow: {
|
|
|
- type: Object as PropType<WrOrderQuote>,
|
|
|
+ type: Object as PropType<RefGoodsList>,
|
|
|
default: {},
|
|
|
},
|
|
|
},
|
|
|
@@ -155,6 +159,7 @@ export default defineComponent({
|
|
|
handleColumn,
|
|
|
btnList: useBuyOrSellBtnList(),
|
|
|
columns,
|
|
|
+ getBuyOrSellMarketPrice,
|
|
|
};
|
|
|
},
|
|
|
});
|