This commit is contained in:
parent
f55de27e87
commit
b10bcda3fc
|
|
@ -95,7 +95,7 @@
|
||||||
default: () => []
|
default: () => []
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
const emit = defineEmits(['update:modelValue', 'confirm', 'change', 'update:position', 'update:size']);
|
const emit = defineEmits(['update:modelValue', 'confirm', 'change', 'update:position', 'update:size','close']);
|
||||||
|
|
||||||
/* ========== 基本可见性 / 同步 ========== */
|
/* ========== 基本可见性 / 同步 ========== */
|
||||||
const visible = ref(props.modelValue);
|
const visible = ref(props.modelValue);
|
||||||
|
|
@ -366,6 +366,7 @@
|
||||||
|
|
||||||
function cancel() {
|
function cancel() {
|
||||||
visible.value = false;
|
visible.value = false;
|
||||||
|
emit('close');
|
||||||
}
|
}
|
||||||
|
|
||||||
/* ========== boxStyle ========== */
|
/* ========== boxStyle ========== */
|
||||||
|
|
|
||||||
|
|
@ -1013,7 +1013,7 @@
|
||||||
<!-- <u-select v-model="opencgr" :list="cgrlist" label-name="cgBy" value-name="cgBy" ></u-select> -->
|
<!-- <u-select v-model="opencgr" :list="cgrlist" label-name="cgBy" value-name="cgBy" ></u-select> -->
|
||||||
<!-- <u-select v-model="opengys" :list="gyslist" label-name="suppliersName" value-name="suppliers" ></u-select> -->
|
<!-- <u-select v-model="opengys" :list="gyslist" label-name="suppliersName" value-name="suppliers" ></u-select> -->
|
||||||
<superpicker v-model:modelValue="opengys" :columns="[gyslist]" nameKey="suppliersName" :init-left="80" :init-top="120" :init-width="360"
|
<superpicker v-model:modelValue="opengys" :columns="[gyslist]" nameKey="suppliersName" :init-left="80" :init-top="120" :init-width="360"
|
||||||
:init-height="360" />
|
:init-height="360" @close="opengys=false" @confirm="gysclick" />
|
||||||
</view>
|
</view>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
|
@ -1030,6 +1030,11 @@
|
||||||
const openjianhuo = ref(false);
|
const openjianhuo = ref(false);
|
||||||
const opendata = ref(false);
|
const opendata = ref(false);
|
||||||
|
|
||||||
|
const gysclick = (res:any) => {
|
||||||
|
console.log("///",res);
|
||||||
|
opengys.value=false;
|
||||||
|
}
|
||||||
|
|
||||||
const openjianhuoclick = () => {
|
const openjianhuoclick = () => {
|
||||||
openjianhuo.value = true;
|
openjianhuo.value = true;
|
||||||
donghuaopo.value = false;
|
donghuaopo.value = false;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue