wwl
9 小时以前 1d7a460b0fbc460ffcf3dd94864f2f3adf4369b2
src/views/system/refund/index.vue
@@ -120,7 +120,7 @@
</template>
<script>
import { getTjRefundList, getTjList, getTjRefund } from "@/api/hosp/customer";
import { getTjRefundList, getTjList, getTjRefund,getTjRefundList2,getTjList2,getTjRefund2 } from "@/api/hosp/customer";
export default {
  dicts: [
@@ -207,11 +207,12 @@
      }
    },
    /** 搜索操作 */
    handle() {
      this.loading = true;
      getTjRefundList(this.form).then((response) => {
        if( response.data){
          this.customerList = response.data;
   handle() {
  this.loading = true;
  getTjRefundList2(this.form)
    .then((response) => {
      if (response.data) {
        this.customerList = response.data;
        this.customerList.forEach((item1) => {
          this.tjnumber = item1.tjNumber;
        });
@@ -239,10 +240,13 @@
        });
        this.total = response.total;
        this.loading = false;
        }
      });
    },
      }
    })
    .catch((error) => {
      console.error("错误:", error);
      this.loading = false;
    });
},
    //重置按钮
    resetQuery() {
@@ -265,7 +269,7 @@
      let data = {
        orderId: this.tjOrderId,
      };
      getTjList(data).then((res) => {
      getTjList2(data).then((res) => {
        this.numberList = res.data;
        this.loading = false;
      });
@@ -326,7 +330,7 @@
        });
        return;
      }
      getTjRefund(data).then((res) => {
      getTjRefund2(data).then((res) => {
        this.tjnumber = res.data.waterId;
        this.mobanId = res.data.mobanId;
        if (res.code === 200) {