zhangwei
8 天以前 03c275439949875a857538df89a41696642c42b3
src/views/system/aboutItem/form.vue
@@ -9,6 +9,7 @@
import { getCaigoufangshiList } from "@/api/item/index";
const { state } = useDept();
let cascaderRef = ref();
const props = withDefaults(defineProps<FormProps>(), {
  formInline: () => ({
    id: "",
@@ -54,7 +55,11 @@
  return ruleFormRef.value;
}
const handleChange = value => {
  console.log(value);
  console.log(
    value,
    cascaderRef.value.getCheckedNodes()[0].pathLabels.join(" / "),
    123
  );
};
defineExpose({ getRef });
onMounted(async () => {});
@@ -140,7 +145,7 @@
        </el-form-item>
      </re-col>
      <re-col :value="6" :xs="24" :sm="24">
        <el-form-item label="定制规划" prop="dingbiaoguize">
        <el-form-item label="成交方法" prop="dingbiaoguize">
          <!-- <el-checkbox-group
            v-model="newFormInline.dingbiaoguize"
            placeholder="请选择状态"
@@ -229,6 +234,7 @@
      <re-col :value="6" :xs="24" :sm="24">
        <el-form-item label="行政区域" prop="xingzhengquyu">
          <el-cascader
            :ref="cascaderRef"
            v-model="newFormInline.xingzhengquyu"
            class="w-full"
            :options="state.regionList"