|
|
@@ -22,68 +22,71 @@
|
|
|
<a-form class="inlineForm"
|
|
|
:form="form"
|
|
|
@submit="handleSearch">
|
|
|
- <fieldset class="formFieldSet">
|
|
|
- <legend>基本信息</legend>
|
|
|
- <a-row :gutter="24">
|
|
|
- <a-col :span="12">
|
|
|
- <a-form-item label="计划类型">
|
|
|
- <span class="white">{{ getPlanContractType(selectedRow.contracttype) }}</span>
|
|
|
- </a-form-item>
|
|
|
- </a-col>
|
|
|
- <a-col :span="12">
|
|
|
- <a-form-item label="计划名称">
|
|
|
- <span class="white">{{ formatValue(selectedRow.hedgeplanno) }}</span>
|
|
|
- </a-form-item>
|
|
|
- </a-col>
|
|
|
- </a-row>
|
|
|
- <a-row :gutter="24">
|
|
|
- <a-col :span="12">
|
|
|
- <a-form-item label="现货品种">
|
|
|
- <span class="white">{{ formatValue(selectedRow.deliverygoodsname) }}</span>
|
|
|
- </a-form-item>
|
|
|
- </a-col>
|
|
|
- <a-col :span="12">
|
|
|
- <a-form-item label="标仓系数">
|
|
|
- <span class="white">{{ formatValue(selectedRow.convertfactor) }}</span>
|
|
|
- </a-form-item>
|
|
|
- </a-col>
|
|
|
- </a-row>
|
|
|
- <a-row :gutter="24">
|
|
|
- <a-col :span="12">
|
|
|
- <a-form-item label="计划量">
|
|
|
- <span class="white">{{ formatValue(selectedRow.planqty) }}</span>
|
|
|
- </a-form-item>
|
|
|
- </a-col>
|
|
|
- <a-col :span="12">
|
|
|
- <a-form-item label="备注">
|
|
|
- <span class="white">{{ formatValue(selectedRow.remark) }}</span>
|
|
|
- </a-form-item>
|
|
|
- </a-col>
|
|
|
- </a-row>
|
|
|
-
|
|
|
- </fieldset>
|
|
|
- <fieldset class="formFieldSet">
|
|
|
- <legend>其它信息</legend>
|
|
|
- <a-row :gutter="24">
|
|
|
- <a-col :span="12">
|
|
|
- <a-form-item label="交易用户">
|
|
|
- <span class="white">{{ formatValue(selectedRow.tradeusername) }}</span>
|
|
|
- </a-form-item>
|
|
|
- </a-col>
|
|
|
- <a-col :span="12">
|
|
|
- <a-form-item label="结算币种">
|
|
|
- <span class="white">{{ formatValue(getPayCurrencyTypeEnumList().find(item => item.enumdicid === selectedRow.currencyid).enumdicname) }}</span>
|
|
|
- </a-form-item>
|
|
|
- </a-col>
|
|
|
- </a-row>
|
|
|
- <a-row :gutter="24">
|
|
|
- <a-col :span="12">
|
|
|
- <a-form-item label="备注">
|
|
|
- <span class="white">{{ formatValue(selectedRow.remark) }}</span>
|
|
|
- </a-form-item>
|
|
|
- </a-col>
|
|
|
- </a-row>
|
|
|
- </fieldset>
|
|
|
+ <fieldset class="formFieldSet">
|
|
|
+ <legend>套保计划</legend>
|
|
|
+ <a-row :gutter="24">
|
|
|
+ <a-col :span="12">
|
|
|
+ <a-form-item label="计划类型">
|
|
|
+ <span class="white">{{ getPlanContractType(selectedRow.contracttype) }}</span>
|
|
|
+ </a-form-item>
|
|
|
+ </a-col>
|
|
|
+ <a-col :span="12">
|
|
|
+ <a-form-item label="计划名称">
|
|
|
+ <span class="white">{{ formatValue(selectedRow.hedgeplanno) }}</span>
|
|
|
+ </a-form-item>
|
|
|
+ </a-col>
|
|
|
+ </a-row>
|
|
|
+ <a-row :gutter="24">
|
|
|
+ <a-col :span="12">
|
|
|
+ <a-form-item label="现货品种">
|
|
|
+ <span class="white">{{ formatValue(selectedRow.deliverygoodsname) }}</span>
|
|
|
+ </a-form-item>
|
|
|
+ </a-col>
|
|
|
+ <a-col :span="12">
|
|
|
+ <a-form-item label="商品">
|
|
|
+ <span class="white">{{ formatValue(selectedRow.wrstandardname) }}</span>
|
|
|
+ </a-form-item>
|
|
|
+ </a-col>
|
|
|
+ </a-row>
|
|
|
+ <a-row :gutter="24">
|
|
|
+ <a-col :span="12">
|
|
|
+ <a-form-item label="计划量">
|
|
|
+ <span class="white">{{ formatValue(selectedRow.planqty) }}</span>
|
|
|
+ </a-form-item>
|
|
|
+ </a-col>
|
|
|
+ <a-col :span="12">
|
|
|
+ <a-form-item label="标仓系数">
|
|
|
+ <span class="white">{{ formatValue(selectedRow.convertfactor) }}</span>
|
|
|
+ </a-form-item>
|
|
|
+ </a-col>
|
|
|
+ </a-row>
|
|
|
+ <a-row :gutter="24">
|
|
|
+ <a-col :span="12">
|
|
|
+ <a-form-item label="交易用户">
|
|
|
+ <span class="white">{{ formatValue(selectedRow.tradeusername) }}</span>
|
|
|
+ </a-form-item>
|
|
|
+ </a-col>
|
|
|
+ <a-col :span="12">
|
|
|
+ <a-form-item label="结算币种">
|
|
|
+ <span class="white">{{ formatValue(selectedRow.currencyname) }}</span>
|
|
|
+ </a-form-item>
|
|
|
+ </a-col>
|
|
|
+ </a-row>
|
|
|
+ <a-row :gutter="24">
|
|
|
+ <a-col :span="12">
|
|
|
+ <a-form-item label="状态">
|
|
|
+ <span class="white">{{ formatValue(getPlanStatusName(selectedRow.hedgeplanstatus)) }}</span>
|
|
|
+ </a-form-item>
|
|
|
+ </a-col>
|
|
|
+ </a-row>
|
|
|
+ <a-row :gutter="24">
|
|
|
+ <a-col :span="12">
|
|
|
+ <a-form-item label="备注">
|
|
|
+ <span class="white">{{ formatValue(selectedRow.remark) }}</span>
|
|
|
+ </a-form-item>
|
|
|
+ </a-col>
|
|
|
+ </a-row>
|
|
|
+ </fieldset>
|
|
|
</a-form>
|
|
|
</a-modal>
|
|
|
</template>
|
|
|
@@ -95,7 +98,7 @@ import { Modal } from 'ant-design-vue';
|
|
|
import { ErmcpHedgePlanReq } from '@/services/proto/hedgeplan/interface';
|
|
|
import Long from 'long';
|
|
|
import { Ermcp3HedgePlan } from '@/services/go/ermcp/plan/interface';
|
|
|
-import { getPlanContractType } from '@/views/business/plan/setup';
|
|
|
+import {getPlanContractType, getPlanStatusName} from '@/views/business/plan/setup';
|
|
|
import { formatValue } from '@/common/methods';
|
|
|
import { requestResultLoadingAndInfo } from '@/common/methods/request/resultInfo';
|
|
|
import { hedgePlanReq } from '@/services/proto/hedgeplan';
|
|
|
@@ -165,6 +168,7 @@ export default defineComponent({
|
|
|
getPlanContractType,
|
|
|
formatValue,
|
|
|
getPayCurrencyTypeEnumList,
|
|
|
+ getPlanStatusName,
|
|
|
};
|
|
|
},
|
|
|
});
|