Merge branch 'develop' of https://gitlab.eascs.com/tms-ui/tms-obc-web into develop
This commit is contained in:
@ -4,7 +4,7 @@
|
|||||||
* @Author : Shiming
|
* @Author : Shiming
|
||||||
* @Date : 2022-01-18 09:51:21
|
* @Date : 2022-01-18 09:51:21
|
||||||
* @LastEditors : Shiming
|
* @LastEditors : Shiming
|
||||||
* @LastEditTime : 2022-01-21 16:48:06
|
* @LastEditTime : 2022-01-25 15:35:06
|
||||||
* @FilePath : \\tms-obc-web\\proxy.conf.js
|
* @FilePath : \\tms-obc-web\\proxy.conf.js
|
||||||
* Copyright (C) 2022 huzhenhong. All rights reserved.
|
* Copyright (C) 2022 huzhenhong. All rights reserved.
|
||||||
*/
|
*/
|
||||||
@ -20,7 +20,7 @@ module.exports = {
|
|||||||
// }
|
// }
|
||||||
'//api': {
|
'//api': {
|
||||||
target: {
|
target: {
|
||||||
host: 'tms-api-dev.eascs.com',
|
host: 'tms-api-test.eascs.com',
|
||||||
protocol: 'https:',
|
protocol: 'https:',
|
||||||
port: 443
|
port: 443
|
||||||
},
|
},
|
||||||
|
|||||||
@ -4,7 +4,7 @@
|
|||||||
* @Author : Shiming
|
* @Author : Shiming
|
||||||
* @Date : 2022-01-05 11:01:55
|
* @Date : 2022-01-05 11:01:55
|
||||||
* @LastEditors : Shiming
|
* @LastEditors : Shiming
|
||||||
* @LastEditTime : 2022-01-19 10:39:55
|
* @LastEditTime : 2022-01-25 14:25:49
|
||||||
* @FilePath : \\tms-obc-web\\src\\app\\routes\\contract-management\\components\\contract-template-detail\\contract-template-detail.component.ts
|
* @FilePath : \\tms-obc-web\\src\\app\\routes\\contract-management\\components\\contract-template-detail\\contract-template-detail.component.ts
|
||||||
* Copyright (C) 2022 huzhenhong. All rights reserved.
|
* Copyright (C) 2022 huzhenhong. All rights reserved.
|
||||||
*/
|
*/
|
||||||
@ -142,6 +142,7 @@ export class ContractManagementTemplateDetailComponent implements OnInit {
|
|||||||
save() {
|
save() {
|
||||||
console.log(this.sf.value)
|
console.log(this.sf.value)
|
||||||
console.log(this.sf2.value)
|
console.log(this.sf2.value)
|
||||||
|
console.log(this.detailList.templateName)
|
||||||
console.log(this.title)
|
console.log(this.title)
|
||||||
if (!this.sf.value.templateName || !this.sf.value.templateType || !this.sf2.value.templateContent || !this.title) {
|
if (!this.sf.value.templateName || !this.sf.value.templateType || !this.sf2.value.templateContent || !this.title) {
|
||||||
this.service.msgSrv.error('必填参数为空,请检查再重新保存!');
|
this.service.msgSrv.error('必填参数为空,请检查再重新保存!');
|
||||||
|
|||||||
@ -240,11 +240,11 @@ export class PaymentOrderComponent implements OnInit {
|
|||||||
{ title: '付款类型', index: 'payType', width: 130 },
|
{ title: '付款类型', index: 'payType', width: 130 },
|
||||||
{ title: '付款方式', index: 'payModeLabel', width: 130 },
|
{ title: '付款方式', index: 'payModeLabel', width: 130 },
|
||||||
{ title: '结算客户', index: 'shipperId', width: 160 },
|
{ title: '结算客户', index: 'shipperId', width: 160 },
|
||||||
{ title: '收款人', index: 'hrToName', width: 150 },
|
{ title: '收款人', index: 'hrToLabel', width: 150 },
|
||||||
{ title: '应付已核销', index: 'callNo', width: 150 },
|
{ title: '应付已核销', index: 'ishrhxLabel', width: 150 },
|
||||||
{ title: '确认日期', index: 'payDate', type: 'date', className: 'text-center', width: 150 },
|
{ title: '确认日期', index: 'payDate', type: 'date', className: 'text-center', width: 150 },
|
||||||
{ title: '创建时间', index: 'payDate', type: 'date', className: 'text-center', width: 150 },
|
{ title: '创建时间', index: 'payDate', type: 'date', className: 'text-center', width: 150 },
|
||||||
{ title: '创建人', index: 'createUserId', width: 160 },
|
{ title: '创建人', index: 'createUserIdLabel', width: 160 },
|
||||||
{ title: '付款备注', index: 'payRemarks', width: 200 },
|
{ title: '付款备注', index: 'payRemarks', width: 200 },
|
||||||
{
|
{
|
||||||
title: '操作',
|
title: '操作',
|
||||||
|
|||||||
@ -18,7 +18,7 @@
|
|||||||
{{ costInfo?.brmdate }}
|
{{ costInfo?.brmdate }}
|
||||||
</se>
|
</se>
|
||||||
<se label="收款方式" required>
|
<se label="收款方式" required>
|
||||||
{{ costInfo?.brmmodeLabel }}
|
{{ costInfo?.brmModeLabel }}
|
||||||
</se>
|
</se>
|
||||||
<se label="银行类型">
|
<se label="银行类型">
|
||||||
{{ costInfo?.banktypeLabel }}
|
{{ costInfo?.banktypeLabel }}
|
||||||
@ -36,18 +36,19 @@
|
|||||||
{{ costInfo?.recnopay |currency }}
|
{{ costInfo?.recnopay |currency }}
|
||||||
</se>
|
</se>
|
||||||
<se label="手续费">
|
<se label="手续费">
|
||||||
{{ costInfo?.ltdid }}
|
{{ 0 |currency }}
|
||||||
</se>
|
</se>
|
||||||
<se label="到账金额" required>
|
<se label="到账金额" required>
|
||||||
{{ costInfo?.brmmoney |currency }}
|
{{ costInfo?.brmmoney |currency }}
|
||||||
</se>
|
</se>
|
||||||
<se label="核销金额">
|
<se label="核销金额">
|
||||||
|
{{ costInfo?.brmmoney |currency }}
|
||||||
</se>
|
</se>
|
||||||
<se label="银行水单">
|
<se label="银行水单">
|
||||||
{{ costInfo?.bankreceipt }}
|
{{ costInfo?.bankreceipt }}
|
||||||
</se>
|
</se>
|
||||||
<se label="预收金额">
|
<se label="预收金额">
|
||||||
{{ costInfo?.yskmoney |currency}}
|
{{ costInfo?.brmmoney |currency }}
|
||||||
</se>
|
</se>
|
||||||
<se label="收款备注">
|
<se label="收款备注">
|
||||||
{{ costInfo?.remarks }}
|
{{ costInfo?.remarks }}
|
||||||
|
|||||||
@ -1,3 +1,13 @@
|
|||||||
|
/*
|
||||||
|
* @Description :
|
||||||
|
* @Version : 1.0
|
||||||
|
* @Author : Shiming
|
||||||
|
* @Date : 2022-01-20 10:00:39
|
||||||
|
* @LastEditors : Shiming
|
||||||
|
* @LastEditTime : 2022-01-25 15:40:10
|
||||||
|
* @FilePath : \\tms-obc-web\\src\\app\\routes\\financial-management\\components\\receipt-order\\receipt-order-detail\\receipt-order-detail.component.ts
|
||||||
|
* Copyright (C) 2022 huzhenhong. All rights reserved.
|
||||||
|
*/
|
||||||
import { Component, OnInit, ViewChild } from '@angular/core';
|
import { Component, OnInit, ViewChild } from '@angular/core';
|
||||||
import { ActivatedRoute } from '@angular/router';
|
import { ActivatedRoute } from '@angular/router';
|
||||||
import { STComponent, STColumn, STRequestOptions } from '@delon/abc/st';
|
import { STComponent, STColumn, STRequestOptions } from '@delon/abc/st';
|
||||||
@ -63,7 +73,7 @@ export class ReceiptOrderDetailComponent implements OnInit {
|
|||||||
],
|
],
|
||||||
requested: [
|
requested: [
|
||||||
{ title: '序号', render: 'no', width: 70, className: 'text-left' },
|
{ title: '序号', render: 'no', width: 70, className: 'text-left' },
|
||||||
{ title: '结算客户', index: 'cno', className: 'text-left', width: 200 },
|
{ title: '结算客户', index: 'cnoName', className: 'text-left', width: 200 },
|
||||||
{
|
{
|
||||||
title: '预收金额',
|
title: '预收金额',
|
||||||
index: 'yskmoney',
|
index: 'yskmoney',
|
||||||
|
|||||||
@ -4,7 +4,7 @@
|
|||||||
* @Author : Shiming
|
* @Author : Shiming
|
||||||
* @Date : 2022-01-18 18:43:42
|
* @Date : 2022-01-18 18:43:42
|
||||||
* @LastEditors : Shiming
|
* @LastEditors : Shiming
|
||||||
* @LastEditTime : 2022-01-18 18:58:32
|
* @LastEditTime : 2022-01-25 15:38:21
|
||||||
* @FilePath : \\tms-obc-web\\src\\app\\routes\\financial-management\\components\\receipt-order\\receipt-order.component.html
|
* @FilePath : \\tms-obc-web\\src\\app\\routes\\financial-management\\components\\receipt-order\\receipt-order.component.html
|
||||||
* Copyright (C) 2022 huzhenhong. All rights reserved.
|
* Copyright (C) 2022 huzhenhong. All rights reserved.
|
||||||
-->
|
-->
|
||||||
|
|||||||
@ -236,11 +236,11 @@ export class ReceiptOrderComponent implements OnInit {
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '核销金额',
|
title: '核销金额',
|
||||||
index: 'armoney',
|
index: 'brmmoney',
|
||||||
width: 200,
|
width: 200,
|
||||||
type: 'widget',
|
type: 'widget',
|
||||||
className: 'text-right',
|
className: 'text-right',
|
||||||
widget: { type: 'currency-chy', params: ({ record }) => ({ value: record.armoney }) }
|
widget: { type: 'currency-chy', params: ({ record }) => ({ value: record.brmmoney }) }
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '预收金额',
|
title: '预收金额',
|
||||||
@ -252,11 +252,11 @@ export class ReceiptOrderComponent implements OnInit {
|
|||||||
},
|
},
|
||||||
{ title: '银行类型', index: 'banktypeLabel', width: 200, className: 'text-left' },
|
{ title: '银行类型', index: 'banktypeLabel', width: 200, className: 'text-left' },
|
||||||
{ title: '收款类型', index: 'brmtypeLabel', width: 150, className: 'text-left' },
|
{ title: '收款类型', index: 'brmtypeLabel', width: 150, className: 'text-left' },
|
||||||
{ title: '收款方式', index: 'brmmode', width: 150, className: 'text-left' },
|
{ title: '收款方式', index: 'brmmodeLabel', width: 150, className: 'text-left' },
|
||||||
{ title: '付款人', index: 'artoname', width: 200, className: 'text-left' },
|
{ title: '付款人', index: 'artoname', width: 200, className: 'text-left' },
|
||||||
{ title: '银行水单', index: 'bankreceipt', width: 200, className: 'text-left' },
|
{ title: '银行水单', index: 'bankreceipt', width: 200, className: 'text-left' },
|
||||||
{ title: '创建时间', index: 'createTime', type: 'date', width: 200, className: 'text-left' },
|
{ title: '创建时间', index: 'createTime', type: 'date', width: 200, className: 'text-left' },
|
||||||
{ title: '创建人', index: 'createUserId', width: 150, className: 'text-left' },
|
// { title: '创建人', index: 'createUserName', width: 150, className: 'text-left' },
|
||||||
{ title: '收款状态', index: 'stsLabel', width: 200, className: 'text-left' },
|
{ title: '收款状态', index: 'stsLabel', width: 200, className: 'text-left' },
|
||||||
{ title: '收款备注', index: 'remarks', width: 200, className: 'text-left' },
|
{ title: '收款备注', index: 'remarks', width: 200, className: 'text-left' },
|
||||||
{
|
{
|
||||||
|
|||||||
@ -238,7 +238,7 @@ export class ReceivableOrderComponent implements OnInit {
|
|||||||
return [
|
return [
|
||||||
{ title: '', index: 'key', type: 'checkbox' },
|
{ title: '', index: 'key', type: 'checkbox' },
|
||||||
{ title: '核销单号', index: 'ahxcode', type: 'link', width: 140 },
|
{ title: '核销单号', index: 'ahxcode', type: 'link', width: 140 },
|
||||||
{ title: '网络货运人', index: 'ltdId', width: 140 },
|
{ title: '网络货运人', index: 'ltdName', width: 140 },
|
||||||
{ title: '核销日期', index: 'ahxdate', type: 'date', width: 160 },
|
{ title: '核销日期', index: 'ahxdate', type: 'date', width: 160 },
|
||||||
{ title: '付款账户', index: 'shipperaccount', width: 120 },
|
{ title: '付款账户', index: 'shipperaccount', width: 120 },
|
||||||
{ title: '收款账户', index: 'ltdaccount', width: 120 },
|
{ title: '收款账户', index: 'ltdaccount', width: 120 },
|
||||||
|
|||||||
@ -623,7 +623,22 @@ export class OrderManagementBulkComponent implements OnInit {
|
|||||||
*查看评价
|
*查看评价
|
||||||
*/
|
*/
|
||||||
viewEvaluate(item: any) {
|
viewEvaluate(item: any) {
|
||||||
this.isVisibleEvaluate = true;
|
console.log(item)
|
||||||
|
this.isVisibleEvaluate = true
|
||||||
|
const params = {
|
||||||
|
businessCode: item.billCode,
|
||||||
|
evaluateUserId: item.shipperAppUserId,
|
||||||
|
}
|
||||||
|
const params2 = {
|
||||||
|
businessCode: item.billCode,
|
||||||
|
passiveUserId: item.shipperAppUserId,
|
||||||
|
}
|
||||||
|
this.service.request(this.service.$api_getBillEvaluateByShipper, params).subscribe(res => {
|
||||||
|
console.log(res)
|
||||||
|
});
|
||||||
|
this.service.request(this.service.$api_getBillEvaluateDriverByShipper, params2).subscribe(res => {
|
||||||
|
console.log(res)
|
||||||
|
});
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
*变更运费
|
*变更运费
|
||||||
|
|||||||
@ -4,7 +4,7 @@
|
|||||||
* @Author : Shiming
|
* @Author : Shiming
|
||||||
* @Date : 2022-01-12 10:52:50
|
* @Date : 2022-01-12 10:52:50
|
||||||
* @LastEditors : Shiming
|
* @LastEditors : Shiming
|
||||||
* @LastEditTime : 2022-01-24 14:33:59
|
* @LastEditTime : 2022-01-25 14:02:24
|
||||||
* @FilePath : \\tms-obc-web\\src\\app\\routes\\order-management\\components\\compliance-audit\\compliance-audit.component.html
|
* @FilePath : \\tms-obc-web\\src\\app\\routes\\order-management\\components\\compliance-audit\\compliance-audit.component.html
|
||||||
* Copyright (C) 2022 huzhenhong. All rights reserved.
|
* Copyright (C) 2022 huzhenhong. All rights reserved.
|
||||||
-->
|
-->
|
||||||
@ -108,13 +108,13 @@
|
|||||||
<ng-template #extraTemplate>
|
<ng-template #extraTemplate>
|
||||||
<div>
|
<div>
|
||||||
<button nz-button nzType="primary" (click)="audit()">
|
<button nz-button nzType="primary" (click)="audit()">
|
||||||
批量签收
|
批量抽查
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
</ng-template>
|
</ng-template>
|
||||||
|
|
||||||
|
|
||||||
<nz-modal [(nzVisible)]="isVisibleRE" [nzWidth]="600" [nzFooter]="nzModalFooterview2" (nzOnOk)="handleOK()" nzTitle="审核" (nzOnCancel)="handleCancel('1')">
|
<nz-modal [(nzVisible)]="isVisibleRE" [nzWidth]="600" [nzFooter]="nzModalFooterview2" (nzOnOk)="handleOK()" nzTitle="抽查" (nzOnCancel)="handleCancel('1')">
|
||||||
<ng-container *nzModalContent>
|
<ng-container *nzModalContent>
|
||||||
<sf #sfView [schema]="schemaView" [ui]="uiView" [compact]="true" [button]="'none'">
|
<sf #sfView [schema]="schemaView" [ui]="uiView" [compact]="true" [button]="'none'">
|
||||||
</sf>
|
</sf>
|
||||||
|
|||||||
@ -1,3 +1,4 @@
|
|||||||
|
import { registerLocaleData } from '@angular/common';
|
||||||
import { Router } from '@angular/router';
|
import { Router } from '@angular/router';
|
||||||
import { Component, OnInit, ViewChild } from '@angular/core';
|
import { Component, OnInit, ViewChild } from '@angular/core';
|
||||||
import { STColumn, STComponent } from '@delon/abc/st';
|
import { STColumn, STComponent } from '@delon/abc/st';
|
||||||
@ -448,6 +449,10 @@ export class OrderManagementRiskComponent implements OnInit {
|
|||||||
} else {
|
} else {
|
||||||
idList.push(this.sfView.value.billCode)
|
idList.push(this.sfView.value.billCode)
|
||||||
}
|
}
|
||||||
|
if(!this.sfView.value.representationsCause) {
|
||||||
|
this.service.msgSrv.error('拒绝原因为空!');
|
||||||
|
return;
|
||||||
|
}
|
||||||
const parms = {
|
const parms = {
|
||||||
ids: idList,
|
ids: idList,
|
||||||
auditRemark: this.sfView.value.representationsCause,
|
auditRemark: this.sfView.value.representationsCause,
|
||||||
@ -466,12 +471,18 @@ export class OrderManagementRiskComponent implements OnInit {
|
|||||||
*审核
|
*审核
|
||||||
*/
|
*/
|
||||||
audit(item?: any) {
|
audit(item?: any) {
|
||||||
this.isVisibleRE = true;
|
|
||||||
if (item) {
|
if (item) {
|
||||||
this.auditId = item.id;
|
this.auditId = item.id;
|
||||||
this.initSTAudit(1);
|
this.initSTAudit(1);
|
||||||
|
this.isVisibleRE = true;
|
||||||
|
} else {
|
||||||
|
if(this.selectedRows.length <= 0) {
|
||||||
|
this.service.msgSrv.error('请选择订单!')
|
||||||
|
return;
|
||||||
} else {
|
} else {
|
||||||
this.initSTAudit(2);
|
this.initSTAudit(2);
|
||||||
|
this.isVisibleRE = true;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
|
|||||||
@ -1,19 +1,29 @@
|
|||||||
|
/*
|
||||||
|
* @Description :
|
||||||
|
* @Version : 1.0
|
||||||
|
* @Author : Shiming
|
||||||
|
* @Date : 2021-12-03 15:31:52
|
||||||
|
* @LastEditors : Shiming
|
||||||
|
* @LastEditTime : 2022-01-25 13:28:47
|
||||||
|
* @FilePath : \\tms-obc-web\\src\\app\\routes\\order-management\\components\\vehicle\\vehicle.component.spec.ts
|
||||||
|
* Copyright (C) 2022 huzhenhong. All rights reserved.
|
||||||
|
*/
|
||||||
import { waitForAsync, ComponentFixture, TestBed } from '@angular/core/testing';
|
import { waitForAsync, ComponentFixture, TestBed } from '@angular/core/testing';
|
||||||
import { SupplyManagementVehicleComponent } from './vehicle.component';
|
import { OrderManagementVehicleComponent } from './vehicle.component';
|
||||||
|
|
||||||
describe('SupplyManagementVehicleComponent', () => {
|
describe('OrderManagementVehicleComponent', () => {
|
||||||
let component: SupplyManagementVehicleComponent;
|
let component: OrderManagementVehicleComponent;
|
||||||
let fixture: ComponentFixture<SupplyManagementVehicleComponent>;
|
let fixture: ComponentFixture<OrderManagementVehicleComponent>;
|
||||||
|
|
||||||
beforeEach(waitForAsync(() => {
|
beforeEach(waitForAsync(() => {
|
||||||
TestBed.configureTestingModule({
|
TestBed.configureTestingModule({
|
||||||
declarations: [ SupplyManagementVehicleComponent ]
|
declarations: [ OrderManagementVehicleComponent ]
|
||||||
})
|
})
|
||||||
.compileComponents();
|
.compileComponents();
|
||||||
}));
|
}));
|
||||||
|
|
||||||
beforeEach(() => {
|
beforeEach(() => {
|
||||||
fixture = TestBed.createComponent(SupplyManagementVehicleComponent);
|
fixture = TestBed.createComponent(OrderManagementVehicleComponent);
|
||||||
component = fixture.componentInstance;
|
component = fixture.componentInstance;
|
||||||
fixture.detectChanges();
|
fixture.detectChanges();
|
||||||
});
|
});
|
||||||
|
|||||||
@ -588,6 +588,20 @@ resourceStatus: any;
|
|||||||
viewEvaluate(item: any) {
|
viewEvaluate(item: any) {
|
||||||
console.log(item)
|
console.log(item)
|
||||||
this.isVisibleEvaluate = true
|
this.isVisibleEvaluate = true
|
||||||
|
const params = {
|
||||||
|
businessCode: item.billCode,
|
||||||
|
evaluateUserId: item.shipperAppUserId,
|
||||||
|
}
|
||||||
|
const params2 = {
|
||||||
|
businessCode: item.billCode,
|
||||||
|
passiveUserId: item.shipperAppUserId,
|
||||||
|
}
|
||||||
|
this.service.request(this.service.$api_getBillEvaluateByShipper, params).subscribe(res => {
|
||||||
|
console.log(res)
|
||||||
|
});
|
||||||
|
this.service.request(this.service.$api_getBillEvaluateDriverByShipper, params2).subscribe(res => {
|
||||||
|
console.log(res)
|
||||||
|
});
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
*变更运费
|
*变更运费
|
||||||
|
|||||||
@ -213,7 +213,7 @@ export class orderManagementVoucherViewComponent implements OnInit {
|
|||||||
} as SFUploadWidgetSchema,
|
} as SFUploadWidgetSchema,
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
required: ['time']
|
required: ['loadingLadingBillFilePath', 'loadingPeopleVehiclesGoodsFilePath','unloadingLadingBillFilePath','unloadingPeopleVehiclesGoodsFilePath' ]
|
||||||
};
|
};
|
||||||
}else {
|
}else {
|
||||||
this.schema = {
|
this.schema = {
|
||||||
@ -383,7 +383,6 @@ export class orderManagementVoucherViewComponent implements OnInit {
|
|||||||
} as SFUploadWidgetSchema,
|
} as SFUploadWidgetSchema,
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
required: ['time', 'weight' ]
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
this.ui = {
|
this.ui = {
|
||||||
@ -398,17 +397,17 @@ export class orderManagementVoucherViewComponent implements OnInit {
|
|||||||
};
|
};
|
||||||
}
|
}
|
||||||
save(value: any): void {
|
save(value: any): void {
|
||||||
if(!value) {
|
if(!this.sf.valid) {
|
||||||
this.service.msgSrv.warning('必填项为空!')
|
this.service.msgSrv.warning('必填项为空!')
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
console.log(value)
|
console.log(value)
|
||||||
const params = {
|
const params = {
|
||||||
id: this.i.id,
|
id: this.i?.id,
|
||||||
loadingLadingBillFilePath: value.loadingLadingBillFilePath.data.fullFilePath,
|
loadingLadingBillFilePath: value?.loadingLadingBillFilePath?.data?.fullFilePath,
|
||||||
loadingPeopleVehiclesGoodsFilePath: value.loadingPeopleVehiclesGoodsFilePath.data.fullFilePath,
|
loadingPeopleVehiclesGoodsFilePath: value?.loadingPeopleVehiclesGoodsFilePath?.data?.fullFilePath,
|
||||||
unloadingLadingBillFilePath: value.unloadingLadingBillFilePath.data.fullFilePath,
|
unloadingLadingBillFilePath: value?.unloadingLadingBillFilePath?.data?.fullFilePath,
|
||||||
unloadingPeopleVehiclesGoodsFilePath: value.unloadingPeopleVehiclesGoodsFilePath.data.fullFilePath,
|
unloadingPeopleVehiclesGoodsFilePath: value?.unloadingPeopleVehiclesGoodsFilePath?.data?.fullFilePath,
|
||||||
}
|
}
|
||||||
console.log(params)
|
console.log(params)
|
||||||
this.service.request(this.service.$api_get_updateBillExamine, params).subscribe((res) => {
|
this.service.request(this.service.$api_get_updateBillExamine, params).subscribe((res) => {
|
||||||
|
|||||||
@ -4,7 +4,7 @@
|
|||||||
* @Author : Shiming
|
* @Author : Shiming
|
||||||
* @Date : 2021-12-29 16:48:16
|
* @Date : 2021-12-29 16:48:16
|
||||||
* @LastEditors : Shiming
|
* @LastEditors : Shiming
|
||||||
* @LastEditTime : 2022-01-18 17:22:24
|
* @LastEditTime : 2022-01-24 20:18:38
|
||||||
* @FilePath : \\tms-obc-web\\src\\app\\routes\\order-management\\modal\\vehicle\\freight-people\\freight-people.component.html
|
* @FilePath : \\tms-obc-web\\src\\app\\routes\\order-management\\modal\\vehicle\\freight-people\\freight-people.component.html
|
||||||
* Copyright (C) 2022 huzhenhong. All rights reserved.
|
* Copyright (C) 2022 huzhenhong. All rights reserved.
|
||||||
-->
|
-->
|
||||||
@ -12,5 +12,5 @@
|
|||||||
<sf style="margin-top: 15px" #sf mode="edit" [schema]="schema" [ui]="ui" button="none"></sf>
|
<sf style="margin-top: 15px" #sf mode="edit" [schema]="schema" [ui]="ui" button="none"></sf>
|
||||||
<div class="modal-footer">
|
<div class="modal-footer">
|
||||||
<button nz-button type="button" (click)="close()">关闭</button>
|
<button nz-button type="button" (click)="close()">关闭</button>
|
||||||
<button nz-button type="submit" nzType="primary" (click)="save(sf?.value)" [disabled]="sf?.valid">确定</button>
|
<button nz-button type="submit" nzType="primary" (click)="save(sf?.value)" >确定</button>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@ -4,7 +4,7 @@
|
|||||||
* @Author : Shiming
|
* @Author : Shiming
|
||||||
* @Date : 2021-12-29 16:48:16
|
* @Date : 2021-12-29 16:48:16
|
||||||
* @LastEditors : Shiming
|
* @LastEditors : Shiming
|
||||||
* @LastEditTime : 2022-01-18 17:22:37
|
* @LastEditTime : 2022-01-24 20:19:31
|
||||||
* @FilePath : \\tms-obc-web\\src\\app\\routes\\order-management\\modal\\vehicle\\freight-people\\freight-people.component.ts
|
* @FilePath : \\tms-obc-web\\src\\app\\routes\\order-management\\modal\\vehicle\\freight-people\\freight-people.component.ts
|
||||||
* Copyright (C) 2022 huzhenhong. All rights reserved.
|
* Copyright (C) 2022 huzhenhong. All rights reserved.
|
||||||
*/
|
*/
|
||||||
@ -57,7 +57,7 @@ export class VehicleFreightPeopleComponent implements OnInit {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
required: ['enterpriseInfoName']
|
required: ['enterpriseInfoId']
|
||||||
};
|
};
|
||||||
this.ui = {
|
this.ui = {
|
||||||
'*': {
|
'*': {
|
||||||
@ -69,9 +69,13 @@ export class VehicleFreightPeopleComponent implements OnInit {
|
|||||||
|
|
||||||
save(value: any): void {
|
save(value: any): void {
|
||||||
console.log(this.sf.value);
|
console.log(this.sf.value);
|
||||||
|
if(!this.sf.valid) {
|
||||||
|
this.service.msgSrv.error("请选择网络货运人!")
|
||||||
|
return;
|
||||||
|
}
|
||||||
const params = {
|
const params = {
|
||||||
billIds: this.data?.ids,
|
billIds: this.data?.ids,
|
||||||
enterpriseInfoId: this.sf.value?.enterpriseInfoName
|
enterpriseInfoId: this.sf.value?.enterpriseInfoId
|
||||||
};
|
};
|
||||||
console.log(params);
|
console.log(params);
|
||||||
this.service.request(this.service.$api_set_updateEnterpriseInfoBatch, params).subscribe((res: any) => {
|
this.service.request(this.service.$api_set_updateEnterpriseInfoBatch, params).subscribe((res: any) => {
|
||||||
|
|||||||
@ -4,7 +4,7 @@
|
|||||||
* @Author : Shiming
|
* @Author : Shiming
|
||||||
* @Date : 2021-12-03 15:31:52
|
* @Date : 2021-12-03 15:31:52
|
||||||
* @LastEditors : Shiming
|
* @LastEditors : Shiming
|
||||||
* @LastEditTime : 2022-01-24 16:39:11
|
* @LastEditTime : 2022-01-25 15:26:23
|
||||||
* @FilePath : \\tms-obc-web\\src\\app\\routes\\order-management\\services\\order-management.service.ts
|
* @FilePath : \\tms-obc-web\\src\\app\\routes\\order-management\\services\\order-management.service.ts
|
||||||
* Copyright (C) 2022 huzhenhong. All rights reserved.
|
* Copyright (C) 2022 huzhenhong. All rights reserved.
|
||||||
*/
|
*/
|
||||||
@ -144,6 +144,14 @@ export class OrderManagementService extends ShipperBaseService {
|
|||||||
// 获取规则抽查分类统计
|
// 获取规则抽查分类统计
|
||||||
public $api_get_getComplianceStatisticalStatus = '/api/sdc/billOperate/getComplianceStatisticalStatus';
|
public $api_get_getComplianceStatisticalStatus = '/api/sdc/billOperate/getComplianceStatisticalStatus';
|
||||||
|
|
||||||
|
// 货主端-货主查看评价(评价司机的)
|
||||||
|
public $api_getBillEvaluateByShipper = '/api/sdc/billEvaluate/getBillEvaluateByShipper';
|
||||||
|
// 货主端-货主查看评价(司机评价货主的)
|
||||||
|
public $api_getBillEvaluateDriverByShipper = '/api/sdc/billEvaluate/getBillEvaluateDriverByShipper';
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
getDictByKey(dictKey: string) {
|
getDictByKey(dictKey: string) {
|
||||||
const params = { dictKey: dictKey };
|
const params = { dictKey: dictKey };
|
||||||
return this.request(this.$api_getDictValue, params);
|
return this.request(this.$api_getDictValue, params);
|
||||||
|
|||||||
@ -216,6 +216,11 @@
|
|||||||
|
|
||||||
<nz-card>
|
<nz-card>
|
||||||
<div class="card-title">服务信息</div>
|
<div class="card-title">服务信息</div>
|
||||||
|
<div nz-row>
|
||||||
|
<div nz-col nzSpan="12">
|
||||||
|
<sf #sf55 [schema]="schema55" [button]="'none'" [ui]="ui55" [formData]="sf55data"></sf>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
<div nz-row [nzGutter]="24" style="margin: 24px 0">
|
<div nz-row [nzGutter]="24" style="margin: 24px 0">
|
||||||
<div nz-col [nzSpan]="10">
|
<div nz-col [nzSpan]="10">
|
||||||
<div class="align-center">
|
<div class="align-center">
|
||||||
|
|||||||
@ -2,6 +2,7 @@ import { Component, OnInit, ViewChild } from '@angular/core';
|
|||||||
import { FormBuilder, FormControl, FormGroup, Validators } from '@angular/forms';
|
import { FormBuilder, FormControl, FormGroup, Validators } from '@angular/forms';
|
||||||
import { ActivatedRoute, Router } from '@angular/router';
|
import { ActivatedRoute, Router } from '@angular/router';
|
||||||
import {
|
import {
|
||||||
|
SFCheckboxWidgetSchema,
|
||||||
SFComponent,
|
SFComponent,
|
||||||
SFNumberWidgetSchema,
|
SFNumberWidgetSchema,
|
||||||
SFSchema,
|
SFSchema,
|
||||||
@ -31,6 +32,7 @@ export class SupplyManagementOnecarPublishComponent implements OnInit {
|
|||||||
sf3data: any; // 货源单设置回显
|
sf3data: any; // 货源单设置回显
|
||||||
sf4data: any; // 货源单设置回显
|
sf4data: any; // 货源单设置回显
|
||||||
sf5data: any; // 货源单设置回显
|
sf5data: any; // 货源单设置回显
|
||||||
|
sf55data: any; // 货源单设置回显
|
||||||
sf6data: any; // 货源单设置回显
|
sf6data: any; // 货源单设置回显
|
||||||
sf7data: any; // 货源单设置回显
|
sf7data: any; // 货源单设置回显
|
||||||
creatTime: any; // 货源单设置回显
|
creatTime: any; // 货源单设置回显
|
||||||
@ -87,6 +89,10 @@ export class SupplyManagementOnecarPublishComponent implements OnInit {
|
|||||||
schema5: SFSchema = {};
|
schema5: SFSchema = {};
|
||||||
ui5!: SFUISchema;
|
ui5!: SFUISchema;
|
||||||
|
|
||||||
|
@ViewChild('sf55', { static: false }) sf55!: SFComponent;
|
||||||
|
schema55: SFSchema = {};
|
||||||
|
ui55!: SFUISchema;
|
||||||
|
|
||||||
@ViewChild('sf6', { static: false }) sf6!: SFComponent;
|
@ViewChild('sf6', { static: false }) sf6!: SFComponent;
|
||||||
schema6: SFSchema = {};
|
schema6: SFSchema = {};
|
||||||
ui6!: SFUISchema;
|
ui6!: SFUISchema;
|
||||||
@ -105,6 +111,7 @@ export class SupplyManagementOnecarPublishComponent implements OnInit {
|
|||||||
this.initSF3();
|
this.initSF3();
|
||||||
this.initSF4();
|
this.initSF4();
|
||||||
this.initSF5();
|
this.initSF5();
|
||||||
|
this.initSF55();
|
||||||
this.initSF6();
|
this.initSF6();
|
||||||
this.initSF7();
|
this.initSF7();
|
||||||
this.initdata();
|
this.initdata();
|
||||||
@ -356,7 +363,56 @@ export class SupplyManagementOnecarPublishComponent implements OnInit {
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
initSF55() {
|
||||||
|
this.schema55 = {
|
||||||
|
properties: {
|
||||||
|
insuranceType: {
|
||||||
|
type: 'string',
|
||||||
|
title: '增值服务套餐',
|
||||||
|
enum: [
|
||||||
|
{ label: '不购买', value: '0' },
|
||||||
|
{ label: '套餐一', value: '1' },
|
||||||
|
{ label: '套餐二', value: '2' }
|
||||||
|
],
|
||||||
|
ui: {
|
||||||
|
widget: 'select'
|
||||||
|
},
|
||||||
|
default:'0'
|
||||||
|
},
|
||||||
|
type1: {
|
||||||
|
type: 'string',
|
||||||
|
title: '',
|
||||||
|
enum: ['车辆实时定位', '轨迹查询', '数据保护','赠送基本险'],
|
||||||
|
readOnly: true,
|
||||||
|
ui: {
|
||||||
|
widget: 'checkbox',
|
||||||
|
visibleIf: {insuranceType: (value: string) => value ==='1'},
|
||||||
|
} as SFCheckboxWidgetSchema,
|
||||||
|
default: ['车辆实时定位', '轨迹查询', '数据保护','赠送基本险'],
|
||||||
|
},
|
||||||
|
type2: {
|
||||||
|
type: 'string',
|
||||||
|
title: '',
|
||||||
|
enum: ['车辆实时定位', '轨迹查询', '数据保护','专属技术服务','赠送综合险'],
|
||||||
|
readOnly: true,
|
||||||
|
ui: {
|
||||||
|
widget: 'checkbox',
|
||||||
|
visibleIf: {insuranceType: (value: string) => value ==='2'},
|
||||||
|
} as SFCheckboxWidgetSchema,
|
||||||
|
default: ['车辆实时定位', '轨迹查询', '数据保护','专属技术服务','赠送综合险'],
|
||||||
|
}
|
||||||
|
}
|
||||||
|
};
|
||||||
|
this.ui55 = {
|
||||||
|
'*': {
|
||||||
|
spanLabelFixed: 100,
|
||||||
|
grid: { span: 24 }
|
||||||
|
},
|
||||||
|
$insuranceType: {
|
||||||
|
grid: { span: 12 }
|
||||||
|
}
|
||||||
|
};
|
||||||
|
}
|
||||||
initSF5() {
|
initSF5() {
|
||||||
this.schema5 = {
|
this.schema5 = {
|
||||||
properties: {
|
properties: {
|
||||||
@ -810,6 +866,7 @@ export class SupplyManagementOnecarPublishComponent implements OnInit {
|
|||||||
loadingTime: this.validateForm1?.value?.loadingTime,
|
loadingTime: this.validateForm1?.value?.loadingTime,
|
||||||
unloadingTime: this.validateForm1?.value?.unloadingTime,
|
unloadingTime: this.validateForm1?.value?.unloadingTime,
|
||||||
unLoadingPlaceDTOList: [...this.startInfo, ...this.endInfo],
|
unLoadingPlaceDTOList: [...this.startInfo, ...this.endInfo],
|
||||||
|
insuranceType:this.sf55.value.insuranceType,
|
||||||
goodsInfoDTOList: [
|
goodsInfoDTOList: [
|
||||||
{
|
{
|
||||||
...this.sf4.value,
|
...this.sf4.value,
|
||||||
@ -836,6 +893,7 @@ export class SupplyManagementOnecarPublishComponent implements OnInit {
|
|||||||
this.requests(this.service.$api_set_saveAnotherWholeOrder, params, 2);
|
this.requests(this.service.$api_set_saveAnotherWholeOrder, params, 2);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
// 补0函数
|
||||||
addPreZero(num: any) {
|
addPreZero(num: any) {
|
||||||
if (num < 10) {
|
if (num < 10) {
|
||||||
return '0' + num;
|
return '0' + num;
|
||||||
@ -1040,13 +1098,9 @@ export class SupplyManagementOnecarPublishComponent implements OnInit {
|
|||||||
this.sf5data = {
|
this.sf5data = {
|
||||||
goodsValue: res?.goodsValue
|
goodsValue: res?.goodsValue
|
||||||
};
|
};
|
||||||
console.log(res?.stateReceipt);
|
this.sf55data = {
|
||||||
// this.sf6data = {
|
insuranceType: res?.insuranceType || ''
|
||||||
// stateReceipt: res?.stateReceipt,
|
};
|
||||||
// receiptType: res?.receiptType,
|
|
||||||
// receiptUserId: res?.receiptUserId,
|
|
||||||
// remarks: res?.remarks
|
|
||||||
// };
|
|
||||||
this.sf6data = {
|
this.sf6data = {
|
||||||
stateReceipt: res?.stateReceipt,
|
stateReceipt: res?.stateReceipt,
|
||||||
receiptType: res?.receiptType || '',
|
receiptType: res?.receiptType || '',
|
||||||
|
|||||||
@ -223,6 +223,11 @@
|
|||||||
|
|
||||||
<nz-card>
|
<nz-card>
|
||||||
<div class="card-title">服务信息</div>
|
<div class="card-title">服务信息</div>
|
||||||
|
<div nz-row>
|
||||||
|
<div nz-col nzSpan="12">
|
||||||
|
<sf #sf55 [schema]="schema55" [button]="'none'" [ui]="ui55" [formData]="sf55data"></sf>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
<div nz-row [nzGutter]="24" style="margin: 24px 0">
|
<div nz-row [nzGutter]="24" style="margin: 24px 0">
|
||||||
<div nz-col [nzSpan]="10">
|
<div nz-col [nzSpan]="10">
|
||||||
<div class="align-center">
|
<div class="align-center">
|
||||||
|
|||||||
@ -3,6 +3,7 @@ import { FormBuilder, FormControl, FormGroup, Validators } from '@angular/forms'
|
|||||||
import { ActivatedRoute, Router } from '@angular/router';
|
import { ActivatedRoute, Router } from '@angular/router';
|
||||||
import { cacheConf } from '@conf/cache.conf';
|
import { cacheConf } from '@conf/cache.conf';
|
||||||
import {
|
import {
|
||||||
|
SFCheckboxWidgetSchema,
|
||||||
SFComponent,
|
SFComponent,
|
||||||
SFNumberWidgetSchema,
|
SFNumberWidgetSchema,
|
||||||
SFSchema,
|
SFSchema,
|
||||||
@ -37,6 +38,7 @@ export class SupplyManagementReleasePublishComponent implements OnInit {
|
|||||||
sf3data: any; // 货源单设置回显
|
sf3data: any; // 货源单设置回显
|
||||||
sf4data: any; // 货源单设置回显
|
sf4data: any; // 货源单设置回显
|
||||||
sf5data: any; // 货源单设置回显
|
sf5data: any; // 货源单设置回显
|
||||||
|
sf55data: any; // 货源单设置回显
|
||||||
sf6data: any; // 货源单设置回显
|
sf6data: any; // 货源单设置回显
|
||||||
sf7data: any; // 货源单设置回显
|
sf7data: any; // 货源单设置回显
|
||||||
id = '';
|
id = '';
|
||||||
@ -87,6 +89,10 @@ export class SupplyManagementReleasePublishComponent implements OnInit {
|
|||||||
schema5: SFSchema = {};
|
schema5: SFSchema = {};
|
||||||
ui5!: SFUISchema;
|
ui5!: SFUISchema;
|
||||||
|
|
||||||
|
@ViewChild('sf55', { static: false }) sf55!: SFComponent;
|
||||||
|
schema55: SFSchema = {};
|
||||||
|
ui55!: SFUISchema;
|
||||||
|
|
||||||
@ViewChild('sf6', { static: false }) sf6!: SFComponent;
|
@ViewChild('sf6', { static: false }) sf6!: SFComponent;
|
||||||
schema6: SFSchema = {};
|
schema6: SFSchema = {};
|
||||||
ui6!: SFUISchema;
|
ui6!: SFUISchema;
|
||||||
@ -100,6 +106,7 @@ export class SupplyManagementReleasePublishComponent implements OnInit {
|
|||||||
this.initSF3();
|
this.initSF3();
|
||||||
this.initSF4();
|
this.initSF4();
|
||||||
this.initSF5();
|
this.initSF5();
|
||||||
|
this.initSF55();
|
||||||
this.initSF6();
|
this.initSF6();
|
||||||
this.initSF7();
|
this.initSF7();
|
||||||
this.addStartInfo();
|
this.addStartInfo();
|
||||||
@ -400,6 +407,56 @@ export class SupplyManagementReleasePublishComponent implements OnInit {
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
initSF55() {
|
||||||
|
this.schema55 = {
|
||||||
|
properties: {
|
||||||
|
insuranceType: {
|
||||||
|
type: 'string',
|
||||||
|
title: '增值服务套餐',
|
||||||
|
enum: [
|
||||||
|
{ label: '不购买', value: '0' },
|
||||||
|
{ label: '套餐一', value: '1' },
|
||||||
|
{ label: '套餐二', value: '2' }
|
||||||
|
],
|
||||||
|
ui: {
|
||||||
|
widget: 'select'
|
||||||
|
},
|
||||||
|
default:'0'
|
||||||
|
},
|
||||||
|
type1: {
|
||||||
|
type: 'string',
|
||||||
|
title: '',
|
||||||
|
enum: ['车辆实时定位', '轨迹查询', '数据保护','赠送基本险'],
|
||||||
|
readOnly: true,
|
||||||
|
ui: {
|
||||||
|
widget: 'checkbox',
|
||||||
|
visibleIf: {insuranceType: (value: string) => value ==='1'},
|
||||||
|
} as SFCheckboxWidgetSchema,
|
||||||
|
default: ['车辆实时定位', '轨迹查询', '数据保护','赠送基本险'],
|
||||||
|
},
|
||||||
|
type2: {
|
||||||
|
type: 'string',
|
||||||
|
title: '',
|
||||||
|
enum: ['车辆实时定位', '轨迹查询', '数据保护','专属技术服务','赠送综合险'],
|
||||||
|
readOnly: true,
|
||||||
|
ui: {
|
||||||
|
widget: 'checkbox',
|
||||||
|
visibleIf: {insuranceType: (value: string) => value ==='2'},
|
||||||
|
} as SFCheckboxWidgetSchema,
|
||||||
|
default: ['车辆实时定位', '轨迹查询', '数据保护','专属技术服务','赠送综合险'],
|
||||||
|
}
|
||||||
|
}
|
||||||
|
};
|
||||||
|
this.ui55 = {
|
||||||
|
'*': {
|
||||||
|
spanLabelFixed: 100,
|
||||||
|
grid: { span: 24 }
|
||||||
|
},
|
||||||
|
$insuranceType: {
|
||||||
|
grid: { span: 12 }
|
||||||
|
}
|
||||||
|
};
|
||||||
|
}
|
||||||
initSF6() {
|
initSF6() {
|
||||||
this.schema6 = {
|
this.schema6 = {
|
||||||
properties: {
|
properties: {
|
||||||
@ -755,7 +812,8 @@ export class SupplyManagementReleasePublishComponent implements OnInit {
|
|||||||
...this.sf5.value,
|
...this.sf5.value,
|
||||||
...this.sf6.value,
|
...this.sf6.value,
|
||||||
expenseDTOList: expenseList,
|
expenseDTOList: expenseList,
|
||||||
paymentDays: this.sf7.value.paymentDays
|
paymentDays: this.sf7.value.paymentDays,
|
||||||
|
insuranceType:this.sf55.value.insuranceType,
|
||||||
};
|
};
|
||||||
|
|
||||||
let reqUrl = this.service.$api_consignWhole;
|
let reqUrl = this.service.$api_consignWhole;
|
||||||
|
|||||||
@ -279,7 +279,7 @@ export class CancellationInvoiceComponent implements OnInit {
|
|||||||
},
|
},
|
||||||
{ title: '申请时间', index: 'createTime', type: 'date', width: 150 },
|
{ title: '申请时间', index: 'createTime', type: 'date', width: 150 },
|
||||||
{ title: '网络货运人', index: 'ltdName', width: 120 },
|
{ title: '网络货运人', index: 'ltdName', width: 120 },
|
||||||
{ title: '购买人', index: 'artoName', width: 90 },
|
{ title: '购买人', index: 'artoname', width: 90 },
|
||||||
{ title: '订单数', index: 'ordlines', width: 90, className: 'text-right' },
|
{ title: '订单数', index: 'ordlines', width: 90, className: 'text-right' },
|
||||||
{
|
{
|
||||||
title: '价税合计',
|
title: '价税合计',
|
||||||
|
|||||||
@ -10,7 +10,7 @@
|
|||||||
<div nz-row nzGutter="8">
|
<div nz-row nzGutter="8">
|
||||||
<div nz-col [nzXl]="8" [nzLg]="8" [nzSm]="8" [nzXs]="8" se-container [labelWidth]="100" col="1">
|
<div nz-col [nzXl]="8" [nzLg]="8" [nzSm]="8" [nzXs]="8" se-container [labelWidth]="100" col="1">
|
||||||
<se label="销售方">
|
<se label="销售方">
|
||||||
{{headerInfo?.ltdId}}
|
{{ headerInfo?.ltdName }}
|
||||||
</se>
|
</se>
|
||||||
<se label="申请编号">
|
<se label="申请编号">
|
||||||
{{ headerInfo?.vatappHCode }}
|
{{ headerInfo?.vatappHCode }}
|
||||||
@ -70,85 +70,110 @@
|
|||||||
</nz-card>
|
</nz-card>
|
||||||
|
|
||||||
<nz-card class="search-box" nzBordered>
|
<nz-card class="search-box" nzBordered>
|
||||||
|
|
||||||
<nz-tabset>
|
<nz-tabset>
|
||||||
<nz-tab nzTitle="订单明细">
|
<nz-tab nzTitle="订单明细">
|
||||||
<div nz-row nzGutter="8" class="mb-md">
|
<div nz-row nzGutter="8" class="mb-md">
|
||||||
<div nz-col [nzXl]="18" [nzLg]="24" [nzSm]="24" [nzXs]="24">
|
<div nz-col [nzXl]="18" [nzLg]="24" [nzSm]="24" [nzXs]="24">
|
||||||
<sf #orderSf [schema]="orderSchema"
|
<sf
|
||||||
[ui]="{ '*': { spanLabelFixed: 90,grid: { lg: 8, md: 12, sm: 12, xs: 24 } }}" [compact]="true"
|
#orderSf
|
||||||
[button]="'none'"></sf>
|
[schema]="orderSchema"
|
||||||
|
[ui]="{ '*': { spanLabelFixed: 90, grid: { lg: 8, md: 12, sm: 12, xs: 24 } } }"
|
||||||
|
[compact]="true"
|
||||||
|
[button]="'none'"
|
||||||
|
></sf>
|
||||||
</div>
|
</div>
|
||||||
<div nz-col [nzXl]="6" [nzLg]="24" [nzSm]="24" [nzXs]="24" class="text-right">
|
<div nz-col [nzXl]="6" [nzLg]="24" [nzSm]="24" [nzXs]="24" class="text-right">
|
||||||
<button nz-button nzType="primary" [nzLoading]="service.http.loading"
|
<button nz-button nzType="primary" [nzLoading]="service.http.loading" (click)="orderST?.load(1)">查询</button>
|
||||||
(click)="orderST?.load(1)">查询</button>
|
|
||||||
<button nz-button (click)="resetSF(1)">重置</button>
|
<button nz-button (click)="resetSF(1)">重置</button>
|
||||||
<!-- <button nz-button> 导出</button> -->
|
<!-- <button nz-button> 导出</button> -->
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<st #orderST [data]="service.$api_get_invoice_order_detail" [columns]="orderColumns" size="small" bordered="true"
|
<st
|
||||||
|
#orderST
|
||||||
|
[scroll]="{ x: '1200px' }"
|
||||||
|
[data]="service.$api_get_invoice_order_detail"
|
||||||
|
[columns]="orderColumns"
|
||||||
|
size="small"
|
||||||
|
bordered="true"
|
||||||
[req]="{ method: 'POST', allInBody: true, reName: { pi: 'pageIndex', ps: 'pageSize' }, process: beforeReq }"
|
[req]="{ method: 'POST', allInBody: true, reName: { pi: 'pageIndex', ps: 'pageSize' }, process: beforeReq }"
|
||||||
[res]="{ reName: { list: 'data.records', total: 'data.total' } }"
|
[res]="{ reName: { list: 'data.records', total: 'data.total' } }"
|
||||||
[page]="{ show: true, showSize: true, pageSizes: [10, 20, 30, 50, 100, 200, 300, 500, 1000] }"
|
[page]="{ show: true, showSize: true, pageSizes: [10, 20, 30, 50, 100, 200, 300, 500, 1000] }"
|
||||||
[loading]="service.http.loading" [scroll]="{ x:'1200px',y: '250px' }"></st>
|
[loading]="service.http.loading"
|
||||||
|
[scroll]="{ x: '1200px', y: '250px' }"
|
||||||
|
></st>
|
||||||
</nz-tab>
|
</nz-tab>
|
||||||
<nz-tab nzTitle="费用明细">
|
<nz-tab nzTitle="费用明细">
|
||||||
<div nz-row nzGutter="8" class="mb-md">
|
<div nz-row nzGutter="8" class="mb-md">
|
||||||
<div nz-col [nzXl]="18" [nzLg]="24" [nzSm]="24" [nzXs]="24">
|
<div nz-col [nzXl]="18" [nzLg]="24" [nzSm]="24" [nzXs]="24">
|
||||||
<sf #costSf [schema]="costSchema"
|
<sf
|
||||||
[ui]="{ '*': { spanLabelFixed: 90,grid: { lg: 8, md: 12, sm: 12, xs: 24 } }}" [compact]="true"
|
#costSf
|
||||||
[button]="'none'"></sf>
|
[schema]="costSchema"
|
||||||
|
[ui]="{ '*': { spanLabelFixed: 90, grid: { lg: 8, md: 12, sm: 12, xs: 24 } } }"
|
||||||
|
[compact]="true"
|
||||||
|
[button]="'none'"
|
||||||
|
></sf>
|
||||||
</div>
|
</div>
|
||||||
<div nz-col [nzXl]="6" [nzLg]="24" [nzSm]="24" [nzXs]="24" class="text-right">
|
<div nz-col [nzXl]="6" [nzLg]="24" [nzSm]="24" [nzXs]="24" class="text-right">
|
||||||
<button nz-button nzType="primary" [nzLoading]="service.http.loading"
|
<button nz-button nzType="primary" [nzLoading]="service.http.loading" (click)="costST?.load(1)">查询</button>
|
||||||
(click)="costST?.load(1)">查询</button>
|
|
||||||
<button nz-button (click)="resetSF(2)">重置</button>
|
<button nz-button (click)="resetSF(2)">重置</button>
|
||||||
<button nz-button> 导出</button>
|
<button nz-button> 导出</button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<st #costST [data]="service.$api_get_invoice_cost_detail" [columns]="costColumns" size="small" bordered="true"
|
<st
|
||||||
|
#costST
|
||||||
|
[data]="service.$api_get_invoice_cost_detail"
|
||||||
|
[columns]="costColumns"
|
||||||
|
size="small"
|
||||||
|
bordered="true"
|
||||||
[req]="{ method: 'POST', allInBody: true, reName: { pi: 'pageIndex', ps: 'pageSize' }, process: beforeReq }"
|
[req]="{ method: 'POST', allInBody: true, reName: { pi: 'pageIndex', ps: 'pageSize' }, process: beforeReq }"
|
||||||
[res]="{ reName: { list: 'data.records', total: 'data.total' } }"
|
[res]="{ reName: { list: 'data.records', total: 'data.total' } }"
|
||||||
[page]="{ show: true, showSize: true, pageSizes: [10, 20, 30, 50, 100, 200, 300, 500, 1000] }"
|
[page]="{ show: true, showSize: true, pageSizes: [10, 20, 30, 50, 100, 200, 300, 500, 1000] }"
|
||||||
[loading]="service.http.loading" [scroll]="{ x:'1200px',y: '250px' }"></st>
|
[loading]="service.http.loading"
|
||||||
|
[scroll]="{ x: '1200px', y: '250px' }"
|
||||||
|
></st>
|
||||||
</nz-tab>
|
</nz-tab>
|
||||||
<nz-tab nzTitle="发票明细">
|
<nz-tab nzTitle="发票明细">
|
||||||
<st #invoiceST [data]="service.$api_get_invoice_details" [columns]="invoiceColumns" size="small" bordered="true"
|
<st
|
||||||
|
#invoiceST
|
||||||
|
[data]="service.$api_get_invoice_details"
|
||||||
|
[columns]="invoiceColumns"
|
||||||
|
size="small"
|
||||||
|
bordered="true"
|
||||||
[req]="{ method: 'POST', allInBody: true, reName: { pi: 'pageIndex', ps: 'pageSize' }, process: beforeReq }"
|
[req]="{ method: 'POST', allInBody: true, reName: { pi: 'pageIndex', ps: 'pageSize' }, process: beforeReq }"
|
||||||
[res]="{ reName: { list: 'data.records', total: 'data.total' } }"
|
[res]="{ reName: { list: 'data.records', total: 'data.total' } }"
|
||||||
[page]="{ show: true, showSize: true, pageSizes: [10, 20, 30, 50, 100, 200, 300, 500, 1000] }"
|
[page]="{ show: true, showSize: true, pageSizes: [10, 20, 30, 50, 100, 200, 300, 500, 1000] }"
|
||||||
[loading]="service.http.loading" [scroll]="{ x:'1200px',y: '250px' }">
|
[loading]="service.http.loading"
|
||||||
|
[scroll]="{ x: '1200px', y: '250px' }"
|
||||||
|
>
|
||||||
<ng-template st-row="vatname" let-item let-index="index">
|
<ng-template st-row="vatname" let-item let-index="index">
|
||||||
<nz-select *ngIf="isEdit" [ngModel]="item.owner"
|
<nz-select
|
||||||
(ngModelChange)="invoiceST.setRow(index, { vatname: $event })" style="width: 100%;">
|
*ngIf="isEdit"
|
||||||
|
[ngModel]="item.owner"
|
||||||
|
(ngModelChange)="invoiceST.setRow(index, { vatname: $event })"
|
||||||
|
style="width: 100%"
|
||||||
|
>
|
||||||
</nz-select>
|
</nz-select>
|
||||||
<ng-container *ngIf="!isEdit">{{ item.vatname }}</ng-container>
|
<ng-container *ngIf="!isEdit">{{ item.vatname }}</ng-container>
|
||||||
</ng-template>
|
</ng-template>
|
||||||
<ng-template st-row="vatmodel" let-item let-index="index">
|
<ng-template st-row="vatmodel" let-item let-index="index">
|
||||||
<input *ngIf="isEdit" nz-input [ngModel]="item.vatmodel"
|
<input *ngIf="isEdit" nz-input [ngModel]="item.vatmodel" (ngModelChange)="invoiceST.setRow(index, { vatmodel: $event })" />
|
||||||
(ngModelChange)="invoiceST.setRow(index, { vatmodel: $event })" />
|
|
||||||
<ng-container *ngIf="!isEdit">{{ item.vatmodel }}</ng-container>
|
<ng-container *ngIf="!isEdit">{{ item.vatmodel }}</ng-container>
|
||||||
</ng-template>
|
</ng-template>
|
||||||
<ng-template st-row="vatunit" let-item let-index="index">
|
<ng-template st-row="vatunit" let-item let-index="index">
|
||||||
<input *ngIf="isEdit" nz-input [ngModel]="item.vatunit"
|
<input *ngIf="isEdit" nz-input [ngModel]="item.vatunit" (ngModelChange)="invoiceST.setRow(index, { vatunit: $event })" />
|
||||||
(ngModelChange)="invoiceST.setRow(index, { vatunit: $event })" />
|
|
||||||
<ng-container *ngIf="!isEdit">{{ item.vatunit }}</ng-container>
|
<ng-container *ngIf="!isEdit">{{ item.vatunit }}</ng-container>
|
||||||
</ng-template>
|
</ng-template>
|
||||||
<ng-template st-row="vatqty" let-item let-index="index">
|
<ng-template st-row="vatqty" let-item let-index="index">
|
||||||
<input *ngIf="isEdit" nz-input [ngModel]="item.vatqty"
|
<input *ngIf="isEdit" nz-input [ngModel]="item.vatqty" (ngModelChange)="invoiceST.setRow(index, { vatqty: $event })" />
|
||||||
(ngModelChange)="invoiceST.setRow(index, { vatqty: $event })" />
|
|
||||||
<ng-container *ngIf="!isEdit">{{ item.vatqty }}</ng-container>
|
<ng-container *ngIf="!isEdit">{{ item.vatqty }}</ng-container>
|
||||||
</ng-template>
|
</ng-template>
|
||||||
</st>
|
</st>
|
||||||
</nz-tab>
|
</nz-tab>
|
||||||
<nz-tab nzTitle="快递轨迹">
|
<nz-tab nzTitle="快递轨迹">
|
||||||
<p style="font-weight: 600;">顺丰快递: {{routesInfo?.mailNo}} <nz-tag [nzColor]="'#2db7f5'" class="ml-md">已签收</nz-tag>
|
<p style="font-weight: 600">顺丰快递: {{ routesInfo?.mailNo }} <nz-tag [nzColor]="'#2db7f5'" class="ml-md">已签收</nz-tag> </p>
|
||||||
</p>
|
|
||||||
<app-logistics-time-line [data]="routesInfo?.routes"></app-logistics-time-line>
|
<app-logistics-time-line [data]="routesInfo?.routes"></app-logistics-time-line>
|
||||||
</nz-tab>
|
</nz-tab>
|
||||||
</nz-tabset>
|
</nz-tabset>
|
||||||
|
|
||||||
|
|
||||||
</nz-card>
|
</nz-card>
|
||||||
@ -108,7 +108,7 @@ export class InvoiceDetailComponent implements OnInit {
|
|||||||
private initOrderSF(): SFSchema {
|
private initOrderSF(): SFSchema {
|
||||||
return {
|
return {
|
||||||
properties: {
|
properties: {
|
||||||
billHId: {
|
billHCode: {
|
||||||
type: 'string',
|
type: 'string',
|
||||||
title: '订单号',
|
title: '订单号',
|
||||||
ui: {
|
ui: {
|
||||||
@ -146,14 +146,14 @@ export class InvoiceDetailComponent implements OnInit {
|
|||||||
|
|
||||||
private initOrderST(): STColumn[] {
|
private initOrderST(): STColumn[] {
|
||||||
return [
|
return [
|
||||||
{ title: '订单号', index: 'billHId', width: 140 },
|
{ title: '订单号', index: 'billHCode', width: 180 },
|
||||||
{ title: '订单完成日期', index: 'billTime', type: 'date', width: 150 },
|
{ title: '订单完成日期', index: 'billTime', type: 'date', width: 150 },
|
||||||
{ title: '所属项目', index: 'projectId', width: 140 },
|
{ title: '所属项目', index: 'projectId', width: 180 },
|
||||||
{ title: '订单类型', index: 'billType', width: 120 },
|
{ title: '订单类型', index: 'billTypeLabel', width: 120 },
|
||||||
{ title: '装货地', index: 'loadingfrom', width: 200 },
|
{ title: '装货地', index: 'loadingfrom', width: 200 },
|
||||||
{ title: '卸货地', index: 'loadingto', width: 200 },
|
{ title: '卸货地', index: 'loadingto', width: 220 },
|
||||||
{ title: '货物信息', index: 'goodsinfo', width: 140 },
|
{ title: '货物信息', index: 'goodsinfo', width: 140 },
|
||||||
{ title: '承运司机', index: 'driverinfo', width: 140 },
|
{ title: '承运司机', index: 'driverinfo', width: 280 },
|
||||||
{
|
{
|
||||||
title: '申请金额',
|
title: '申请金额',
|
||||||
index: 'billkpnotax',
|
index: 'billkpnotax',
|
||||||
|
|||||||
@ -1,10 +1,10 @@
|
|||||||
/*
|
/*
|
||||||
* @Author: your name
|
* @Author: your name
|
||||||
* @Date: 2021-12-23 16:50:17
|
* @Date: 2021-12-23 16:50:17
|
||||||
* @LastEditTime: 2021-12-31 13:35:22
|
* @LastEditTime : 2022-01-25 15:53:13
|
||||||
* @LastEditors: Please set LastEditors
|
* @LastEditors : Shiming
|
||||||
* @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
|
* @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
|
||||||
* @FilePath: \tms-obc-web\src\app\routes\ticket-management\components\invoice-requested\requested-invoice-modal\requested-invoice-modal.component.ts
|
* @FilePath : \\tms-obc-web\\src\\app\\routes\\ticket-management\\components\\invoice-requested\\requested-invoice-modal\\requested-invoice-modal.component.ts
|
||||||
*/
|
*/
|
||||||
import { Component, OnInit, ViewChild } from '@angular/core';
|
import { Component, OnInit, ViewChild } from '@angular/core';
|
||||||
import { STChange, STColumn, STComponent, STRequestOptions } from '@delon/abc/st';
|
import { STChange, STColumn, STComponent, STRequestOptions } from '@delon/abc/st';
|
||||||
@ -66,12 +66,12 @@ export class RequestedInvoiceModalComponent implements OnInit {
|
|||||||
{ title: '', index: 'key', type: 'checkbox' },
|
{ title: '', index: 'key', type: 'checkbox' },
|
||||||
{ title: '订单号', index: 'billHCode', width: 150 },
|
{ title: '订单号', index: 'billHCode', width: 150 },
|
||||||
{ title: '订单完成日期', index: 'billTime', type: 'date', width: 150 },
|
{ title: '订单完成日期', index: 'billTime', type: 'date', width: 150 },
|
||||||
{ title: '所属项目', index: 'projectIdName', width: 160 },
|
{ title: '所属项目', index: 'projectIdName', width: 250 },
|
||||||
{ title: '订单类型', index: 'billTypeName', width: 90 },
|
{ title: '订单类型', index: 'billTypeName', width: 90 },
|
||||||
{ title: '装货地', index: 'loadingfrom', width: 250 },
|
{ title: '装货地', index: 'loadingfrom', width: 250 },
|
||||||
{ title: '卸货地', index: 'loadingto', width: 250 },
|
{ title: '卸货地', index: 'loadingto', width: 250 },
|
||||||
{ title: '货物信息', index: 'goodsinfo', width: 170 },
|
{ title: '货物信息', index: 'goodsinfo', width: 170 },
|
||||||
{ title: '承运司机', index: 'driverinfo', width: 170 },
|
{ title: '承运司机', index: 'driverinfo', width: 280 },
|
||||||
{
|
{
|
||||||
title: '总费用',
|
title: '总费用',
|
||||||
index: 'billkpmoney',
|
index: 'billkpmoney',
|
||||||
|
|||||||
@ -312,10 +312,6 @@ tabs = {
|
|||||||
width: '110px',
|
width: '110px',
|
||||||
className: 'text-left',
|
className: 'text-left',
|
||||||
buttons: [
|
buttons: [
|
||||||
{
|
|
||||||
text: '查看评价',
|
|
||||||
click: (_record) => this.viewEvaluate(_record),
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
text: '确认发车',
|
text: '确认发车',
|
||||||
click: (_record) => this.sureDepart(_record),
|
click: (_record) => this.sureDepart(_record),
|
||||||
|
|||||||
@ -313,10 +313,6 @@ export class WaybillManagementVehicleComponent implements OnInit {
|
|||||||
width: '110px',
|
width: '110px',
|
||||||
className: 'text-left',
|
className: 'text-left',
|
||||||
buttons: [
|
buttons: [
|
||||||
{
|
|
||||||
text: '查看评价',
|
|
||||||
click: _record => this.viewEvaluate(_record)
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
text: '确认发车',
|
text: '确认发车',
|
||||||
click: _record => this.sureDepart(_record),
|
click: _record => this.sureDepart(_record),
|
||||||
|
|||||||
Reference in New Issue
Block a user