huangbin 4 years ago
parent
commit
ef7f751cd7

+ 2 - 2
src/views/information/spot-contract/components/add/index.vue

@@ -75,7 +75,7 @@
                   <a-select-option :value="item.userid"
                                    v-for="item in customList"
                                    :key="item.userid">
-                    {{item.customername}}
+                    {{item.nickname}}
                   </a-select-option>
                 </a-select>
               </a-form-item>
@@ -103,7 +103,7 @@
                   <a-select-option :value="item.userid"
                                    v-for="item in customList"
                                    :key="item.userid">
-                    {{item.customername}}
+                    {{item.nickname}}
                   </a-select-option>
                 </a-select>
               </a-form-item>

+ 1 - 1
src/views/information/spot-contract/components/setup.ts

@@ -284,7 +284,7 @@ export function handleContract(formState: UnwrapRef<FormState>) {
     function queryCustomList() {
         QueryCustomInfo(3)
             .then((res) => {
-                customList.value = res
+                customList.value = res.filter(e => e.status === 4)
                 console.log('客户资料', customList);
             })
             .catch((err) => {