fix bug
This commit is contained in:
@ -4,7 +4,7 @@
|
||||
* @Author : Shiming
|
||||
* @Date : 2022-03-01 15:13:03
|
||||
* @LastEditors : Shiming
|
||||
* @LastEditTime : 2022-03-02 09:52:53
|
||||
* @LastEditTime : 2022-03-02 10:32:15
|
||||
* @FilePath : \\tms-obc-web\\src\\app\\routes\\supply-management\\model\\import-supply\\import-supply.component.ts
|
||||
* Copyright (C) 2022 huzhenhong. All rights reserved.
|
||||
*/
|
||||
@ -134,7 +134,7 @@ export class SupplyManagementImportSupplyComponent implements OnInit {
|
||||
getRegionCode2(regionCode: any) {
|
||||
console.log(regionCode);
|
||||
return this.service
|
||||
.request(this.service.$api_get_enterprise_project, { id: regionCode })
|
||||
.request(this.service.$api_getNetworkTransporter, { id: regionCode })
|
||||
.pipe(
|
||||
map(res =>
|
||||
res.map((item: any) => ({
|
||||
@ -144,8 +144,8 @@ export class SupplyManagementImportSupplyComponent implements OnInit {
|
||||
)
|
||||
)
|
||||
.subscribe(res => {
|
||||
this.sf.getProperty('/enterpriseProjectId')!.schema.enum = res;
|
||||
this.sf.getProperty('/enterpriseProjectId')!.widget.reset(res);
|
||||
// this.sf.getProperty('/enterpriseProjectId')!.schema.enum = res;
|
||||
// this.sf.getProperty('/enterpriseProjectId')!.widget.reset(res);
|
||||
});
|
||||
}
|
||||
save(): void {
|
||||
|
||||
Reference in New Issue
Block a user