|
@@ -1,131 +1,123 @@
|
|
|
<template>
|
|
<template>
|
|
|
- <!--仓单贸易 贸易圈挂牌 挂牌求购 -->
|
|
|
|
|
- <Drawer :title="'挂牌求购'"
|
|
|
|
|
- :placement="'right'"
|
|
|
|
|
- :visible="visible"
|
|
|
|
|
- @cancel="cancel"
|
|
|
|
|
- class="top">
|
|
|
|
|
- <div class="post_buying">
|
|
|
|
|
- <a-form class="inlineForm dialogForm"
|
|
|
|
|
- ref="formRef"
|
|
|
|
|
- :model="formState"
|
|
|
|
|
- :rules="rules">
|
|
|
|
|
- <div class="formBar">
|
|
|
|
|
- <a-row :gutter="24">
|
|
|
|
|
- <a-col :span="24">
|
|
|
|
|
- <a-form-item label="交易账户"
|
|
|
|
|
- name="accountid">
|
|
|
|
|
- <a-select class="inlineFormSelect"
|
|
|
|
|
- style="width: 260px"
|
|
|
|
|
- v-model:value="formState.accountid"
|
|
|
|
|
- placeholder="请选择">
|
|
|
|
|
- <a-select-option v-for="item in accountList"
|
|
|
|
|
- :value="item.accountid"
|
|
|
|
|
- :key="item.accountid">{{item.accountid}}</a-select-option>
|
|
|
|
|
- </a-select>
|
|
|
|
|
- </a-form-item>
|
|
|
|
|
- </a-col>
|
|
|
|
|
- <a-col :span="24">
|
|
|
|
|
- <a-form-item label="挂牌价格"
|
|
|
|
|
- name="FixedPrice">
|
|
|
|
|
- <a-input-number class="commonInput"
|
|
|
|
|
- style="width: 260px"
|
|
|
|
|
- :min="0"
|
|
|
|
|
- v-model:value="formState.FixedPrice" />
|
|
|
|
|
- </a-form-item>
|
|
|
|
|
- </a-col>
|
|
|
|
|
- <a-col :span="24">
|
|
|
|
|
- <a-form-item label="挂牌数量"
|
|
|
|
|
- name="OrderQty">
|
|
|
|
|
- <a-input-number class="commonInput"
|
|
|
|
|
- style="width: 260px"
|
|
|
|
|
- :min="0"
|
|
|
|
|
- v-model:value="formState.OrderQty" />
|
|
|
|
|
- <span class="input-enumdicname">{{selectedRow.enumdicname}}</span>
|
|
|
|
|
- </a-form-item>
|
|
|
|
|
- </a-col>
|
|
|
|
|
|
|
+ <!--仓单贸易 贸易圈挂牌 挂牌求购 -->
|
|
|
|
|
+ <Drawer :title="'挂牌求购'" :placement="'right'" :visible="visible" @cancel="cancel" class="top486">
|
|
|
|
|
+ <div class="post_buying">
|
|
|
|
|
+ <a-form class="inlineForm dialogForm" ref="formRef" :model="formState" :rules="rules">
|
|
|
|
|
+ <div class="formBar">
|
|
|
|
|
+ <a-row :gutter="24">
|
|
|
|
|
+ <a-col :span="24">
|
|
|
|
|
+ <a-form-item label="交易账户" name="accountid">
|
|
|
|
|
+ <a-select
|
|
|
|
|
+ class="inlineFormSelect"
|
|
|
|
|
+ style="width: 260px"
|
|
|
|
|
+ v-model:value="formState.accountid"
|
|
|
|
|
+ placeholder="请选择"
|
|
|
|
|
+ >
|
|
|
|
|
+ <a-select-option
|
|
|
|
|
+ v-for="item in accountList"
|
|
|
|
|
+ :value="item.accountid"
|
|
|
|
|
+ :key="item.accountid"
|
|
|
|
|
+ >{{item.accountid}}</a-select-option>
|
|
|
|
|
+ </a-select>
|
|
|
|
|
+ </a-form-item>
|
|
|
|
|
+ </a-col>
|
|
|
|
|
+ <a-col :span="24">
|
|
|
|
|
+ <a-form-item label="挂牌价格" name="FixedPrice">
|
|
|
|
|
+ <a-input-number
|
|
|
|
|
+ class="commonInput"
|
|
|
|
|
+ style="width: 260px"
|
|
|
|
|
+ :min="0"
|
|
|
|
|
+ v-model:value="formState.FixedPrice"
|
|
|
|
|
+ />
|
|
|
|
|
+ </a-form-item>
|
|
|
|
|
+ </a-col>
|
|
|
|
|
+ <a-col :span="24">
|
|
|
|
|
+ <a-form-item label="挂牌数量" name="OrderQty">
|
|
|
|
|
+ <a-input-number
|
|
|
|
|
+ class="commonInput"
|
|
|
|
|
+ style="width: 260px"
|
|
|
|
|
+ :min="0"
|
|
|
|
|
+ v-model:value="formState.OrderQty"
|
|
|
|
|
+ />
|
|
|
|
|
+ <span class="input-enumdicname">{{selectedRow.enumdicname}}</span>
|
|
|
|
|
+ </a-form-item>
|
|
|
|
|
+ </a-col>
|
|
|
|
|
|
|
|
- <a-col :span="24">
|
|
|
|
|
- <a-form-item label="起摘数量"
|
|
|
|
|
- name="delistingQty">
|
|
|
|
|
- <a-input-number class="commonInput"
|
|
|
|
|
- v-model:value="formState.delistingQty"
|
|
|
|
|
- :min="0"
|
|
|
|
|
- style="width: 260px" />
|
|
|
|
|
- <span class="input-enumdicname">{{selectedRow.enumdicname}}</span>
|
|
|
|
|
- </a-form-item>
|
|
|
|
|
- </a-col>
|
|
|
|
|
- <a-col :span="24">
|
|
|
|
|
- <a-form-item label="履约保证金"
|
|
|
|
|
- name="margin">
|
|
|
|
|
- <a-input-number class="commonInput"
|
|
|
|
|
- v-model:value="formState.margin"
|
|
|
|
|
- :min="0"
|
|
|
|
|
- style="width: 260px" />
|
|
|
|
|
- <span class="input-enumdicname">%</span>
|
|
|
|
|
- </a-form-item>
|
|
|
|
|
- </a-col>
|
|
|
|
|
- <a-col :span="24">
|
|
|
|
|
- <a-form-item label="挂牌有效期"
|
|
|
|
|
- name="DeliveryMonth">
|
|
|
|
|
- <a-date-picke style="width: 260px"
|
|
|
|
|
- v-model:value="formState.DeliveryMonth"
|
|
|
|
|
- :allowClear="false"
|
|
|
|
|
- class="commonDatePicker dialogDatePicker" />
|
|
|
|
|
- </a-form-item>
|
|
|
|
|
- </a-col>
|
|
|
|
|
|
|
+ <a-col :span="24">
|
|
|
|
|
+ <a-form-item label="起摘数量" name="delistingQty">
|
|
|
|
|
+ <a-input-number
|
|
|
|
|
+ class="commonInput"
|
|
|
|
|
+ v-model:value="formState.delistingQty"
|
|
|
|
|
+ :min="0"
|
|
|
|
|
+ style="width: 260px"
|
|
|
|
|
+ />
|
|
|
|
|
+ <span class="input-enumdicname">{{selectedRow.enumdicname}}</span>
|
|
|
|
|
+ </a-form-item>
|
|
|
|
|
+ </a-col>
|
|
|
|
|
+ <a-col :span="24">
|
|
|
|
|
+ <a-form-item label="履约保证金" name="margin">
|
|
|
|
|
+ <a-input-number
|
|
|
|
|
+ class="commonInput"
|
|
|
|
|
+ v-model:value="formState.margin"
|
|
|
|
|
+ :min="0"
|
|
|
|
|
+ style="width: 260px"
|
|
|
|
|
+ />
|
|
|
|
|
+ <span class="input-enumdicname">%</span>
|
|
|
|
|
+ </a-form-item>
|
|
|
|
|
+ </a-col>
|
|
|
|
|
+ <a-col :span="24">
|
|
|
|
|
+ <a-form-item label="挂牌有效期" name="DeliveryMonth">
|
|
|
|
|
+ <a-date-picker
|
|
|
|
|
+ style="width: 260px"
|
|
|
|
|
+ v-model:value="formState.DeliveryMonth"
|
|
|
|
|
+ :allowClear="false"
|
|
|
|
|
+ class="commonDatePicker dialogDatePicker"
|
|
|
|
|
+ />
|
|
|
|
|
+ </a-form-item>
|
|
|
|
|
+ </a-col>
|
|
|
|
|
|
|
|
- <a-col :span="24"
|
|
|
|
|
- @click="openPermance">
|
|
|
|
|
- <a-form-item label="履约方式">
|
|
|
|
|
- <span class="white ml8">选择履约模板</span>
|
|
|
|
|
- </a-form-item>
|
|
|
|
|
- </a-col>
|
|
|
|
|
- <a-col :span="24"
|
|
|
|
|
- @click="openFriend">
|
|
|
|
|
- <a-form-item label="指定朋友">
|
|
|
|
|
- <span class="white ml8">选择朋友</span>
|
|
|
|
|
- </a-form-item>
|
|
|
|
|
- </a-col>
|
|
|
|
|
- <a-col :span="24">
|
|
|
|
|
- <a-form-item label="挂牌金额">
|
|
|
|
|
- <span class="white ml8">55555</span>
|
|
|
|
|
- </a-form-item>
|
|
|
|
|
- </a-col>
|
|
|
|
|
- <a-col :span="24">
|
|
|
|
|
- <a-form-item label="履约保证金">
|
|
|
|
|
- <span class="white ml8">55555</span>
|
|
|
|
|
- </a-form-item>
|
|
|
|
|
- </a-col>
|
|
|
|
|
- <a-col :span="24">
|
|
|
|
|
- <a-form-item label="可用资金">
|
|
|
|
|
- <span class="white ml8">55555</span>
|
|
|
|
|
- </a-form-item>
|
|
|
|
|
- </a-col>
|
|
|
|
|
- </a-row>
|
|
|
|
|
|
|
+ <a-col :span="24" @click="openPermance">
|
|
|
|
|
+ <a-form-item label="履约方式">
|
|
|
|
|
+ <span class="white ml8">选择履约模板</span>
|
|
|
|
|
+ </a-form-item>
|
|
|
|
|
+ </a-col>
|
|
|
|
|
+ <a-col :span="24" @click="openFriend">
|
|
|
|
|
+ <a-form-item label="指定朋友">
|
|
|
|
|
+ <span class="white ml8">选择朋友</span>
|
|
|
|
|
+ </a-form-item>
|
|
|
|
|
+ </a-col>
|
|
|
|
|
+ <a-col :span="24">
|
|
|
|
|
+ <a-form-item label="挂牌金额">
|
|
|
|
|
+ <span class="white ml8">55555</span>
|
|
|
|
|
+ </a-form-item>
|
|
|
|
|
+ </a-col>
|
|
|
|
|
+ <a-col :span="24">
|
|
|
|
|
+ <a-form-item label="履约保证金">
|
|
|
|
|
+ <span class="white ml8">55555</span>
|
|
|
|
|
+ </a-form-item>
|
|
|
|
|
+ </a-col>
|
|
|
|
|
+ <a-col :span="24">
|
|
|
|
|
+ <a-form-item label="可用资金">
|
|
|
|
|
+ <span class="white ml8">55555</span>
|
|
|
|
|
+ </a-form-item>
|
|
|
|
|
+ </a-col>
|
|
|
|
|
+ </a-row>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ <a-row :gutter="24">
|
|
|
|
|
+ <a-col :span="24" class="fixedBtns">
|
|
|
|
|
+ <a-form-item class="btnCenter">
|
|
|
|
|
+ <a-button class="listedBtn" @click="submit">买入</a-button>
|
|
|
|
|
+ <a-button class="ml10 cancelBtn" @click="cancel">取消</a-button>
|
|
|
|
|
+ </a-form-item>
|
|
|
|
|
+ </a-col>
|
|
|
|
|
+ </a-row>
|
|
|
|
|
+ </a-form>
|
|
|
</div>
|
|
</div>
|
|
|
- <a-row :gutter="24">
|
|
|
|
|
- <a-col :span="24"
|
|
|
|
|
- class="fixedBtns">
|
|
|
|
|
- <a-form-item class="btnCenter">
|
|
|
|
|
- <a-button class="listedBtn"
|
|
|
|
|
- @click="submit">买入</a-button>
|
|
|
|
|
- <a-button class="ml10 cancelBtn"
|
|
|
|
|
- @click="cancel">取消</a-button>
|
|
|
|
|
- </a-form-item>
|
|
|
|
|
- </a-col>
|
|
|
|
|
- </a-row>
|
|
|
|
|
- </a-form>
|
|
|
|
|
- </div>
|
|
|
|
|
- </Drawer>
|
|
|
|
|
- <!-- 选择朋友 -->
|
|
|
|
|
- <Friend v-if="showFriend"
|
|
|
|
|
- @cancel="chooseFriend"
|
|
|
|
|
- @update="chooseFriend" />
|
|
|
|
|
- <!-- 选择履约模板 -->
|
|
|
|
|
- <Permance v-if="showPermance"
|
|
|
|
|
- @cancel="choosePermance"
|
|
|
|
|
- @update="choosePermance" />
|
|
|
|
|
|
|
+ </Drawer>
|
|
|
|
|
+ <!-- 选择朋友 -->
|
|
|
|
|
+ <Friend v-if="showFriend" @cancel="chooseFriend" @update="chooseFriend" />
|
|
|
|
|
+ <!-- 选择履约模板 -->
|
|
|
|
|
+ <Permance v-if="showPermance" @cancel="choosePermance" @update="choosePermance" />
|
|
|
</template>
|
|
</template>
|
|
|
|
|
|
|
|
<script lang="ts">
|
|
<script lang="ts">
|