From 3bdceea4314cdbe9d05ec02b4d6880f174f5433a Mon Sep 17 00:00:00 2001 From: weiyu Date: Wed, 27 Apr 2022 10:13:32 +0800 Subject: [PATCH 01/12] =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../billing-order/billing-order.component.ts | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/app/routes/ticket-management/components/billing-order/billing-order.component.ts b/src/app/routes/ticket-management/components/billing-order/billing-order.component.ts index 6c755377..8ea8540e 100644 --- a/src/app/routes/ticket-management/components/billing-order/billing-order.component.ts +++ b/src/app/routes/ticket-management/components/billing-order/billing-order.component.ts @@ -235,23 +235,23 @@ export class BillingOrderComponent implements OnInit { { title: '服务类型', index: 'serviceTypeLabel', - width: '180px', + width: '120px', className: 'text-center' }, { title: '装货地', index: 'consignor', width: '180px', className: 'text-center' }, { title: '卸货地', index: 'consignee', width: '180px', className: 'text-center' }, - { title: '货物信息', index: 'goodsName', className: 'text-center', width: '180px' }, - { title: '车牌号', index: 'carNo', className: 'text-center', width: '180px' }, + { title: '货物信息', index: 'goodsName', className: 'text-center', width: '140px' }, + { title: '车牌号', index: 'carNo', className: 'text-center', width: '120px' }, { title: '承运司机', index:'driverName', className: 'text-center', - width: '180px', + width: '120px', }, { title: '车队长', className: 'text-center', - width: '180px', + width: '120px', index: 'carCaptainName', }, { title: '业务员', width: '100px', index: 'salesmanName', className: 'text-center', }, @@ -260,9 +260,9 @@ export class BillingOrderComponent implements OnInit { { title: '卸货时间', index: 'unloadTime', type: 'date', width: '150px', className: 'text-center', }, { title: '订单完成时间', index: 'orderReceivingTime', type: 'date', width: 150, className: 'text-center', }, { title: '支付完成时间', index: 'overallPaymentTime', type: 'date', width: 150, className: 'text-center', }, - { title: '开票状态', index: 'sts', render: 'sts', className: 'text-center', width: 180 }, + { title: '开票状态', index: 'sts', render: 'sts', className: 'text-center', width: 120 }, { title: '申请开票时间', index: 'vatappdate', type: 'date', className: 'text-center', width: 180 }, - { title: '申请开票编号', index: 'vatappcode', className: 'text-center', width: 180 }, + { title: '申请开票编号', index: 'vatappcode', className: 'text-center', width: 190 }, { title: '分票编号', index: 'vatinvcode', width: '180px', className: 'text-center', }, { title: '发票号码', index: 'invoiceno', width: 130, className: 'text-center', }, { title: '发票代码', index: 'invoiceno2', width: 130, className: 'text-center' }, From bfa1eba6f5063d36048a1702f881116514910d07 Mon Sep 17 00:00:00 2001 From: weiyu Date: Wed, 27 Apr 2022 14:34:26 +0800 Subject: [PATCH 02/12] =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/billing-order/billing-order.component.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/app/routes/ticket-management/components/billing-order/billing-order.component.ts b/src/app/routes/ticket-management/components/billing-order/billing-order.component.ts index 8ea8540e..08e37c74 100644 --- a/src/app/routes/ticket-management/components/billing-order/billing-order.component.ts +++ b/src/app/routes/ticket-management/components/billing-order/billing-order.component.ts @@ -263,13 +263,13 @@ export class BillingOrderComponent implements OnInit { { title: '开票状态', index: 'sts', render: 'sts', className: 'text-center', width: 120 }, { title: '申请开票时间', index: 'vatappdate', type: 'date', className: 'text-center', width: 180 }, { title: '申请开票编号', index: 'vatappcode', className: 'text-center', width: 190 }, - { title: '分票编号', index: 'vatinvcode', width: '180px', className: 'text-center', }, + { title: '分票编号', index: 'vatinvcode', width: '200px', className: 'text-center', }, { title: '发票号码', index: 'invoiceno', width: 130, className: 'text-center', }, { title: '发票代码', index: 'invoiceno2', width: 130, className: 'text-center' }, { title: '开票日期', index: 'invoicedate', type: 'date', width: 150, className: 'text-center' }, // { title: '作废日期', index: 'invalidTime', type: 'date', width: 150 }, // TODO { - title: 'ETC开票金额', index: 'etcInvoiceMoney', className: 'text-center', width: 200, type: 'widget', + title: 'ETC开票金额', index: 'etcInvoiceMoney', className: 'text-center', width: 120, type: 'widget', widget: { type: 'currency-chy', params: ({ record }) => ({ value: record.etcInvoiceMoney }) } } ]; From ad5be2d8449816f19494dedd676c0b9b4dd3d2a2 Mon Sep 17 00:00:00 2001 From: weiyu Date: Wed, 27 Apr 2022 14:45:30 +0800 Subject: [PATCH 03/12] =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../invoice-reporting.component.ts | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) 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 cb2c9e06..9ec54f1a 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 @@ -209,12 +209,12 @@ export class TaxManagementInvoiceReportingComponent implements OnInit { this.columns = [ { title: '', type: 'checkbox', className: 'text-center', width: '60px', }, { title: '上传状态', render: 'uploadSts', className: 'text-center', width: '120px', }, - { title: '发票类型', render: 'invoiceType', className: 'text-center', width: '120px', }, + { title: '发票类型', render: 'invoiceType', className: 'text-center', width: '180px', }, { title: '发票号码', index: 'invoiceno', className: 'text-center', - width: '150px', + width: '120px', type: 'link', click: item => { window.open(`/#/ticket/invoice-list/detail/${item.vatinvHId}?type=${item.invoiceType}`, '_blank', 'noopener') @@ -235,17 +235,17 @@ export class TaxManagementInvoiceReportingComponent implements OnInit { }, { title: '购买方统一社会信用代码', index: 'artotaxno', className: 'text-center', width: '200px' }, { - title: '订单号', index: 'billHCode', className: 'text-center', width: '120px', type: 'link', + title: '订单号', index: 'billHCode', className: 'text-center', width: '180px', 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: 'goodsinfo', className: 'text-center', width: '120px' }, + { title: '价税合计', index: 'vatmoney', className: 'text-center', width: '120px' }, { title: '开票日期', index: 'invoicedate', className: 'text-center', width: '180px' }, - { title: '发票所属月份', index: 'invoicemonth', className: 'text-center', width: '250px' }, - { title: '发票状态', index: 'sts', render: 'sts', className: 'text-center', width: '200px' }, - { title: '上传日期', index: 'uoloadDate', className: 'text-center', width: '200px' }, + { title: '发票所属月份', index: 'invoicemonth', className: 'text-center', width: '140px' }, + { title: '发票状态', index: 'sts', render: 'sts', className: 'text-center', width: '120px' }, + { title: '上传日期', index: 'uoloadDate', className: 'text-center', width: '180px' }, ]; } From 6cb9c468dedb99ed4d96f79c8be99882b609234c Mon Sep 17 00:00:00 2001 From: weiyu Date: Wed, 27 Apr 2022 15:35:22 +0800 Subject: [PATCH 04/12] =?UTF-8?q?=E4=BC=98=E5=8C=96=E8=AE=A2=E5=8D=95?= =?UTF-8?q?=E4=B8=8A=E4=BC=A0&=E9=9A=90=E8=97=8F=E6=8E=A8=E9=80=81?= =?UTF-8?q?=E5=BC=80=E7=A5=A8=E6=8C=89=E9=92=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/order-reporting/order-reporting.component.ts | 2 +- .../routes/tax-management/services/tax-management.service.ts | 2 +- .../cancellation-invoice/cancellation-invoice.component.html | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/app/routes/tax-management/components/order-reporting/order-reporting.component.ts b/src/app/routes/tax-management/components/order-reporting/order-reporting.component.ts index 4477e8e8..fc07ab75 100644 --- a/src/app/routes/tax-management/components/order-reporting/order-reporting.component.ts +++ b/src/app/routes/tax-management/components/order-reporting/order-reporting.component.ts @@ -33,7 +33,7 @@ export class TaxManagementOrderReportingComponent implements OnInit { { name: '异常', value: '2' }, { name: '全部', value: '' } ]; - selectedIndex = ''; //选择的项目 + selectedIndex = '0'; //选择的项目 serviceTel = ''; constructor( public service: TaxManagementService, 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 ee087615..08bd087e 100644 --- a/src/app/routes/tax-management/services/tax-management.service.ts +++ b/src/app/routes/tax-management/services/tax-management.service.ts @@ -42,7 +42,7 @@ export class TaxManagementService extends ShipperBaseService { // 撤回税务订单 $api_get_recessionTaxOrder = `/api/sdc/tax/recessionTaxOrder`; // 上传税务订单 - $api_get_uploadingTaxOrder = `/api/sdc/tax/uploadingTaxOrder`; + $api_get_uploadingTaxOrder = `/api/sdc/taxOrder/orderUploadDJtax`; // 上传税务订单 $api_get_getTaxFieldCheckList = `/api/sdc/taxFieldCheck/getTaxFieldCheckList`; diff --git a/src/app/routes/ticket-management/components/cancellation-invoice/cancellation-invoice.component.html b/src/app/routes/ticket-management/components/cancellation-invoice/cancellation-invoice.component.html index bd28cc3d..e8a60d09 100644 --- a/src/app/routes/ticket-management/components/cancellation-invoice/cancellation-invoice.component.html +++ b/src/app/routes/ticket-management/components/cancellation-invoice/cancellation-invoice.component.html @@ -36,7 +36,7 @@ {{totalCallNo }} 清空 - + + - + - - + + diff --git a/src/app/routes/contract-management/components/index/index.component.ts b/src/app/routes/contract-management/components/index/index.component.ts index dfb5474a..4c42914d 100644 --- a/src/app/routes/contract-management/components/index/index.component.ts +++ b/src/app/routes/contract-management/components/index/index.component.ts @@ -1,5 +1,5 @@ /* - * @Description : + * @Description : * @Version : 1.0 * @Author : Shiming * @Date : 2022-01-07 13:27:10 @@ -10,18 +10,25 @@ */ import { Component, OnInit } from '@angular/core'; +import { ACLService } from '@delon/acl'; import { ModalHelper, _HttpClient } from '@delon/theme'; @Component({ selector: 'app-supply-management-index', - templateUrl: './index.component.html', + templateUrl: './index.component.html' }) export class ContractManagementIndexComponent implements OnInit { selectedIndex = 0; - - constructor(private http: _HttpClient, private modal: ModalHelper) { } - - ngOnInit(): void { } + isShowDetail = false; + isShowFrame = false; + constructor(private http: _HttpClient, private modal: ModalHelper, private acl: ACLService) { + const acls = acl.data.abilities || []; + this.isShowDetail = !!acls.find(acl => acl === 'CONTRACT-INDEX-searchDetail'); + this.isShowFrame = !!acls.find(acl => acl === 'CONTRACT-INDEX-listFrame'); + console.log(this.isShowFrame); + + } + ngOnInit(): void {} } From 2a412159bdd4fa179ff2d0f20f3385d1a72631e5 Mon Sep 17 00:00:00 2001 From: Taric Xin Date: Wed, 27 Apr 2022 18:04:33 +0800 Subject: [PATCH 08/12] edit --- .../components/payment-order/payment-order.component.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/app/routes/financial-management/components/payment-order/payment-order.component.ts b/src/app/routes/financial-management/components/payment-order/payment-order.component.ts index f096e39d..1a49a4e9 100644 --- a/src/app/routes/financial-management/components/payment-order/payment-order.component.ts +++ b/src/app/routes/financial-management/components/payment-order/payment-order.component.ts @@ -224,6 +224,7 @@ export class PaymentOrderComponent extends BasicTableComponent implements OnInit buttons: [ { text: '浏览', + acl: { ability: ['FINANCIAL-PAYMENT-ORDER-view'] }, click: item => this.router.navigate(['/financial-management/payment-order/detail/' + item.id]) } // { From 3063478d6939a73d79dc3c3ea3e6f9ef02ce791a Mon Sep 17 00:00:00 2001 From: wangshiming Date: Wed, 27 Apr 2022 19:15:48 +0800 Subject: [PATCH 09/12] fix bug --- proxy.conf.js | 4 +-- .../list/carauth/carauth.component.ts | 29 +++++++++++++++---- 2 files changed, 26 insertions(+), 7 deletions(-) diff --git a/proxy.conf.js b/proxy.conf.js index 2799a9fa..29173019 100644 --- a/proxy.conf.js +++ b/proxy.conf.js @@ -4,7 +4,7 @@ * @Author : Shiming * @Date : 2022-01-18 09:51:21 * @LastEditors : Shiming - * @LastEditTime : 2022-04-27 11:21:30 + * @LastEditTime : 2022-04-27 17:26:44 * @FilePath : \\tms-obc-web\\proxy.conf.js * Copyright (C) 2022 huzhenhong. All rights reserved. */ @@ -30,7 +30,7 @@ module.exports = { // }, '//api': { target: { - host: 'tms-api-test.eascs.com', + host: 'tms-api-dev.eascs.com', protocol: 'https:', port: 443 }, diff --git a/src/app/routes/vehicle/components/list/carauth/carauth.component.ts b/src/app/routes/vehicle/components/list/carauth/carauth.component.ts index 6494a9c4..d9134c20 100644 --- a/src/app/routes/vehicle/components/list/carauth/carauth.component.ts +++ b/src/app/routes/vehicle/components/list/carauth/carauth.component.ts @@ -26,7 +26,9 @@ export class CarSettleCarauthComponent implements OnInit { companyData: any = {}; detailData: any = {}; carNo = '' - + private titles = ` + 根据监管要求:总质量 4.5 吨及以下普通货 运车辆的,可填车籍地 6 位行政
区域代码
000000。 + ` constructor( private modal: NzModalRef, public service: VehicleService, @@ -184,9 +186,11 @@ export class CarSettleCarauthComponent implements OnInit { carEnergyType: { title: '车辆能源类型', type: 'string', - readOnly: true, ui: { - placeholder:'请输入车辆能源类型' + widget: 'dict-select', + params: { dictKey: 'car:energy:type' }, + placeholder: '请选择车辆能源类型', + containsAllLabel:false, }, }, carLength: { @@ -200,7 +204,7 @@ export class CarSettleCarauthComponent implements OnInit { } as SFSelectWidgetSchema, }, carLoad: { - title: '载重', + title: '核定载质量', type: 'string', maxLength: 6, ui: { @@ -480,6 +484,13 @@ export class CarSettleCarauthComponent implements OnInit { placeholder: '请输入', }, }, + carTotalLoad: { + title: '总质量', + type: 'string', + ui: { + placeholder: '请输入', + }, + }, carOwner: { title: '所有人', type: 'string', @@ -493,6 +504,7 @@ export class CarSettleCarauthComponent implements OnInit { type: 'string', ui: { widget: 'text', + }, default: '照片上传后会自动识别文字并填充下列内容栏', }, @@ -564,6 +576,9 @@ export class CarSettleCarauthComponent implements OnInit { ui: { // widget: this.detailData.commitFlag !== 0 ? 'text' : '', placeholder: '请输入', + optionalHelp: { + i18n: this.titles, + }, }, }, roadTransportLicenceNo: { @@ -610,6 +625,8 @@ export class CarSettleCarauthComponent implements OnInit { 'driverLicenseSigningOrg', 'carDistinguishCode', 'useNature', + 'curbWeight', + 'carTotalLoad', 'carOwner' ], }; @@ -687,9 +704,11 @@ export class CarSettleCarauthComponent implements OnInit { this.sf.setValue('/carOwner', res.name); this.sf.setValue('/useNature', res.useCharacter); this.sf.setValue('/carModel', res?.vehicleType); + this.sf.setValue('/carTotalLoad', res?.grossMass.slice(0, -2) % 1000); } else { - this.sf.setValue('/curbWeight', res.unladenMass); + this.sf.setValue('/curbWeight', res.unladenMass.slice(0, -2) % 1000); + this.sf.setValue('/carLoad', res.approvedLoad.slice(0, -2) % 1000); } if(this.carNo === '') { this.carNo = res.number From 07c60aa3b47fb100db7a0f546a092c6f619e7669 Mon Sep 17 00:00:00 2001 From: wangshiming Date: Wed, 27 Apr 2022 19:17:06 +0800 Subject: [PATCH 10/12] fix bug --- .../routes/vehicle/components/list/carauth/carauth.component.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/app/routes/vehicle/components/list/carauth/carauth.component.ts b/src/app/routes/vehicle/components/list/carauth/carauth.component.ts index d9134c20..5d379653 100644 --- a/src/app/routes/vehicle/components/list/carauth/carauth.component.ts +++ b/src/app/routes/vehicle/components/list/carauth/carauth.component.ts @@ -482,12 +482,14 @@ export class CarSettleCarauthComponent implements OnInit { type: 'string', ui: { placeholder: '请输入', + addOnAfter: '吨', }, }, carTotalLoad: { title: '总质量', type: 'string', ui: { + addOnAfter: '吨', placeholder: '请输入', }, }, From 63175bd00d7d5e77505f7d4bd3ced9d2ab966ee3 Mon Sep 17 00:00:00 2001 From: wangshiming Date: Wed, 27 Apr 2022 19:42:26 +0800 Subject: [PATCH 11/12] fix bug --- .../list/carauth/carauth.component.html | 7 +- .../list/carauth/carauth.component.ts | 315 +++++++++--------- 2 files changed, 165 insertions(+), 157 deletions(-) diff --git a/src/app/routes/vehicle/components/list/carauth/carauth.component.html b/src/app/routes/vehicle/components/list/carauth/carauth.component.html index 9eda46b1..d5804e75 100644 --- a/src/app/routes/vehicle/components/list/carauth/carauth.component.html +++ b/src/app/routes/vehicle/components/list/carauth/carauth.component.html @@ -4,7 +4,7 @@ * @Author : Shiming * @Date : 2022-03-14 14:17:38 * @LastEditors : Shiming - * @LastEditTime : 2022-03-25 16:22:32 + * @LastEditTime : 2022-04-27 19:39:30 * @FilePath : \\tms-obc-web\\src\\app\\routes\\vehicle\\components\\list\\carauth\\carauth.component.html * Copyright (C) 2022 huzhenhong. All rights reserved. --> @@ -38,9 +38,12 @@ +
+
点击查看行政区域代码
+
- +