浏览代码

头条深度转化出价修改

liubei@c-top.com.cn 3 年之前
父节点
当前提交
d825426d23
共有 1 个文件被更改,包括 5 次插入1 次删除
  1. 5 1
      src/views/modules/account-config/components/configuration-modal.vue

+ 5 - 1
src/views/modules/account-config/components/configuration-modal.vue

@@ -2883,9 +2883,9 @@ export default {
         adDeepBidTypeChange(e){
             if (e.target.value == 'AUTO_MIN_SECOND_STAGE') {
                 this.adDeepCpabidShow = false;
-                this.configForm.adDeepCpabid = 0.1;
             }else{
                 this.adDeepCpabidShow = true;
+                this.configForm.adDeepCpabid = 0.1;
             }
         },
         handleGetDetailList() {
@@ -2993,6 +2993,7 @@ export default {
                                                     }
                                                 this.configForm.adDeepBidType = detailData.adDeepBidType;
                                                 this.configForm.adDeepCpabid = detailData.adDeepCpabid;
+                                                console.log( this.configForm.adDeepBidType, this.configForm.adDeepCpabid);
                                         
                                         })
                                     
@@ -3734,6 +3735,9 @@ export default {
                 this.$delete(paramsFormData,'adDeepBidType')
                 this.$delete(paramsFormData,'adDeepCpabid')
             }
+            if (this.adDeepCpabidShow == false) {
+                this.$delete(paramsFormData,'adDeepCpabid')
+            }
             // if (typeof paramsFormData.creativeImageMode == 'object'){
             //     paramsFormData.creativeImageMode = paramsFormData.creativeImageMode.toString()
             // }