xubin 1 year ago
parent
commit
f8596e0678

+ 1 - 1
src/router/_import.js

@@ -283,5 +283,5 @@ const map = {
   businessFees: () => import('@/views/mis/feesManage/businessFees2-index'), //余额转存
   chargeInvoce: () => import('@/views/mis/feesManage/chargeInvoce'), //票据管理
   priceListMultiple: () => import('@/views/mis/financialManage/priceMultipleManage/priceListMultipleList'),//批量水价设置
-  chargeFeeRecManage: () => import('@/views/mis/financialManage/chargeFeeRecManage/chargeFeeRec')//欠费明细变更
+  chargeFeeRec: () => import('@/views/mis/financialManage/chargeFeeRecManage/chargeFeeRec')//欠费明细变更
 }

+ 7 - 0
src/views/mis/common/api/financialApi.js

@@ -158,6 +158,13 @@ const financial = {
       method: 'get',
       params
     })
+  },
+  getSfRecPage(params) { 
+    return request({
+      url: '/fees/api/financialmgt/sfrec/page',
+      method: 'get',
+      params
+    })
   }
 
 

+ 11 - 1
src/views/mis/feesManage/businessFees2-index.vue

@@ -863,7 +863,8 @@ export default ({
 }
 </style>
 
-<style scoped> .el-divider {
+<style lang="scss" scoped>
+ .el-divider {
    margin: 12px 0;
    background: 0 0;
    border-top: 1px solid #E6EBF5;
@@ -902,4 +903,13 @@ export default ({
    padding: 10px 0;
    background-color: #f9fafc;
  }
+
+ /deep/ .descLabel {
+  width: 40%;
+}
+
+/deep/ .descContent {
+  width: 60%;
+}
+
 </style>

+ 352 - 300
src/views/mis/financialManage/chargeFeeRecManage/chargeFeeRec.vue

@@ -1,313 +1,365 @@
 <template>
-    <div class="mis-pageBox">
-      <el-header height="20px">
+  <div class="mis-pageBox">
+    <el-header height="20px">
+      <div class="content">
+        <div class="content-title">1、模板下载</div>
+      </div>
+    </el-header>
+    <el-container>
+      <el-aside width="50%">
+        <div style="padding:2px">
+
+          <!-- <cpsLinkageArea :queryParams="queryParams" widthValue="150px"></cpsLinkageArea>&nbsp;
+   -->
+          <el-input v-model="searchText" placeholder="请输入关键字" style="width:200px" size="small"></el-input>
+          <el-button type="primary" size="small" @click="loadData()">查询</el-button>
+        </div>
+
+        <div class="tableheight">
+          <tfTable :table-data="tableData" :column="columns" :pagination="true" :for-id="true" :pagesize="pageInfo.size"
+            :currentpage="pageInfo.current" :total="pageInfo.total" @handleCurrentChange="handleCurrentChange"
+            @handleSizeChange="handleSizeChange"  @rowClick="rowClick"
+            :border="true"  :multiple="false" :fixed="true" :isdelete="false" :is-select="false" :stripe="true" />
+        </div>
+
+      </el-aside>
+      <el-main>
         <div class="content">
-          <div class="content-title">1、模板下载</div>
+          <div class="content-title">用户基本信息</div>
         </div>
-      </el-header>
-      <el-container>
-        <el-aside width="70%">
-          <div style="padding:2px">
-  
-            <cpsLinkageArea :queryParams="queryParams" widthValue="150px"></cpsLinkageArea>&nbsp;
-  
-            <el-input v-model="searchText" placeholder="请输入关键字" style="width:200px" size="small"></el-input>
-            <el-button type="primary" size="small" @click="loadData()">查询</el-button>
-          </div>
-  
-          <div class="tableheight">
-            <tfTable :table-data="tableData" :column="columns" :pagination="true" :for-id="true" :pagesize="pageInfo.size"
-              :currentpage="pageInfo.current" :total="pageInfo.total" @handleCurrentChange="handleCurrentChange"
-              @handleSizeChange="handleSizeChange" @handleSelectionChange="handleSelectionChange" :border="true"
-              :multiple="true" :fixed="true" :isdelete="false" :is-select="false" :stripe="true" />
-          </div>
-  
-        </el-aside>
-        <el-main>
-          <br>
-          <el-row>
-            <el-col :span="12">
-              <span class="showText">
-                <el-switch v-model="isMultiPrice" active-text=" 开启" inactive-text="一表多价:关闭">
-                </el-switch>
-              </span>
-            </el-col>
-            <el-col :span="12">
-              <span class="showText">
-                <el-switch v-model="daMeter.isSewAgeFee" :active-value="1" :inactive-value="0" active-text=" 开启" inactive-text="污水费:关闭">
-                </el-switch>
-              </span>
-            </el-col>
-          </el-row>
-          <el-divider></el-divider>
-          <el-row>
-            <el-col :span="12">
-              <span class="showText">
-                水价1: <cpsSelect v-model="daMeter.priceCode" placeholder="请选择" skey="sj" size="small" style="width:70%">
-                </cpsSelect>
-              </span>
-            </el-col>
-            <el-col :span="12">
-              <span class="showText">
-                比例1: <el-input-number size="mini" v-model="daMeter.num" :precision="2" :step="0.1"
-                  :max="1"></el-input-number>
-              </span>
-            </el-col>
-          </el-row>
-          <el-row>
-            <el-col :span="12">
-              <span class="showText">
-                <a>水价2:</a>
-                <cpsSelect v-model="daMeter.priceCode1" placeholder="请选择" skey="sj" size="small" style="width:70%"
-                  :disabled="!this.isMultiPrice">
-                </cpsSelect>
-              </span>
-            </el-col>
-            <el-col :span="12">
-              <span class="showText">
-                比例2: <el-input-number size="mini" v-model="daMeter.num1" :precision="2" :step="0.1" :max="1"
-                  :disabled="!this.isMultiPrice"></el-input-number>
-              </span>
-            </el-col>
-          </el-row>
-          <el-row>
-            <el-col :span="12">
-              <span class="showText">
-                水价3: <cpsSelect v-model="daMeter.priceCode2" placeholder="请选择" skey="sj" size="small" style="width:70%"
-                  :disabled="!this.isMultiPrice">
-                </cpsSelect>
-              </span>
-            </el-col>
-            <el-col :span="12">
-              <span class="showText">
-                比例3: <el-input-number size="mini" v-model="daMeter.num2" :precision="2" :step="0.1" :max="1"
-                  :disabled="!this.isMultiPrice"></el-input-number>
-              </span>
-            </el-col>
-          </el-row>
-  
-          <el-divider></el-divider>
-  
-          <div class="description">
-            <label class="showText"> <span class="showText" style="color:rgb(52, 133, 11);font-weight:800;">
-                使用说明:</span></label><br>
-            <label class="showText"> <span style="color:rgb(52, 133, 11);font-weight:800;">
-                1、一表多价的水价1、水价2不能为空。</span></label><br>
-            <label class="showText"> <span style="color:rgb(52, 133, 11);font-weight:800;">
-                2、一表多价分摊规则为,先按定量(b≥1)、再按定比(0<b<1)、最后按0(b=0)。</span></label><br>
-            <label class="showText"> <span style="color:rgb(52, 133, 11);font-weight:800;">
-                3、一表多价最多支持一种年阶梯水价。</span></label>
-          </div>
-          <br />
-          <el-divider></el-divider>
-          <div style="display:block;padding:2px; text-align:center">
-            <el-button type="primary" round @click="onSetPrice">批量调整水价</el-button>
-          </div>
-        </el-main>
-      </el-container>
-    </div>
-  </template>
-  
-  <script>
-  import '@/views/mis/common/assets/styles/misStyle.scss'
-  import cpsSelect from '@/views/mis/common/components/cps-select.vue'
-  import cpsCompany from '@/views/mis/common/components/cps-company.vue'
-  import cpsLinkageArea from '@/views/mis/common/components/cps-linkageArea.vue';
-  import tfTable from '@/components/TableAuto/index.vue'
-  import { financial } from '@/views/mis/common/api/financialApi.js'
-  
-  export default {
-    name: "priceListMultipleList",
-    components: { cpsSelect, cpsCompany, cpsLinkageArea, tfTable },
+        <el-descriptions class="margin-top" :column="2" :size="medium" border labelClassName="descLabel" contentClassName="descContent"> 
+          <el-descriptions-item label="用户编号"  >{{daCustomer.customerNo}}</el-descriptions-item> 
+          <el-descriptions-item label="用户名"  >{{daCustomer.customerName}}</el-descriptions-item>
+          <el-descriptions-item label="联系电话"  >{{daCustomer.tel}}</el-descriptions-item> 
+          <el-descriptions-item label="用户地址"  >{{daCustomer.custmoerAddr}}</el-descriptions-item> 
+        </el-descriptions>
+
+        <!--用户欠费明细-->
+        <div class="content">
+          <div class="content-title">用户欠费明细</div>
+        </div>
+
+        <el-descriptions class="margin-top" :column="2" :size="medium"  border labelClassName="descLabel" contentClassName="descContent">
+
+          
+          <el-descriptions-item label="抄表人员"  >{{recInfo.mroname}}</el-descriptions-item>
+          <el-descriptions-item label="财务日期" >{{recInfo.billYearMonth}}</el-descriptions-item> 
+
+          <el-descriptions-item label="用水日期">{{recInfo.billYearMonth}}</el-descriptions-item>
+          <el-descriptions-item label="录入时间">{{recInfo.inputdate}}</el-descriptions-item> 
+
+          <el-descriptions-item label="抄表日期">{{recInfo.mrDate}}</el-descriptions-item>
+          <el-descriptions-item label="计算日期">{{recInfo.inputdate}}</el-descriptions-item> 
+
+          <el-descriptions-item label="计算方式">{{recInfo.mrType}}</el-descriptions-item>
+          <el-descriptions-item label="水表量程"></el-descriptions-item>
+
+          <el-descriptions-item label="抄表类型">{{recInfo.mrType}}</el-descriptions-item>
+          <el-descriptions-item label="抄表信息"></el-descriptions-item>
+
+          <el-descriptions-item label="加减水量">{{recInfo.jjl}}</el-descriptions-item>
+          <el-descriptions-item label="应收水量">{{recInfo.recquantity}}</el-descriptions-item>
+
+        </el-descriptions>
+        <!--水价-->
+        <el-row :gutter="10">
+          <el-col :span="7">(基)水价1:<cpsSelect v-model="sj.priceCode" placeholder="请选择" skey="sj" size="small" style="width:60%">
+          </cpsSelect></el-col>
+          <el-col :span="6">水量1:<el-input v-model="input" size="small" style="width:50%"></el-input></el-col>
+          <el-col :span="6">水费1:<el-input v-model="input" size="small" style="width:50%"></el-input></el-col>
+          <el-col :span="5">污水费1:<el-input v-model="input" size="small" style="width:50%"></el-input></el-col>
+        </el-row>
+
+        <el-row :gutter="10">
+          <el-col :span="8">阶梯水价1:<el-input v-model="input" size="small" style="width:50%"></el-input></el-col>
+          <el-col :span="8">阶梯水量1:<el-input v-model="input" size="small" style="width:50%"></el-input></el-col>
+          <el-col :span="8">阶梯水费1:<el-input v-model="input" size="small" style="width:50%"></el-input></el-col>
+        </el-row>
+        <el-row :gutter="10">
+          <el-col :span="8">阶梯水价2:<el-input v-model="input" size="small" style="width:50%"></el-input></el-col>
+          <el-col :span="8">阶梯水量2:<el-input v-model="input" size="small" style="width:50%"></el-input></el-col>
+          <el-col :span="8">阶梯水费2:<el-input v-model="input" size="small" style="width:50%"></el-input></el-col>
+        </el-row>
+        <el-row :gutter="10">
+          <el-col :span="8">阶梯水价3:<el-input v-model="input" size="small" style="width:50%"></el-input></el-col>
+          <el-col :span="8">阶梯水量3:<el-input v-model="input" size="small" style="width:50%"></el-input></el-col>
+          <el-col :span="8">阶梯水费3:<el-input v-model="input" size="small" style="width:50%"></el-input></el-col>
+        </el-row>
+        <!--水价1-->
+        <el-row :gutter="10">
+          <el-col :span="7">(基)水价2:<cpsSelect v-model="sj1.priceCode" placeholder="请选择" skey="sj" size="small" style="width:60%">
+          </cpsSelect></el-col>
+          <el-col :span="6">水量2:<el-input v-model="input" size="small" style="width:50%"></el-input></el-col>
+          <el-col :span="6">水费2:<el-input v-model="input" size="small" style="width:50%"></el-input></el-col>
+          <el-col :span="5">污水费2:<el-input v-model="input" size="small" style="width:50%"></el-input></el-col>
+        </el-row>
+
+        <el-row :gutter="10">
+          <el-col :span="8">阶梯水价1:<el-input v-model="input" size="small" style="width:50%"></el-input></el-col>
+          <el-col :span="8">阶梯水量1:<el-input v-model="input" size="small" style="width:50%"></el-input></el-col>
+          <el-col :span="8">阶梯水费1:<el-input v-model="input" size="small" style="width:50%"></el-input></el-col>
+        </el-row>
+        <el-row :gutter="10">
+          <el-col :span="8">阶梯水价2:<el-input v-model="input" size="small" style="width:50%"></el-input></el-col>
+          <el-col :span="8">阶梯水量2:<el-input v-model="input" size="small" style="width:50%"></el-input></el-col>
+          <el-col :span="8">阶梯水费2:<el-input v-model="input" size="small" style="width:50%"></el-input></el-col>
+        </el-row>
+        <el-row :gutter="10">
+          <el-col :span="8">阶梯水价3:<el-input v-model="input" size="small" style="width:50%"></el-input></el-col>
+          <el-col :span="8">阶梯水量3:<el-input v-model="input" size="small" style="width:50%"></el-input></el-col>
+          <el-col :span="8">阶梯水费3:<el-input v-model="input" size="small" style="width:50%"></el-input></el-col>
+        </el-row>
+        <!--水价2-->
+        <el-row :gutter="10">
+          <el-col :span="7">(基)水价3:<cpsSelect v-model="sj2.priceCode" placeholder="请选择" skey="sj" size="small" style="width:60%">
+          </cpsSelect></el-col>
+          <el-col :span="6">水量3:<el-input v-model="input" size="small" style="width:50%"></el-input></el-col>
+          <el-col :span="6">水费3:<el-input v-model="input" size="small" style="width:50%"></el-input></el-col>
+          <el-col :span="5">污水费3:<el-input v-model="input" size="small" style="width:50%"></el-input></el-col>
+        </el-row>
+
+        <el-row :gutter="10">
+          <el-col :span="8">阶梯水价1:<el-input v-model="input" size="small" style="width:50%"></el-input></el-col>
+          <el-col :span="8">阶梯水量1:<el-input v-model="input" size="small" style="width:50%"></el-input></el-col>
+          <el-col :span="8">阶梯水费1:<el-input v-model="input" size="small" style="width:50%"></el-input></el-col>
+        </el-row>
+        <el-row :gutter="10">
+          <el-col :span="8">阶梯水价2:<el-input v-model="input" size="small" style="width:50%"></el-input></el-col>
+          <el-col :span="8">阶梯水量2:<el-input v-model="input" size="small" style="width:50%"></el-input></el-col>
+          <el-col :span="8">阶梯水费2:<el-input v-model="input" size="small" style="width:50%"></el-input></el-col>
+        </el-row>
+        <el-row :gutter="10">
+          <el-col :span="8">阶梯水价3:<el-input v-model="input" size="small" style="width:50%"></el-input></el-col>
+          <el-col :span="8">阶梯水量3:<el-input v-model="input" size="small" style="width:50%"></el-input></el-col>
+          <el-col :span="8">阶梯水费3:<el-input v-model="input" size="small" style="width:50%"></el-input></el-col>
+        </el-row>
+
+        <el-divider></el-divider>
+        <el-row> 
+          <el-col :span="24" style="text-align:center">
+          <el-button type="primary">欠费明细变更</el-button> 
+          <el-button type="danger">撤销算费</el-button>
+          </el-col>
+
+        </el-row>
+
+      </el-main>
+
+
+    </el-container>
+  </div>
+</template>
   
-    data() {
-      return {
-        daCustomer: { companyBranch: undefined, mrArea: undefined, mrBook: undefined },
-        daMeter: { priceCode: "", priceCode1: "", priceCode2: "", num: 0.00, num1: 0.00, num2: 0.00,isSewAgeFee:"0" },
-        queryParams: {
-          companyBranch: undefined,//公司
-          mrArea: undefined,//片区
-          mrBook: undefined,//抄表本
-          searchText: undefined,//模糊查询
+<script>
+import '@/views/mis/common/assets/styles/misStyle.scss'
+import cpsSelect from '@/views/mis/common/components/cps-select.vue'
+import cpsCompany from '@/views/mis/common/components/cps-company.vue'
+import cpsLinkageArea from '@/views/mis/common/components/cps-linkageArea.vue';
+import tfTable from '@/components/TableAuto/index.vue'
+import { financial } from '@/views/mis/common/api/financialApi.js'
+import { Customer } from '@/views/mis/common/api/customerManagement.js'
+
+export default {
+  name: "priceListMultipleList",
+  components: { cpsSelect, cpsCompany, cpsLinkageArea, tfTable },
+
+  data() {
+    return {
+      daCustomer: { customerNo:"",customerName:"",tel:"",custmoerAddr:"" },
+      daMeter: {  priceCode: "", priceCode1: "", priceCode2: "" },
+      recInfo:{mroname:"",billYearMonth:"",yearMonth:"",inputdate:"",mrdate:"",mrCalMode:"",mrType:"",jjl:0,recquantity:0},
+      sj:{pricecode:"",quantity:0,amount:0,sewage_fee:0, price_tiered1_quantity:0, price_tiered1_price:0, price_tiered1_amount:0, price_tiered2_quantity:0, price_tiered2_price:0, price_tiered2_amount:0, price_tiered3_quantity:0, price_tiered3_price:0, price_tiered3_amount:0},
+      sj1:{pricecode1:"",quantity1:0,amount1:0,sewage_fee1:0, price1_tiered1_quantity:0, price1_tiered1_price:0, price1_tiered1_amount:0, price1_tiered2_quantity:0, price1_tiered2_price:0, price1_tiered2_amount:0, price1_tiered3_quantity:0, price1_tiered3_price:0, price1_tiered3_amount:0},
+      sj2:{pricecode2:"",quantity2:0,amount2:0,sewage_fee2:0, price2_tiered1_quantity:0, price2_tiered1_price:0, price2_tiered1_amount:0, price2_tiered2_quantity:0, price2_tiered2_price:0, price2_tiered2_amount:0, price2_tiered3_quantity:0, price2_tiered3_price:0, price2_tiered3_amount:0},
+      
+      // queryParams: {
+      //   companyBranch: undefined,//公司
+      //   mrArea: undefined,//片区
+      //   mrBook: undefined,//抄表本
+      //   searchText: undefined,//模糊查询
+      // },
+      isMultiPrice: false,
+      selectionsData: [],
+      pageInfo: { current: 1, total: 0, size: 50 },
+      searchText: "",
+      tableData: [],
+      columns: [
+        {
+          label: '用户编号',
+          prop: 'customerNo',
+          align: 'center',
+          width: 120,
+          sortable: true
         },
-        isMultiPrice: false, 
-        selectionsData: [],
-        pageInfo: { current: 1, total: 0, size: 50 },
-        searchText: "",
-        tableData: [],
-        columns: [
-          {
-            label: '所属片区',
-            prop: 'mrareaname',
-            width: 120,
-            align: 'left'
-          },
-          {
-            label: '所属表册',
-            prop: 'mrbookname',
-            width: 120,
-            align: 'left'
-          },
-          {
-            label: '用户编号',
-            prop: 'customerNo',
-            align: 'center',
-            width: 120,
-            sortable: true
-          },
-          {
-            label: '用户姓名',
-            prop: 'customerName',
-            width: 120,
-            align: 'center'
-          },
-          {
-            label: '用户地址',
-            prop: 'customerAddress',
-            align: 'left',
-            width: 120,
-            sortable: true
-          },
-          {
-            label: '联系电话',
-            prop: 'customerPhone',
-            width: 120,
-            align: 'center'
-          }
-          ,
-          {
-            label: '联系电话',
-            prop: 'customerPhone',
-            width: 120,
-            align: 'center'
-          }
-          ,
-          {
-            label: '水价名称1',
-            prop: 'pricename',
-            width: 120,
-            align: 'center'
-          }
-          ,
-          {
-            label: '水价名称2',
-            prop: 'pricename1',
-            width: 120,
-            align: 'center'
-          }
-          ,
-          {
-            label: '水价名称3',
-            prop: 'pricename2',
-            width: 120,
-            align: 'center'
-          }
-  
-        ]
-      }
+        {
+          label: '用户姓名',
+          prop: 'customerName',
+          align: 'center'
+        }, 
+        {
+          label: '财务日期',
+          prop: 'billYearMonth',
+          align: 'center'
+        },
+        {
+          label: '应收金额',
+          prop: 'recAmount',
+          width: 120,
+          align: 'center'
+        },
+        {
+          label: '应收水量',
+          prop: 'recQuantity',
+          width: 120,
+          align: 'center'
+        }
+
+      ]
+    }
+  },
+  created() {
+    //水价1、水价2、水价3
+
+  },
+  methods: {
+    loadData() {
+      financial.getSfRecPage({ current: this.pageInfo.current, size: this.pageInfo.size, customerNo: this.searchText }).then((res) => {
+        if (res.code !== 1) {
+          that.$message.error('获取信息出错!')
+          return
+        }
+        this.pageInfo.total = res.result.total;
+        this.tableData = res.result.records;
+
+      }).catch((ex) => {
+        this.$message.error('异常')
+      })
     },
-    created() {
-      //水价1、水价2、水价3
-  
+    handleCurrentChange(page) {
+      this.pageInfo.current = page
+      this.loadData()
     },
-    methods: {
-      loadData() {
-  
-        financial.getCusDaPrice({ current: this.pageInfo.current, size: this.pageInfo.size, searchText: this.searchText, mrArea: '', mrBook: '' }).then((res) => {
-          if (res.code !== 1) {
-            that.$message.error('获取信息出错!')
-            return
-          }
-          this.pageInfo.total = res.result.total;
-          this.tableData = res.result.records;
-  
-        }).catch((ex) => {
-          that.$message.error('异常')
-        })
-      },
-      handleCurrentChange(page) {
-        this.pageInfo.current = page
-        this.loadData()
-      },
-      handleSizeChange(size) {
-        this.pageInfo.size = size
-        this.loadData()
-      },
-      handleSelectionChange(rows) {
-        this.selectionsData = rows
-      },
-      onSetPrice() {
-   
-        if (this.selectionsData != null && this.selectionsData.length > 0) {
-          let ids = []
-          this.selectionsData.forEach((item) => {
-            ids.push(item.customerNo)
-          })
-          let tempIds = ids.join(",")
-  
-          var obj = {
-            "customerNos": tempIds,
-            "pricecode": this.daMeter.priceCode,
-            "pricecode1": this.daMeter.priceCode1,
-            "pricecode2": this.daMeter.priceCode2,
-            "num": this.daMeter.num,
-            "num1": this.daMeter.num1,
-            "num2": this.daMeter.num2,
-            "swagefeeflag":this.daMeter.isSewAgeFee
-  
-          }
-  
-          financial.updateSetCusDaPrice(obj).then((res) => {
-            debugger
-            if (res.code == 1) {
-              this.$message.success('修改成功.')
-            } else {
-              this.$message.error('修改失败.')
+    handleSizeChange(size) {
+      this.pageInfo.size = size
+      this.loadData()
+    },
+    handleSelectionChange(rows) {
+      this.selectionsData = rows
+    },
+    rowClick(value){
+     // alert(JSON.stringify(value))
+      console.log(value)
+   //refInfo:{mroname:"",billYearMonth:"",yearMonth:"",inputdate:"",mrdate:"",mrCalMode:"",mrType:"",jjl:0,recamount:0},
+      this.recInfo.mroname=value.mrOname 
+      this.recInfo.billYearMonth=value.billYearMonth 
+      this.recInfo.yearMonth=value.yearMonth
+      this.recInfo.inputdate=value.inputDate 
+      this.recInfo.mrdate=value.mrDate
+      this.recInfo.mrType=value.mrType
+      this.recInfo.jjl=value.jjl
+      this.recInfo.recquantity=value.recQuantity
+
+     
+      Customer.queryCustomer(value.customerNo).then((res)=>{
+            if(res.code==1){
+              this.daCustomer.customerNo=res.result.customerNo
+              this.daCustomer.custmoerAddr=res.result.customerAddress
+              this.daCustomer.tel=res.result.customerPhone
+              this.daCustomer.customerName=res.result.customerName
             }
-          }).catch((e) => {
-  
-          })
-  
-  
-        } else {
-          this.$message.error('请勾选设置项目.')
+      }).catch((ex)=>{
+
+      })
+      
+
+    },
+    onSetPrice() {
+
+      if (this.selectionsData != null && this.selectionsData.length > 0) {
+        let ids = []
+        this.selectionsData.forEach((item) => {
+          ids.push(item.customerNo)
+        })
+        let tempIds = ids.join(",")
+
+        var obj = {
+          "customerNos": tempIds,
+          "pricecode": this.daMeter.priceCode,
+          "pricecode1": this.daMeter.priceCode1,
+          "pricecode2": this.daMeter.priceCode2,
+          "num": this.daMeter.num,
+          "num1": this.daMeter.num1,
+          "num2": this.daMeter.num2,
+          "swagefeeflag": this.daMeter.isSewAgeFee
+
         }
-  
-  
+
+        financial.updateSetCusDaPrice(obj).then((res) => {
+          debugger
+          if (res.code == 1) {
+            this.$message.success('修改成功.')
+          } else {
+            this.$message.error('修改失败.')
+          }
+        }).catch((e) => {
+
+        })
+
+
+      } else {
+        this.$message.error('请勾选设置项目.')
       }
+
+
     }
-  } 
-  </script>
-  
-  <style>
-  .misBox {
-    height: 100%;
-  }
-  
-  body>.el-container {
-    margin-bottom: 40px;
-  }
-  
-  .el-container {
-    height: 100%;
-  }
-  
-  .el-aside {
-    margin-top: 21px;
-  }
-  
-  .el-main {
-    margin-top: 21px;
-  
   }
+}
+</script>
   
-  .tableheight {
-    height: calc(100% - 50px);
-  }
-  
-  .showText {
-    margin: 2px 2px;
-    padding: 1px;
-    display: block;
-  }
-  </style>
+<style lang="scss" scoped>
+.misBox {
+  height: 100%;
+}
+
+body>.el-container {
+  margin-bottom: 40px;
+}
+
+.el-container {
+  height: 100%;
+}
+
+.el-aside {
+  margin-top: 21px;
+}
+
+.el-main {
+  margin-top: 21px;
+
+}
+
+.tableheight {
+  height: calc(100% - 50px);
+}
+
+.showText {
+  margin: 2px 2px;
+  padding: 1px;
+  display: block;
+}
+.el-row {
+  margin-bottom: 10px; 
+}
+.el-col{
+  padding: 4px;
+}
+
+/deep/ .descLabel {
+  width: 20%;
+}
+
+/deep/ .descContent {
+  width: 30%;
+}
+
+</style>