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