qinxianzhangyao
2024-06-19 5f5425c1be29b82205f19b7779cda67cfcc3a6e5
qxtj
2个文件已修改
42 ■■■■■ 已修改文件
src/views/system/tijian/index.vue 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/system/tijianall/index.vue 40 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/system/tijian/index.vue
@@ -2306,8 +2306,6 @@
          });
        }
      });
      this.taocan = false;
      this.defaultKeys = [];
    },
    Package() {
src/views/system/tijianall/index.vue
@@ -614,7 +614,12 @@
                <el-button type="primary" @click="Package" size="mini"
                  >选择套餐</el-button
                >
                <el-button
                  type="primary"
                  @click="resetpackage"
                  size="mini"
                  >重置套餐</el-button
                >
                <el-button
                  type="primary"
                  @click="submitPrice"
@@ -1431,6 +1436,39 @@
    //     return true;
    //   }
    // },
    resetpackage(){
      if (this.form.cusIdcard) {
        var cusId = this.form.cusIdcard;
      } else {
        this.$message.warning("请先填写信息,再选体检内容");
      }
      let _this = this;
        _this.pacId = "";
      this.proIds = [];
      let data = {
        cusId,
        pacId: _this.pacId,
        proIds: this.proIds,
      };
      getaddtTransition(data).then((response) => {
        if (response.code === 200) {
          let cusId = this.form.cusIdcard;
          this.proIds = [];
          getTransitionList(cusId).then((response) => {
            this.tableData1 = response.data;
            this.TotalPrice1 = 0;
            if (this.tableData1.length>=1) {
              this.list1 = false;
              this.list3 = true;
            } else {
              this.list1 = true;
              this.TotalPrice = "0.00";
            }
          });
        }
      });
    },
    Package() {
      this.taocan = true;