解决冲突
This commit is contained in:
@ -927,20 +927,6 @@ export class SupplyManagementOnecarPublishComponent implements OnInit {
|
|||||||
}
|
}
|
||||||
// 提交前协议弹窗
|
// 提交前协议弹窗
|
||||||
agreementConfirm(submitType?: string) {
|
agreementConfirm(submitType?: string) {
|
||||||
const modalRef = this.modalService.create({
|
|
||||||
nzTitle: '运输协议',
|
|
||||||
nzContent: TranAgreementComponent,
|
|
||||||
nzWidth: 900,
|
|
||||||
nzFooter: null
|
|
||||||
});
|
|
||||||
modalRef.afterClose.subscribe(result => {
|
|
||||||
if (result) {
|
|
||||||
this.submit(submitType);
|
|
||||||
}
|
|
||||||
});
|
|
||||||
}
|
|
||||||
// 提交
|
|
||||||
submit(submitType?: string): void {
|
|
||||||
//装卸货信息
|
//装卸货信息
|
||||||
const LoadingList = this.startInfo.concat(this.endInfo);
|
const LoadingList = this.startInfo.concat(this.endInfo);
|
||||||
|
|
||||||
@ -995,6 +981,23 @@ export class SupplyManagementOnecarPublishComponent implements OnInit {
|
|||||||
expenseDTOList: expenseList,
|
expenseDTOList: expenseList,
|
||||||
paymentDays: this.sf7.value.paymentDays
|
paymentDays: this.sf7.value.paymentDays
|
||||||
};
|
};
|
||||||
|
|
||||||
|
const modalRef = this.modalService.create({
|
||||||
|
nzTitle: '运输协议',
|
||||||
|
nzContent: TranAgreementComponent,
|
||||||
|
nzWidth: 900,
|
||||||
|
nzFooter: null,
|
||||||
|
nzComponentParams: {Object: params,}
|
||||||
|
});
|
||||||
|
modalRef.afterClose.subscribe(result => {
|
||||||
|
if (result) {
|
||||||
|
this.submit(submitType, params);
|
||||||
|
}
|
||||||
|
});
|
||||||
|
}
|
||||||
|
// 提交
|
||||||
|
submit(submitType?: string,params?: any): void {
|
||||||
|
|
||||||
// const params: any = {
|
// const params: any = {
|
||||||
// ...this.sf1.value,
|
// ...this.sf1.value,
|
||||||
// ...this.sf5.value,
|
// ...this.sf5.value,
|
||||||
|
|||||||
@ -4,7 +4,7 @@
|
|||||||
* @Author : Shiming
|
* @Author : Shiming
|
||||||
* @Date : 2022-01-06 15:01:40
|
* @Date : 2022-01-06 15:01:40
|
||||||
* @LastEditors : Shiming
|
* @LastEditors : Shiming
|
||||||
* @LastEditTime : 2022-02-28 19:58:01
|
* @LastEditTime : 2022-02-28 20:33:56
|
||||||
* @FilePath : \\tms-obc-web\\src\\app\\routes\\supply-management\\components\\tran-agreement\\tran-agreement.component.ts
|
* @FilePath : \\tms-obc-web\\src\\app\\routes\\supply-management\\components\\tran-agreement\\tran-agreement.component.ts
|
||||||
* Copyright (C) 2022 huzhenhong. All rights reserved.
|
* Copyright (C) 2022 huzhenhong. All rights reserved.
|
||||||
*/
|
*/
|
||||||
@ -18,17 +18,27 @@ import { SupplyManagementService } from '../../services/supply-management.servic
|
|||||||
styleUrls: ['./tran-agreement.component.less']
|
styleUrls: ['./tran-agreement.component.less']
|
||||||
})
|
})
|
||||||
export class TranAgreementComponent {
|
export class TranAgreementComponent {
|
||||||
|
Object: any;
|
||||||
agreement:any;
|
agreement:any;
|
||||||
constructor(private modal: NzModalRef,public service: SupplyManagementService,) {
|
constructor(private modal: NzModalRef,public service: SupplyManagementService,) {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
ngOnInit() {
|
ngOnInit() {
|
||||||
|
console.log(Object)
|
||||||
const params = {
|
const params = {
|
||||||
contractType:'1',
|
contractType:'1',
|
||||||
enterpriseInfoId: '',
|
enterpriseInfoId: '',
|
||||||
parametersDTO: {}
|
parametersDTO: {
|
||||||
|
// 回单付
|
||||||
|
back: '',
|
||||||
|
// 发货地址
|
||||||
|
consignorAddress: '',
|
||||||
|
// 发货时间
|
||||||
|
consignorDate: '',
|
||||||
|
// 发货时间
|
||||||
|
// consignorDate: '',
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user