Skip to content

Commit a489d21

Browse files
author
puhui999
committed
Merge remote-tracking branch 'yudao/dev' into dev-crm
2 parents bc004b3 + 6764f86 commit a489d21

File tree

3 files changed

+10
-6
lines changed

3 files changed

+10
-6
lines changed

src/components/Crontab/src/Crontab.vue

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -503,9 +503,13 @@ const submit = () => {
503503
emit('update:modelValue', defaultValue.value)
504504
dialogVisible.value = false
505505
}
506+
507+
const inputChange = () => {
508+
emit('update:modelValue', defaultValue.value)
509+
}
506510
</script>
507511
<template>
508-
<el-input v-model="defaultValue" class="input-with-select" v-bind="$attrs">
512+
<el-input v-model="defaultValue" class="input-with-select" v-bind="$attrs" @input="inputChange">
509513
<template #append>
510514
<el-select v-model="select" placeholder="生成器" style="width: 115px">
511515
<el-option label="每分钟" value="0 * * * * ?" />

src/utils/constants.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -248,15 +248,15 @@ export const CouponTemplateTakeTypeEnum = {
248248
*/
249249
export const PromotionProductScopeEnum = {
250250
ALL: {
251-
scope: 10,
251+
scope: 1,
252252
name: '通用劵'
253253
},
254254
SPU: {
255-
scope: 20,
255+
scope: 2,
256256
name: '商品劵'
257257
},
258258
CATEGORY: {
259-
scope: 30,
259+
scope: 3,
260260
name: '品类劵'
261261
}
262262
}

src/views/pay/app/components/channel/WeixinChannelForm.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,10 @@
1818
<template #append>%</template>
1919
</el-input>
2020
</el-form-item>
21-
<el-form-item label-width="180px" label="公众号 APPID" prop="config.appId">
21+
<el-form-item label-width="180px" label="微信 APPID" prop="config.appId">
2222
<el-input
2323
v-model="formData.config.appId"
24-
placeholder="请输入公众号 APPID"
24+
placeholder="请输入微信 APPID"
2525
clearable
2626
:style="{ width: '100%' }"
2727
/>

0 commit comments

Comments
 (0)