Преглед изворни кода

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

liubei@c-top.com.cn пре 3 година
родитељ
комит
6966a04314
1 измењених фајлова са 4 додато и 1 уклоњено
  1. 4 1
      src/views/modules/account-config/components/configuration-modal.vue

+ 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 {