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"> <div class="align-center">
<nz-input-number <nz-input-number
[ngModel]="i.value" [ngModel]="i.value"
[nzMin]="50000"
[nzMax]="3000000"
[nzStep]="0.01" [nzStep]="0.01"
(ngModelChange)="getInsurersPrice($event)" (ngModelChange)="i.setValue($event);getInsurersPrice($event)"
nzPlaceHolder="请输入50000-3000000之间数值" nzPlaceHolder="请输入50000-3000000之间数值"
></nz-input-number> ></nz-input-number>
</div> </div>

View File

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

View File

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