This commit is contained in:
2025-07-02 16:07:54 +08:00
parent c9b7603460
commit c617d1e62d
2 changed files with 8 additions and 2 deletions

View File

@@ -59,7 +59,7 @@ const success = async () => {
@ok="success">
<a-form layout="vertical">
<a-form-item label="是否回复之前评论" v-if="item.comment.length !== 0">
<a-radio-group v-model:model-value="form.is_reply">
<a-radio-group v-model:model-value="form.is_reply" @change="form.pid=null">
<a-radio :value="0"></a-radio>
<a-radio :value="1"></a-radio>
</a-radio-group>

View File

@@ -48,6 +48,12 @@ const success = async () => {
}
});
}
const initGLPO = () => {
form.value.material_id = null;
form.value.backfill.forEach(v => v.content_id = null);
form.value.settltment_before.length = 0;
}
</script>
<template>
@@ -64,7 +70,7 @@ const success = async () => {
<a-form-item label="投放渠道" field="platform_id">
<XSelect
:init="true"
@change="form.material_id=null"
@change="initGLPO"
v-model:model-value="form.platform_id"
:api="SystemStore.isRoot ? Api.admin.getPlatform : Api.merchant.getPlatformList">
</XSelect>