Merge remote-tracking branch 'yudao/dev' into dev-crm

This commit is contained in:
puhui999 2024-03-30 18:53:30 +08:00
commit a489d21add
3 changed files with 10 additions and 6 deletions

View File

@ -503,9 +503,13 @@ const submit = () => {
emit('update:modelValue', defaultValue.value) emit('update:modelValue', defaultValue.value)
dialogVisible.value = false dialogVisible.value = false
} }
const inputChange = () => {
emit('update:modelValue', defaultValue.value)
}
</script> </script>
<template> <template>
<el-input v-model="defaultValue" class="input-with-select" v-bind="$attrs"> <el-input v-model="defaultValue" class="input-with-select" v-bind="$attrs" @input="inputChange">
<template #append> <template #append>
<el-select v-model="select" placeholder="生成器" style="width: 115px"> <el-select v-model="select" placeholder="生成器" style="width: 115px">
<el-option label="每分钟" value="0 * * * * ?" /> <el-option label="每分钟" value="0 * * * * ?" />

View File

@ -248,15 +248,15 @@ export const CouponTemplateTakeTypeEnum = {
*/ */
export const PromotionProductScopeEnum = { export const PromotionProductScopeEnum = {
ALL: { ALL: {
scope: 10, scope: 1,
name: '通用劵' name: '通用劵'
}, },
SPU: { SPU: {
scope: 20, scope: 2,
name: '商品劵' name: '商品劵'
}, },
CATEGORY: { CATEGORY: {
scope: 30, scope: 3,
name: '品类劵' name: '品类劵'
} }
} }

View File

@ -18,10 +18,10 @@
<template #append>%</template> <template #append>%</template>
</el-input> </el-input>
</el-form-item> </el-form-item>
<el-form-item label-width="180px" label="公众号 APPID" prop="config.appId"> <el-form-item label-width="180px" label="微信 APPID" prop="config.appId">
<el-input <el-input
v-model="formData.config.appId" v-model="formData.config.appId"
placeholder="请输入公众号 APPID" placeholder="请输入微信 APPID"
clearable clearable
:style="{ width: '100%' }" :style="{ width: '100%' }"
/> />