diff --git a/proxy.conf.js b/proxy.conf.js index 28ccca86..6ca24ab5 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-05-07 10:35:23 + * @LastEditTime : 2022-05-07 14:49:15 * @FilePath : \\tms-obc-web\\proxy.conf.js * Copyright (C) 2022 huzhenhong. All rights reserved. */ diff --git a/src/app/global-config.module.ts b/src/app/global-config.module.ts index faeed3b0..8ffa9a12 100644 --- a/src/app/global-config.module.ts +++ b/src/app/global-config.module.ts @@ -12,6 +12,7 @@ import { environment } from '@env/environment'; const alainConfig: AlainConfig = { st: { + bordered: true, req: { method: 'POST', allInBody: true, reName: { pi: 'pageIndex', ps: 'pageSize' } }, res: { reName: { list: 'data.records', total: 'data.total' } }, page: { show: true, showSize: true, pageSizes: [10, 20, 30, 50, 100, 200, 300, 500, 1000], toTop: false }, diff --git a/src/app/routes/commom/less/commom-table.less b/src/app/routes/commom/less/commom-table.less index 152d7534..43fa7d95 100644 --- a/src/app/routes/commom/less/commom-table.less +++ b/src/app/routes/commom/less/commom-table.less @@ -113,9 +113,13 @@ line-height: 21px; } - .text-truncate { - white-space: normal; - } + // .text-truncate { + // white-space: normal; + // } + // 强制头部居中 + .ant-table-container table>thead>tr>.options { + text-align: center !important; + } } } @@ -138,4 +142,4 @@ } } -.height_box{} \ No newline at end of file +.height_box {} \ No newline at end of file diff --git a/src/app/routes/contract-management/components/contract-template-detail/contract-template-detail.component.ts b/src/app/routes/contract-management/components/contract-template-detail/contract-template-detail.component.ts index f355dec3..2ee737cc 100644 --- a/src/app/routes/contract-management/components/contract-template-detail/contract-template-detail.component.ts +++ b/src/app/routes/contract-management/components/contract-template-detail/contract-template-detail.component.ts @@ -5,7 +5,7 @@ import { OnChanges } from '@angular/core'; * @Author : Shiming * @Date : 2022-01-05 11:01:55 * @LastEditors : Shiming - * @LastEditTime : 2022-04-27 20:19:39 + * @LastEditTime : 2022-05-07 14:28:16 * @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. */ @@ -94,7 +94,8 @@ export class ContractManagementTemplateTextComponent implements OnInit { { label: '订单补充协议', value: '2' }, { label: '运单合同', value: '3' }, { label: '运单补充协议', value: '4' }, - { label: '委托代收合同', value: '5' } + { label: '委托代收合同', value: '5' }, + { label: '权力义务转让协议', value: '10' }, ]; this.sf.getProperty('/contractType')!.schema.enum = this.Types; this.sf.getProperty('/contractType')!.widget.reset(this.Types); @@ -217,7 +218,8 @@ export class ContractManagementTemplateTextComponent implements OnInit { { label: '订单补充协议', value: '2' }, { label: '运单合同', value: '3' }, { label: '运单补充协议', value: '4' }, - { label: '委托代收合同', value: '5' } + { label: '委托代收合同', value: '5' }, + { label: '权力义务转让协议', value: '10' }, ]; setTimeout(() => { if (this.sf) { diff --git a/src/app/routes/contract-management/components/contract-template/contract-template.component.ts b/src/app/routes/contract-management/components/contract-template/contract-template.component.ts index 71f198d2..4b424a00 100644 --- a/src/app/routes/contract-management/components/contract-template/contract-template.component.ts +++ b/src/app/routes/contract-management/components/contract-template/contract-template.component.ts @@ -245,7 +245,7 @@ export class ContractManagementTemplateDetailComponent implements OnInit { this.service.request(this.service.$api_deletebatch_contractTemplate, [value.id]).subscribe(res => { if (res) { this.service.msgSrv.success('删除成功!'); - this.st.reload(1) + this.st.reload() } }) }); diff --git a/src/app/routes/datatable/components/operationtable/operationtable.component.html b/src/app/routes/datatable/components/operationtable/operationtable.component.html index b3587bb0..5d8f4db9 100644 --- a/src/app/routes/datatable/components/operationtable/operationtable.component.html +++ b/src/app/routes/datatable/components/operationtable/operationtable.component.html @@ -45,14 +45,14 @@ - + \ No newline at end of file diff --git a/src/app/routes/datatable/components/operationtable/operationtable.component.ts b/src/app/routes/datatable/components/operationtable/operationtable.component.ts index 15a0571c..aa8b8e33 100644 --- a/src/app/routes/datatable/components/operationtable/operationtable.component.ts +++ b/src/app/routes/datatable/components/operationtable/operationtable.component.ts @@ -73,9 +73,9 @@ export class DatatableOperationtableComponent implements OnInit { } initPillarData(flag?: boolean){ let type = 1 - if(this.mode === 'year') { + if(this.modeNext === 'year') { type = 1 - } else if(this.mode === 'month') { + } else if(this.modeNext === 'month') { type = 2 } const params: any = { @@ -126,7 +126,18 @@ export class DatatableOperationtableComponent implements OnInit { // Can not select days before today and today differenceInCalendarDays(current, this.today) > 0; exportFun() { - + let type = 1 + if(this.mode === 'year') { + type = 1 + } else if(this.mode === 'month') { + type = 2 + } + const params: any = { + time: this.time, + type, + enterpriseInfoId: this.enterpriseInfoId + }; + this.service.exportStart({ ...params, pageSize: -1 }, this.service.$api_asyncExportOperationalReport); } changeCurve(){ @@ -135,9 +146,9 @@ export class DatatableOperationtableComponent implements OnInit { } changeDataNext() { - if(this.mode === 'year') { + if(this.modeNext === 'year') { this.dateFormat = 'yyyy' - } else if(this.mode === 'month') { + } else if(this.modeNext === 'month') { this.dateFormat = 'yyyy-MM' } } @@ -145,9 +156,9 @@ export class DatatableOperationtableComponent implements OnInit { if(result === null) { return } - if(this.mode === 'year') { + if(this.modeNext === 'year') { this.timeNext = [this.datePipe.transform(this.dateNext, 'yyyy') + '-01-01 00:00:00'] - } else if(this.mode === 'month') { + } else if(this.modeNext === 'month') { this.timeNext = [this.datePipe.transform(this.dateNext, 'yyyy-MM') + '-01 00:00:00'] } this.initPillarData(true) diff --git a/src/app/routes/datatable/reporting/components/fund-reporting/fund-reporting.component.less b/src/app/routes/datatable/reporting/components/fund-reporting/fund-reporting.component.less deleted file mode 100644 index 6009fbbf..00000000 --- a/src/app/routes/datatable/reporting/components/fund-reporting/fund-reporting.component.less +++ /dev/null @@ -1,5 +0,0 @@ -:host { - .text-black { - color: #000; - } -} diff --git a/src/app/routes/datatable/reporting/components/fund-reporting/fund-reporting.component.spec.ts b/src/app/routes/datatable/reporting/components/fund-reporting/fund-reporting.component.spec.ts deleted file mode 100644 index fb500388..00000000 --- a/src/app/routes/datatable/reporting/components/fund-reporting/fund-reporting.component.spec.ts +++ /dev/null @@ -1,24 +0,0 @@ -import { waitForAsync, ComponentFixture, TestBed } from '@angular/core/testing'; -import { DatatableFundReportingComponent } from './fund-reporting.component'; - -describe('DatatableFundReportingComponent', () => { - let component: DatatableFundReportingComponent; - let fixture: ComponentFixture; - - beforeEach(waitForAsync(() => { - TestBed.configureTestingModule({ - declarations: [DatatableFundReportingComponent] - }) - .compileComponents(); - })); - - beforeEach(() => { - fixture = TestBed.createComponent(DatatableFundReportingComponent); - component = fixture.componentInstance; - fixture.detectChanges(); - }); - - it('should create', () => { - expect(component).toBeTruthy(); - }); -}); diff --git a/src/app/routes/datatable/services/data.service.ts b/src/app/routes/datatable/services/data.service.ts index adea49fc..ca0bac57 100644 --- a/src/app/routes/datatable/services/data.service.ts +++ b/src/app/routes/datatable/services/data.service.ts @@ -107,6 +107,8 @@ export class DataService extends ShipperBaseService { $api_total_freight = `/api/sdc/reportData/getTotalFreight`; // 附加费总额 $api_total_surcharge = `/api/sdc/reportData/getTotalSurcharge`; + // 运营导出 + $api_asyncExportOperationalReport = `/api/sdc/report/asyncExportOperationalReport`; diff --git a/src/app/routes/menu-manager/components/index/menu-modal/menu-modal.component.ts b/src/app/routes/menu-manager/components/index/menu-modal/menu-modal.component.ts index 2dc63603..d7d39505 100644 --- a/src/app/routes/menu-manager/components/index/menu-modal/menu-modal.component.ts +++ b/src/app/routes/menu-manager/components/index/menu-modal/menu-modal.component.ts @@ -72,6 +72,16 @@ export class MenuModalComponent implements OnInit { widget: 'radio' } }, + reuse: { + title: '是否缓存页面', + type: 'boolean', + default: this.formData.reuse || false, + enum: [true, false], + readOnly: this.isDisabled, + ui: { + widget: 'radio' + } + }, link: { title: '菜单路由', type: 'string', diff --git a/src/app/routes/order-management/components/bulk/bulk.component.ts b/src/app/routes/order-management/components/bulk/bulk.component.ts index 0dd9918b..1bcfb1c8 100644 --- a/src/app/routes/order-management/components/bulk/bulk.component.ts +++ b/src/app/routes/order-management/components/bulk/bulk.component.ts @@ -290,7 +290,7 @@ export class OrderManagementBulkComponent extends BasicTableComponent implements placeholder: '请选择', } }, - enterpriseInfoName: { + enterpriseInfoId: { type: 'string', title: '网络货运人', ui: { diff --git a/src/app/routes/order-management/components/vehicle/vehicle.component.ts b/src/app/routes/order-management/components/vehicle/vehicle.component.ts index 7bec1594..72ca5609 100644 --- a/src/app/routes/order-management/components/vehicle/vehicle.component.ts +++ b/src/app/routes/order-management/components/vehicle/vehicle.component.ts @@ -297,7 +297,7 @@ export class OrderManagementVehicleComponent extends BasicTableComponent impleme placeholder: '请选择' } }, - enterpriseInfoName: { + enterpriseInfoId: { type: 'string', title: '网络货运人', ui: { diff --git a/src/app/routes/partner/level-config/components/list/list.component.ts b/src/app/routes/partner/level-config/components/list/list.component.ts index 637a23ee..12b39be1 100644 --- a/src/app/routes/partner/level-config/components/list/list.component.ts +++ b/src/app/routes/partner/level-config/components/list/list.component.ts @@ -195,6 +195,5 @@ export class ParterLevelConfigListComponent implements OnInit { */ resetSF() { this.sf.reset(); - this.st.load(1); } } diff --git a/src/app/routes/supply-management/components/bulk-publish/bulk-publish.component.html b/src/app/routes/supply-management/components/bulk-publish/bulk-publish.component.html index fc4ad284..7bd237d5 100644 --- a/src/app/routes/supply-management/components/bulk-publish/bulk-publish.component.html +++ b/src/app/routes/supply-management/components/bulk-publish/bulk-publish.component.html @@ -5,179 +5,187 @@ - -
货源单设置
- -
+
+ +
货源单设置
+ +
- -
装卸货信息预计公里数:{{ totalDistance }}km,预计行程耗时:{{ totalTime }}小时
- -
-
-
-
- - 装货地 - -
- - - -
-
-
- - 联系人 -
- - - - - - -
-
-
-
-
-
- -
-
-
-
- - 卸货地 - -
- - - -
-
-
- - 联系人 -
- - - - - - -
-
-
-
+ +
装卸货信息预计公里数:{{ totalDistance }}km,预计行程耗时:{{ totalTime }}小时
- - -
- -
货物信息
-
-
- - - - - - 国家法规及行政命令禁限运货物不能托运 - 《禁运物品说明》 - - - - - - - - - - - - - +
+
+
+
+ + 装货地 + +
+ + + +
+
+
+ + 联系人 +
+
+ + + + + + +
+
+
+
+
+
+
+ +
+
+
+
+ + 卸货地 + +
+ + + +
+
+
+ + 联系人 +
+
+ + + + + + +
+
+
+
+
+
+ +
+ + + +
货物信息
+
+
+ + + - - -
- - - - - - - -

例如 付司机运费 = 重量*单价 = 999.99

-

保留小数,即 999.99

-

抹除小数,即 999.00

-

抹除个位,即 990.00

+ + 国家法规及行政命令禁限运货物不能托运 + 《禁运物品说明》 + + + + + + + + + + + + + -
-
- - - - - - - - - - - - - - - -
-
-
-
- - -
补充信息
-
-
- - -
+ +
-
- -
-
-  天内支付运费 + + + + + + + +

例如 付司机运费 = 重量*单价 = 999.99

+

保留小数,即 999.99

+

抹除小数,即 999.00

+

抹除个位,即 990.00

+
+
+ + + + + + + + + + + + + + + + + +
+
+ + + +
补充信息
+
+
+ + +
+
+
+ +
+
+  天内支付运费 +
-
- - + + +
-
-
- -
- - - - -
-
+ + +
+ + + + +
+
+
\ No newline at end of file diff --git a/src/app/routes/supply-management/components/bulk-publish/bulk-publish.component.less b/src/app/routes/supply-management/components/bulk-publish/bulk-publish.component.less index a2ab5fbc..45705916 100644 --- a/src/app/routes/supply-management/components/bulk-publish/bulk-publish.component.less +++ b/src/app/routes/supply-management/components/bulk-publish/bulk-publish.component.less @@ -11,10 +11,10 @@ .sf3 { .goods_Tips_item { .goods_tips { - width: calc(50% - 45px); + width: calc(50% - 57px); .ant-alert { - padding: 0 0 0 2px; + margin-bottom: 5px; } } @@ -79,3 +79,100 @@ input[type='number']::-webkit-outer-spin-button { margin: 0; -webkit-appearance: none; } + +.custom-style { + ::ng-deep { + .ant-card { + margin-bottom: 0; + } + + .ant-card-body { + padding-bottom: 0; + } + + .ant-card-bordered { + border: 0 none; + } + + .card-title { + display: flex; + align-items: center; + + >span { + margin-left: 8px; + font-size: 14px; + + em { + font-style: normal; + color: #E60012; + } + } + + &::before { + content: ''; + display: inline-block; + width: 2px; + height: 16px; + margin-right: 10px; + background: #E60012; + } + } + + .ant-btn-dangerous { + border-radius: 4px; + color: #CF3834; + border-color: rgba(207, 56, 52, 0.5); + } + + .icon-wrap { + display: flex; + justify-content: center; + height: 100%; + } + + .swap-icon { + background: url('/assets/images/frame.png') no-repeat 50% 50%; + cursor: pointer; + } + + .ant-input-affix-wrapper, + .ant-input, + .ant-picker, + .ant-select-selector, + .ant-input-number-input, + .ant-input-number { + border-radius: 4px ; + } + .ant-input-group-addon { + border-radius: 0 4px 4px 0; + } + .align-center { + .ant-btn { + height: 40px; + padding: 0 23px; + font-size: 16px; + border-radius: 3px; + } + } + .ant-select-arrow { + transform: scaleX(1.5) translateY(2px); + color: rgb(153,153,153); + font-size: 8px; + } + .ant-picker-suffix { + color: #333; + } + .btn-wrap { + margin-top: 20px; + padding-bottom: 20px; + } + .ant-alert { + padding: 6px 16px; + border-radius: 2px; + font-size: 14px; + } + .fc { + color: #f5222d; + } + } +} diff --git a/src/app/routes/supply-management/components/bulk-publish/bulk-publish.component.ts b/src/app/routes/supply-management/components/bulk-publish/bulk-publish.component.ts index 733bddf3..1229c193 100644 --- a/src/app/routes/supply-management/components/bulk-publish/bulk-publish.component.ts +++ b/src/app/routes/supply-management/components/bulk-publish/bulk-publish.component.ts @@ -203,7 +203,7 @@ export class SupplyManagementBulkPublishComponent implements OnInit { this.ui1 = { '*': { spanLabelFixed: 115, - grid: { span: 12 } + grid: { span: 8 } } }; } @@ -223,7 +223,7 @@ export class SupplyManagementBulkPublishComponent implements OnInit { }, goodsTypeId: { type: 'string', - title: '货物名称', + title: '货物类型', ui: { widget: 'select', placeholder: '请选择', @@ -255,7 +255,7 @@ export class SupplyManagementBulkPublishComponent implements OnInit { ui: { widget: 'select', placeholder: '请选择', - errors: { required: '请填写货物名称' }, + errors: { required: '请填写货物类型' }, change: (value: any, data: any) => { this.sf3.setValue('/goodsName', data.label); }, @@ -279,7 +279,7 @@ export class SupplyManagementBulkPublishComponent implements OnInit { title: '', maxLength: 20, ui: { - errors: { required: '请填写货物名称' }, + errors: { required: '请填写货物类型' }, visibleIf: { goodsTypeName: (value: any) => value && value === '其它' }, @@ -293,9 +293,12 @@ export class SupplyManagementBulkPublishComponent implements OnInit { }; this.ui3 = { '*': { - spanLabelFixed: 90, + spanLabelFixed: 115, grid: { span: 12 } }, + $goodsNameId: { + spanLabelFixed: 10 + }, $goodsTips: { grid: { span: 24 } } @@ -406,33 +409,37 @@ export class SupplyManagementBulkPublishComponent implements OnInit { }; this.ui4 = { '*': { - spanLabelFixed: 90, - grid: { span: 24 } + spanLabelFixed: 115, + grid: { span: 12 } }, $freightPrice: { grid: { span: 8 } }, $rule: { + spanLabelFixed: 10, grid: { span: 8 } }, $settlementBasis: { + spanLabelFixed: 10, grid: { span: 8 } }, $weight: { - grid: { lg: 8, md: 12, sm: 12, xs: 24 } + grid: { span: 4 } }, $volume: { - grid: { lg: 8, md: 12, sm: 12, xs: 24 } + spanLabelFixed: 10, + grid: { span: 4 } }, $number: { - grid: { lg: 8, md: 12, sm: 12, xs: 24 } + spanLabelFixed: 10, + grid: { span: 4 } }, $carModel: { - spanLabelFixed: 120, - grid: { span: 8 } + grid: { span: 6 } }, $carLength: { - grid: { span: 8 } + spanLabelFixed: 10, + grid: { span: 6 } } }; } @@ -522,7 +529,7 @@ export class SupplyManagementBulkPublishComponent implements OnInit { ui: { widget: 'textarea', placeholder: '请输入', - autosize: { minRows: 3, maxRows: 3 } + autosize: { minRows: 1, maxRows: 1 } } as SFTextareaWidgetSchema } }, @@ -538,7 +545,10 @@ export class SupplyManagementBulkPublishComponent implements OnInit { }; this.ui7 = { '*': { - spanLabelFixed: 90, + spanLabelFixed: 115, + grid: { span: 8 } + }, + $remarks: { grid: { span: 24 } } }; @@ -1152,7 +1162,7 @@ export class SupplyManagementBulkPublishComponent implements OnInit { this.service.request(this.service.$api_checkGoodsName, name).subscribe(res => { if (res === false) { const modalRef = this.modalService.error({ - nzTitle: '货物名称含有违禁词,请重新输入!', + nzTitle: '货物类型含有违禁词,请重新输入!', }); modalRef.afterClose.subscribe(result => { // this.sf3.setValue('/goodsName1', null); diff --git a/src/app/routes/supply-management/components/bulk-release-publish/bulk-release-publish.component.html b/src/app/routes/supply-management/components/bulk-release-publish/bulk-release-publish.component.html index 20624310..a9b8a94f 100644 --- a/src/app/routes/supply-management/components/bulk-release-publish/bulk-release-publish.component.html +++ b/src/app/routes/supply-management/components/bulk-release-publish/bulk-release-publish.component.html @@ -5,233 +5,182 @@ - -
货源单设置
- - {{ i.value }} - -
+
+ +
货源单设置
+ + {{ i.value }} + +
- -
装卸货信息预计公里数:{{ totalDistance }}km,预计行程耗时:{{ totalTime }}小时
- -
-
-
-
- - 装货地 - -
- - - -
-
-
- - 联系人 -
- - - - - - -
-
-
-
-
-
- -
-
-
-
- - 卸货地 - -
- - - -
-
-
- - 联系人 -
- - - - - - -
-
-
-
+ +
装卸货信息预计公里数:{{ totalDistance }}km,预计行程耗时:{{ totalTime }}小时
- - -
- -
货物信息
-
-
- - - - - - - - - - - - - -
- - - - - - - -

例如 付司机运费 = 重量*单价 = 999.99

-

保留小数,即 999.99

-

抹除小数,即 999.00

-

抹除个位,即 990.00

+
+
+
+
+ + 装货地 + +
+ + + +
+
+
+ + 联系人 +
+
+ + + + + + +
+
+
+ +
+
+
+
+ +
+
+
+
+ + 卸货地 + +
+ + + +
+
+
+ + 联系人 +
+
+ + + + + + +
+
+
+
+
+
+ +
+ + + +
货物信息
+
+
+ + + + + + + + + + + -
- - - - - - - - - - - - - - - - - + + +
+ + + + + + + +

例如 付司机运费 = 重量*单价 = 999.99

+

保留小数,即 999.99

+

抹除小数,即 999.00

+

抹除个位,即 990.00

+
+
+
+ + + + + + + + + + + + + + + + +
-
- + - -
补充信息
-
-
- - -
-
-
- -
-
-  天内支付运费 + +
补充信息
+
+
+ + +
+
+
+ +
+
+  天内支付运费 +
-
- - + + +
-
- + - -
- - - - -
-
+ +
+ + + + +
+
+
\ No newline at end of file diff --git a/src/app/routes/supply-management/components/bulk-release-publish/bulk-release-publish.component.less b/src/app/routes/supply-management/components/bulk-release-publish/bulk-release-publish.component.less index 6abb9df7..01ea397a 100644 --- a/src/app/routes/supply-management/components/bulk-release-publish/bulk-release-publish.component.less +++ b/src/app/routes/supply-management/components/bulk-release-publish/bulk-release-publish.component.less @@ -46,3 +46,100 @@ input[type='number']::-webkit-outer-spin-button { margin: 0; -webkit-appearance: none; } + +.custom-style { + ::ng-deep { + .ant-card { + margin-bottom: 0; + } + + .ant-card-body { + padding-bottom: 0; + } + + .ant-card-bordered { + border: 0 none; + } + + .card-title { + display: flex; + align-items: center; + + >span { + margin-left: 8px; + font-size: 14px; + + em { + font-style: normal; + color: #E60012; + } + } + + &::before { + content: ''; + display: inline-block; + width: 2px; + height: 16px; + margin-right: 10px; + background: #E60012; + } + } + + .ant-btn-dangerous { + border-radius: 4px; + color: #CF3834; + border-color: rgba(207, 56, 52, 0.5); + } + + .icon-wrap { + display: flex; + justify-content: center; + height: 100%; + } + + .swap-icon { + background: url('/assets/images/frame.png') no-repeat 50% 50%; + cursor: pointer; + } + + .ant-input-affix-wrapper, + .ant-input, + .ant-picker, + .ant-select-selector, + .ant-input-number-input, + .ant-input-number { + border-radius: 4px ; + } + .ant-input-group-addon { + border-radius: 0 4px 4px 0; + } + .align-center { + .ant-btn { + height: 40px; + padding: 0 23px; + font-size: 16px; + border-radius: 3px; + } + } + .ant-select-arrow { + transform: scaleX(1.5) translateY(2px); + color: rgb(153,153,153); + font-size: 8px; + } + .ant-picker-suffix { + color: #333; + } + .btn-wrap { + margin-top: 20px; + padding-bottom: 20px; + } + .ant-alert { + padding: 6px 16px; + border-radius: 2px; + font-size: 14px; + } + .fc { + color: #f5222d; + } + } +} diff --git a/src/app/routes/supply-management/components/bulk-release-publish/bulk-release-publish.component.ts b/src/app/routes/supply-management/components/bulk-release-publish/bulk-release-publish.component.ts index 789f2339..655daf5a 100644 --- a/src/app/routes/supply-management/components/bulk-release-publish/bulk-release-publish.component.ts +++ b/src/app/routes/supply-management/components/bulk-release-publish/bulk-release-publish.component.ts @@ -223,11 +223,8 @@ export class SupplyManagementBulkReleasePublishComponent implements OnInit { }; this.ui1 = { '*': { - spanLabelFixed: 110, - grid: { span: 12 } - }, - $enterpriseInfoName: { - grid: { span: 24 } + spanLabelFixed: 115, + grid: { span: 8 } } }; } @@ -303,8 +300,14 @@ export class SupplyManagementBulkReleasePublishComponent implements OnInit { }; this.ui3 = { '*': { - spanLabelFixed: 90, + spanLabelFixed: 115, grid: { span: 12 } + }, + $goodsNameId: { + spanLabelFixed: 10 + }, + $goodsTips: { + grid: { span: 24 } } }; } @@ -411,33 +414,37 @@ export class SupplyManagementBulkReleasePublishComponent implements OnInit { }; this.ui4 = { '*': { - spanLabelFixed: 90, - grid: { span: 24 } + spanLabelFixed: 115, + grid: { span: 12 } }, $freightPrice: { grid: { span: 8 } }, $rule: { + spanLabelFixed: 10, grid: { span: 8 } }, $settlementBasis: { + spanLabelFixed: 10, grid: { span: 8 } }, $weight: { - grid: { lg: 8, md: 12, sm: 12, xs: 24 } + grid: { span: 4 } }, $volume: { - grid: { lg: 8, md: 12, sm: 12, xs: 24 } + spanLabelFixed: 10, + grid: { span: 4 } }, $number: { - grid: { lg: 8, md: 12, sm: 12, xs: 24 } + spanLabelFixed: 10, + grid: { span: 4 } }, $carModel: { - spanLabelFixed: 120, - grid: { span: 8 } + grid: { span: 6 } }, $carLength: { - grid: { span: 8 } + spanLabelFixed: 10, + grid: { span: 6 } } }; } @@ -527,7 +534,7 @@ export class SupplyManagementBulkReleasePublishComponent implements OnInit { ui: { widget: 'textarea', placeholder: '请输入', - autosize: { minRows: 3, maxRows: 3 } + autosize: { minRows: 1, maxRows: 1 } } as SFTextareaWidgetSchema } }, @@ -535,7 +542,10 @@ export class SupplyManagementBulkReleasePublishComponent implements OnInit { }; this.ui6 = { '*': { - spanLabelFixed: 90, + spanLabelFixed: 115, + grid: { span: 8 } + }, + $remarks: { grid: { span: 24 } } }; diff --git a/src/app/routes/supply-management/components/onecar-publish/onecar-publish.component.html b/src/app/routes/supply-management/components/onecar-publish/onecar-publish.component.html index 73a34d9a..41bf1dcf 100644 --- a/src/app/routes/supply-management/components/onecar-publish/onecar-publish.component.html +++ b/src/app/routes/supply-management/components/onecar-publish/onecar-publish.component.html @@ -5,264 +5,271 @@
- -
货源单设置
- -
+
+ +
货源单设置
+ +
- -
装卸货信息预计公里数:{{ totalDistance }}km,预计行程耗时:{{ totalTime }}小时
+ +
装卸货信息预计公里数:{{ totalDistance }}km,预计行程耗时:{{ totalTime }}小时 +
-
-
-
-
- - 装货地 - -
- - - - - + +
+
+
+ + 装货地 + +
+ + + + + +
+
+
+ + 联系人 +
+
+ + + + + + +
+
+
+
+
+
+ +
+
+
+
+
+ +
+
+
+
+ + 卸货地 + +
+ + + + + +
+
+
+ + 联系人 +
+
+ + + + + + +
+
+
+
+
+
+
+ +
+
+
+
+
+
+ + 装货时间 + + +
+
+
- 联系人 -
- - - - - - -
-
-
-
-
-
- -
-
-
-
-
- -
-
-
-
- - 卸货地 - -
- - - - - -
+ 卸货时间 + +
- - 联系人 -
- - - - - - -
-
-
-
-
-
- -
-
-
-
- - 装货时间 - - - - -
-
-
- - 卸货时间 - - - - + + + + + +
货物信息
+
+
+ + + + + + 国家法规及行政命令禁限运货物不能托运 + 《禁运物品说明》 + + +
- - -
+ + + + + + + + + + + + + + + + + +
+ + +
+
+
+ - -
货物信息
-
-
- - - - - - 国家法规及行政命令禁限运货物不能托运 - 《禁运物品说明》 - - - -
-
- - - - - - - - - - - - - - - - - -
- - + +
服务信息
+
+
+ + +  货源曝光率 +10   +  车源匹配率 +10 + + +  货源曝光率 +20   +  车源匹配率 +20 + + + + + + + + ①香港、澳门、台湾、西藏、新疆不予承保,②单次运输保额仅限200万元以内,③保险详细内容及注意事项请见《保险告知函》 +
- - - - - -
服务信息
-
-
- - -  货源曝光率 +10   -  车源匹配率 +10 - - -  货源曝光率 +20   -  车源匹配率 +20 - - - - - - - - ①香港、澳门、台湾、西藏、新疆不予承保,②单次运输保额仅限200万元以内,③保险详细内容及注意事项请见《保险告知函》 -
-
-
+ - -
补充信息
-
-
- + +
补充信息
+
+
+ +
-
- + - -
运费信息
-
-
- - - - - - - - - - - - - - {{ i.value | currency }} - {{ i.value | currency }}(费率:{{ currentRate | number: - '0.2-4' }}%) - {{ i.value | currency }} - -
-
- + +
运费信息
+
+
+ + + + + + + + + + + + + + {{ i.value | currency }} + {{ i.value | currency }}(费率:{{ currentRate | number: + '0.2-4' }}%) + {{ i.value | currency }} + +
+
+ +
+
+  天内支付运费 +
-
-  天内支付运费 -
-
- - + + +
-
- - -
- - - - -
-
+ + +
+ + + + +
+
+
\ No newline at end of file diff --git a/src/app/routes/supply-management/components/onecar-publish/onecar-publish.component.less b/src/app/routes/supply-management/components/onecar-publish/onecar-publish.component.less index a445eacf..5376d908 100644 --- a/src/app/routes/supply-management/components/onecar-publish/onecar-publish.component.less +++ b/src/app/routes/supply-management/components/onecar-publish/onecar-publish.component.less @@ -5,16 +5,16 @@ } nz-date-picker { - width: 94.3%; + width: 100%; } .sf3 { .goods_Tips_item { .goods_tips { - width: calc(50% - 45px); + width: calc(50% - 57px); .ant-alert { - padding: 0 0 0 2px; + margin-bottom: 5px; } } @@ -84,3 +84,99 @@ input[type='number']::-webkit-outer-spin-button { margin-left: 10px; color: aqua; } +.custom-style { + ::ng-deep { + .ant-card { + margin-bottom: 0; + } + + .ant-card-body { + padding-bottom: 0; + } + + .ant-card-bordered { + border: 0 none; + } + + .card-title { + display: flex; + align-items: center; + + >span { + margin-left: 8px; + font-size: 14px; + + em { + font-style: normal; + color: #E60012; + } + } + + &::before { + content: ''; + display: inline-block; + width: 2px; + height: 16px; + margin-right: 10px; + background: #E60012; + } + } + + .ant-btn-dangerous { + border-radius: 4px; + color: #CF3834; + border-color: rgba(207, 56, 52, 0.5); + } + + .icon-wrap { + display: flex; + justify-content: center; + height: 100%; + } + + .swap-icon { + background: url('/assets/images/frame.png') no-repeat 50% 50%; + cursor: pointer; + } + + .ant-input-affix-wrapper, + .ant-input, + .ant-picker, + .ant-select-selector, + .ant-input-number-input, + .ant-input-number { + border-radius: 4px ; + } + .ant-input-group-addon { + border-radius: 0 4px 4px 0; + } + .align-center { + .ant-btn { + height: 40px; + padding: 0 23px; + font-size: 16px; + border-radius: 3px; + } + } + .ant-select-arrow { + transform: scaleX(1.5) translateY(2px); + color: rgb(153,153,153); + font-size: 8px; + } + .ant-picker-suffix { + color: #333; + } + .btn-wrap { + margin-top: 20px; + padding-bottom: 20px; + } + .ant-alert { + padding: 6px 16px; + border-radius: 2px; + font-size: 14px; + } + .fc { + color: #f5222d; + } + } +} \ No newline at end of file diff --git a/src/app/routes/supply-management/components/onecar-publish/onecar-publish.component.ts b/src/app/routes/supply-management/components/onecar-publish/onecar-publish.component.ts index b99d9d75..9efffd38 100644 --- a/src/app/routes/supply-management/components/onecar-publish/onecar-publish.component.ts +++ b/src/app/routes/supply-management/components/onecar-publish/onecar-publish.component.ts @@ -246,16 +246,10 @@ export class SupplyManagementOnecarPublishComponent implements OnInit { this.ui1 = { '*': { spanLabelFixed: 115, - grid: { span: 12 } + grid: { span: 8 } }, $enterpriseInfoName: { - grid: { span: 12 } - }, - $shipperAppUserId: { - grid: { span: 12 } - }, - $enterpriseProjectId: { - grid: { span: 12 } + grid: { span: 8 } } }; } @@ -275,7 +269,7 @@ export class SupplyManagementOnecarPublishComponent implements OnInit { }, goodsTypeId: { type: 'string', - title: '货物名称', + title: '货物类型', ui: { widget: 'select', placeholder: '请选择', @@ -307,7 +301,7 @@ export class SupplyManagementOnecarPublishComponent implements OnInit { ui: { widget: 'select', placeholder: '请选择', - errors: { required: '请填写货物名称' }, + errors: { required: '请填写货物类型' }, change: (_value: any, data: any) => { this.sf3.setValue('/goodsName', data.label); }, @@ -331,7 +325,7 @@ export class SupplyManagementOnecarPublishComponent implements OnInit { title: '', maxLength: 20, ui: { - errors: { required: '请填写货物名称' }, + errors: { required: '请填写货物类型' }, visibleIf: { goodsTypeName: (value: any) => value && value === '其它' }, @@ -345,9 +339,12 @@ export class SupplyManagementOnecarPublishComponent implements OnInit { }; this.ui3 = { '*': { - spanLabelFixed: 90, + spanLabelFixed: 115, grid: { span: 12 } }, + $goodsNameId: { + spanLabelFixed: 10 + }, $goodsTips: { grid: { span: 24 } } @@ -416,14 +413,14 @@ export class SupplyManagementOnecarPublishComponent implements OnInit { } } }, - hidenField: { - type: 'string', - title: '', - default: ' ', - ui: { - widget: 'text' - } - }, + // hidenField: { + // type: 'string', + // title: '', + // default: ' ', + // ui: { + // widget: 'text' + // } + // }, insurancePackagedGoods: { type: 'string', title: '货物包装', @@ -460,7 +457,25 @@ export class SupplyManagementOnecarPublishComponent implements OnInit { this.ui4 = { '*': { spanLabelFixed: 115, - grid: { span: 8 } + grid: { span: 12 } + }, + $weight: { + grid: { span: 4 } + }, + $volume: { + spanLabelFixed: 10, + grid: { span: 4 } + }, + $number: { + spanLabelFixed: 10, + grid: { span: 4 } + }, + $carModel: { + grid: { span: 6 } + }, + $carLength: { + spanLabelFixed: 10, + grid: { span: 6 } } }; } @@ -545,16 +560,16 @@ export class SupplyManagementOnecarPublishComponent implements OnInit { this.ui5 = { '*': { spanLabelFixed: 115, - grid: { span: 12 } + grid: { span: 8 } }, $type1: { - grid: { span: 24 } + grid: { span: 8 } }, $type2: { - grid: { span: 24 } + grid: { span: 8 } }, $freeInsurance1: { - grid: { span: 24 } + grid: { span: 24} }, $freeInsurance2: { grid: { span: 24 } @@ -656,7 +671,7 @@ export class SupplyManagementOnecarPublishComponent implements OnInit { ui: { widget: 'textarea', placeholder: '请输入', - autosize: { minRows: 3, maxRows: 3 } + autosize: { minRows: 1, maxRows: 1 } } as SFTextareaWidgetSchema } }, @@ -664,7 +679,10 @@ export class SupplyManagementOnecarPublishComponent implements OnInit { }; this.ui6 = { '*': { - spanLabelFixed: 90, + spanLabelFixed: 125, + grid: { span: 8 } + }, + $remarks: { grid: { span: 24 } } }; @@ -705,6 +723,9 @@ export class SupplyManagementOnecarPublishComponent implements OnInit { this.ui7 = { '*': { spanLabelFixed: 115, + grid: { span: 8 } + }, + $paymentDays: { grid: { span: 24 } } }; @@ -1489,7 +1510,7 @@ export class SupplyManagementOnecarPublishComponent implements OnInit { this.service.request(this.service.$api_checkGoodsName, name).subscribe(res => { if (res === false) { const modalRef = this.modalService.error({ - nzTitle: '货物名称含有违禁词,请重新输入!', + nzTitle: '货物类型含有违禁词,请重新输入!', }); modalRef.afterClose.subscribe(result => { // this.sf3.setValue('/goodsName1', null); diff --git a/src/app/routes/supply-management/components/release-publish/release-publish.component.html b/src/app/routes/supply-management/components/release-publish/release-publish.component.html index efdb686f..f1c553d4 100644 --- a/src/app/routes/supply-management/components/release-publish/release-publish.component.html +++ b/src/app/routes/supply-management/components/release-publish/release-publish.component.html @@ -5,261 +5,265 @@ - -
货源单设置
- - {{ i.value }} - -
+
+ +
货源单设置
+ + {{ i.value }} + +
- -
装卸货信息预计公里数:{{ totalDistance }}km,预计行程耗时:{{ totalTime }}小时
+ +
装卸货信息预计公里数:{{ totalDistance }}km,预计行程耗时:{{ totalTime + }}小时 +
-
-
-
-
- - 装货地 - -
- - - - - + +
+
+
+ + 装货地 + +
+ + + + + +
+
+
+ + 联系人 +
+
+ + + + + + +
- -
- - 联系人 -
- - - - - - -
-
-
-
-
-
-
+
+
+
-
-
-
- +
+
+ +
-
-
-
- - 卸货地 - -
- - - - - +
+
+ + 卸货地 + +
+ + + + + +
+
+
+ + 联系人 +
+
+ + + + + + +
- -
- - 联系人 -
- - - - - - -
-
-
-
-
-
-
+
+
+
-
-
-
- - 装货时间 - - - - +
+
+ + 装货时间 + + + + +
+
+
+ + 卸货时间 + + + + +
-
-
- - 卸货时间 - - - - + + + + + +
货物信息
+
+
+ + + + + + 国家法规及行政命令禁限运货物不能托运 + 《禁运物品说明》 + + +
- - -
+ + + + + + + + + + + + + + + + + +
+ + +
+
+
+ - -
货物信息
-
-
- - - - - - 国家法规及行政命令禁限运货物不能托运 - 《禁运物品说明》 - - - -
-
- - - - - - - - - - - - - - - - - -
- - + +
服务信息
+
+
+ + +  货源曝光率 +10   +  车源匹配率 +10 + + +  货源曝光率 +20   +  车源匹配率 +20 + + + + + + + + ①香港、澳门、台湾、西藏、新疆不予承保,②单次运输保额仅限200万元以内,③保险详细内容及注意事项请见《保险告知函》 +
- - - - - -
服务信息
-
-
- - -  货源曝光率 +10   -  车源匹配率 +10 - - -  货源曝光率 +20   -  车源匹配率 +20 - - - - - - - - ①香港、澳门、台湾、西藏、新疆不予承保,②单次运输保额仅限200万元以内,③保险详细内容及注意事项请见《保险告知函》 -
-
-
- -
补充信息
-
-
- - + + +
补充信息
+
+
+ + +
-
- + - -
运费信息
-
-
- - - - - - - - - - - - - - {{ i.value | currency }} - {{ i.value | currency }}(费率:{{ currentRate | number: - '0.2-4' }}%) - {{ i.value | currency }} - -
-
- + +
运费信息
+
+
+ + + + + + + + + + + + + + {{ i.value | currency }} + {{ i.value | currency }}(费率:{{ currentRate | number: + '0.2-4' }}%) + {{ i.value | currency }} + +
+
+ +
+
+  天内支付运费 +
-
-  天内支付运费 -
-
- - + + +
-
- - -
- - -
-
+ + +
+ + +
+
+
\ No newline at end of file diff --git a/src/app/routes/supply-management/components/release-publish/release-publish.component.less b/src/app/routes/supply-management/components/release-publish/release-publish.component.less index b34cbcc9..acb1655a 100644 --- a/src/app/routes/supply-management/components/release-publish/release-publish.component.less +++ b/src/app/routes/supply-management/components/release-publish/release-publish.component.less @@ -5,16 +5,16 @@ } nz-date-picker { - width: 94.3%; + width: 100%; } .sf3 { .goods_Tips_item { .goods_tips { - width: calc(50% - 45px); + width: calc(50% - 57px); .ant-alert { - padding: 0 0 0 2px; + margin-bottom: 5px; } } @@ -78,3 +78,100 @@ input[type='number']::-webkit-outer-spin-button { margin: 0; -webkit-appearance: none; } + +.custom-style { + ::ng-deep { + .ant-card { + margin-bottom: 0; + } + + .ant-card-body { + padding-bottom: 0; + } + + .ant-card-bordered { + border: 0 none; + } + + .card-title { + display: flex; + align-items: center; + + >span { + margin-left: 8px; + font-size: 14px; + + em { + font-style: normal; + color: #E60012; + } + } + + &::before { + content: ''; + display: inline-block; + width: 2px; + height: 16px; + margin-right: 10px; + background: #E60012; + } + } + + .ant-btn-dangerous { + border-radius: 4px; + color: #CF3834; + border-color: rgba(207, 56, 52, 0.5); + } + + .icon-wrap { + display: flex; + justify-content: center; + height: 100%; + } + + .swap-icon { + background: url('/assets/images/frame.png') no-repeat 50% 50%; + cursor: pointer; + } + + .ant-input-affix-wrapper, + .ant-input, + .ant-picker, + .ant-select-selector, + .ant-input-number-input, + .ant-input-number { + border-radius: 4px ; + } + .ant-input-group-addon { + border-radius: 0 4px 4px 0; + } + .align-center { + .ant-btn { + height: 40px; + padding: 0 23px; + font-size: 16px; + border-radius: 3px; + } + } + .ant-select-arrow { + transform: scaleX(1.5) translateY(2px); + color: rgb(153,153,153); + font-size: 8px; + } + .ant-picker-suffix { + color: #333; + } + .btn-wrap { + margin-top: 20px; + padding-bottom: 20px; + } + .ant-alert { + padding: 6px 16px; + border-radius: 2px; + font-size: 14px; + } + .fc { + color: #f5222d; + } + } +} \ No newline at end of file diff --git a/src/app/routes/supply-management/components/release-publish/release-publish.component.ts b/src/app/routes/supply-management/components/release-publish/release-publish.component.ts index b17688c4..a457bfcd 100644 --- a/src/app/routes/supply-management/components/release-publish/release-publish.component.ts +++ b/src/app/routes/supply-management/components/release-publish/release-publish.component.ts @@ -227,19 +227,19 @@ export class SupplyManagementReleasePublishComponent implements OnInit { this.ui1 = { '*': { spanLabelFixed: 115, - grid: { span: 12 } + grid: { span: 8 } }, $enterpriseInfoName: { - grid: { span: 12 } + grid: { span: 8 } }, $shipperAppUserId: { - grid: { span: 12 } + grid: { span: 8 } }, $enterpriseProjectId: { - grid: { span: 12 } + grid: { span: 8 } }, $dispatchId: { - grid: { span: 12 } + grid: { span: 8 } } }; } @@ -259,11 +259,11 @@ export class SupplyManagementReleasePublishComponent implements OnInit { }, goodsTypeId: { type: 'string', - title: '货物名称', + title: '货物类型', ui: { widget: 'select', placeholder: '请选择', - errors: { required: '请选择货物名称' }, + errors: { required: '请选择货物类型' }, asyncData: () => this.shipperSrv.loadConfigByKey('goods.name.config.type').pipe( map((data: any) => { @@ -291,7 +291,7 @@ export class SupplyManagementReleasePublishComponent implements OnInit { ui: { widget: 'select', placeholder: '请选择', - errors: { required: '请填写货物名称' }, + errors: { required: '请填写货物类型' }, change: (value: any, data: any) => { this.sf3.setValue('/goodsName', data.label); }, @@ -315,7 +315,7 @@ export class SupplyManagementReleasePublishComponent implements OnInit { title: '', maxLength: 20, ui: { - errors: { required: '请填写货物名称' }, + errors: { required: '请填写货物类型' }, visibleIf: { goodsTypeName: (value: any) => value && value === '其它' }, @@ -332,6 +332,9 @@ export class SupplyManagementReleasePublishComponent implements OnInit { spanLabelFixed: 115, grid: { span: 12 } }, + $goodsNameId: { + spanLabelFixed: 10 + }, $goodsTips: { grid: { span: 24 } } @@ -400,14 +403,14 @@ export class SupplyManagementReleasePublishComponent implements OnInit { } } }, - hidenField: { - type: 'string', - title: '', - default: ' ', - ui: { - widget: 'text' - } - }, + // hidenField: { + // type: 'string', + // title: '', + // default: ' ', + // ui: { + // widget: 'text' + // } + // }, insurancePackagedGoods: { type: 'string', title: '货物包装', @@ -444,7 +447,25 @@ export class SupplyManagementReleasePublishComponent implements OnInit { this.ui4 = { '*': { spanLabelFixed: 115, - grid: { span: 8 } + grid: { span: 12 } + }, + $weight: { + grid: { span: 4 } + }, + $volume: { + spanLabelFixed: 10, + grid: { span: 4 } + }, + $number: { + spanLabelFixed: 10, + grid: { span: 4 } + }, + $carModel: { + grid: { span: 6 } + }, + $carLength: { + spanLabelFixed: 10, + grid: { span: 6 } } }; } @@ -528,16 +549,16 @@ export class SupplyManagementReleasePublishComponent implements OnInit { this.ui5 = { '*': { spanLabelFixed: 115, - grid: { span: 12 } + grid: { span: 8 } }, $type1: { - grid: { span: 24 } + grid: { span: 8 } }, $type2: { - grid: { span: 24 } + grid: { span: 8 } }, $freeInsurance1: { - grid: { span: 24 } + grid: { span: 24} }, $freeInsurance2: { grid: { span: 24 } @@ -626,7 +647,7 @@ export class SupplyManagementReleasePublishComponent implements OnInit { ui: { widget: 'textarea', placeholder: '请输入', - autosize: { minRows: 3, maxRows: 3 } + autosize: { minRows: 1, maxRows: 1 } } as SFTextareaWidgetSchema } }, @@ -634,7 +655,10 @@ export class SupplyManagementReleasePublishComponent implements OnInit { }; this.ui6 = { '*': { - spanLabelFixed: 90, + spanLabelFixed: 125, + grid: { span: 8 } + }, + $remarks: { grid: { span: 24 } } }; @@ -675,6 +699,9 @@ export class SupplyManagementReleasePublishComponent implements OnInit { this.ui7 = { '*': { spanLabelFixed: 115, + grid: { span: 8 } + }, + $paymentDays: { grid: { span: 24 } } }; @@ -1267,7 +1294,7 @@ export class SupplyManagementReleasePublishComponent implements OnInit { this.service.request(this.service.$api_checkGoodsName, name).subscribe(res => { if (res === false) { const modalRef = this.modalService.error({ - nzTitle: '货物名称含有违禁词,请重新输入!', + nzTitle: '货物类型含有违禁词,请重新输入!', }); modalRef.afterClose.subscribe(result => { // this.sf3.setValue('/goodsName1', null); diff --git a/src/app/routes/ticket-management/components/billing-order/billing-order.component.html b/src/app/routes/ticket-management/components/billing-order/billing-order.component.html index dbe91bcd..f23247bb 100644 --- a/src/app/routes/ticket-management/components/billing-order/billing-order.component.html +++ b/src/app/routes/ticket-management/components/billing-order/billing-order.component.html @@ -31,15 +31,7 @@
- - 待受理 - 处理中 - 已完成 - 已拒绝 - 已撤销 - 已作废 - + [loading]="false" [scroll]="{ x:'1200px' }"> {{item.billTypeLabel + item.serviceTypeLabel}} 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 e60d7803..a5c0d856 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 @@ -246,7 +246,7 @@ export class BillingOrderComponent extends BasicTableComponent { { 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: 120 }, + { title: '开票状态', index: 'stsLabel', 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: '200px', className: 'text-center' }, diff --git a/src/app/routes/usercenter/components/freight/list/list.component.html b/src/app/routes/usercenter/components/freight/list/list.component.html index 018efd10..afdba959 100644 --- a/src/app/routes/usercenter/components/freight/list/list.component.html +++ b/src/app/routes/usercenter/components/freight/list/list.component.html @@ -26,24 +26,32 @@
-
- +
+
+ + +
+
    +
  • + 高级筛选 +
  • 新增企业
  • - +
@@ -52,8 +60,7 @@ - -
+ @@ -68,16 +75,35 @@ - {{ item.contacter }}
/{{item.mobile}} +

+ {{ item.contacter }} +

+
+ +

+ {{ item.customerServiceIdLabel }} +

- {{ item.partnerName }}
/{{item.partnerMobile}} +

+ {{ item.partnerName }} +

- {{ item.channelName }}
{{ item.channelMobile }} +

+ {{ item.channelName }} +

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 2d8995c3..bbea8955 100644 --- a/src/app/routes/usercenter/components/freight/list/list.component.ts +++ b/src/app/routes/usercenter/components/freight/list/list.component.ts @@ -1,7 +1,7 @@ import { Component, OnInit, ViewChild } from '@angular/core'; import { ActivatedRoute, Router } from '@angular/router'; -import { STChange, STColumn, STColumnBadge, STComponent, STData, STRequestOptions } from '@delon/abc/st'; -import { SFComponent, SFDateWidgetSchema, SFSchema, SFUISchema } from '@delon/form'; +import { STColumn, STComponent, STData, STRequestOptions } from '@delon/abc/st'; +import { SFDateWidgetSchema } from '@delon/form'; import { DynamicSettingModalComponent, SearchDrawerService, ShipperBaseService } from '@shared'; import { NzModalService } from 'ng-zorro-antd/modal'; import { BasicTableComponent } from 'src/app/routes/commom'; @@ -24,6 +24,9 @@ export class FreightComponentsListComponent extends BasicTableComponent implemen promotersTelephone = ''; loadingList = true; + + sfValue = { enterpriseName: '', contactName: '' }; + constructor( public service: UsermanageService, private modal: NzModalService, @@ -195,12 +198,6 @@ export class FreightComponentsListComponent extends BasicTableComponent implemen initSF() { this.schema = { properties: { - expand: { - type: 'boolean', - ui: { - hidden: true - } - }, enterpriseName: { title: '企业名称', type: 'string', @@ -340,7 +337,7 @@ export class FreightComponentsListComponent extends BasicTableComponent implemen { label: '全部', value: '' }, { label: '货主注册', value: 1 }, { label: '平台添加', value: 2 }, - { label: '数据迁移', value: 4 }, + { label: '数据迁移', value: 4 } ], default: '', ui: { @@ -377,24 +374,31 @@ export class FreightComponentsListComponent extends BasicTableComponent implemen initST() { this.columns = [ { title: '', type: 'checkbox', className: 'text-center' }, - { title: '企业名称', render: 'enterpriseName', width: 350 }, - { title: '统一社会信用代码', className: 'text-center', render: 'unifiedSocialCreditCode', width: 200 }, + { + title: '企业名称', + index: 'enterpriseName', + width: 250, + type: 'link', + click: item => this.router.navigate(['./detail', item.id], { relativeTo: this.ar }) + }, + { title: '企业评分', className: 'text-center', render: 'score', width: 160 }, { title: '公司所在地', - className: 'text-center', index: 'province', width: 200, format: item => `${item.provinceName}${item.cityName}${item.areaName}` }, + { title: '管理员', render: 'contacter', width: 150 }, + { title: '统一社会信用代码', className: 'text-center', render: 'unifiedSocialCreditCode', width: 200 }, { title: '企业类型', className: 'text-center', index: 'enterpriseType', - width: 200, + width: 160, type: 'enum', enum: { 1: '物流企业', 2: '货运代理', 3: '生产型企业', 4: '贸易类企业', 5: '科技型企业', 6: '化学化工企业', 7: '其他' } }, - { title: '管理员', className: 'text-center', render: 'contacter', width: 150 }, + { title: '常用服务', className: 'text-center', @@ -405,14 +409,14 @@ export class FreightComponentsListComponent extends BasicTableComponent implemen }, { title: '渠道销售', className: 'text-center', render: 'promotersTelephone', width: 150 }, { title: '合伙人', className: 'text-center', render: 'partnerName', width: 150 }, - { title: '客服人员', className: 'text-center', index: 'customerServiceIdLabel', width: 150 }, + { title: '客服人员', className: 'text-center', render: 'customerServiceIdLabel', width: 150 }, { title: '网络货运人', className: 'text-center', index: 'netTranName', width: 180 }, { title: '注册渠道', className: 'text-center', index: 'source', type: 'enum', - enum: { 1: '货主注册', 2: '平台添加', 3: '运营添加', 4: '数据迁移' }, + enum: { 1: '货主注册', 2: '平台添加', 3: '运营添加', 4: '数据迁移' }, width: 130 }, { title: '申请时间', className: 'text-center', index: 'createTime', width: 180, type: 'date' }, @@ -442,40 +446,41 @@ export class FreightComponentsListComponent extends BasicTableComponent implemen }, { title: '操作', - width: '200px', - className: 'text-center block-td', + width: '220px', + className: 'text-left options', fixed: 'right', buttons: [ - { - text: '查看', - acl: { ability: ['USERCENTER-FREIGHT-LIST-view'] }, - click: item => { - this.router.navigate(['./detail', item.id], { relativeTo: this.ar }); - // this.router.navigate(['./view', item.id], { relativeTo: this.ar, queryParams: { tenantId: item.tenantId } }); - } - }, + // { + // text: '查看', + // acl: { ability: ['USERCENTER-FREIGHT-LIST-view'] }, + // click: item => { + // this.router.navigate(['./detail', item.id], { relativeTo: this.ar }); + // // this.router.navigate(['./view', item.id], { relativeTo: this.ar, queryParams: { tenantId: item.tenantId } }); + // } + // }, // { // acl: { ability: ['USERCENTER-FREIGHT-LIST-basicSetting'] }, // text: '基础设置', // click: item => this.settingAction(item) // }, + { type: 'divider' }, { acl: { ability: ['USERCENTER-FREIGHT-LIST-balance'] }, text: '资金账户', click: item => this.showAccountDetail(item) }, { - text: '分配客服人员', + text: '分配客服
', click: item => this.showService(item) }, - // { - // text: '修改合伙人', - // click: item => this.editPartner(item) - // }, - // { - // text: '修改渠道销售', - // click: item => this.editSale(item) - // } + { + text: '修改合伙人', + click: item => this.editPartner(item) + }, + { + text: '修改渠道销售', + click: item => this.editSale(item) + } ] } ]; 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 40eb67d3..ed2c48e9 100644 --- a/src/app/routes/vehicle/components/audit/detail/detail.component.html +++ b/src/app/routes/vehicle/components/audit/detail/detail.component.html @@ -70,7 +70,23 @@
- 车辆基础信息 +

+ 车辆基础信息 + + +

@@ -147,7 +163,23 @@
- 行驶证信息 +

+ 行驶证信息 + + +

@@ -243,7 +275,15 @@

道路运输证信息