Переглянути джерело

修改广告位置的字段回填判断

liubei@c-top.com.cn 3 роки тому
батько
коміт
6966a04314

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

@@ -3199,6 +3199,9 @@ export default {
                         else {
                             this.configForm.launchTimeInterval = 'buxian';
                         }
+                        console.log(
+                            detailData
+                        );
                         if (detailData.creativeSceneInventory) {
                             this.configForm.adverPosition = 'c';
                             this.configForm.radioChangeValue = detailData.creativeSceneInventory;
@@ -3226,7 +3229,7 @@ export default {
                                 this.configForm.adDeliveryRange = '';
                             }
                             this.NewCheckboxChangeValue(this.configForm.checkboxChangeValue);
-                        }else if(detailData.adDeliveryRange){
+                        }else if(detailData.inventoryCatalog == 'UNIVERSAL'){
                             this.configForm.adverPosition  = 'd'
                         }
                         else {