@dongkboy 1 неделя назад
Родитель
Сommit
b96f03d210

+ 22 - 6
src/views/payCredit/index.vue

@@ -154,7 +154,7 @@
             <span>提现金额总计: {{ totalAmount || 0 }}</span>
           </el-col>
         </el-form>
-        <el-table :data="firstData1" height="calc(100% - 218px)" style="width: 100%; margin-top: 20px;"
+        <el-table :data="firstData1" height="calc(100% - 288px)" style="width: 100%; margin-top: 20px;"
           highlight-current-row>
           <el-table-column prop="attrType" label="业务员类型">
             <template #default="scope">
@@ -276,7 +276,7 @@
             <span>提现金额总计: {{ totalAmount || 0 }}</span>
           </el-col>
         </el-form>
-        <el-table :data="firstData2" height="calc(100% - 218px)" style="width: 100%; margin-top: 20px;"
+        <el-table :data="firstData2" height="calc(100% - 278px)" style="width: 100%; margin-top: 20px;"
           highlight-current-row>
           <el-table-column prop="attrType" label="业务员类型">
             <template #default="scope">
@@ -299,8 +299,14 @@
           <el-table-column prop="paymentTime" label="支付时间" width="180"></el-table-column>
           <el-table-column prop="auditingUserName" label="审核人" width="180"></el-table-column>
           <el-table-column prop="payAccountName" label="付款账户"></el-table-column>
-          <el-table-column prop="xxxxxx" label="凭证号(待开发)"></el-table-column>
-          <el-table-column prop="xxxxxx" label="回单资料(待开发)"></el-table-column>
+          <el-table-column prop="voucherId" label="凭证号"></el-table-column>
+          <el-table-column prop="fileUrl" label="回单资料" width="180">
+            <template #default="scope">
+              <el-button link type="primary" v-if="scope.row.fileUrl" @click="view(scope.row)">查看资料({{
+                scope.row.fileUrl.split(',').length }})</el-button>
+              <span v-else>无回单资料</span>
+            </template>
+          </el-table-column>
         </el-table>
         <div class="pagination">
           <el-pagination v-model:current-page="pages" v-model:page-size="size" :page-sizes="[10, 20, 30, 40]"
@@ -377,7 +383,7 @@
             <span>提现金额总计: {{ totalAmount || 0 }}</span>
           </el-col>
         </el-form>
-        <el-table :data="firstData3" height="calc(100% - 218px)" style="width: 100%; margin-top: 20px;"
+        <el-table :data="firstData3" height="calc(100% - 288px)" style="width: 100%; margin-top: 20px;"
           highlight-current-row>
           <el-table-column prop="attrType" label="业务员类型">
             <template #default="scope">
@@ -460,6 +466,11 @@
         <el-button type="primary" @click="handleAccountSubmit">确定</el-button>
       </template>
     </el-dialog>
+    <el-dialog v-model="viewCredential" title="查看凭证" width="400">
+      <div class="text-center text-[14px] text-[#999] pb-[20px]">点击图片放大预览</div>
+      <el-image style="width: 100%; height: 300px" :src="CredentialList[0]" :zoom-rate="1.2" :max-scale="7"
+        :min-scale="0.2" :preview-src-list="CredentialList" show-progress :initial-index="4" alt="凭证图片" fit="cover" />
+    </el-dialog>
   </PageMain>
 </template>
 
@@ -467,6 +478,8 @@
 import api from '@/api'
 import { ElMessage, FormInstance } from "element-plus";
 const DrawRef = ref<FormInstance>()
+const viewCredential = ref(false)//查看凭证弹窗
+const CredentialList = ref([])//凭证图片
 let AccountRef = ref()
 let RefusePopover = ref()
 const type = ref('3')
@@ -563,7 +576,10 @@ const handleDraw = (row) => {
     }
   })
 }
-
+const view = (scope) => {
+  CredentialList.value = scope.fileUrl.split(',')
+  viewCredential.value = true
+}
 let total1 = ref(0)
 let total2 = ref(0)
 let total3 = ref(0)

+ 2 - 2
src/views/platform/platformReport.vue

@@ -36,7 +36,7 @@
             </el-col>
           </el-row>
         </el-form>
-        <el-table height="calc(100% - 142px)" :data="recordData1" show-summary
+        <el-table height="calc(100% - 202px)" :data="recordData1" show-summary
           :summary-method="val => getSummaries(val, ['totalReceivable', 'settledAmount', 'unSettledAmount'])">
           <el-table-column prop="receiver" label="对接人"></el-table-column>
           <el-table-column prop="totalReceivable" label="应收金额"></el-table-column>
@@ -133,7 +133,7 @@
             </el-col>
           </el-row>
         </el-form>
-        <el-table height="calc(100% - 192px)" :data="recordData2" show-summary
+        <el-table height="calc(100% - 292px)" :data="recordData2" show-summary
           :summary-method="val => getSummaries(val, ['receivableSuperviseCosts', 'jqPremium', 'syPremium', 'jyPremium', 'taxPremium'])">
           <el-table-column prop="orderStatus" label="业务状态" width="200"></el-table-column>
           <el-table-column prop="orderNo" label="订单号" width="150"></el-table-column>

+ 3 - 3
src/views/receivable/handingFee/report.vue

@@ -133,7 +133,7 @@
             </el-col>
           </el-row>
         </el-form>
-        <el-table height="calc(100% - 192px)" :data="recordData1" show-summary
+        <el-table height="calc(100% - 242px)" :data="recordData1" show-summary
           :summary-method="val => getSummaries(val, ['taxPoint', 'actualReceivedAmount', 'settlementPaymentDifference'])">
           <el-table-column prop="settlementId" label="结算记录编号" width="200"></el-table-column>
           <el-table-column prop="companyName" label="保险公司" width="200"></el-table-column>
@@ -242,7 +242,7 @@
             </el-col>
           </el-row>
         </el-form>
-        <el-table height="calc(100% - 192px)" :data="recordData2" show-summary
+        <el-table height="calc(100% - 292px)" :data="recordData2" show-summary
           :summary-method="val => getSummaries(val, ['receivableSuperviseCosts', 'jqPremium', 'taxPremium', 'syPremium'])">
           <el-table-column prop="orderStatus" label="业务状态" width="200"></el-table-column>
           <el-table-column prop="orderNo" label="订单号" width="200"></el-table-column>
@@ -341,7 +341,7 @@
             </el-col>
           </el-row>
         </el-form>
-        <el-table height="calc(100% - 192px)" :data="recordData3" show-summary
+        <el-table height="calc(100% - 292px)" :data="recordData3" show-summary
           :summary-method="val => getSummaries(val, ['jySuperviseCostsPremiums', 'jyPremium'])">
           <el-table-column prop="orderStatus" label="业务状态" width="200"></el-table-column>
           <el-table-column prop="orderNo" label="订单号" width="200"></el-table-column>