Handy_Cao 2 年 前
コミット
443d4af6cb

+ 2 - 1
src/packages/mobile/views/swap/list/Index.vue

@@ -123,7 +123,8 @@ const columns: Model.TableColumn[] = [
 const rowClick = (row: Model.QuoteGoodsListRsp) => {
     /// 这里要去判断是否已经实名认证
     if (userStore.hasAuth) {
-        if (userStore.userInfo.usertype != 2 && protocolList.value.length === 0) {
+        const list = protocolList.value.filter(e => { return e.protocolstatus === 4 })
+        if (userStore.userInfo.usertype != 2 && list.length === 0) {
             showToast('请前往‘我的’-’合同签署‘,进行签署相应的合同!')
         } else {
             setGlobalUrlParams(row)

+ 2 - 1
src/packages/pc/views/market/trade/swap/index.vue

@@ -118,7 +118,8 @@ const tableColumns = shallowRef<Model.TableColumn[]>([
 const onRowClick = (row: Model.QuoteGoodsListRsp) => {
     /// 这里要去判断是否已经实名认证
     if (userStore.hasAuth) {
-        if (userStore.userInfo.usertype != 2 && protocolList.value.length === 0) {
+        const list = protocolList.value.filter(e => { return e.protocolstatus === 4 })
+        if (userStore.userInfo.usertype != 2 && list.length === 0) {
             ElMessage('请前往手机App进入‘我的’-’合同签署‘功能,进行签署相应的合同!')
         } else {
             futuresStore.selectedGoodsId = row.refgoodsid