qx
qx
2 天以前 ca838a9f056cb7043b57bc34fde916686a465003
src/views/reservation/reservations/index.vue
@@ -605,10 +605,10 @@
                  style="width: 160px"
                />
              </el-form-item>
              <el-form-item label="单位名称" prop="company">
              <el-form-item label="单位名称" prop="companyId">
                <el-select
                  :remote-method="getRemoteData"
                  v-model="formIn.company"
                  v-model="formIn.companyId"
                  remote
                  default-first-option
                  allow-create
@@ -2345,11 +2345,7 @@
  created() {
    this.getList();
  },
  watch: {
    "formIn.company"(val) {
      console.log("formIn.company changed:", val, typeof val);
    },
  },
  methods: {
    isAll(value) {
      return value === "" || value === null;
@@ -2458,6 +2454,7 @@
    idFn1(value) {
      if (value) {
        this.form.dictCompId = value;
        console.log(value)
        // this.CompanyList.forEach((item) => {
        //   if (item.drugManufacturerId == this.form.dictCompId) {
        //     this.form.compName = item.cnName;
@@ -3155,6 +3152,7 @@
          this.formIn.company = item.cnName;
        }
      });
      let data;
      if (pacId) {
        data = {
@@ -3211,7 +3209,6 @@
          career: this.formIn.career,
        };
      }
      console.log('提交参数', data);
      tjReappoint(data).then((res) => {
        if (res.code === 200) {
          this.$modal.msgSuccess("预约成功");