huangbin 4 년 전
부모
커밋
ef7f751cd7
2개의 변경된 파일3개의 추가작업 그리고 3개의 파일을 삭제
  1. 2 2
      src/views/information/spot-contract/components/add/index.vue
  2. 1 1
      src/views/information/spot-contract/components/setup.ts

+ 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) => {