|
|
@@ -14,9 +14,9 @@
|
|
|
<span>合约:{{selectedRow.goodscode}}/{{selectedRow.goodsname}}</span>
|
|
|
</div>
|
|
|
<div class="secondLine">
|
|
|
- <div class="left">持有人/商品/仓库</div>
|
|
|
- <div class="middle">升贴水/数量</div>
|
|
|
- <div class="right">选择数量</div>
|
|
|
+ <div class="left">持仓单号/方向</div>
|
|
|
+ <div class="middle">数量/价格/金额</div>
|
|
|
+ <div class="right">到期日/盈亏</div>
|
|
|
</div>
|
|
|
<a-checkbox-group class="commonCheckboxGroup"
|
|
|
v-model:value="checked"
|
|
|
@@ -27,7 +27,7 @@
|
|
|
<div class="line1">
|
|
|
<div class>
|
|
|
<a-checkbox @change="checkboxChange(item)"
|
|
|
- :value="item.ladingbillid"></a-checkbox>
|
|
|
+ :value="item.tradeid"></a-checkbox>
|
|
|
</div>
|
|
|
<div class="name">{{item.username}}</div>
|
|
|
</div>
|
|
|
@@ -100,7 +100,7 @@ import { ModalEnum } from '@/common/constants/modalNameEnum';
|
|
|
import { _closeModal } from '@/common/setup/modal/modal';
|
|
|
|
|
|
import UploadImg from '@/common/components/uploadImg/index.vue';
|
|
|
-import { getSelectedAccountId } from '@/services/bus/account';
|
|
|
+import { getSelectedAccountId, getUserId } from '@/services/bus/account';
|
|
|
|
|
|
import { BuyOrSell } from '@/common/constants/enumCommon';
|
|
|
import Long from 'long';
|
|
|
@@ -118,6 +118,8 @@ import { queryTableList } from '@/common/setup/table';
|
|
|
import { queryTjmdTransferApply } from '@/services/go/Tjmd';
|
|
|
import { QueryTjmdTransferApplyRsp } from '@/services/go/Tjmd/interface';
|
|
|
import { GetLoginID } from '@/services/go/useInfo';
|
|
|
+import { queryTradeHolderDetail } from '@/services/go/order';
|
|
|
+import { QueryTradeHolderDetailReq } from '@/services/go/order/interface';
|
|
|
|
|
|
export default defineComponent({
|
|
|
name: ModalEnum.commodity_contract_summary_settlement,
|
|
|
@@ -137,10 +139,12 @@ export default defineComponent({
|
|
|
const { visible, cancel } = _closeModal(context);
|
|
|
// 表格列表数据
|
|
|
const { loading, tableList, queryTable } = queryTableList<QueryTjmdTransferApplyRsp>();
|
|
|
- const param = {
|
|
|
- applytype: 1,
|
|
|
+ const param: QueryTradeHolderDetailReq = {
|
|
|
+ buyorsell: props.selectedRow.buyorsell,
|
|
|
+ userid: getUserId(),
|
|
|
+ goodsid: props.selectedRow.goodsid,
|
|
|
};
|
|
|
- queryTable(queryTjmdTransferApply, param);
|
|
|
+ queryTable(queryTradeHolderDetail, param);
|
|
|
|
|
|
const { goodsid } = props.selectedRow;
|
|
|
// 合约交收可点选仓单
|
|
|
@@ -443,3 +447,7 @@ export default defineComponent({
|
|
|
}
|
|
|
}
|
|
|
</style>;
|
|
|
+
|
|
|
+function queryTradeHolderDetail(queryTradeHolderDetail: any, param: { applytype: number; }) {
|
|
|
+ throw new Error('Function not implemented.');
|
|
|
+}
|