|
|
@@ -1,106 +1,78 @@
|
|
|
<template>
|
|
|
- <!-- 套保品种详情 -->
|
|
|
- <a-modal class="commonModal hedgingDetail"
|
|
|
- title="详情"
|
|
|
- v-if="visible"
|
|
|
- v-model:visible="visible"
|
|
|
- centered
|
|
|
- :maskClosable="false"
|
|
|
- @cancel="cancel"
|
|
|
- width="890px">
|
|
|
-
|
|
|
- <template #footer>
|
|
|
- <a-button key="submit"
|
|
|
- type="primary"
|
|
|
- :loading="loading"
|
|
|
- @click="submit">完成</a-button>
|
|
|
- </template>
|
|
|
- <a-form class="inlineForm"
|
|
|
- ref="formRef">
|
|
|
- <fieldset class="formFieldSet">
|
|
|
- <legend>基本信息</legend>
|
|
|
- <a-row :gutter="24">
|
|
|
- <a-col :span="12">
|
|
|
- <a-form-item label="套保品种名称"
|
|
|
- name="deliverygoodsname">
|
|
|
- <span class="white">{{selctedMG.mg.middlegoodsname}}</span>
|
|
|
- </a-form-item>
|
|
|
- </a-col>
|
|
|
- <a-col :span="12">
|
|
|
- <a-form-item label="套保品种单位"
|
|
|
- name="deliverygoodscode">
|
|
|
- <span class="white">{{selctedMG.mg.enumdicname}}</span>
|
|
|
- </a-form-item>
|
|
|
- </a-col>
|
|
|
- </a-row>
|
|
|
- </fieldset>
|
|
|
- <fieldset class="formFieldSet">
|
|
|
- <legend>修改套保比例列表</legend>
|
|
|
- <a-row :gutter="24"
|
|
|
- class="dialogRowTitle">
|
|
|
- <a-col :span="5">
|
|
|
- <span>
|
|
|
- 修改时间
|
|
|
- </span>
|
|
|
- </a-col>
|
|
|
- <a-col :span="5">
|
|
|
- <span>
|
|
|
- 修改前比例
|
|
|
- </span>
|
|
|
- </a-col>
|
|
|
- <a-col :span="5">
|
|
|
- <span>
|
|
|
- 修改后比例
|
|
|
- </span>
|
|
|
- </a-col>
|
|
|
- <a-col :span="5">
|
|
|
- <span>
|
|
|
- 备注
|
|
|
- </span>
|
|
|
- </a-col>
|
|
|
- <a-col :span="4"
|
|
|
- class="tc">
|
|
|
- <span>
|
|
|
- 修改人
|
|
|
- </span>
|
|
|
- </a-col>
|
|
|
- </a-row>
|
|
|
- <a-row :gutter="24"
|
|
|
- class="dialogRowTitle"
|
|
|
- v-for="(item, index) in list"
|
|
|
- :key="index">
|
|
|
- <a-col :span="5"
|
|
|
- class="nowrap">
|
|
|
- <span class="white">
|
|
|
- {{item.updatetime}}
|
|
|
- </span>
|
|
|
- </a-col>
|
|
|
- <a-col :span="5">
|
|
|
- <span class="white">
|
|
|
- {{item.beforevalue}}
|
|
|
- </span>
|
|
|
- </a-col>
|
|
|
- <a-col :span="5">
|
|
|
- <span class="white">
|
|
|
- {{item.aftervalue}}
|
|
|
- </span>
|
|
|
- </a-col>
|
|
|
- <a-col :span="5"
|
|
|
- class="ellipse">
|
|
|
- <span class="white">
|
|
|
- {{item.logremark}}
|
|
|
- </span>
|
|
|
- </a-col>
|
|
|
- <a-col :span="4"
|
|
|
- class="tc">
|
|
|
- <span class="white">
|
|
|
- {{item.applyname}}
|
|
|
- </span>
|
|
|
- </a-col>
|
|
|
- </a-row>
|
|
|
- </fieldset>
|
|
|
- </a-form>
|
|
|
- </a-modal>
|
|
|
+ <!-- 套保品种详情 -->
|
|
|
+ <a-modal
|
|
|
+ class="commonModal hedgingDetail"
|
|
|
+ title="详情"
|
|
|
+ v-if="visible"
|
|
|
+ v-model:visible="visible"
|
|
|
+ centered
|
|
|
+ :maskClosable="false"
|
|
|
+ @cancel="cancel"
|
|
|
+ width="890px"
|
|
|
+ >
|
|
|
+ <template #footer>
|
|
|
+ <a-button key="submit" type="primary" :loading="loading" @click="submit">完成</a-button>
|
|
|
+ </template>
|
|
|
+ <a-form class="inlineForm" ref="formRef">
|
|
|
+ <fieldset class="formFieldSet">
|
|
|
+ <legend>基本信息</legend>
|
|
|
+ <a-row :gutter="24">
|
|
|
+ <a-col :span="12">
|
|
|
+ <a-form-item label="套保品种名称" name="deliverygoodsname">
|
|
|
+ <span class="white">{{selctedMG.mg.middlegoodsname}}</span>
|
|
|
+ </a-form-item>
|
|
|
+ </a-col>
|
|
|
+ <a-col :span="12">
|
|
|
+ <a-form-item label="套保品种单位" name="deliverygoodscode">
|
|
|
+ <span class="white">{{selctedMG.mg.enumdicname}}</span>
|
|
|
+ </a-form-item>
|
|
|
+ </a-col>
|
|
|
+ </a-row>
|
|
|
+ </fieldset>
|
|
|
+ <fieldset class="formFieldSet">
|
|
|
+ <legend>修改套保比例列表</legend>
|
|
|
+ <a-row :gutter="24" class="dialogRowTitle">
|
|
|
+ <a-col :span="5">
|
|
|
+ <span>修改时间</span>
|
|
|
+ </a-col>
|
|
|
+ <a-col :span="5">
|
|
|
+ <span>修改前比例</span>
|
|
|
+ </a-col>
|
|
|
+ <a-col :span="5">
|
|
|
+ <span>修改后比例</span>
|
|
|
+ </a-col>
|
|
|
+ <a-col :span="5">
|
|
|
+ <span>备注</span>
|
|
|
+ </a-col>
|
|
|
+ <a-col :span="4" class="tc">
|
|
|
+ <span>修改人</span>
|
|
|
+ </a-col>
|
|
|
+ </a-row>
|
|
|
+ <a-row
|
|
|
+ :gutter="24"
|
|
|
+ class="dialogRowTitle"
|
|
|
+ v-for="(item, index) in list"
|
|
|
+ :key="index"
|
|
|
+ >
|
|
|
+ <a-col :span="5" class="nowrap">
|
|
|
+ <span class="white">{{item.updatetime}}</span>
|
|
|
+ </a-col>
|
|
|
+ <a-col :span="5">
|
|
|
+ <span class="white">{{item.beforevalue}}</span>
|
|
|
+ </a-col>
|
|
|
+ <a-col :span="5">
|
|
|
+ <span class="white">{{item.aftervalue}}</span>
|
|
|
+ </a-col>
|
|
|
+ <a-col :span="5" class="ellipse">
|
|
|
+ <span class="white">{{item.logremark}}</span>
|
|
|
+ </a-col>
|
|
|
+ <a-col :span="4" class="tc">
|
|
|
+ <span class="white">{{item.applyname}}</span>
|
|
|
+ </a-col>
|
|
|
+ </a-row>
|
|
|
+ </fieldset>
|
|
|
+ </a-form>
|
|
|
+ </a-modal>
|
|
|
</template>
|
|
|
|
|
|
<script lang="ts">
|
|
|
@@ -156,9 +128,6 @@ export default defineComponent({
|
|
|
width: 20%;
|
|
|
text-overflow: ellipsis;
|
|
|
}
|
|
|
- .nowrap {
|
|
|
- white-space: nowrap;
|
|
|
- }
|
|
|
}
|
|
|
</style
|
|
|
>;
|