'fixbug'
This commit is contained in:
@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user