|
@@ -394,7 +394,7 @@
|
|
|
<dynamic-differ
|
|
|
:isOpenDialog.sync="isOpenDialog"
|
|
|
:edbList="dynamicDifferList"
|
|
|
- :dialog_formula="dialog_formula"
|
|
|
+ :info="dynamicDifferInfo"
|
|
|
@ensureBack="saveDynamicDifferRule"
|
|
|
@lookHistory="id => {isLookHistory=true;lookEdbId=id;}"
|
|
|
/>
|
|
@@ -559,7 +559,7 @@ export default {
|
|
|
/* 动态环差弹窗 */
|
|
|
isOpenDialog: false,
|
|
|
dynamicDifferList: [],//依赖指标
|
|
|
- dialog_formula: '',
|
|
|
+ dynamicDifferInfo: '',
|
|
|
click_rule_index: -1,
|
|
|
|
|
|
select_year: '',
|
|
@@ -634,6 +634,8 @@ export default {
|
|
|
fit_date: _.RuleType === 14 ? [JSON.parse(_.Value).StartDate,JSON.parse(_.Value).EndDate] : [],
|
|
|
distribute_type: _.RuleType === 16?JSON.parse(_.Value).Type:1,
|
|
|
on_year: _.RuleType === 16?JSON.parse(_.Value).Year.toString():'',
|
|
|
+ nullValueWay: _.EmptyType,
|
|
|
+ maxNullWay: _.MaxEmptyType
|
|
|
}))
|
|
|
|
|
|
this.searchOptions = RuleList.map(item => ({
|
|
@@ -1112,10 +1114,14 @@ export default {
|
|
|
},
|
|
|
|
|
|
/* 设置环比增加值 */
|
|
|
- setRingAddHandle({edbarr,fixedValue},index) {
|
|
|
+ setRingAddHandle({edbarr,fixedValue,nullValueWay,maxNullWay},index) {
|
|
|
this.click_rule_index = index;
|
|
|
this.dynamicDifferList = edbarr;
|
|
|
- this.dialog_formula = fixedValue;
|
|
|
+ this.dynamicDifferInfo = {
|
|
|
+ formulaList: fixedValue,
|
|
|
+ nullValueWay,
|
|
|
+ maxNullWay
|
|
|
+ };
|
|
|
this.isOpenDialog = true;
|
|
|
},
|
|
|
|