-
+
diff --git a/src/app/routes/order-management/modal/vehicle/view-track/view-track.component.less b/src/app/routes/order-management/modal/vehicle/view-track/view-track.component.less
index ae775710..529639f7 100644
--- a/src/app/routes/order-management/modal/vehicle/view-track/view-track.component.less
+++ b/src/app/routes/order-management/modal/vehicle/view-track/view-track.component.less
@@ -1,11 +1,10 @@
+/* stylelint-disable order/properties-order */
:host {
- ::ng-deep {
- // .mapBox {
- // iframe, canvas {
- // width: 400px !important;
- // }
- // }
-
- }
-
- }
\ No newline at end of file
+ .map_st2 {
+ position: absolute;
+ top: 20px;
+ right: 49px;
+ height: 350px;
+ width: 360px;
+ }
+}
diff --git a/src/app/routes/order-management/modal/vehicle/view-track/view-track.component.ts b/src/app/routes/order-management/modal/vehicle/view-track/view-track.component.ts
index 0b5c1dff..30bd5b74 100644
--- a/src/app/routes/order-management/modal/vehicle/view-track/view-track.component.ts
+++ b/src/app/routes/order-management/modal/vehicle/view-track/view-track.component.ts
@@ -4,21 +4,12 @@
* @Author : Shiming
* @Date : 2022-02-22 13:53:29
* @LastEditors : Shiming
- * @LastEditTime : 2022-03-08 16:11:58
+ * @LastEditTime : 2022-04-22 16:24:06
* @FilePath : \\tms-obc-web\\src\\app\\routes\\order-management\\modal\\vehicle\\view-track\\view-track.component.ts
* Copyright (C) 2022 huzhenhong. All rights reserved.
*/
-import { Component, OnInit, ViewChild } from '@angular/core';
-import { STColumn } from '@delon/abc/st';
-import {
- SFComponent,
- SFCustomWidgetSchema,
- SFNumberWidgetSchema,
- SFRadioWidgetSchema,
- SFSchema,
- SFTextareaWidgetSchema,
- SFUISchema
-} from '@delon/form';
+import { Component, OnInit } from '@angular/core';
+import { STColumn, STComponent } from '@delon/abc/st';
import format from 'date-fns/format';
import { _HttpClient } from '@delon/theme';
import { NzMessageService } from 'ng-zorro-antd/message';
@@ -37,9 +28,11 @@ export class OneCarOrderViewtrackComponent implements OnInit {
mapList: any[] = []; //地图点位数据组
addressItems: any[] = []; //打点地址数据组
logColumns2: STColumn[] = [
- { title: '时间', index: 'parkBte' },
- { title: '地点', index: 'parkAdr' }
+ { title: '时间', index: 'parkBte', width: 120, className: 'text-center' },
+ { title: '地点', index: 'parkAdr',width: 120,className: 'text-center' }
];
+ pois: any[] = [];
+
constructor(
private modalRef: NzModalRef,
private modal: NzModalService,
@@ -56,31 +49,58 @@ export class OneCarOrderViewtrackComponent implements OnInit {
}
// 获取车辆轨迹
getTrajectory() {
- this.service.request(this.service.$api_get_getTrajectory, { id: this.i?.id }).subscribe(res => {
+ this.service.request(this.service.$api_get_getWholeBillDetail, { id: this.i.id }).subscribe(res => {
+ if (res) {
+ this.pois = [
+ {
+ markerLabel: '装',
+ color: 'blue',
+ position: [res.startingPoint.longitude, res.startingPoint.latitude],
+ title: `发货地:${res.startingPoint.province}${res.startingPoint.city}${res.startingPoint.area || ''}${
+ res.startingPoint.detailedAddress
+ }`,
+ time: '计划出发时间:' + res.loadPlanTime
+ },
+ {
+ markerLabel: '卸',
+ color: 'red',
+ position: [res.endPoint.longitude, res.endPoint.latitude],
+ title: `卸货地:${res.endPoint.province}${res.endPoint.city}${res.endPoint.area}${res.endPoint.detailedAddress}`,
+ time: '计划卸货时间:' + res.unloadPlanTime
+ }
+ ];
+ }
+ });
+ this.service.request(this.service.$api_get_getTrajectory, { id: this.i.id }).subscribe(res => {
if (res) {
const points = res.trackArray;
let list: any[] = [];
points?.forEach((item: any) => {
list.push({
- name: item.hgt,
+ name: `${item.spd}`,
lnglat: [Number((Number(item.lon) / 600000).toFixed(6)), Number((Number(item.lat) / 600000).toFixed(6))],
time: item.gtm
});
});
this.mapList = list;
- this.addressItems = res.parkAdr;
- if (this.addressItems && this.addressItems.length > 0) {
- this.addressItems.forEach(item => {
+ const addressItems: any[] = res.parkArray;
+ if (addressItems?.length > 0) {
+ addressItems.forEach(item => {
item.parkBte = this.getLocalTime(item.parkBte);
});
+ this.addressItems = [...addressItems];
+ } else {
+ this.addressItems = [];
}
+ console.log(this.addressItems);
+
}
});
}
// 获取司机轨迹
getDriverTrajectory() {
- this.service.request(this.service.$api_get_getAppDriverPosition, { id: this.i?.id }).subscribe(res => {
+ this.service.request(this.service.$api_get_getAppDriverPosition, { id: this.i.id }).subscribe(res => {
if (res) {
const points = res.tracks;
let list: any[] = [];
@@ -91,7 +111,7 @@ export class OneCarOrderViewtrackComponent implements OnInit {
time: item.gtm
});
});
- this.mapList = list;
+ this.mapList = list || [];
const addressItems = [...res.tracks];
if (addressItems) {
addressItems.forEach(item => {
diff --git a/src/app/routes/order-management/services/order-management.service.ts b/src/app/routes/order-management/services/order-management.service.ts
index 3df90939..087d7a70 100644
--- a/src/app/routes/order-management/services/order-management.service.ts
+++ b/src/app/routes/order-management/services/order-management.service.ts
@@ -4,7 +4,7 @@
* @Author : Shiming
* @Date : 2021-12-03 15:31:52
* @LastEditors : Shiming
- * @LastEditTime : 2022-04-22 10:54:29
+ * @LastEditTime : 2022-04-22 17:14:39
* @FilePath : \\tms-obc-web\\src\\app\\routes\\order-management\\services\\order-management.service.ts
* Copyright (C) 2022 huzhenhong. All rights reserved.
*/
@@ -163,8 +163,8 @@ export class OrderManagementService extends ShipperBaseService {
// 异常预警
public $api_getAbnormalWarningByBillId = '/api/sdc/abnormalWarning/getAbnormalWarningByBillId';
- // 生成卸货单
- public $api_createBillDischargeGoods = '/api/sdc/billOperate/createBillDischargeGoods';
+ // 获取电子提/卸货单签章附件
+ public $api_getBillGoodsEsignFile = '/api/sdc/billOperate/getBillGoodsEsignFile';
// 生成提货单
public $api_createBillTakeGoods = '/api/sdc/billOperate/createBillTakeGoods';
// 生成卸货单-页面展示
@@ -217,6 +217,8 @@ export class OrderManagementService extends ShipperBaseService {
public $api_getBillDischargeGoods = `/api/sdc/billOperate/getBillDischargeGoods`;
// 预览提货单
public $api_getBillTakeGoods = `/api/sdc/billOperate/getBillTakeGoods`;
+ // 生成提/卸货单
+ public $api_createBillEsignGoods = `/api/sdc/billOperate/createBillEsignGoods`;
// // 生成卸货单
// public $api_createBillDischargeGoods = `/api/sdc/billOperate/createBillDischargeGoods`;
diff --git a/src/app/routes/partner/rebate-management/components/rebate-setting/add/add.component.html b/src/app/routes/partner/rebate-management/components/rebate-setting/add/add.component.html
index 8a4b1a3f..08f89e5b 100644
--- a/src/app/routes/partner/rebate-management/components/rebate-setting/add/add.component.html
+++ b/src/app/routes/partner/rebate-management/components/rebate-setting/add/add.component.html
@@ -4,7 +4,7 @@
* @Author : Shiming
* @Date : 2022-02-24 20:09:49
* @LastEditors : Shiming
- * @LastEditTime : 2022-04-22 14:29:23
+ * @LastEditTime : 2022-04-24 13:42:10
* @FilePath : \\tms-obc-web\\src\\app\\routes\\partner\\rebate-management\\components\\rebate-setting\\add\\add.component.html
* Copyright (C) 2022 huzhenhong. All rights reserved.
-->
diff --git a/src/app/routes/partner/rebate-management/components/rebate-setting/add/add.component.ts b/src/app/routes/partner/rebate-management/components/rebate-setting/add/add.component.ts
index cf090af2..15e68e18 100644
--- a/src/app/routes/partner/rebate-management/components/rebate-setting/add/add.component.ts
+++ b/src/app/routes/partner/rebate-management/components/rebate-setting/add/add.component.ts
@@ -8,16 +8,14 @@
* @FilePath : \\tms-obc-web\\src\\app\\routes\\partner\\rebate-management\\components\\rebate-setting\\add\\add.component.ts
* Copyright (C) 2022 huzhenhong. All rights reserved.
*/
-import { ModalHelper } from '@delon/theme';
import { Component, OnInit, ViewChild } from '@angular/core';
import { ActivatedRoute, Router } from '@angular/router';
-import { STColumn, STComponent, STData, STRequestOptions } from '@delon/abc/st';
-import { SFComponent, SFDateWidgetSchema, SFSchema, SFUISchema } from '@delon/form';
-import { processSingleSort, ShipperBaseService } from '@shared';
+import { STColumn, STComponent } from '@delon/abc/st';
+import { SFComponent, SFSchema } from '@delon/form';
+import { ShipperBaseService } from '@shared';
import { NzModalService } from 'ng-zorro-antd/modal';
import { RebateManagementService } from '../../../services/rebate-management.service';
import { ParterRebateManageMentAddPartnerListComponent } from '../add-partnerlist/add-partnerlist.component';
-import { inRange } from '@delon/util';
@Component({
selector: 'app-parter-channel-rebate-management-add',
styleUrls: ['./add.component.less'],
@@ -35,7 +33,7 @@ export class ParterRebateManageMentAddComponent implements OnInit {
partnerPeopleList: any = [];
configType = '1';
precision = 2;
- partnerId :Array =[];
+ partnerId: Array = [];
inputValue = '';
@ViewChild('st', { static: true })
st!: STComponent;
@@ -59,15 +57,17 @@ export class ParterRebateManageMentAddComponent implements OnInit {
{ title: '手机号', index: 'contactMobile', className: 'text-center', width: 150 },
{ title: '类型', index: 'partnerType', className: 'text-center', width: 130, type: 'enum', enum: { 1: '企业', 2: '个人' } },
{
- title: '操作', width: '90px', fixed: 'right',
+ title: '操作',
+ width: '90px',
+ fixed: 'right',
buttons: [
{
text: '移除',
click: _record => this.delete(_record),
acl: { ability: ['AbnormalAppear-reply'] }
- },
+ }
]
- },
+ }
];
initSF(data?: any) {
this.schema1 = {
@@ -79,16 +79,16 @@ export class ParterRebateManageMentAddComponent implements OnInit {
widget: 'tinymce',
loadingTip: 'loading...',
config: {
- height: 500,
+ height: 500
}
- },
+ }
// default: data?.agreementContent || ''
}
}
};
}
ngOnInit() {
- this.addStatus =false
+ this.addStatus = false;
this.initSF();
}
goBack() {
@@ -97,64 +97,64 @@ export class ParterRebateManageMentAddComponent implements OnInit {
/**
*合伙人选择
*/
- add(item?: any) {
+ add(item?: any) {
const modalRef = this.modal.create({
nzTitle: '合伙人选择',
nzWidth: 1000,
nzContent: ParterRebateManageMentAddPartnerListComponent,
nzComponentParams: {
- i: item,
+ i: item
},
nzFooter: null
});
modalRef.afterClose.subscribe((res: any) => {
this.partnerId = [];
if (res) {
- if(Array.isArray(res)) {
+ if (Array.isArray(res)) {
console.log(res);
console.log(this.partnerPeopleList);
- this.partnerPeopleList = this.partnerPeopleList.concat(res);
+ this.partnerPeopleList = this.partnerPeopleList.concat(res);
res.forEach((ele: any) => {
this.partnerId.push(ele?.id);
- })
+ });
} else {
console.log(res);
- this.partnerPeopleList = this.partnerPeopleList.concat(res);
+ this.partnerPeopleList = this.partnerPeopleList.concat(res);
this.partnerId.push(res?.id);
- }
+ }
}
});
}
delete(item: any) {
- this.partnerPeopleList = this.partnerPeopleList.filter((d:any, i: any) => {
- return item.id != d.id
- });
+ this.partnerPeopleList = this.partnerPeopleList.filter((d: any, i: any) => {
+ return item.id != d.id;
+ });
}
- save () {
+ save() {
const params = {
accountingRate: this.accountingRate,
configName: this.configName,
configType: this.configType,
rebateConfigLineDTO: this.table.data,
- priority: this.priority,// 优先级
+ priority: this.priority, // 优先级
partnerId: this.partnerId.join(','),
ruleDescription: this.sf.value.ruleDescription,
remarke: this.remarke,
partnerType: this.partnerType
- }
+ };
console.log(params);
this.service.request(this.service.$api_save_rebateConfig, params).subscribe((res: any) => {
- if(res) {
+ if (res) {
console.log(res);
- this.service.msgSrv.success('新增成功!')
- this.router.navigate(['/partner/rebate/setting'])
+ this.service.msgSrv.success('新增成功!');
+ this.router.navigate(['/partner/rebate/setting']);
}
- })
+ });
}
changePartner(value: any) {
console.log(value);
- if(value) {
- this.addStatus = true
+ if (value) {
+ this.addStatus = true;
}
}
}
diff --git a/src/app/routes/supply-management/components/bulk/bulk.component.ts b/src/app/routes/supply-management/components/bulk/bulk.component.ts
index 9e90a8f6..894d5a0c 100644
--- a/src/app/routes/supply-management/components/bulk/bulk.component.ts
+++ b/src/app/routes/supply-management/components/bulk/bulk.component.ts
@@ -42,7 +42,7 @@ export class SupplyManagementBulkComponent implements OnInit {
private modal: NzModalService,
private router: Router,
public shipperservice: ShipperBaseService
- ) {}
+ ) { }
ngOnInit(): void {
this.initSF();
@@ -335,7 +335,7 @@ export class SupplyManagementBulkComponent implements OnInit {
{
text: '二维码',
click: _record => this.assignedQrcode(_record),
- iif: item => item.resourceStatus == 1
+ iif: item => item.resourceStatus == 1 && item.serviceType === '1'
},
{
text: '修改单价',
@@ -565,7 +565,7 @@ export class SupplyManagementBulkComponent implements OnInit {
}
});
}
- userAction() {}
+ userAction() { }
// 导出
exportFire() {
this.service.exportStart(this.reqParams, this.service.$api_asyncExportBulkList);
diff --git a/src/app/routes/sys-setting/components/sms-template/sms-template.component.html b/src/app/routes/sys-setting/components/sms-template/sms-template.component.html
index 06e3616b..2b413ab5 100644
--- a/src/app/routes/sys-setting/components/sms-template/sms-template.component.html
+++ b/src/app/routes/sys-setting/components/sms-template/sms-template.component.html
@@ -2,6 +2,7 @@
+
-
+
diff --git a/src/app/routes/sys-setting/components/sms-template/sms-template.component.ts b/src/app/routes/sys-setting/components/sms-template/sms-template.component.ts
index 7073d001..43d1df9c 100644
--- a/src/app/routes/sys-setting/components/sms-template/sms-template.component.ts
+++ b/src/app/routes/sys-setting/components/sms-template/sms-template.component.ts
@@ -1,5 +1,5 @@
-import { Component, OnInit, ViewChild } from '@angular/core';
+import { AfterViewInit, ChangeDetectorRef, Component, OnInit, ViewChild } from '@angular/core';
import { ActivatedRoute } from '@angular/router';
import { STColumn, STComponent, STRequestOptions } from '@delon/abc/st';
import { SFComponent, SFSchema } from '@delon/form';
@@ -18,12 +18,19 @@ export class SmsTemplateComponent implements OnInit {
sf!: SFComponent;
@ViewChild('sfEdit', { static: false })
sfEdit!: SFComponent;
+ editSchema!: SFSchema;
visible = false;
isVisible = false;
tempData = {};
-
+ isEdit = false;
+
searchSchema: SFSchema = {
properties: {
+ templateName: {
+ type: 'string',
+ title: '模板名称',
+ ui: { placeholder: '请输入模板名称' }
+ },
templateCode: {
type: 'string',
title: '模板编码',
@@ -37,27 +44,32 @@ export class SmsTemplateComponent implements OnInit {
}
};
- editSchema: SFSchema = {
- properties: {
- templateCode: {
- type: 'string',
- title: '模板编码',
- ui: { placeholder: '请输入模板编码' }
+ initSF() {
+ this.editSchema = {
+ properties: {
+ templateName: {
+ type: 'string',
+ title: '模板名称',
+ ui: { placeholder: '请输入模板名称', errors: { require: '必填项'} }
+ },
+ templateCode: {
+ type: 'string',
+ title: '模板编码',
+ readOnly: this.isEdit,
+ ui: { placeholder: '请输入模板编码', errors: { require: '必填项'} }
+ },
+ templateContent: {
+ type: 'string',
+ title: '模板内容',
+ ui: { placeholder: '请输入模板内容', errors: { require: '必填项'} }
+ }
},
- templateContent: {
- type: 'string',
- title: '模板内容',
- ui: { placeholder: '请输入模板内容' }
- },
- templateName: {
- type: 'string',
- title: '模板名称',
- ui: { placeholder: '请输入模板名称' }
- }
+ required: ['templateName','templateCode','templateContent']
}
}
columns: STColumn[] = [
+ { title: '模板名称', className: 'text-center', index: 'templateName' },
{ title: '模板编码', className: 'text-center', index: 'templateCode' },
{ title: '模板内容', className: 'text-center', index: 'templateContent' },
// {
@@ -83,7 +95,9 @@ export class SmsTemplateComponent implements OnInit {
constructor(public service: SystemService, private nzModalService: NzModalService, private route: ActivatedRoute) {
}
- ngOnInit(): void { }
+ ngOnInit(): void {
+ this.initSF();
+ }
beforeReq = (requestOptions: STRequestOptions) => {
if (this.sf) {
@@ -94,6 +108,9 @@ export class SmsTemplateComponent implements OnInit {
edit(item: any) {
// console.log(item);
+ this.isEdit = true;
+ this.editSchema!.properties!.templateCode.readOnly = true;
+ this.sfEdit?.refreshSchema();
this.tempData = item;
this.isVisible = true;
}
@@ -111,9 +128,17 @@ export class SmsTemplateComponent implements OnInit {
this.visible = false;
}
+ add() {
+ this.isEdit = false;
+ this.editSchema!.properties!.templateCode.readOnly = false;
+ this.sfEdit?.refreshSchema();
+ this.tempData = {};
+ this.isVisible = true;
+ }
+
handleOk(): void {
const value = this.sfEdit.value;
- const { id, templateCode, templateName, templateContent } = value
+ const { id, templateCode, templateName, templateContent } = value;
const params = {
id,
templateCode,
diff --git a/src/app/routes/tax-management/components/invoice-reporting/invoice-reporting.component.html b/src/app/routes/tax-management/components/invoice-reporting/invoice-reporting.component.html
index 3cafec0a..010dee32 100644
--- a/src/app/routes/tax-management/components/invoice-reporting/invoice-reporting.component.html
+++ b/src/app/routes/tax-management/components/invoice-reporting/invoice-reporting.component.html
@@ -9,7 +9,7 @@
-
+
-
+
diff --git a/src/app/routes/tax-management/components/invoice-reporting/invoice-reporting.component.ts b/src/app/routes/tax-management/components/invoice-reporting/invoice-reporting.component.ts
index 304974d5..49955f8a 100644
--- a/src/app/routes/tax-management/components/invoice-reporting/invoice-reporting.component.ts
+++ b/src/app/routes/tax-management/components/invoice-reporting/invoice-reporting.component.ts
@@ -27,7 +27,7 @@ export class TaxManagementInvoiceReportingComponent implements OnInit {
{ name: '异常', value: '4' },
{ name: '全部', value: '' }
];
- selectedIndex = ''; //选择的项目
+ selectedIndex = '1'; //选择的项目
serviceTel = '';
constructor(
public service: TaxManagementService,
@@ -50,7 +50,7 @@ export class TaxManagementInvoiceReportingComponent implements OnInit {
* 查询参数
*/
get reqParams() {
- const params = Object.assign({}, this.sf?.value || {});
+ const params = Object.assign({}, this.sf?.value || {}, { uploadSts: this.selectedIndex });
delete params._$expand;
return { ...params };
}
@@ -213,9 +213,12 @@ export class TaxManagementInvoiceReportingComponent implements OnInit {
{
title: '发票号码',
index: 'invoiceno',
- render: 'invoiceNO',
className: 'text-center',
width: '150px',
+ type: 'link',
+ click: item => {
+ window.open(`/#/ticket/invoice-list/detail/${item.vatinvHId}?type=${item.invoiceType}`, '_blank', 'noopener')
+ }
},
{ title: '发票代码', index: 'invoiceno2', className: 'text-center', width: '150px', },
{
@@ -224,14 +227,24 @@ export class TaxManagementInvoiceReportingComponent implements OnInit {
className: 'text-center',
width: '180px',
},
- { title: '购买方企业名称', index: 'artoname', render: 'artoname', className: 'text-center', width: '200px' },
+ {
+ title: '购买方企业名称', index: 'artoname', className: 'text-center', width: '200px', type: 'link',
+ click: item => {
+ window.open(`/#/usercenter/freight/list/detail/${item.ltdId}`, '_blank', 'noopener')
+ }
+ },
{ title: '购买方统一社会信用代码', index: 'artotaxno', className: 'text-center', width: '200px' },
- { title: '订单号', index: 'billHCode', render: 'billHCode', className: 'text-center', width: '120px' },
+ {
+ title: '订单号', index: 'billHCode', className: 'text-center', width: '120px', type: 'link',
+ click: item => {
+ window.open(`/#/order-management/vehicle/vehicle-detail/${item.ltdId}`, '_blank', 'noopener')
+ }
+ },
{ title: '货物名称', index: 'goodsinfo', className: 'text-center', width: '180px' },
{ title: '价税合计', index: 'vatmoney', className: 'text-center', width: '180px' },
{ title: '开票日期', index: 'invoicedate', className: 'text-center', width: '180px' },
{ title: '发票所属月份', index: 'invoicemonth', className: 'text-center', width: '250px' },
- { title: '发票状态', index: 'sts', className: 'text-center', width: '200px' },
+ { title: '发票状态', index: 'sts', render: 'sts', className: 'text-center', width: '200px' },
{ title: '上传日期', index: 'uoloadDate', className: 'text-center', width: '200px' },
];
}
@@ -247,17 +260,18 @@ export class TaxManagementInvoiceReportingComponent implements OnInit {
this.openWainingModal('请选择需要撤回的数据');
return;
}
- let params: any[] = [];
+ let ids: any[] = [];
this.selectedRows.forEach(item => {
- params.push(item.id);
+ ids.push(item.id);
});
+
this.modal.confirm({
nzTitle: '撤回提示',
nzContent: ' 撤回后可以重新上传,重新上传会覆盖已上传数据,确定要撤回?',
nzOkText: '确定',
nzCancelText: '取消',
nzOnOk: () => {
- this.service.request(this.service.$api_get_recessionTaxOrder, params).subscribe((res: any) => {
+ this.service.request(this.service.$api_invoiceUpload_withdraw, { ids }).subscribe((res: any) => {
if (res) {
this.service.msgSrv.success('撤销成功');
this.search();
@@ -322,6 +336,8 @@ export class TaxManagementInvoiceReportingComponent implements OnInit {
console.log(item);
this.selectedIndex = item?.value || '';
+ console.log(this.selectedIndex);
+
setTimeout(() => {
this.st.load();
})
@@ -380,7 +396,7 @@ export class TaxManagementInvoiceReportingComponent implements OnInit {
* 异步导出
*/
export() {
- this.service.exportStart(this.sf?.value, this.service.$api_async_export_order_reporting_list);
+ this.service.exportStart(this.reqParams, this.service.$api_invoiceUpload_export);
}
openWainingModal(content: string, title = '提示') {
diff --git a/src/app/routes/tax-management/services/tax-management.service.ts b/src/app/routes/tax-management/services/tax-management.service.ts
index 51f7cc45..ee087615 100644
--- a/src/app/routes/tax-management/services/tax-management.service.ts
+++ b/src/app/routes/tax-management/services/tax-management.service.ts
@@ -56,7 +56,12 @@ export class TaxManagementService extends ShipperBaseService {
$api_async_export_order_reporting_list = ``; // 导出订单上报
$api_get_upload_setting = ``; // 修改上传设置
$api_upload_setting_save = ``; // 修改上传设置
+ // 获取发票上传列表
$api_getInvoiceReport_page = '/api/sdc/invoiceUploadInfo/list/page';
+ // 发票上传列表导出
+ $api_invoiceUpload_export = '/api/sdc/invoiceUploadInfo/reportList';
+ // 发票上传撤回
+ $api_invoiceUpload_withdraw = '/api/sdc/invoiceUploadInfo/withdraw';
constructor(public injector: Injector) {
super(injector);
}
diff --git a/src/app/routes/ticket-management/components/etc-invoiced-logs/etc-invoiced-logs.component.ts b/src/app/routes/ticket-management/components/etc-invoiced-logs/etc-invoiced-logs.component.ts
index c3c7c253..c9a2a049 100644
--- a/src/app/routes/ticket-management/components/etc-invoiced-logs/etc-invoiced-logs.component.ts
+++ b/src/app/routes/ticket-management/components/etc-invoiced-logs/etc-invoiced-logs.component.ts
@@ -208,6 +208,8 @@ export class ETCInvoicedLogsComponent implements OnInit {
className: 'text-right font-weight-bold',
widget: { type: 'currency-chy', params: ({ record }) => ({ value: record.totalAmount }) }
},
+ { title: '进站时间', index: 'trafficStartTime', type: 'date', width: 150 },
+ { title: '出站时间', index: 'trafficEndTime', type: 'date', width: 150 },
{ title: '交易时间', index: 'exTime', type: 'date', width: 150 },
{ title: '开票日期', index: 'invoiceMakeTime', type: 'date', width: 150 },
{ title: '销售方', index: 'sellerName', width: 150 },
diff --git a/src/app/routes/usercenter/components/freight/list/list.component.ts b/src/app/routes/usercenter/components/freight/list/list.component.ts
index 4df4f161..4653512b 100644
--- a/src/app/routes/usercenter/components/freight/list/list.component.ts
+++ b/src/app/routes/usercenter/components/freight/list/list.component.ts
@@ -409,7 +409,7 @@ export class FreightComponentsListComponent implements OnInit {
},
{ title: '业务员', className: 'text-center', render: 'promotersTelephone', width: 150 },
{ title: '合伙人', className: 'text-center', render: 'partnerName', width: 150 },
- { title: '客服人员', className: 'text-center', render: 'customerServiceId', width: 150 },
+ { title: '客服人员', className: 'text-center', index: 'customerServiceIdLabel', width: 150 },
{ title: '网络货运人', className: 'text-center', index: 'netTranName', width: 180 },
{
title: '注册渠道',
diff --git a/src/app/routes/vehicle/components/audit/detail/detail.component.html b/src/app/routes/vehicle/components/audit/detail/detail.component.html
index eb678c6f..608a8bb0 100644
--- a/src/app/routes/vehicle/components/audit/detail/detail.component.html
+++ b/src/app/routes/vehicle/components/audit/detail/detail.component.html
@@ -1,5 +1,5 @@
-
210}">
+ 210 }">
- 车牌号:{{detailData?.carNo}}
-
+ 车牌号:{{ detailData?.carNo }}
+
未上传
草稿
待审核
已审核
已驳回
证件过期
-
-
-
-
+ 修改
取消
@@ -41,14 +46,17 @@
-
-
+
- 车辆基础信息
-
+ 车辆基础信息
-
+
@@ -57,25 +65,46 @@
[nzShowArrow]="isEdit" [nzDisabled]="!isEdit">
-->
-
+
-
+
-
+
-
+
@@ -84,23 +113,38 @@
+ *ngTemplateOutlet="
+ uploadTemplate;
+ context: { image: detailData?.carFrontPhotoWatermark, key: 'carFrontPhotoWatermark', hover: 'PhotoWatermark2' }
+ "
+ >
- 行驶证信息
+ 行驶证信息
-
+
-
+
@@ -108,12 +152,24 @@
-
+
-
+
@@ -121,16 +177,32 @@
-
+
-
+
-
+
@@ -139,64 +211,127 @@
-
+
-
+
-
+
+ *ngTemplateOutlet="
+ uploadTemplate;
+ context: { image: detailData?.certificatePhotoFrontWatermark, key: 'certificatePhotoFrontWatermark', hover: 'FrontWatermark' }
+ "
+ >
+ *ngTemplateOutlet="
+ uploadTemplate;
+ context: { image: detailData?.certificatePhotoBackWatermark, key: 'certificatePhotoBackWatermark', hover: 'BackWatermark' }
+ "
+ >
- 道路运输证信息
+ 道路运输证信息
-
+
-
+
-
+
-
+
+ *ngTemplateOutlet="
+ uploadTemplate;
+ context: { image: detailData?.roadTransportPhotoWatermark, key: 'roadTransportPhotoWatermark', hover: 'Watermark' }
+ "
+ >
- 认证司机
+ 认证司机
-
+
未上传
@@ -210,7 +345,6 @@
-
@@ -218,30 +352,42 @@
{{ detailData?.carNo }}
-
+
-
+
上传
-
-
![]()
+
+
-
\ No newline at end of file
+
diff --git a/src/app/routes/vehicle/components/audit/detail/detail.component.ts b/src/app/routes/vehicle/components/audit/detail/detail.component.ts
index 5e17a8f8..89ece581 100644
--- a/src/app/routes/vehicle/components/audit/detail/detail.component.ts
+++ b/src/app/routes/vehicle/components/audit/detail/detail.component.ts
@@ -61,10 +61,10 @@ export class VehicleComponentsAuditDetailComponent implements OnInit, OnDestroy
initST() {
this.columns = [
- { title: '司机姓名', index: 'name', className: 'text-center' },
- { title: '司机手机号', index: 'mobile', className: 'text-center' },
- { title: '身份证号', index: 'idCardNo', className: 'text-center' },
- { title: '挂靠协议', render: 'auditStatusEnum', className: 'text-center' },
+ { title: '司机姓名', index: 'name', width: 150, className: 'text-center' },
+ { title: '司机手机号', index: 'mobile', width: 200,className: 'text-center' },
+ { title: '身份证号', index: 'idCardNo', width: 200, className: 'text-center' },
+ { title: '挂靠协议', render: 'auditStatusEnum', width: 100,className: 'text-center' },
{
title: '车主申明/挂靠协议',
fixed: 'right',
diff --git a/src/app/routes/vehicle/components/list/detail/detail.component.html b/src/app/routes/vehicle/components/list/detail/detail.component.html
index 56a65d87..f868a506 100644
--- a/src/app/routes/vehicle/components/list/detail/detail.component.html
+++ b/src/app/routes/vehicle/components/list/detail/detail.component.html
@@ -8,11 +8,10 @@
-
-
+
+
- 修改
+ 修改
取消
@@ -23,45 +22,76 @@
- 车辆基础信息
+ 车辆基础信息
-
+
-
+
-
+
-
+
-
+
-
+
@@ -71,7 +101,11 @@
+ *ngTemplateOutlet="
+ uploadTemplate;
+ context: { image: detailData?.carFrontPhotoWatermark, key: 'carFrontPhotoWatermark', hover: 'PhotoWatermark2' }
+ "
+ >
@@ -79,33 +113,62 @@
- 行驶证信息
+ 行驶证信息
-
+
-
+
-
+
-
+
-
+
@@ -113,17 +176,33 @@
-
+
-
+
-
+
@@ -132,68 +211,130 @@
-
+
-
+
-
+
+ *ngTemplateOutlet="
+ uploadTemplate;
+ context: { image: detailData?.certificatePhotoFrontWatermark, key: 'certificatePhotoFrontWatermark', hover: 'FrontWatermark' }
+ "
+ >
+ *ngTemplateOutlet="
+ uploadTemplate;
+ context: { image: detailData?.certificatePhotoBackWatermark, key: 'certificatePhotoBackWatermark', hover: 'BackWatermark' }
+ "
+ >
- 道路运输证信息
+ 道路运输证信息
-
+
-
+
-
+
-
+
+ *ngTemplateOutlet="
+ uploadTemplate;
+ context: { image: detailData?.roadTransportPhotoWatermark, key: 'roadTransportPhotoWatermark', hover: 'Watermark' }
+ "
+ >
- 认证司机
+ 认证司机
-
+
未上传
@@ -208,8 +349,13 @@
-
+
@@ -219,9 +365,7 @@
-
- 暂无评价内容
-
+ 暂无评价内容
@@ -232,23 +376,35 @@
-
+
上传
-
-
![]()
+
+
-
\ No newline at end of file
+
diff --git a/src/app/routes/vehicle/components/list/detail/detail.component.ts b/src/app/routes/vehicle/components/list/detail/detail.component.ts
index 6cdb9990..9e729f83 100644
--- a/src/app/routes/vehicle/components/list/detail/detail.component.ts
+++ b/src/app/routes/vehicle/components/list/detail/detail.component.ts
@@ -89,9 +89,10 @@ export class VehicleComponentsListDetailComponent implements OnInit {
}
initST() {
this.columns = [
- { title: '司机姓名', index: 'name', width: 300, className: 'text-center' },
- { title: '司机手机号', index: 'mobile', width: 300, className: 'text-center' },
- { title: '挂靠协议', render: 'auditStatusEnum', className: 'text-center' },
+ { title: '司机姓名', index: 'name', width: 150, className: 'text-center' },
+ { title: '司机手机号', index: 'mobile', width: 200, className: 'text-center' },
+ { title: '身份证号', index: 'idCardNo',width: 200, className: 'text-center' },
+ { title: '挂靠协议', render: 'auditStatusEnum', width: 100,className: 'text-center' },
{ title: '录入人员', index: 'saveUser', className: 'text-center' },
{
title: '车主申明/挂靠协议',
diff --git a/src/app/shared/components/captcha/captcha.module.ts b/src/app/shared/components/captcha/captcha.module.ts
new file mode 100644
index 00000000..9ed79a1c
--- /dev/null
+++ b/src/app/shared/components/captcha/captcha.module.ts
@@ -0,0 +1,11 @@
+import { NgModule } from '@angular/core';
+
+import { CaptchaComponent } from './captcha.component';
+
+const COMPONENTS = [CaptchaComponent];
+
+@NgModule({
+ declarations: COMPONENTS,
+ exports: COMPONENTS
+})
+export class CaptchaModule {}
diff --git a/src/app/shared/components/captcha/index.ts b/src/app/shared/components/captcha/index.ts
index b2c67294..b1fe7443 100644
--- a/src/app/shared/components/captcha/index.ts
+++ b/src/app/shared/components/captcha/index.ts
@@ -1,2 +1,3 @@
export * from './captcha.component';
export * from './dun.helper';
+export * from './captcha.module';
diff --git a/src/app/shared/shared-third.module.ts b/src/app/shared/shared-third.module.ts
index e8a2dec2..f3a7b8a7 100644
--- a/src/app/shared/shared-third.module.ts
+++ b/src/app/shared/shared-third.module.ts
@@ -5,6 +5,7 @@ import { apiConf } from '@conf/api.conf';
import { NgxTinymceModule } from 'ngx-tinymce';
import { environment } from '@env/environment';
+
const TinyMce = NgxTinymceModule.forRoot({
baseURL: 'assets/tinymce/',
config: {
diff --git a/src/app/shared/shared.module.ts b/src/app/shared/shared.module.ts
index 51dd9bca..705f6cc8 100644
--- a/src/app/shared/shared.module.ts
+++ b/src/app/shared/shared.module.ts
@@ -37,6 +37,7 @@ import { ImageListModule } from './components/imagelist';
import { DictSelectComponent } from './components/dict-select';
import { PipeModule } from './pipes';
import { AccountDetailComponent } from './components/account-detail/account-detail.component';
+import { CaptchaModule } from './components/captcha';
import { rebateTableModule } from './components/rebate-table';
const MODULES = [
@@ -53,6 +54,7 @@ const MODULES = [
ImageListModule,
PipeModule,
rebateTableModule,
+ CaptchaModule,
...PRO_SHARED_MODULES
];
// #endregion
diff --git a/src/app/shared/widget/dict-select/dict-select.widget.ts b/src/app/shared/widget/dict-select/dict-select.widget.ts
index d8906295..fced5406 100644
--- a/src/app/shared/widget/dict-select/dict-select.widget.ts
+++ b/src/app/shared/widget/dict-select/dict-select.widget.ts
@@ -39,6 +39,6 @@ export class DictSelectWidget extends ControlWidget implements OnInit {
}
reset(value: any) {
- this.setValue(value);
+ if (value) this.setValue(value);
}
}
diff --git a/src/assets/images/wallet.svg b/src/assets/images/wallet.svg
new file mode 100644
index 00000000..d1cc7990
--- /dev/null
+++ b/src/assets/images/wallet.svg
@@ -0,0 +1,6 @@
+
+
\ No newline at end of file