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 a8bd869b..0a546e3b 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
@@ -3,6 +3,7 @@ import { FormBuilder, FormControl, FormGroup, Validators } from '@angular/forms'
import { ActivatedRoute, Router } from '@angular/router';
import { cacheConf } from '@conf/cache.conf';
import {
+ SFCheckboxWidgetSchema,
SFComponent,
SFNumberWidgetSchema,
SFSchema,
@@ -37,6 +38,7 @@ export class SupplyManagementReleasePublishComponent implements OnInit {
sf3data: any; // 货源单设置回显
sf4data: any; // 货源单设置回显
sf5data: any; // 货源单设置回显
+ sf55data: any; // 货源单设置回显
sf6data: any; // 货源单设置回显
sf7data: any; // 货源单设置回显
id = '';
@@ -86,6 +88,10 @@ export class SupplyManagementReleasePublishComponent implements OnInit {
@ViewChild('sf5', { static: false }) sf5!: SFComponent;
schema5: SFSchema = {};
ui5!: SFUISchema;
+
+ @ViewChild('sf55', { static: false }) sf55!: SFComponent;
+ schema55: SFSchema = {};
+ ui55!: SFUISchema;
@ViewChild('sf6', { static: false }) sf6!: SFComponent;
schema6: SFSchema = {};
@@ -100,6 +106,7 @@ export class SupplyManagementReleasePublishComponent implements OnInit {
this.initSF3();
this.initSF4();
this.initSF5();
+ this.initSF55();
this.initSF6();
this.initSF7();
this.addStartInfo();
@@ -400,6 +407,56 @@ export class SupplyManagementReleasePublishComponent implements OnInit {
}
};
}
+ initSF55() {
+ this.schema55 = {
+ properties: {
+ insuranceType: {
+ type: 'string',
+ title: '增值服务套餐',
+ enum: [
+ { label: '不购买', value: '0' },
+ { label: '套餐一', value: '1' },
+ { label: '套餐二', value: '2' }
+ ],
+ ui: {
+ widget: 'select'
+ },
+ default:'0'
+ },
+ type1: {
+ type: 'string',
+ title: '',
+ enum: ['车辆实时定位', '轨迹查询', '数据保护','赠送基本险'],
+ readOnly: true,
+ ui: {
+ widget: 'checkbox',
+ visibleIf: {insuranceType: (value: string) => value ==='1'},
+ } as SFCheckboxWidgetSchema,
+ default: ['车辆实时定位', '轨迹查询', '数据保护','赠送基本险'],
+ },
+ type2: {
+ type: 'string',
+ title: '',
+ enum: ['车辆实时定位', '轨迹查询', '数据保护','专属技术服务','赠送综合险'],
+ readOnly: true,
+ ui: {
+ widget: 'checkbox',
+ visibleIf: {insuranceType: (value: string) => value ==='2'},
+ } as SFCheckboxWidgetSchema,
+ default: ['车辆实时定位', '轨迹查询', '数据保护','专属技术服务','赠送综合险'],
+ }
+ }
+ };
+ this.ui55 = {
+ '*': {
+ spanLabelFixed: 100,
+ grid: { span: 24 }
+ },
+ $insuranceType: {
+ grid: { span: 12 }
+ }
+ };
+ }
initSF6() {
this.schema6 = {
properties: {
@@ -755,7 +812,8 @@ export class SupplyManagementReleasePublishComponent implements OnInit {
...this.sf5.value,
...this.sf6.value,
expenseDTOList: expenseList,
- paymentDays: this.sf7.value.paymentDays
+ paymentDays: this.sf7.value.paymentDays,
+ insuranceType:this.sf55.value.insuranceType,
};
let reqUrl = this.service.$api_consignWhole;
diff --git a/src/app/routes/ticket-management/components/cancellation-invoice/cancellation-invoice.component.ts b/src/app/routes/ticket-management/components/cancellation-invoice/cancellation-invoice.component.ts
index 688ef255..8bc8f0f2 100644
--- a/src/app/routes/ticket-management/components/cancellation-invoice/cancellation-invoice.component.ts
+++ b/src/app/routes/ticket-management/components/cancellation-invoice/cancellation-invoice.component.ts
@@ -279,7 +279,7 @@ export class CancellationInvoiceComponent implements OnInit {
},
{ title: '申请时间', index: 'createTime', type: 'date', width: 150 },
{ title: '网络货运人', index: 'ltdName', width: 120 },
- { title: '购买人', index: 'artoName', width: 90 },
+ { title: '购买人', index: 'artoname', width: 90 },
{ title: '订单数', index: 'ordlines', width: 90, className: 'text-right' },
{
title: '价税合计',
diff --git a/src/app/routes/ticket-management/components/invoice-detail/invoice-detail.component.html b/src/app/routes/ticket-management/components/invoice-detail/invoice-detail.component.html
index 40ff6972..6040a2ac 100644
--- a/src/app/routes/ticket-management/components/invoice-detail/invoice-detail.component.html
+++ b/src/app/routes/ticket-management/components/invoice-detail/invoice-detail.component.html
@@ -1,154 +1,179 @@
-
-
-
+
+
+
-
-
-
- {{headerInfo?.ltdId}}
-
-
- {{headerInfo?.vatappHCode}}
-
-
- {{headerInfo?.invoiceno}}
-
-
- {{headerInfo?.invoiceno2}}
-
-
- {{headerInfo?.invoicedate}}
-
-
- {{headerInfo?.vatmoney}}
-
-
- {{headerInfo?.vattax}}
-
-
-
-
- {{headerInfo?.artoname}}
-
-
- {{headerInfo?.artotaxno}}
-
-
- {{headerInfo?.artoadd}}
-
-
- {{headerInfo?.artotel}}
-
-
- {{headerInfo?.artobank}}
-
-
- {{headerInfo?.artoacc}}
-
-
- {{headerInfo?.remarks}}
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- {{ item.vatname }}
-
-
-
- {{ item.vatmodel }}
-
-
-
- {{ item.vatunit }}
-
-
-
- {{ item.vatqty }}
-
-
-
-
- 顺丰快递: {{routesInfo?.mailNo}} 已签收
-
-
-
-
-
-
-
\ No newline at end of file
+
+
+
+
+
+
+
+ {{ item.vatname }}
+
+
+
+ {{ item.vatmodel }}
+
+
+
+ {{ item.vatunit }}
+
+
+
+ {{ item.vatqty }}
+
+
+
+
+ 顺丰快递: {{ routesInfo?.mailNo }} 已签收
+
+
+
+
diff --git a/src/app/routes/ticket-management/components/invoice-detail/invoice-detail.component.ts b/src/app/routes/ticket-management/components/invoice-detail/invoice-detail.component.ts
index 5cc94f2a..67f599e4 100644
--- a/src/app/routes/ticket-management/components/invoice-detail/invoice-detail.component.ts
+++ b/src/app/routes/ticket-management/components/invoice-detail/invoice-detail.component.ts
@@ -108,7 +108,7 @@ export class InvoiceDetailComponent implements OnInit {
private initOrderSF(): SFSchema {
return {
properties: {
- billHId: {
+ billHCode: {
type: 'string',
title: '订单号',
ui: {
@@ -146,14 +146,14 @@ export class InvoiceDetailComponent implements OnInit {
private initOrderST(): STColumn[] {
return [
- { title: '订单号', index: 'billHId', width: 140 },
+ { title: '订单号', index: 'billHCode', width: 180 },
{ title: '订单完成日期', index: 'billTime', type: 'date', width: 150 },
- { title: '所属项目', index: 'projectId', width: 140 },
- { title: '订单类型', index: 'billType', width: 120 },
+ { title: '所属项目', index: 'projectId', width: 180 },
+ { title: '订单类型', index: 'billTypeLabel', width: 120 },
{ title: '装货地', index: 'loadingfrom', width: 200 },
- { title: '卸货地', index: 'loadingto', width: 200 },
+ { title: '卸货地', index: 'loadingto', width: 220 },
{ title: '货物信息', index: 'goodsinfo', width: 140 },
- { title: '承运司机', index: 'driverinfo', width: 140 },
+ { title: '承运司机', index: 'driverinfo', width: 280 },
{
title: '申请金额',
index: 'billkpnotax',
diff --git a/src/app/routes/ticket-management/components/invoice-requested/requested-invoice-modal/requested-invoice-modal.component.ts b/src/app/routes/ticket-management/components/invoice-requested/requested-invoice-modal/requested-invoice-modal.component.ts
index 422dcf0c..1b8a2d0f 100644
--- a/src/app/routes/ticket-management/components/invoice-requested/requested-invoice-modal/requested-invoice-modal.component.ts
+++ b/src/app/routes/ticket-management/components/invoice-requested/requested-invoice-modal/requested-invoice-modal.component.ts
@@ -1,10 +1,10 @@
/*
* @Author: your name
* @Date: 2021-12-23 16:50:17
- * @LastEditTime: 2021-12-31 13:35:22
- * @LastEditors: Please set LastEditors
+ * @LastEditTime : 2022-01-25 15:53:13
+ * @LastEditors : Shiming
* @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
- * @FilePath: \tms-obc-web\src\app\routes\ticket-management\components\invoice-requested\requested-invoice-modal\requested-invoice-modal.component.ts
+ * @FilePath : \\tms-obc-web\\src\\app\\routes\\ticket-management\\components\\invoice-requested\\requested-invoice-modal\\requested-invoice-modal.component.ts
*/
import { Component, OnInit, ViewChild } from '@angular/core';
import { STChange, STColumn, STComponent, STRequestOptions } from '@delon/abc/st';
@@ -66,12 +66,12 @@ export class RequestedInvoiceModalComponent implements OnInit {
{ title: '', index: 'key', type: 'checkbox' },
{ title: '订单号', index: 'billHCode', width: 150 },
{ title: '订单完成日期', index: 'billTime', type: 'date', width: 150 },
- { title: '所属项目', index: 'projectIdName', width: 160 },
+ { title: '所属项目', index: 'projectIdName', width: 250 },
{ title: '订单类型', index: 'billTypeName', width: 90 },
{ title: '装货地', index: 'loadingfrom', width: 250 },
{ title: '卸货地', index: 'loadingto', width: 250 },
{ title: '货物信息', index: 'goodsinfo', width: 170 },
- { title: '承运司机', index: 'driverinfo', width: 170 },
+ { title: '承运司机', index: 'driverinfo', width: 280 },
{
title: '总费用',
index: 'billkpmoney',
diff --git a/src/app/routes/waybill-management/components/bulk/bulk.component.ts b/src/app/routes/waybill-management/components/bulk/bulk.component.ts
index 395f9cf6..7f7c1c1f 100644
--- a/src/app/routes/waybill-management/components/bulk/bulk.component.ts
+++ b/src/app/routes/waybill-management/components/bulk/bulk.component.ts
@@ -312,10 +312,6 @@ tabs = {
width: '110px',
className: 'text-left',
buttons: [
- {
- text: '查看评价',
- click: (_record) => this.viewEvaluate(_record),
- },
{
text: '确认发车',
click: (_record) => this.sureDepart(_record),
diff --git a/src/app/routes/waybill-management/components/vehicle/vehicle.component.ts b/src/app/routes/waybill-management/components/vehicle/vehicle.component.ts
index a0f2caba..a0243691 100644
--- a/src/app/routes/waybill-management/components/vehicle/vehicle.component.ts
+++ b/src/app/routes/waybill-management/components/vehicle/vehicle.component.ts
@@ -313,10 +313,6 @@ export class WaybillManagementVehicleComponent implements OnInit {
width: '110px',
className: 'text-left',
buttons: [
- {
- text: '查看评价',
- click: _record => this.viewEvaluate(_record)
- },
{
text: '确认发车',
click: _record => this.sureDepart(_record),