lilei hai 2 semanas
pai
achega
ceedd160e0
Modificáronse 1 ficheiros con 11 adicións e 6 borrados
  1. 11 6
      src/views/financialManagement/accountStatementBill/list.vue

+ 11 - 6
src/views/financialManagement/accountStatementBill/list.vue

@@ -119,8 +119,10 @@ export default {
         dealerType1: undefined, //  商户类型
         dealerType2: undefined, //  商户类型
         dealerLevel: null, // 商户级别
-        subareaSn: undefined, // 区域
-        subareaAreaSn: undefined, // 分区
+        subareaArea: {
+          subareaSn: undefined, // 区域
+          subareaAreaSn: undefined // 分区
+        },
         bizUserSn: undefined, // 客服
         kdMidCustomerFnumber: '' // 财务编码
       },
@@ -131,6 +133,7 @@ export default {
         this.disabled = true
         this.spinning = true
         const params = Object.assign(parameter, this.queryParam)
+
         return verifyAccountBalanceQueryPage(params).then(res => {
           let data
           if (res.status == 200) {
@@ -173,8 +176,9 @@ export default {
   methods: {
     // 区域分区
     subareaChange (val) {
-      this.queryParam.subareaSn = val[0] ? val[0] : undefined
-      this.queryParam.subareaAreaSn = val[1] ? val[1] : undefined
+      console.log(val)
+      this.queryParam.subareaArea.subareaSn = val[0] ? val[0] : undefined
+      this.queryParam.subareaArea.subareaAreaSn = val[1] ? val[1] : undefined
     },
     // 商户类型 change
     getDealerType (v, o) {
@@ -189,9 +193,10 @@ export default {
       this.queryParam.dealerType1 = undefined
       this.queryParam.dealerType2 = undefined
       this.queryParam.dealerLevel = undefined
-      this.queryParam.subareaAreaSn = undefined
-      this.queryParam.subareaSn = undefined
+      this.queryParam.subareaArea.subareaAreaSn = undefined
+      this.queryParam.subareaArea.subareaSn = undefined
       this.queryParam.bizUserSn = undefined
+      this.$refs.subarea.clearData()
       this.queryParam.kdMidCustomerFnumber = ''
       this.$refs.table.refresh(true)
     },