|
|
@@ -12,7 +12,7 @@ import { contractRelatedHedgedItem } from '@/services/proto/hedgedItem'
|
|
|
import { getUserId } from '@/services/bus/user'
|
|
|
|
|
|
export function useForm(selectedRow: UnLinkSpotContractRsp) {
|
|
|
- const { spotcontractid, qty, contracttype } = selectedRow;
|
|
|
+ const { spotcontractid, qty, contracttype, wrstandardid } = selectedRow;
|
|
|
const { tableList, queryTable } = queryTableList<Ermcp8EnableHedgeditemRsp>(true, 2); // 表格列表数据
|
|
|
const loading = ref<boolean>(false);
|
|
|
const selectedRowKeys = ref<number[]>([]); // 表格选中的 rowKey 数据 :rowKey="(record,index)=>index"
|
|
|
@@ -50,6 +50,7 @@ export function useForm(selectedRow: UnLinkSpotContractRsp) {
|
|
|
const param: Ermcp8EnableHedgeditemReq = {
|
|
|
userid: getUserId(),
|
|
|
spottype: 0,
|
|
|
+ wrstandardid,
|
|
|
}
|
|
|
switch (contracttype) {
|
|
|
// 采购合同
|