This commit is contained in:
1107302052
2022-03-18 00:34:45 +08:00
parent b49480ef7b
commit bdd3b9cc3b
3 changed files with 19 additions and 5 deletions

View File

@ -41,6 +41,8 @@ export class SupplyManagementBulkPublishComponent implements OnInit {
totalTime = 0.0; //路程总时间
currentGoodsTypeName: any;
enterpriseProjectIds: any;
freightTypeOptions: any;
ruleOptions: any;
id = this.route.snapshot.params.id; // 传参id
// // 单位
startInfo: any = [];
@ -104,6 +106,7 @@ export class SupplyManagementBulkPublishComponent implements OnInit {
this.initSF4();
this.initSF6();
this.initdata();
this.initDict();
this.getLimitvalue();
}
initSF1() {
@ -301,7 +304,6 @@ export class SupplyManagementBulkPublishComponent implements OnInit {
},
default: '1'
},
rule: {
type: 'string',
title: '',
@ -531,6 +533,14 @@ export class SupplyManagementBulkPublishComponent implements OnInit {
Number(this.sf7?.value?.prePay) +
Number(this.sf7?.value?.receiptPay) +
Number(this.sf7?.value?.toPay);
}
initDict() {
this.service.getDictByKey('freight:type').subscribe(res => {
this.freightTypeOptions = res;
});
this.service.getDictByKey('goodresource:rounding:rules').subscribe(res => {
this.ruleOptions = res;
});
}
// 获取城市列表
getRegionCode(regionCode: any) {