Explorar o código

财务管理-渠道数据状态接口

lihongxiao %!s(int64=3) %!d(string=hai) anos
pai
achega
19d1241744
Modificáronse 1 ficheiros con 8 adicións e 1 borrados
  1. 8 1
      src/views/FinancialManagement/CostVerification/Channel.vue

+ 8 - 1
src/views/FinancialManagement/CostVerification/Channel.vue

@@ -334,10 +334,17 @@ export default {
     this.$api.insCompany
         .dicType('checkingStatusEnum')
         .then((response) => {
-          this.checkingStatusEnum=response.data.ddList
+          if(response.code==200 && response.data){
+            this.checkingStatusEnum=response.data.ddList
+          }
+          else{
+            this.checkingStatusEnum=[
+            ]
+          }
         })
     this.getList()
   },
+
   data() {
     return {
       checkingStatusEnum:[],