|
|
@@ -632,8 +632,9 @@
|
|
|
maxlength="100" show-word-limit></el-input>
|
|
|
</el-form-item>
|
|
|
</el-form>
|
|
|
- <Product-Cost-Form v-if="underwritingRulesAddVehicleFactorVisible" :form="dynamicFormArray" :operator="operatorlist" over-size="small"
|
|
|
- @saveForm="underwritingRulesSaveForm" @cancelForm="underwritingRulesCancelForm"></Product-Cost-Form>
|
|
|
+ <Product-Cost-Form v-if="underwritingRulesAddVehicleFactorVisible" :form="dynamicFormArray" :operator="operatorlist"
|
|
|
+ over-size="small" @saveForm="underwritingRulesSaveForm"
|
|
|
+ @cancelForm="underwritingRulesCancelForm"></Product-Cost-Form>
|
|
|
</el-dialog>
|
|
|
|
|
|
<el-dialog title="产品历史记录" :visible.sync="productHistoryRecordDialogVisible" width="70%" :fullscreen="true">
|
|
|
@@ -1687,13 +1688,18 @@ export default {
|
|
|
if (res.code == '200') {
|
|
|
let obj = Object.assign({}, res.data);
|
|
|
obj.costsAttrLinks.map(val => {
|
|
|
+ switch (val.attrType) {
|
|
|
+ case 'inputNumber':
|
|
|
+ val.operator = '1';
|
|
|
+ break;
|
|
|
+ }
|
|
|
if (val.attrCode == 'LicenseNo') {
|
|
|
val.dictLabal = this.areanumberplateList;
|
|
|
}
|
|
|
return val;
|
|
|
})
|
|
|
this.$nextTick(() => {
|
|
|
- this.dynamicFormArray=obj.costsAttrLinks;
|
|
|
+ this.dynamicFormArray = obj.costsAttrLinks;
|
|
|
this.productCostForm = obj;
|
|
|
});
|
|
|
this.productCostAddDialogType = "edit";
|
|
|
@@ -1713,6 +1719,11 @@ export default {
|
|
|
if (res.code == '200') {
|
|
|
let obj = Object.assign({}, res.data);
|
|
|
obj.costsAttrLinks.map(val => {
|
|
|
+ switch (val.attrType) {
|
|
|
+ case 'inputNumber':
|
|
|
+ val.operator = '1';
|
|
|
+ break;
|
|
|
+ }
|
|
|
if (val.attrCode == 'LicenseNo') {
|
|
|
val.dictLabal = this.areanumberplateList;
|
|
|
}
|
|
|
@@ -1721,7 +1732,7 @@ export default {
|
|
|
this.$nextTick(() => {
|
|
|
this.dynamicFormArray = obj.costsAttrLinks;
|
|
|
this.underwritingRulesForm = {
|
|
|
- id:obj.id,
|
|
|
+ id: obj.id,
|
|
|
agreementId: obj.agreementId, //协议id
|
|
|
ruleDescription: obj.ruleDescription, //规则描述
|
|
|
validInd: obj.validInd, //是否有效
|
|
|
@@ -2061,7 +2072,7 @@ export default {
|
|
|
this.underwritingRulesForm[key] = "";
|
|
|
}
|
|
|
}
|
|
|
- if(this.underwritingRulesAddDialogType=='edit'){
|
|
|
+ if (this.underwritingRulesAddDialogType == 'edit') {
|
|
|
this.getFactorTemplate();
|
|
|
}
|
|
|
},
|