|
|
@@ -108,9 +108,11 @@ export default defineComponent({
|
|
|
const { rules, formState, formRef, initFormData } = handleAddOrModifyFuturesForm();
|
|
|
watchEffect(() => {
|
|
|
if (visible.value) {
|
|
|
+ console.log(props.selectedData);
|
|
|
+
|
|
|
mergeTwoObj(formState, props.selectedData?.mainAcc);
|
|
|
if(props.selectedData?.mainAcc) {
|
|
|
- formState.accountid = props.selectedData.mainAcc.accountid.toString()
|
|
|
+ formState.accountid = props.selectedData.mainAcc.hedgeaccountcode
|
|
|
}
|
|
|
queryResultLoadingAndInfo(QueryFuturesCompany, loading).then((res) => {
|
|
|
companyList.value = res;
|