|
|
@ -8,10 +8,10 @@ |
|
|
|
:is-col="true" |
|
|
|
@opensearchTable="opensearchTable" |
|
|
|
> |
|
|
|
<template #crontab="formSchema"> |
|
|
|
<template #crontab="formSchema" v-if="fromeWhere == 'countPlan'"> |
|
|
|
<crontab v-model="formSchema.crontab" /> |
|
|
|
</template> |
|
|
|
<template #type="formSchema"> |
|
|
|
<template #type="formSchema" v-if="fromeWhere == 'countPlan'"> |
|
|
|
<el-select v-model="formSchema.type" placeholder="选择盘点类型" @change="selectChange('type',$event)"> |
|
|
|
<el-option |
|
|
|
v-for="dict in getStrDictOptions(DICT_TYPE.COUNT_TYPE)" |
|
|
@ -130,13 +130,19 @@ const props = defineProps({ |
|
|
|
type: Object, |
|
|
|
required: true, |
|
|
|
default: null |
|
|
|
} |
|
|
|
}, |
|
|
|
// // 主表参数 |
|
|
|
// masterParmas: { |
|
|
|
// type: Object, |
|
|
|
// required: false, |
|
|
|
// default: null |
|
|
|
// }, |
|
|
|
// 来源 countPlan盘点计划进入 |
|
|
|
fromeWhere: { |
|
|
|
type: String, |
|
|
|
required: false, |
|
|
|
default: '' |
|
|
|
} |
|
|
|
}) |
|
|
|
|
|
|
|
const { t } = useI18n() // 国际化 |
|
|
@ -149,6 +155,7 @@ const formType = ref('') // 表单的类型:create - 新增;update - 修改 |
|
|
|
|
|
|
|
const formRef = ref() // 表单 Ref |
|
|
|
const formSchema = ref(props.formAllSchemas?.formSchema) |
|
|
|
console.log('props.formAllSchemas',props.formAllSchemas) |
|
|
|
|
|
|
|
/** 弹层操作 */ |
|
|
|
// formField form表单中的字段 |
|
|
|