wwl
2025-01-10 288842f04e72d34fca6948ad1891c8460feb9774
src/views/hosp/project/index.vue
@@ -343,7 +343,11 @@
          </el-input>
        </el-form-item>
        <el-form-item label="项目价格" prop="proPrice">
          <el-input v-model="form.proPrice" placeholder="请输入项目价格" />
          <el-input
            v-model="form.proPrice"
            :disabled="isPriceDisabled"
            placeholder="请输入项目价格"
          />
        </el-form-item>
        <el-form-item label="检查类别" prop="proCheckType">
          <el-input
@@ -980,6 +984,7 @@
      // 部门树选项
      deptOptions: undefined,
      dialogTableVisible: false,
      isPriceDisabled: false,
      sfxmList: [],
      deptOptionstree: [],
      defaultPropstree: {
@@ -1075,7 +1080,7 @@
        lisXmmc: "",
        proMetering: "",
        proScope: "",
        proSex:'2',
        proSex: "2",
        resultType: "", // 初始值
      },
      // 表单校验
@@ -1655,8 +1660,11 @@
    handleUpdate1() {
      this.open = true;
      this.form = this.xiugaiList;
      this.form.proStatus = this.form.proStatus.toString();
      this.proParent = true;
      // 设置项目价格禁用
      this.isPriceDisabled = true;
      // if(){
      //   this.proParent = true
      // }
@@ -1678,8 +1686,8 @@
      // this.form = row;
      const proId = row.proId || this.ids;
      this.proParent = false;
      this.isPriceDisabled = false;
      getProject(proId).then((response) => {
        console.log(response, 999);
        this.form = response.data;
        if (this.form.proParentId === "0") {
          this.showPrise = true;