sinake
5 天以前 a6cdc43d699044409e06c78583a2337ccaa3b96e
src/views/project/unitCost/organfee/index.vue
@@ -16,7 +16,9 @@
          filterable
          size="small"
          style="width: 200px"
          @change="handleHospitalFilterChange"
          @change="handleHospitalFilterChange"
          filterable‌
          allow-create
        >
         <el-option label="未填写回款医院" value="__EMPTY__" />
          <el-option
@@ -330,6 +332,17 @@
            </el-form-item>
          </el-col>
          <el-col :span="12">
            <el-form-item label="收款日期" prop="organtime">
              <el-date-picker
                v-model="editForm.organtime"
                type="date"
                value-format="yyyy-MM-dd"
                placeholder="请选择收款日期"
                style="width: 100%"
              />
            </el-form-item>
          </el-col>
          <el-col :span="12">
            <el-form-item label="利用状态" prop="organState">
              <el-select
                v-model="editForm.organState"
@@ -593,7 +606,8 @@
        organcharge: null,
        amount: null,
        organState: null,
        organchargedesc: null
        organchargedesc: null,
        organtime: null
      },
      // 新增弹窗
      addOpen: false,
@@ -827,7 +841,8 @@
          row.organState === null || row.organState === undefined
            ? null
            : String(row.organState),
        organchargedesc: row.organchargedesc || ""
        organchargedesc: row.organchargedesc || "",
        organtime: row.organtime
      };
      this.editOpen = true;
    },
@@ -883,7 +898,17 @@
        this.queryParams.hospitalno = null;
        this.queryParams.hospitalnoIsNull = true;
      } else {
        this.queryParams.hospitalno = value;
        const selectedOption = this.organizationList.findIndex(item => item.organizationid === value);
        if(selectedOption==-1){
          this.queryParams.hospitalname = value;
          this.queryParams.hospitalno=null;
        }
        else{
          this.queryParams.hospitalno=value;
          this.queryParams.hospitalname=null;
        }
        this.queryParams.hospitalnoIsNull = false;
      }
      this.queryParams.pageNum = 1;