41 lines
1.1 KiB
TypeScript
41 lines
1.1 KiB
TypeScript
/*
|
|
* @Description :
|
|
* @Version : 1.0
|
|
* @Author : Shiming
|
|
* @Date : 2022-01-06 15:01:40
|
|
* @LastEditors : Shiming
|
|
* @LastEditTime : 2022-02-28 19:34:38
|
|
* @FilePath : \\tms-obc-web\\src\\app\\routes\\supply-management\\components\\tran-agreement\\tran-agreement.component.ts
|
|
* Copyright (C) 2022 huzhenhong. All rights reserved.
|
|
*/
|
|
import { Component } from '@angular/core';
|
|
import { NzModalRef } from 'ng-zorro-antd/modal';
|
|
import { SupplyManagementService } from '../../services/supply-management.service';
|
|
|
|
@Component({
|
|
selector: 'publish-goods-tran-agreement',
|
|
templateUrl: './tran-agreement.component.html',
|
|
styleUrls: ['./tran-agreement.component.less']
|
|
})
|
|
export class TranAgreementComponent {
|
|
|
|
agreement:any;
|
|
constructor(private modal: NzModalRef,public service: SupplyManagementService,) {
|
|
|
|
}
|
|
|
|
ngOnInit() {
|
|
this.service.request(this.service.$api_getContractContent,{type:'6'}).subscribe((res) => {
|
|
if (res) {
|
|
this.agreement = res;
|
|
}
|
|
});
|
|
}
|
|
|
|
handleOk(){
|
|
this.modal.close(true);
|
|
}
|
|
|
|
|
|
}
|