|
@@ -58,22 +58,22 @@
|
|
|
<el-button ref="submitRef" type="danger" :disabled="!selectedGoodsId || !formData.OrderQty"
|
|
<el-button ref="submitRef" type="danger" :disabled="!selectedGoodsId || !formData.OrderQty"
|
|
|
@click="onBeforeSubmit(BuildType.Open)"
|
|
@click="onBeforeSubmit(BuildType.Open)"
|
|
|
v-if="!selectedGoods?.iscannotbuy">{{ t('operation.order') }}</el-button>
|
|
v-if="!selectedGoods?.iscannotbuy">{{ t('operation.order') }}</el-button>
|
|
|
- <el-button type="primary"
|
|
|
|
|
|
|
+ <!-- <el-button type="primary"
|
|
|
:disabled="!formData.OrderQty || !sellQty || (formData.OrderQty > sellQty)"
|
|
:disabled="!formData.OrderQty || !sellQty || (formData.OrderQty > sellQty)"
|
|
|
@click="onBeforeSubmit(BuildType.Close)" v-if="!isTrademode16 && riskcontrolmode != 1">
|
|
@click="onBeforeSubmit(BuildType.Close)" v-if="!isTrademode16 && riskcontrolmode != 1">
|
|
|
<span>{{ t('operation.transfer') }}</span>
|
|
<span>{{ t('operation.transfer') }}</span>
|
|
|
<span v-if="sellQty">(≤{{ sellQty }})</span>
|
|
<span v-if="sellQty">(≤{{ sellQty }})</span>
|
|
|
- </el-button>
|
|
|
|
|
|
|
+ </el-button> -->
|
|
|
</template>
|
|
</template>
|
|
|
<template v-if="formData.BuyOrSell === BuyOrSell.Sell">
|
|
<template v-if="formData.BuyOrSell === BuyOrSell.Sell">
|
|
|
<el-button ref="submitRef" type="success" :disabled="!selectedGoodsId || !formData.OrderQty"
|
|
<el-button ref="submitRef" type="success" :disabled="!selectedGoodsId || !formData.OrderQty"
|
|
|
@click="onBeforeSubmit(BuildType.Open)"
|
|
@click="onBeforeSubmit(BuildType.Open)"
|
|
|
v-if="!isTrademode16 && !selectedGoods?.iscannotsell">{{ t('operation.order') }}</el-button>
|
|
v-if="!isTrademode16 && !selectedGoods?.iscannotsell">{{ t('operation.order') }}</el-button>
|
|
|
- <el-button v-if="riskcontrolmode != 1" type="primary" :disabled="!formData.OrderQty || !buyQty || (formData.OrderQty > buyQty)"
|
|
|
|
|
|
|
+ <!-- <el-button v-if="riskcontrolmode != 1" type="primary" :disabled="!formData.OrderQty || !buyQty || (formData.OrderQty > buyQty)"
|
|
|
@click="onBeforeSubmit(BuildType.Close)">
|
|
@click="onBeforeSubmit(BuildType.Close)">
|
|
|
<span>{{ t('operation.transfer') }}</span>
|
|
<span>{{ t('operation.transfer') }}</span>
|
|
|
<span v-if="buyQty">(≤{{ buyQty }})</span>
|
|
<span v-if="buyQty">(≤{{ buyQty }})</span>
|
|
|
- </el-button>
|
|
|
|
|
|
|
+ </el-button> -->
|
|
|
</template>
|
|
</template>
|
|
|
</el-form-item>
|
|
</el-form-item>
|
|
|
</el-form>
|
|
</el-form>
|