Преглед на файлове

Merge branch 'develop_yh18' of http://git.chelingzhu.com/jianguan-web/qpls-md-html into develop_yh18

lilei преди 2 години
родител
ревизия
177d54c7fb
променени са 2 файла, в които са добавени 3 реда и са изтрити 5 реда
  1. 1 3
      src/views/common/custList.vue
  2. 2 2
      src/views/reportData/customerReport/list.vue

+ 1 - 3
src/views/common/custList.vue

@@ -39,7 +39,7 @@ export default {
       type: String || Number,
       default: undefined
     },
-    notSn:{
+    notSn: {
       type: String || Number,
       default: ''
     },
@@ -71,7 +71,6 @@ export default {
   },
   methods: {
     fetchUser (dealerName) {
-      console.log('fetching user', dealerName)
       if (dealerName == '') return
       this.lastFetchId += 1
       const fetchId = this.lastFetchId
@@ -99,7 +98,6 @@ export default {
       })
     },
     handleChange (value) {
-      console.log('handleChange', value)
       if (value && value.key) {
         const ind = this.data.findIndex(item => item.customerName == value.key)
         value.row = ind != -1 ? this.data[ind] : undefined

+ 2 - 2
src/views/reportData/customerReport/list.vue

@@ -25,7 +25,7 @@
           </a-col>
           <a-col :md="6" :sm="24">
             <a-form-item label="客户类型">
-              <custType v-model="queryParam.customerTypeSn" allowClear placeholder="请选择客户类型" style="max-width: 240px;"></custType>
+              <custType v-model="queryParam.customerTypeSn" allowClear placeholder="请选择客户类型"></custType>
             </a-form-item>
           </a-col>
           <a-col :md="6" :sm="24">
@@ -215,7 +215,7 @@ export default {
     custSatelliteChange (v, row) {
       if (row && row.customerSn) {
         this.queryParam.customerSn = row.customerSn
-        this.queryParam.customerName = undefined
+        this.queryParam.customerName = row.customerName
       } else {
         this.queryParam.customerName = v
         this.queryParam.customerSn = undefined