|
|
@@ -151,6 +151,7 @@ import { requestResultLoadingAndInfo } from '@/common/methods/request/resultInfo
|
|
|
import { validateAction } from '@/common/setup/form';
|
|
|
import { FormState, BargainList } from './interface';
|
|
|
import { handleForm, usePrice, useCheckd } from './setup';
|
|
|
+import { handleSubcriteQuote } from '@/common/setup/table/tableQuote';
|
|
|
|
|
|
export default defineComponent({
|
|
|
name: ModalEnum.commodity_contract_summary_settlement,
|
|
|
@@ -171,6 +172,7 @@ export default defineComponent({
|
|
|
const { rules, formState, formRef } = handleForm();
|
|
|
// 选中逻辑
|
|
|
const { checked, selected, checkGroupChange, checkboxChange } = useCheckd();
|
|
|
+
|
|
|
// 表格列表数据
|
|
|
const { loading, tableList, queryTable } = queryTableList<BargainList>();
|
|
|
const param: QueryTradeHolderDetailReq = {
|
|
|
@@ -195,10 +197,9 @@ export default defineComponent({
|
|
|
|
|
|
function submit() {
|
|
|
validateAction<FormState>(formRef, formState).then((res) => {
|
|
|
- const item = tableList.value[0];
|
|
|
const param: TradeHoldTransferApplyReq = {
|
|
|
- TradeID: Long.fromString(item.tradeid),
|
|
|
- BuyorSell: item.buyorsell,
|
|
|
+ TradeID: Long.fromString(selected.value!.tradeid),
|
|
|
+ BuyorSell: selected.value!.buyorsell,
|
|
|
TransferPrice: res.price,
|
|
|
ApplySrc: 2,
|
|
|
ApplicantID: geLoginID_number()!,
|