bug
jiangping
2023-12-06 1f4e7d0f73a73e7350cf5a1df279d5f30904c5d5
web_standard/src/components/ext/OperaUnitExtWindow.vue
@@ -29,7 +29,7 @@
          </el-option>
        </el-select>
      </el-form-item>-->
      <el-form-item v-else label="单位类型" prop="types">
      <!-- <el-form-item label="单位类型" prop="types">
        <el-select v-model="form.types" multiple filterable clearable placeholder="请选择">
          <el-option
            v-for="(item, index) in unitTypes"
@@ -38,7 +38,7 @@
            :value="item.id">
          </el-option>
        </el-select>
      </el-form-item>
      </el-form-item> -->
    </el-form>
  </GlobalWindow>
</template>
@@ -58,7 +58,7 @@
        name: '',
        attributeData: 0,
        //types: [],
     //   type: null
        type: 1
      },
      // 验证规则
      rules: {
@@ -97,7 +97,7 @@
        }
        // 调用新建接口
        const newForm = JSON.parse(JSON.stringify(this.form))
        newForm.types = newForm.types.join(',')
        // newForm.types = newForm.types.join(',')
        this.isWorking = true
        this.api.create(newForm)
          .then(() => {
@@ -115,4 +115,7 @@
    }
  }
}
/**
 *
 */
</script>