|
|
@@ -274,6 +274,9 @@ export default defineComponent({
|
|
|
const { visible, cancel } = _closeModal(context);
|
|
|
const accountList = getAccountTypeList([2]);
|
|
|
const { rules, formState, formRef } = handleForm(props.selectedRow);
|
|
|
+ if (accountList.length) {
|
|
|
+ formState.accountid = accountList[0].accountid;
|
|
|
+ }
|
|
|
const loading = ref<boolean>(false);
|
|
|
const { isSale, isBuy } = handleIs(props.enumName, props.buyOrSell);
|
|
|
const { wrHoldList } = handleSpotWarrant(props.enumName, props.buyOrSell, props.parantSelectedRow, loading);
|