|
|
@@ -77,9 +77,6 @@ const props = defineProps({
|
|
|
}
|
|
|
})
|
|
|
|
|
|
-const IsAutoAddDeposit = shallowRef(false)
|
|
|
-const IsAutoRefundDeposit = shallowRef(false)
|
|
|
-
|
|
|
const { formData, formSubmit } = useModifyOrder()
|
|
|
|
|
|
const globalStore = useGlobalStore()
|
|
|
@@ -91,6 +88,9 @@ const refresh = shallowRef(false) // 是否刷新父组件数据
|
|
|
const goods = futuresStore.getGoods(props.selectedRow.goodsCode)
|
|
|
const detail = computed(() => props.selectedRow.tHDetailEx)
|
|
|
|
|
|
+const IsAutoAddDeposit = shallowRef(detail.value.canautoadddeposit === 1)
|
|
|
+const IsAutoRefundDeposit = shallowRef(detail.value.canautorefunddeposit === 1)
|
|
|
+
|
|
|
const canautorefunddeposit = detail.value.canautorefunddeposit === 1 || goods?.canautorefunddeposit === 1
|
|
|
const canautoadddeposit = detail.value.canautoadddeposit === 1 || goods?.canautoadddeposit === 1
|
|
|
|
|
|
@@ -114,6 +114,7 @@ const onSubmit = () => {
|
|
|
}).then(() => {
|
|
|
const { tradeID, marketID, buyOrSell } = detail.value
|
|
|
|
|
|
+ formData.Header = { MarketID: marketID }
|
|
|
formData.BuyOrSell = buyOrSell
|
|
|
formData.TradeID = handleRequestBigNumber(tradeID)
|
|
|
formData.MarketID = marketID
|