吴树波 2 ヶ月 前
コミット
257d88aa7a
1 ファイル変更16 行追加3 行削除
  1. 16 3
      src/views/company/companyRecharge/index.vue

+ 16 - 3
src/views/company/companyRecharge/index.vue

@@ -24,7 +24,7 @@
               />
         </el-select>
       </el-form-item>
-      
+
       <el-form-item>
         <el-button type="cyan" icon="el-icon-search" size="mini" @click="handleQuery">搜索</el-button>
         <el-button icon="el-icon-refresh" size="mini" @click="resetQuery">重置</el-button>
@@ -53,6 +53,19 @@
               <el-tag prop="status" v-for="(item, index) in payTypeOptions"   v-if="scope.row.payType==item.dictValue">{{item.dictLabel}}</el-tag>
         </template>
       </el-table-column>
+
+      <el-table-column label="凭证照片" align="center" prop="images" >
+        <template slot-scope="scope">
+          <div v-if="scope.row.imgs != null && scope.row.imgs != undefined && scope.row.imgs != ''">
+            <el-image
+              style="width: 80px; height: 80px"
+              :src="scope.row.imgs.split(',')[0]"
+              :preview-src-list="scope.row.imgs.split(',')">
+            </el-image>
+            <p style="margin: 0">({{scope.row.imgs.split(',').length}} 张)</p>
+          </div>
+        </template>
+      </el-table-column>
        <el-table-column label="状态" align="center" prop="status" >
         <template slot-scope="scope">
               <el-tag prop="status" v-for="(item, index) in statusOptions"  :type="scope.row.status==1?'success':'danger'"  v-if="scope.row.status==item.dictValue">{{item.dictLabel}}</el-tag>
@@ -113,7 +126,7 @@ export default {
   name: "CompanyRecharge",
   data() {
     return {
-       
+
       payTypeOptions:[],
       statusOptions:[],
       // 遮罩层
@@ -153,7 +166,7 @@ export default {
     };
   },
   created() {
-     
+
     this.getDicts("company_pay_status").then((response) => {
       this.statusOptions = response.data;
     });