edit
This commit is contained in:
@ -18,7 +18,7 @@ export class OrderAgreementComponent implements OnInit {
|
|||||||
ngOnInit() {
|
ngOnInit() {
|
||||||
console.log({ type: this.type });
|
console.log({ type: this.type });
|
||||||
|
|
||||||
this.service.request(this.service.$api_get_agreement, { type: this.type }, 'POST', true, 'FORM').subscribe(res => {
|
this.service.request(this.service.$api_get_agreement, { type: this.type }).subscribe(res => {
|
||||||
if (res) {
|
if (res) {
|
||||||
this.agreementContent = res;
|
this.agreementContent = res;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -58,7 +58,8 @@ export class AddOwnerComponent implements OnInit {
|
|||||||
|
|
||||||
beforeReq = (requestOptions: STRequestOptions) => {
|
beforeReq = (requestOptions: STRequestOptions) => {
|
||||||
Object.assign(requestOptions.body, {
|
Object.assign(requestOptions.body, {
|
||||||
listSource: 2
|
listSource: 2,
|
||||||
|
approvalStatus: '20'
|
||||||
});
|
});
|
||||||
if (this.sf) {
|
if (this.sf) {
|
||||||
Object.assign(requestOptions.body, {
|
Object.assign(requestOptions.body, {
|
||||||
|
|||||||
Reference in New Issue
Block a user