This commit is contained in:
wangshiming
2022-03-02 10:41:25 +08:00
parent ebf2443425
commit 8ad305a271
4 changed files with 10 additions and 8 deletions

View File

@ -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 {