qinxianzhangyao
2024-02-19 5608958b603be7ee70f309d6bb35dc4739449778
src/views/system/indrefund/index.vue
@@ -32,21 +32,22 @@
            <el-table v-loading="loading" :data="tableList" @selection-change="handleSelect" border max-height="720px"
                :row-style="changRed">
                <el-table-column type="selection" width="55" align="center" />
                <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="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">
                <el-table-column label="姓名" align="center" prop="customer.cusName"  />
                <el-table-column label="手机号" align="center" prop="customer.cusPhone"
                    ></el-table-column>
                    <!-- :show-overflow-tooltip="true" -->
                <el-table-column label="订单流水号" align="center" prop="waterId"  />
                <el-table-column label="体检项目" align="center" prop="tjProName" />
                <el-table-column label="应收金额" align="center" prop="copeWith"  />
                <el-table-column label="实收金额" align="center" prop="paidIn"  />
                <el-table-column label="付款类型" align="center" prop="payType">
                    <template slot-scope="scope">
                        <dict-tag :options="dict.type.dict_pay_type" :value="scope.row.payType" />
                    </template>
                </el-table-column>
                <el-table-column label="收费员" align="center" prop="updateBy" width="100px" />
                <el-table-column label="收退时间" align="center" prop="updateTime" width="160px" />
                <el-table-column fixed="right" label="操作" align="center" class-name="small-padding " width="100px"
                <el-table-column label="收费员" align="center" prop="updateBy"  />
                <el-table-column label="收退时间" align="center" prop="updateTime"  />
                <el-table-column fixed="right" label="操作" align="center" class-name="small-padding"
                    v-if="queryParams.type == '4'">
                    <template slot-scope="scope">
                        <el-button size="mini" type="text" @click="handlerefund(scope.row)"
@@ -246,18 +247,18 @@
        },//清除定时器,以避免内存泄露。
        getList() {
            getTjPrice().then(res => {
                if (res.data) {
                    const r = /^\+?[0-9][0-9]*$/; //正整数(可以0打头)
                    if (r.test(res.data)) {
                        this.form.ys = res.data + ".00";
                    } else {
                        this.form.ys = res.data
                    }
            // getTjPrice().then(res => {
            //     if (res.data) {
            //         const r = /^\+?[0-9][0-9]*$/; //正整数(可以0打头)
            //         if (r.test(res.data)) {
            //             this.form.ys = res.data + ".00";
            //         } else {
            //             this.form.ys = res.data
            //         }
                    this.form.ss = this.form.ys
                }
            })
            //         this.form.ss = this.form.ys
            //     }
            // })
            getInfo(this.queryParams).then((response) => {
                this.hospName = response.hospName;
            });