qinxianzhangyao
2024-07-08 53b7cfd8589201ec728c68a08b4ea07d94e66258
src/views/hosp/order/index.vue
@@ -802,7 +802,7 @@
    </el-dialog>
    <!-- 添加或修改体检记录对话框 -->
    <el-dialog :title="title" :visible.sync="open" width="950px" append-to-body>
    <el-dialog :title="title" :visible.sync="open" width="950px" append-to-body >
      <el-tabs v-model="activeName1" type="card">
        <!-- <el-tab-pane label="订单流水" name="first">
          <el-table :data="numberList" style="width: 100%">
@@ -839,8 +839,8 @@
            </el-table-column>
          </el-table>
        </el-tab-pane> -->
        <el-tab-pane label="项目汇总" name="second">
          <el-table :data="huizongList" style="width: 100%" max-height="280">
        <el-tab-pane label="项目汇总" name="second" style="height: 400px;">
          <el-table :data="huizongList" style="width: 100%" max-height="200">
            <el-table-column
              align="center"
              prop="newID"
@@ -855,6 +855,7 @@
            <el-table-column align="center" prop="price" label="费用合计">
            </el-table-column>
          </el-table>
          <h3>付款详情</h3>
          <el-table :data="bill" style="width: 100%; margin-top: 10px">
            <el-table-column align="center" prop="copeWith" label="应付">
            </el-table-column>
@@ -864,11 +865,11 @@
            </el-table-column>
          </el-table>
        </el-tab-pane>
        <el-tab-pane label="明细项目" name="third">
        <el-tab-pane label="明细项目" name="third" style="height: 350px;">
          <el-table
            :data="infoList"
            style="width: 100%"
            max-height="300"
            max-height="330"
            :span-method="objectSpanMethod1"
          >
            <el-table-column
@@ -922,10 +923,17 @@
            <el-table :data="DataLists" border style="width: 100%" height="400"  @selection-change="handleProjectssChange" >
              <el-table-column type="selection" width="40" align="center" />
              <el-table-column
                prop="id"
                type="index"
                label="序号"
                align="center"
                width="49px"
              >
              </el-table-column>
              <el-table-column
                prop="blje"
                label="补录金额"
                align="center"
                width="74px"
              >
              </el-table-column>
              <el-table-column
@@ -949,13 +957,7 @@
                width="96px"
              >
              </el-table-column>
              <el-table-column
                prop="blje"
                label="补录金额"
                align="center"
                width="74px"
              >
              </el-table-column>
            </el-table>
          </div>
        </el-col>
@@ -1047,7 +1049,7 @@
      src: "",
      url: "",
      flag: true,
      bill: null,
      bill: [],
      Treedata: [],
      DataListss:[],
      checkedkey: [],
@@ -1430,7 +1432,17 @@
      getNumber(tjNumber).then((response) => {
        // this.form = response.data;
        this.numberList = response.data.charging;
        this.bill = response.data.water;
        this.bill =[]
        var copeWith = 0;
        var paidIn = 0;
        var discount = ""
        response.data.water.forEach(item => {
          copeWith += item.copeWith;
          paidIn+= item.copeWith;
          discount= item.discount
        })
        this.bill.push({copeWith:copeWith,paidIn:paidIn,discount:discount});
        this.title = "订单流水";
      });
      getTransitionInfo(tjNumber).then((res) => {
@@ -1457,7 +1469,18 @@
      getNumber(tjNumber).then((response) => {
        // this.form = response.data;
        this.numberList = response.data.charging;
        this.bill = response.data.water;
        this.bill =[]
        var copeWith = 0;
        var paidIn = 0;
        var discount = ""
        response.data.water.forEach(item => {
          copeWith += item.copeWith;
          paidIn+= item.copeWith;
          discount= item.discount
        })
        this.bill.push({copeWith:copeWith,paidIn:paidIn,discount:discount});
        console.log(this.bill)
        this.title = "订单流水";
      });
      getTransitionInfo(tjNumber).then((res) => {