|
@@ -1,7 +1,7 @@
|
|
|
import { getAccountTypeList } from "@/services/bus/account";
|
|
import { getAccountTypeList } from "@/services/bus/account";
|
|
|
import { QueryPermancePlanTmpRsp } from "@/services/go/wrtrade/interface";
|
|
import { QueryPermancePlanTmpRsp } from "@/services/go/wrtrade/interface";
|
|
|
import moment from "moment";
|
|
import moment from "moment";
|
|
|
-import { onBeforeUnmount, reactive, ref, UnwrapRef } from "vue";
|
|
|
|
|
|
|
+import { computed, onBeforeUnmount, reactive, ref, UnwrapRef } from "vue";
|
|
|
import { BlocsListingForm } from './interface';
|
|
import { BlocsListingForm } from './interface';
|
|
|
|
|
|
|
|
/************************ ============= 仓单贸易 贸易圈 挂牌 ================ ****************/
|
|
/************************ ============= 仓单贸易 贸易圈 挂牌 ================ ****************/
|
|
@@ -83,6 +83,7 @@ const useBlocksFriends = (formState: UnwrapRef<BlocsListingForm>) => {
|
|
|
function chooseFriend(value: number[] | false) {
|
|
function chooseFriend(value: number[] | false) {
|
|
|
if (value) {
|
|
if (value) {
|
|
|
formState.friends = value;
|
|
formState.friends = value;
|
|
|
|
|
+ friendCheck.value = false
|
|
|
}
|
|
}
|
|
|
showFriend.value = false;
|
|
showFriend.value = false;
|
|
|
}
|
|
}
|
|
@@ -92,6 +93,11 @@ const useBlocksFriends = (formState: UnwrapRef<BlocsListingForm>) => {
|
|
|
function getFriendLength() {
|
|
function getFriendLength() {
|
|
|
return formState.friends.length;
|
|
return formState.friends.length;
|
|
|
}
|
|
}
|
|
|
|
|
+ computed(() => {
|
|
|
|
|
+ if (friendCheck) {
|
|
|
|
|
+ formState.friends = []
|
|
|
|
|
+ }
|
|
|
|
|
+ })
|
|
|
// 是否 不限好友
|
|
// 是否 不限好友
|
|
|
function limiteFriends() {
|
|
function limiteFriends() {
|
|
|
if (friendCheck.value) {
|
|
if (friendCheck.value) {
|