zhongtianhaoyuan před 3 roky
rodič
revize
a08011d5fe
1 změnil soubory, kde provedl 15 přidání a 17 odebrání
  1. 15 17
      src/views/houseSelfCollect/paymentManagement.vue

+ 15 - 17
src/views/houseSelfCollect/paymentManagement.vue

@@ -106,7 +106,7 @@
       <el-table-column class="table_td" prop="paymentNo" width="100" label="编号" sortable></el-table-column>
       <el-table-column class="table_td" prop="customerName" label="客户" sortable>
         <template slot-scope="scope">
-          <div @click="customer(scope.row)">{{scope.row.customerName}}</div>
+          <div @click.stop="customer(scope.row)" ><span :class="scope.row.textcss">{{scope.row.customerName}}</span></div>
           </template>
       </el-table-column>
       <el-table-column class="table_td" prop="carNo" label="车牌号"></el-table-column>
@@ -260,17 +260,7 @@
       :visible.sync="customerInfo"
       :append-to-body="true"
     >
-      <el-form class="customer" :model="form">
-        <div v-if="customerlist.customerTypeFlag == '2'">
-          <h4>营业执照</h4>
-          <img width="50%" :src="customerlist.businessLicenseAddressUrl" alt class="img_css"/>
-          <el-form-item label="公司名称" label-width="100px">
-            {{ customerlist.compName }}
-          </el-form-item>
-          <el-form-item label="纳税人识别号" label-width="100px">
-            {{ customerlist.payTaxesCard }}
-          </el-form-item>
-        </div>
+      <el-form class="customer" :model="customer">
         <div class="flex">
           <div style="flex: 1; text-align: center">
             <h4>身份证正面</h4>
@@ -281,10 +271,11 @@
             <img width="100%" :src="customerlist.cardAddressUrl2" alt class="img_css"/>
           </div>
         </div>
-        <el-form-item label="姓名" label-width="100px">
-          {{ customerlist.customerName }}
+        <el-form-item label="姓名" >
+         <!-- <el-input v-model="customerlist.customerName"></el-input> -->
+         {{customerlist.customerName}}
         </el-form-item>
-        <el-form-item label="身份证号" label-width="100px">
+        <el-form-item label="身份证号">
           {{ customerlist.customerNumberCard }}
         </el-form-item>
         <div class="flex">
@@ -328,7 +319,7 @@
         </el-form-item>
       </el-form>
       <div slot="footer" class="dialog-footer">
-        <el-button >取 消</el-button>
+        <el-button @click="customerInfo = false">取 消</el-button>
       </div>
     </el-dialog>
   </div>
@@ -474,6 +465,7 @@ export default {
       })
     },
     customer(row){
+      row.textcss = "text_css"
       this.customerInfo = true
       this.customerlist = row.identityAuthenticationInfo
         this.customerlist.cardAddressUrl1 = this.customerlist.cardAddressUrl.split(',')[0]
@@ -679,6 +671,9 @@ export default {
         .toPromise()
         .then(response => {
           this.paymentList = response.records
+          for(let i = 0 ; i < this.paymentList.length ; i++){
+            this.paymentList.textcss = ""
+          }
           this.deptBudgetTotal = response.total
         })
       getJurisdiction({
@@ -1149,7 +1144,10 @@ table {
   padding-left: 20px;
 }
 .img_css{
-  width: 50%;
+  width: 90%;
   height: 220px;
 }
+.text_css{
+  color: #2c29e7;
+}
 </style>