qx
qx
2025-03-17 eb5ed8e534632b23987214759cb4b27f80b147a4
qx
3个文件已修改
59 ■■■■■ 已修改文件
src/views/doctor/check/index.vue 11 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/system/package/index.vue 4 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/system/tijian/index.vue 44 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/doctor/check/index.vue
@@ -424,8 +424,8 @@
                    <template slot-scope="{ row, $index }">
                      <el-input  type="textarea" autosize size="mini" v-model="row.proResult" :ref="`input-${$index}`"
                      @keydown.enter.native="keyInputConfirm($event, $index)" @focus="handleFocus(row)"
                        @blur="handleInputConfirm(row)" @input="vale"></el-input>
                        @blur="handleInputConfirm(row)" ></el-input>
                        <!-- @input="vale" -->
                      <!-- <el-input type="textarea" autosize size="mini" v-model="scope.row.proResult" autocomplete="off"   :ref="`input-${scope.$index}-${scope.row.proResult}`"
                        placeholder="请输入检测结果" @keyup="
                          keyInputConfirm($event,scope.$index,'proResult')
@@ -983,8 +983,7 @@
  methods: {
    handleFocus(row) {
      this.autorule = [];
      if (!row.resultType || row.resultType == 2) {
      if (!row.resultType || row.resultType == 2 || !row.proResult ) {
        return;
      } else {
        this.curindex = row;
@@ -995,9 +994,7 @@
      }
    },
    handleChangesZt(params) {
      console.log(params)
      this.curindex.proResult = params.map((item) => item.ruleStr).join(",");
      console.log(this.curindex.proResult)
      this.handleInputConfirm(this.curindex, params);
    },
    tableRowClassName({ row }) {
@@ -1212,7 +1209,6 @@
    },
    changDesc(item) {
      console.log(item)
      if (item.exceptionDesc == true) {
        item.conclusion = "异常"
      } else {
@@ -1300,7 +1296,6 @@
    },
    handleInputConfirm(datas, params) {
      if (params && params.length === 0) {
        // 如果没有选中任何项目,取消异常复选框的选中状态
        this.curindex.exceptionDesc = false;
src/views/system/package/index.vue
@@ -744,7 +744,9 @@
        Object.keys(response.data).forEach((key) => {
          this.$set(this.form, key, response.data[key]);
        });
        console.log(this.form, 2233);
        this.youhui = data.limits || 10;
    this.pics = data.price || 0;
    this.form.xianprice = data.newPrice || 0;
        this.form.keywords = this.form.keywords.slice(0, -1);
        this.form.keywords = this.form.keywords.split(",");
src/views/system/tijian/index.vue
@@ -89,7 +89,8 @@
              <span slot="label" style="display: inline-block; border-bottom: 2px solid blue" @click="openname">
                姓名
              </span>
              <el-input v-model="form.cusName" placeholder="请输入姓名" :disabled="isDisabled" @input="form.cusName = $event.replace(/\s/g, '')" />
              <el-input v-model="form.cusName" placeholder="请输入姓名" :disabled="isDisabled"
                @input="form.cusName = $event.replace(/\s/g, '')" />
            </el-form-item>
            <el-form-item label="证件类型" prop="idType">
@@ -147,7 +148,8 @@
              <span slot="label" style="display: inline-block; border-bottom: 2px solid blue" @click="handleQuery">
                证件号码
              </span>
              <el-input :disabled="isDisabled" v-model="form.cusIdcard" placeholder="请输入身份证号" @input="handleIdCardInput"/>
              <el-input :disabled="isDisabled" v-model="form.cusIdcard" placeholder="请输入身份证号"
                @input="handleIdCardInput" />
              <!-- <i style="
                    font-size: 1rem;
                    position: absolute;
@@ -179,7 +181,8 @@
                trigger: 'blur',
              },
            ]">
              <el-input v-model="form.cusPhone" placeholder="请输入联系电话" :disabled="isDisabled" @input="form.cusPhone = $event.replace(/\s/g, '')"/>
              <el-input v-model="form.cusPhone" placeholder="请输入联系电话" :disabled="isDisabled"
                @input="form.cusPhone = $event.replace(/\s/g, '')" />
            </el-form-item>
            <el-form-item label="出生日期" prop="cusBrithday">
@@ -565,6 +568,10 @@
                </template>
              </el-table-column>
              <el-table-column prop="nowPrice" label="实收金额">
                <template slot-scope="scope">
                  {{ scope.row.nowPrice.toFixed(2) }}
                </template>
              </el-table-column>
              <el-table-column prop="proCheckMethod" label="是否空腹">
                <template slot-scope="scope">
@@ -1225,11 +1232,9 @@
      this.open1 = true;
      this.title = "添加体检单位信息维护";
    },
    idFn1(value) {
      if (value) {
        // console.log(value);
    idFn1() {
      if (this.form.firmName) {
        const originalCompId = this.form.firmId;
        this.form.firmName = value;
        this.CompanyList.forEach((item) => {
          if (item.cnName == this.form.firmName) {
            this.form.firmId = item.drugManufacturerId;
@@ -1239,10 +1244,15 @@
        if (this.form.firmId === originalCompId) {
          this.form.firmId = "";
        }
        if (this.form.firmId) {
          this.form.tjType = this.dict.type.dict_team[2].value;
        }
      if (this.form.firmName) {
          this.form.tjType = this.dict.type.dict_team[1].value;
        }else{
          this.form.tjType = this.dict.type.dict_team[0].value;
      }
    },
    getCurrentDateTime() {
      const currentDate = new Date();
@@ -1424,6 +1434,8 @@
              this.TotalPrice1 = 0;
              if (this.tableData1) {
                this.tableData1.forEach((item) => {
                  // parseFloat(item.nowPrice.toFixed(2))
                  this.TotalPrice1 += item.ordPrice;
                  this.TotalPrice += item.nowPrice;
                  if (item.pacName === null) {
@@ -1773,7 +1785,7 @@
            if (this.form.reservationId != null) {
              if (this.form.groupingId) {
                this.form.firmName = this.form.compName;
                this.form.tjType = this.dict.type.dict_team[2].value;
                this.form.tjType = this.dict.type.dict_team[1].value;
                this.CompanyList.forEach((item) => {
                  if (item.cnName == this.form.firmName) {
                    this.form.firmId = item.drugManufacturerId;
@@ -2912,6 +2924,7 @@
    processOrderItems(cusId) {
      getTransitionList1(cusId).then((response) => {
        this.tableData1 = response.data;
       let Price = 0;
        if (this.tableData1) {
          this.tableData1.forEach((item) => {
            if (item.tjCategory != null) {
@@ -2923,8 +2936,10 @@
              });
            }
            this.TotalPrice1 += item.ordPrice || 0; // 累加应收金额
            this.TotalPrice += item.nowPrice || 0; // 累加实收金额
            Price += item.nowPrice || 0; // 累加实收金额
            this.TotalPrice = Price.toFixed(2)
          });
          console.log(this.TotalPrice1, this.TotalPrice)
          // 计算折扣
          this.discount = this.TotalPrice1 > 0 ?
            (Math.floor((this.TotalPrice / this.TotalPrice1) * 100) / 100) * 10 : 0;
@@ -3369,8 +3384,10 @@
}
.filter-tree {
  overflow-y: auto; /* 保留纵向滚动条 */
  overflow-x: hidden; /* 隐藏横向滚动条 */
  overflow-y: auto;
  /* 保留纵向滚动条 */
  overflow-x: hidden;
  /* 隐藏横向滚动条 */
  height: 350px;
}
@@ -3481,6 +3498,7 @@
  width: 100%;
  display: flex;
}
/* .tab3 {
  overflow-y: auto;
}