|
@@ -200,6 +200,13 @@ export const FillBackData = ({ data, type, updateScene = {}, cb, ruleConfigObj }
|
200
|
200
|
params['smart_bid_type'] = data.smart_bid_type //出价类型
|
201
|
201
|
}
|
202
|
202
|
} else {
|
|
203
|
+ params['smart_bid_type'] = data.smart_bid_type //出价类型
|
|
204
|
+ params['bid_way'] = data.bid_way //优化目标出价方式
|
|
205
|
+ if(data.bid_way == '1') {
|
|
206
|
+ params['bid_amount'] = data.bid_amount //出价
|
|
207
|
+ }else{
|
|
208
|
+ params['bid_range'] = data.bid_range //出价范围
|
|
209
|
+ }
|
203
|
210
|
params['bid_scene'] = 'BID_SCENE_UNKNOWN'
|
204
|
211
|
}
|
205
|
212
|
console.log('params', params)
|
|
@@ -268,7 +275,6 @@ export const FillBackData = ({ data, type, updateScene = {}, cb, ruleConfigObj }
|
268
|
275
|
obj = params.deep_conversion_worth_spec
|
269
|
276
|
name = '期望ROI'
|
270
|
277
|
}
|
271
|
|
- console.log(obj,'00000')
|
272
|
278
|
if (!obj || obj == '' || JSON.parse(obj).target == '') {
|
273
|
279
|
ElMessage.error('请选择深度优化目标')
|
274
|
280
|
return
|
|
@@ -418,18 +424,17 @@ export const FillBackData = ({ data, type, updateScene = {}, cb, ruleConfigObj }
|
418
|
424
|
copywriting.push(`起量预算:${data.auto_acquisition_amount}元`)
|
419
|
425
|
}
|
420
|
426
|
}
|
421
|
|
-
|
422
|
|
- if (data.smart_bid_type == 'SMART_BID_TYPE_CUSTOM') {//手动出价
|
423
|
|
- if (data.bid_way == '1') {
|
424
|
|
- copywriting.push(`出价:${params.bid_amount}元`)
|
425
|
|
- } else {
|
426
|
|
- let arr = data.bid_range && data.bid_range.split('-') || []
|
427
|
|
- let bid_range_min = ''
|
428
|
|
- let bid_range_max = ''
|
429
|
|
- if (arr.length > 0) bid_range_min = arr[0]
|
430
|
|
- if (arr.length > 1) bid_range_max = arr[1]
|
431
|
|
- copywriting.push(`出价范围:${bid_range_min}元-${bid_range_max}元`)
|
432
|
|
- }
|
|
427
|
+ }
|
|
428
|
+ if (data.smart_bid_type == 'SMART_BID_TYPE_CUSTOM') {//手动出价
|
|
429
|
+ if (data.bid_way == '1') {
|
|
430
|
+ copywriting.push(`出价:${params.bid_amount}元`)
|
|
431
|
+ } else {
|
|
432
|
+ let arr = data.bid_range && data.bid_range.split('-') || []
|
|
433
|
+ let bid_range_min = ''
|
|
434
|
+ let bid_range_max = ''
|
|
435
|
+ if (arr.length > 0) bid_range_min = arr[0]
|
|
436
|
+ if (arr.length > 1) bid_range_max = arr[1]
|
|
437
|
+ copywriting.push(`出价范围:${bid_range_min}元-${bid_range_max}元`)
|
433
|
438
|
}
|
434
|
439
|
}
|
435
|
440
|
copywriting.push(`一方数据跑量加强:${data.ecom_pkam_switch == '1' ? '开启' : '关闭'}`)
|