订单上报

This commit is contained in:
潘晓云
2022-03-29 11:00:15 +08:00
parent b87e2f6898
commit 7fd86fde99
8 changed files with 555 additions and 7 deletions

View File

@ -29,7 +29,7 @@ export class DictSelectComponent implements OnInit, ControlValueAccessor {
@Input() containsAllLabel = true; // 是否包含全部这一选项
@Input() mode: 'multiple' | 'tags' | 'default' = 'default';
constructor(public service: DictSelectService, public cdr: ChangeDetectorRef) {}
constructor(public service: DictSelectService, public cdr: ChangeDetectorRef) { }
writeValue(geo: string): void {
if (geo == null) {
@ -56,7 +56,6 @@ export class DictSelectComponent implements OnInit, ControlValueAccessor {
if (this.dictList.length > 0 && this.containsAllLabel !== false) {
const obj = { label: '全部', value: '' };
this.dictList.unshift(obj);
console.log(this.dictList);
}
this.cdr.markForCheck();
}