qinxianzhangyao
2023-11-01 e4e9a44b2e2ba516aa307d8edf91b430cce7e1d6
src/views/system/indrefund/index.vue
@@ -1,20 +1,26 @@
<template>
    <div class="app-container">
        <el-row :gutter="10" class="mb8">
            <el-col :span="1.5">
                <el-form :inline="true" ref="form" :model="queryParams" class="demo-form-inline" label-width="80px">
                    <el-form-item label="姓名" prop="name">
        <el-form :inline="true" ref="form" :model="queryParams" class="demo-form-inline" label-width="80px">
            <el-row>
                <el-col :span="7">
                    <el-form-item label="姓名" prop="name" style="display: flex;">
                        <el-input v-model="queryParams.name" placeholder="请输入姓名" />
                    </el-form-item>
                    <el-form-item label="联系电话" prop="phone">
                </el-col>
                <el-col :span="12">
                    <el-form-item label="联系电话" prop="phone" style="display: flex;">
                        <el-input v-model="queryParams.phone" placeholder="请输入联系电话" />
                    </el-form-item>
                </el-form>
            </el-col>
            <el-col :span="1.5">
                <el-button type="primary" icon="el-icon-search" size="mini" @click="handleUpdate">查询</el-button>
            </el-col>
        </el-row>
                </el-col>
                <el-col :span="3">
                    <el-form-item>
                        <el-button type="primary" icon="el-icon-search" size="mini" @click="handleUpdate">查询</el-button>
                    </el-form-item>
                </el-col>
            </el-row>
        </el-form>
        <div style="margin-bottom: 10px;">
            <el-radio-group v-model="type" @input="handleUpdate">
                <el-radio-button label="1">收费记录</el-radio-button>
@@ -29,8 +35,8 @@
                <el-table-column label="姓名" align="center" prop="customer.cusName" width="90px" />
                <el-table-column label="手机号" align="center" prop="customer.cusPhone" width="110px"
                    :show-overflow-tooltip="true"></el-table-column>
                <el-table-column label="订单流水号" align="center" prop="waterId" width="180px" />
                <el-table-column label="体检项目" align="center" prop="tjProName" width="120px" />
                <el-table-column label="订单流水号" align="center" prop="waterId" width="194px" />
                <el-table-column label="体检项目" align="center" prop="tjProName" width="120px" :show-overflow-tooltip="true" />
                <el-table-column label="应收金额" align="center" prop="copeWith" width="90px" />
                <el-table-column label="实收金额" align="center" prop="paidIn" width="80px" />
                <el-table-column label="付款类型" align="center" prop="payType" width="80px">
@@ -39,7 +45,7 @@
                    </template>
                </el-table-column>
                <el-table-column label="收费员" align="center" prop="updateBy" width="100px" />
                <el-table-column label="收退时间" align="center" prop="updateTime" />
                <el-table-column label="收退时间" align="center" prop="updateTime" width="160px" />
                <el-table-column fixed="right" label="操作" align="center" class-name="small-padding " width="100px"
                    v-if="queryParams.type == '4'">
                    <template slot-scope="scope">
@@ -135,14 +141,14 @@
            type: "1",
            toggleSearchStatus: "0",
            queryParams: {
                name: "",
                phone: "",
                type: ""
                name: null,
                phone: null,
                type: null
            },
            formIn: {
                name: "",
                tjPro: "",
                phone: "",
                name: null,
                tjPro: null,
                phone: null,
                number: 1,
                ys: "0",
                ss: "0",
@@ -155,10 +161,10 @@
            currentTime: "",
            // 表单参数
            form: {
                name: "",
                tjPro: "",
                name: null,
                tjPro: null,
                tjProName: "体检费",
                phone: "",
                phone: null,
                number: 1,
                ys: 0,
                ss: 0,
@@ -290,7 +296,7 @@
                    this.tableList = res.data
                })
            }else{
            } else {
                this.queryParams.type = this.type
                getFlowingWaterList(this.queryParams).then(res => {
                    this.tableList = res.data