|
@@ -32,14 +32,14 @@
|
|
|
</div>
|
|
</div>
|
|
|
</template>
|
|
</template>
|
|
|
</Field>
|
|
</Field>
|
|
|
- <Field name="IsAutoAddDeposit" v-if="goods?.canAutoAddDeposit === 1">
|
|
|
|
|
|
|
+ <Field name="IsAutoAddDeposit" v-if="goods?.canautoadddeposit === 1">
|
|
|
<template #input>
|
|
<template #input>
|
|
|
- <Checkbox shape="square" icon-size="16px" v-model="formData.IsAutoAddDeposit">允许自动补定金</Checkbox>
|
|
|
|
|
|
|
+ <Checkbox shape="square" icon-size="16px" v-model="IsAutoAddDeposit">允许自动补定金</Checkbox>
|
|
|
</template>
|
|
</template>
|
|
|
</Field>
|
|
</Field>
|
|
|
- <Field name="IsAutoAddDeposit" v-if="goods?.canaAutoRefundDeposit === 1">
|
|
|
|
|
|
|
+ <Field name="IsAutoAddDeposit" v-if="goods?.canautorefunddeposit === 1">
|
|
|
<template #input>
|
|
<template #input>
|
|
|
- <Checkbox shape="square" icon-size="16px" v-model="formData.IsAutoRefundDeposit">允许自动退定金</Checkbox>
|
|
|
|
|
|
|
+ <Checkbox shape="square" icon-size="16px" v-model="IsAutoRefundDeposit">允许自动退定金</Checkbox>
|
|
|
</template>
|
|
</template>
|
|
|
</Field>
|
|
</Field>
|
|
|
</Form>
|
|
</Form>
|
|
@@ -188,6 +188,9 @@ const globalStore = useGlobalStore()
|
|
|
const futuresStore = useFuturesStore()
|
|
const futuresStore = useFuturesStore()
|
|
|
const userStore = useUserStore()
|
|
const userStore = useUserStore()
|
|
|
|
|
|
|
|
|
|
+const IsAutoAddDeposit = shallowRef(false)
|
|
|
|
|
+const IsAutoRefundDeposit = shallowRef(false)
|
|
|
|
|
+
|
|
|
const riskType = globalStore.getSystemInfo('riskType') // 风控类型
|
|
const riskType = globalStore.getSystemInfo('riskType') // 风控类型
|
|
|
const formRef = shallowRef<FormInstance>()
|
|
const formRef = shallowRef<FormInstance>()
|
|
|
const goodscode = getQueryString('goodscode') ?? ''
|
|
const goodscode = getQueryString('goodscode') ?? ''
|
|
@@ -223,6 +226,7 @@ const enableqty = (item: Model.SBYJMyOrderRsp) => {
|
|
|
|
|
|
|
|
// 数量步长列表
|
|
// 数量步长列表
|
|
|
const qtyStepList = computed(() => {
|
|
const qtyStepList = computed(() => {
|
|
|
|
|
+ console.log(goods)
|
|
|
// 任务 #6013
|
|
// 任务 #6013
|
|
|
const param1009 = userStore.getSystemParamValue('1009') ?? 1
|
|
const param1009 = userStore.getSystemParamValue('1009') ?? 1
|
|
|
return [
|
|
return [
|
|
@@ -265,6 +269,8 @@ const onSubmit = () => {
|
|
|
formData.OperateType = EOrderOperateType.ORDEROPERATETYPE_NORMAL
|
|
formData.OperateType = EOrderOperateType.ORDEROPERATETYPE_NORMAL
|
|
|
formData.BuildType = EBuildType.BUILDTYPE_OPEN
|
|
formData.BuildType = EBuildType.BUILDTYPE_OPEN
|
|
|
formData.OrderQty = orderQty.value / agreeunit.value // 数量÷合约乘数
|
|
formData.OrderQty = orderQty.value / agreeunit.value // 数量÷合约乘数
|
|
|
|
|
+ formData.IsAutoAddDeposit = IsAutoAddDeposit.value ? 1 : 0
|
|
|
|
|
+ formData.IsAutoRefundDeposit = IsAutoRefundDeposit.value ? 1 : 0
|
|
|
|
|
|
|
|
fullloading((hideLoading) => {
|
|
fullloading((hideLoading) => {
|
|
|
formSubmit().then(() => {
|
|
formSubmit().then(() => {
|