This commit is contained in:
wangshiming
2022-02-28 13:32:14 +08:00
parent 5b30dc34bb
commit d88c7f8a70
3 changed files with 9 additions and 6 deletions

View File

@ -236,9 +236,10 @@
<div class="align-center">
<nz-input-number
[ngModel]="i.value"
[nzMin]="50000"
[nzMax]="3000000"
[nzStep]="0.01"
(ngModelChange)="getInsurersPrice($event)"
(ngModelChange)="i.setValue($event);getInsurersPrice($event)"
nzPlaceHolder="请输入50000-3000000之间数值"
></nz-input-number>
</div>

View File

@ -454,6 +454,7 @@ export class SupplyManagementOnecarPublishComponent implements OnInit {
title: '货物价值',
ui: {
widget: 'custom',
descriptionI18n: '输入50000-3000000之间数值',
visibleIf: { insuranceType: (value: string) => value !== '3' }
}
},
@ -471,7 +472,7 @@ export class SupplyManagementOnecarPublishComponent implements OnInit {
ui: {
hidden: true
}
}
},
},
required: ['insurancePackagedGoods']
};
@ -488,7 +489,7 @@ export class SupplyManagementOnecarPublishComponent implements OnInit {
},
$freeInsurance:{
grid: { span: 24 }
}
},
};
}
initSF6() {

View File

@ -460,6 +460,7 @@ export class SupplyManagementReleasePublishComponent implements OnInit {
title: '货物价值',
ui: {
widget: 'custom',
descriptionI18n: '输入50000-3000000之间数值',
visibleIf: { insuranceType: (value: string) => value !== '3' }
}
},
@ -477,7 +478,7 @@ export class SupplyManagementReleasePublishComponent implements OnInit {
ui: {
hidden: true
}
}
},
},
required: ['insurancePackagedGoods']
};
@ -494,7 +495,7 @@ export class SupplyManagementReleasePublishComponent implements OnInit {
},
$freeInsurance:{
grid: { span: 24 }
}
},
};
}
initSF6() {