diff --git a/proxy.conf.js b/proxy.conf.js
index 29173019..d12c4111 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 17:26:44
+ * @LastEditTime : 2022-04-28 13:43:18
* @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-dev.eascs.com',
+ host: 'tms-api-test.eascs.com',
protocol: 'https:',
port: 443
},
diff --git a/src/app/routes/supply-management/components/bulk-detail/bulk-detail.component.html b/src/app/routes/supply-management/components/bulk-detail/bulk-detail.component.html
index 00606c3d..601a0121 100644
--- a/src/app/routes/supply-management/components/bulk-detail/bulk-detail.component.html
+++ b/src/app/routes/supply-management/components/bulk-detail/bulk-detail.component.html
@@ -1,5 +1,5 @@
-
+
-
+
{{ i?.enterpriseProjectName }}
{{ i?.deadlineTime }}
{{ i?.createUserName }}/{{ i?.createUserPhone }}
@@ -36,7 +36,35 @@
-
+
+
+ {{ i?.resourceStatusLabel }}
+
货源编码 : {{ i?.resourceCode }}
+
+
+
网络货运人:{{ i?.shipperAppUserName }}
+
+ 取消货源
+ 修改单价
+ 再下一单
+
+
+
+
+ 总费用:{{ i?.totalAmount | currency: '¥' }}
+
+
+
+
+ {{ i?.enterpriseProjectName }}
+ {{ i?.deadlineTime }}
+ {{ i?.createUserName }}/{{ i?.createUserPhone }}
+ {{ i?.dispatchName }}/{{ i?.dispatchPhone }}
+ {{ i?.serviceTypeLabel }}
+
-
-
-
-
- 货物信息
-
-
- {{item.goodsTypeName}} > {{item.goodsName}}
-
-
- {{item.weight}}吨 / {{item.volume>=0?item.volume:'-'}}方
-
-
- {{i?.surplusWeight!==null?i?.surplusWeight:'--'}}吨 / {{i?.surplusVolume!==null?i?.surplusVolume:'-'}}方
-
-
- {{item.carModelLabel || '--'}} / {{item.carLengthLabel || '--'}}米
-
-
-
-
-
装货卸货信息
(
@@ -119,7 +120,39 @@
-
+
+
+
+
+
+
+ {{item.goodsTypeName}} > {{item.goodsName}}
+
+
+ {{item.weight}}吨 / {{item.volume>=0?item.volume:'-'}}方
+
+
+ {{i?.surplusWeight!==null?i?.surplusWeight:'--'}}吨 / {{i?.surplusVolume!==null?i?.surplusVolume:'-'}}方
+
+
+ {{item.carModelLabel || '--'}} / {{item.carLengthLabel || '--'}}米
+
+
+
+
+
+
+
+
+
@@ -132,13 +165,13 @@
{{ item?.freightPrice | currency: '¥' }} {{
freightType[item?.freightType] }}
- (附加费率{{i?.rate * 100 | number: '0.2-2'}}%)
+ (附加费率{{i?.rate * 100 | number: '0.2-2'}}%)
-
+
( 0 }">{{ item?.count }})
@@ -157,7 +190,7 @@
-->
-
+
{{ i?.supplementaryInformationVO?.stateReceipt ? '是' : '否' }}
@@ -166,7 +199,8 @@
{{ i?.supplementaryInformationVO?.receiptTypeLabel }}
- {{ i?.supplementaryInformationVO?.receiptUserName ? i?.supplementaryInformationVO?.receiptUserName + '/' : '' }} {{ i?.supplementaryInformationVO?.phon }}
+ {{ i?.supplementaryInformationVO?.receiptUserName ? i?.supplementaryInformationVO?.receiptUserName + '/' : '' }}
+ {{ i?.supplementaryInformationVO?.phon }}
{{ i?.supplementaryInformationVO?.area }}
@@ -174,14 +208,13 @@
{{ i?.supplementaryInformationVO?.address }}
-
+
{{ i?.supplementaryInformationVO?.remarks }}
-
-
+
diff --git a/src/app/routes/supply-management/components/bulk-detail/bulk-detail.component.less b/src/app/routes/supply-management/components/bulk-detail/bulk-detail.component.less
index 957a1f03..df21f696 100644
--- a/src/app/routes/supply-management/components/bulk-detail/bulk-detail.component.less
+++ b/src/app/routes/supply-management/components/bulk-detail/bulk-detail.component.less
@@ -3,7 +3,7 @@
min-height: 210px;
p {
- margin-bottom: .5em;
+ margin-bottom: 0;
}
}
diff --git a/src/app/routes/supply-management/components/vehicle-detail/vehicle-detail.component.html b/src/app/routes/supply-management/components/vehicle-detail/vehicle-detail.component.html
index a570a0d1..bcb7cb4a 100644
--- a/src/app/routes/supply-management/components/vehicle-detail/vehicle-detail.component.html
+++ b/src/app/routes/supply-management/components/vehicle-detail/vehicle-detail.component.html
@@ -1,11 +1,46 @@
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+ {{ i?.resourceStatusLabel }}
+
货源编码 : {{ i?.resourceCode }}
+
+
+
网络货运人:{{ i?.enterpriseInfoName }}
+
+ 取消货源
+ 重新指派
+ 修改货源
+ 再下一单
+
+
+
+
+ 总费用:{{ i?.totalAmount | currency }}
+
+
+
+
+ {{ i?.externalResourceCode }}
+ {{ i?.enterpriseProjectName }}
+ {{ i?.createUserName }}/{{ i?.createUserPhone }}
+ {{ i?.dispatchName }}/{{ i?.dispatchPhone }}
+ {{ i?.serviceTypeLabel }}
+
+
+
+
{{ i?.resourceStatusLabel }}
货源编码 : {{ i?.resourceCode }}
@@ -13,218 +48,214 @@
网络货运人:{{ i?.enterpriseInfoName }}
- 取消货源
- 重新指派
- 修改货源
- 再下一单
+ 取消货源
+ 重新指派
+ 修改货源
+ 再下一单
-
+
+
+
{{ i?.externalResourceCode }}
{{ i?.enterpriseProjectName }}
{{ i?.createUserName }}/{{ i?.createUserPhone }}
{{ i?.dispatchName }}/{{ i?.dispatchPhone }}
{{ i?.serviceTypeLabel }}
-
-
-
-
-
-
+
-
-
- 货物信息
-
-
- {{ item.goodsTypeName }} - {{ item.goodsName }}
+
+
+
+
+
+
+ {{ item.goodsTypeName }} - {{ item.goodsName }}
+
+ {{ item.weight }}吨,{{ item.volume }}方,{{ item.number }}件
+
+
+
+
+
+ {{ i?.carrierInformationVO?.driverName }}
- {{ item.weight }}吨,{{ item.volume }}方,{{ item.number }}件
-
-
-
- 承运信息
-
- {{ i?.carrierInformationVO?.driverName }}
+
+ {{ i?.carrierInformationVO?.driverTelephone }}
+
+
+ {{ i?.carrierInformationVO?.driverLicensePlate }}
+
+
+
+ {{i?.carrierInformationVO.driverName || '--'}} / {{i?.carrierInformationVO.driverTelephone || '--'}} /
+ {{i?.carrierInformationVO.driverLicensePlate || '--'}}
-
- {{ i?.carrierInformationVO?.driverTelephone }}
+
+ {{i?.driverCarModelLabel || '--'}} / {{(i?.driverCarLength || '--') +'米'}} / {{(i?.driverCarWeight ||
+ '--')+'吨'}}
-
- {{ i?.carrierInformationVO?.driverLicensePlate }}
-
-
-
-
装货卸货信息
- (
-
-
- )
-
-
-
-
-
-
-
-
装
-
-
装货地:{{ item?.province }}{{ item?.city }}{{ item?.area }}{{ item?.detailedAddress }}
-
联系人:{{ item?.appUserName }}/{{ item?.contractTelephone }}
-
-
-
-
装货时间:{{ i?.loadingTime }}
-
-
-
-
-
-
-
卸
-
-
卸货地:{{ item?.province }}{{ item?.city }}{{ item?.area }}{{ item?.detailedAddress }}
-
联系人:{{ item?.appUserName }}/{{ item?.contractTelephone }}
-
-
-
-
卸货时间:{{ i?.unloadingTime }}
-
-
-
-
-
-
-
-
-
- {{ i?.insuranceTypeLabel}}
-
-
- {{i?.goodsValue !==null?(i?.goodsValue|currency)+'元':'-'}}
-
-
- {{i?.insurancePremium!==null?(i?.insurancePremium |currency)+'元':'-'}}
-
-
-
-
-
-
-
- {{ item?.totalAmount | currency }}
- (含附加费)
-
-
-
-
- {{ item?.price | currency }}
-
-
-
-
-
-
-
-
- {{ i?.totalAmount | currency }}
+
+
装货卸货信息
+ (
+
+
+ )
- (运费{{ i?.totalFreight | currency }}含附加运费 {{ i?.totalSurcharge | currency }})
-
-
车队长:{{ i?.payeeName }}/{{ i?.payeePhone }}/{{ i?.payeeCardNo }}
+
+
+
+
+
+
+
+
装
+
+
装货地:{{ item?.province }}{{ item?.city }}{{ item?.area }}{{ item?.detailedAddress }}
+
联系人:{{ item?.appUserName }}/{{ item?.contractTelephone }}
+
+
+
+
+
装货时间:{{ i?.loadingTime }}
+
+
+
+
+
+
+
+
卸
+
+
卸货地:{{ item?.province }}{{ item?.city }}{{ item?.area }}{{ item?.detailedAddress }}
+
联系人:{{ item?.appUserName }}/{{ item?.contractTelephone }}
+
+
+
+
+
卸货时间:{{ i?.unloadingTime }}
+
+
+
-
-
-
-
-
- {{ i?.supplementaryInformationVO?.stateReceipt ? '是' : '否' }}
-
-
- {{ i?.supplementaryInformationVO?.receiptType === '1' ? '电子回单' : '纸质回单' }}
-
- {{ i?.supplementaryInformationVO?.receiptUserName || '-' }} / {{ i?.supplementaryInformationVO?.phon || '-' }}
-
-
- {{ i?.supplementaryInformationVO?.area }}
-
-
- {{ i?.supplementaryInformationVO?.address }}
-
-
- {{ i?.supplementaryInformationVO?.remarks }}
-
-
-
-
-
-
-
- {{ item?.operator }} {{ item?.telephone ? '/' + item?.telephone : '' }}
+
+
+
+
-
-
-
-
+
+
+ {{ i?.insuranceTypeLabel}}
+
+
+ {{i?.goodsValue !==null?(i?.goodsValue|currency)+'元':'-'}}
+
+
+ {{i?.insurancePremium!==null?(i?.insurancePremium |currency)+'元':'-'}}
+
+
+
+
+
+
+
运费信息
+
(到货后{{i?.paymentDays}}天内支付运费)
+
+
+
+
+ {{ item?.totalAmount | currency }}
+ (含附加费)
+
+
+
+
+ {{ item?.price | currency }}
+
+
+
+
+
+
+
+
+ {{ i?.totalAmount | currency }}
+
+ (运费{{ i?.totalFreight | currency }}含附加运费 {{ i?.totalSurcharge | currency }})
+
+
车队长:{{
+ i?.payeeName }}/{{ i?.payeePhone }}/{{ i?.payeeCardNo }}
+
+
+
+
+
+
+
+ {{ i?.supplementaryInformationVO?.stateReceipt ? '是' : '否' }}
+
+
+ {{ i?.supplementaryInformationVO?.receiptType === '1' ? '电子回单' : '纸质回单' }}
+
+ {{
+ i?.supplementaryInformationVO?.receiptUserName || '-' }} / {{ i?.supplementaryInformationVO?.phon || '-' }}
+
+
+ {{ i?.supplementaryInformationVO?.area }}
+
+
+ {{ i?.supplementaryInformationVO?.address }}
+
+
+ {{ i?.supplementaryInformationVO?.remarks }}
+
+
+
+
+
+
+
+
+ {{ item?.operator }} {{ item?.telephone ? '/' + item?.telephone : '' }}
+
+
+
+
+
+
diff --git a/src/app/routes/supply-management/components/vehicle-detail/vehicle-detail.component.less b/src/app/routes/supply-management/components/vehicle-detail/vehicle-detail.component.less
index e963d1b7..172f5525 100644
--- a/src/app/routes/supply-management/components/vehicle-detail/vehicle-detail.component.less
+++ b/src/app/routes/supply-management/components/vehicle-detail/vehicle-detail.component.less
@@ -3,7 +3,7 @@
min-height: 210px;
p {
- margin-bottom: .5em;
+ margin-bottom: 5px;
}
}
diff --git a/src/app/routes/sys-setting/components/basic-setting/basic-setting.component.html b/src/app/routes/sys-setting/components/basic-setting/basic-setting.component.html
index c1c43834..a8bfa044 100644
--- a/src/app/routes/sys-setting/components/basic-setting/basic-setting.component.html
+++ b/src/app/routes/sys-setting/components/basic-setting/basic-setting.component.html
@@ -8,15 +8,10 @@
* @FilePath : \\tms-obc-web\\src\\app\\routes\\sys-setting\\components\\basic-setting\\basic-setting.component.html
* Copyright (C) 2022 huzhenhong. All rights reserved.
-->
-
+
-
+
-
+
\ No newline at end of file
diff --git a/src/app/routes/sys-setting/components/basic-setting/basic-setting.component.ts b/src/app/routes/sys-setting/components/basic-setting/basic-setting.component.ts
index bc02ace2..d4adde93 100644
--- a/src/app/routes/sys-setting/components/basic-setting/basic-setting.component.ts
+++ b/src/app/routes/sys-setting/components/basic-setting/basic-setting.component.ts
@@ -9,8 +9,8 @@
* Copyright (C) 2022 huzhenhong. All rights reserved.
*/
import { Component, OnInit, ViewChild } from '@angular/core';
+import { ACLService } from '@delon/acl';
import { SFComponent, SFSchema, SFUISchema } from '@delon/form';
-import { dateTimePickerUtil } from '@delon/util';
import { SystemService } from '../../services/system.service';
const NOJSONTYPE = new Set([8, 12, 13]);
@Component({
@@ -23,7 +23,10 @@ export class BasicSettingComponent implements OnInit {
selectedTab: any = null;
labelWidth = 250;
configList: any = [];
- constructor(public service: SystemService) {}
+ isCanSave = false;
+ constructor(public service: SystemService, private acl: ACLService) {
+ this.isCanSave = !!acl.data.abilities?.find(a => a === 'SYSTEM-BASIC_SETTING-save');
+ }
ngOnInit() {
this.getTypeList();
diff --git a/src/app/routes/sys-setting/components/config/config.component.html b/src/app/routes/sys-setting/components/config/config.component.html
index aaea9add..65bdca2c 100644
--- a/src/app/routes/sys-setting/components/config/config.component.html
+++ b/src/app/routes/sys-setting/components/config/config.component.html
@@ -7,7 +7,7 @@
按照提现金额收取
-
+
%手续费
@@ -15,7 +15,7 @@
按照提现金额收取
客户
-
+
天内没有交易订单的视为“沉默客户”
客户
-
+
天内没有交易订单的视为“流失客户”
@@ -66,15 +66,13 @@
- 保存
- 取消
+ 保存
-
diff --git a/src/app/shared/components/dynamic-setting/dynamic-setting-h5/dynamic-setting-h5.component.ts b/src/app/shared/components/dynamic-setting/dynamic-setting-h5/dynamic-setting-h5.component.ts
index 544ca3bc..5c3b0261 100644
--- a/src/app/shared/components/dynamic-setting/dynamic-setting-h5/dynamic-setting-h5.component.ts
+++ b/src/app/shared/components/dynamic-setting/dynamic-setting-h5/dynamic-setting-h5.component.ts
@@ -28,6 +28,8 @@ export class DynamicSettingH5Component implements OnInit {
@Input()
configList: any = [];
+ @Input()
+ isCanSave = true;
@Output()
selectedEvent = new EventEmitter();
@Output()
diff --git a/src/styles.less b/src/styles.less
index c40ad1c0..527089dc 100644
--- a/src/styles.less
+++ b/src/styles.less
@@ -2,16 +2,17 @@
@import '~@delon/abc/index';
@import '~@delon/chart/index';
@import 'app/layout/pro/styles/index.less';
+@import './styles/common/global.less';
@import './styles/index';
@import './styles/theme';
.icon {
- width : 18px;
- fill : currentColor;
- overflow : hidden;
- font-size : 18px !important;
- color : #ffffff;
+ width: 18px;
+ fill: currentColor;
+ overflow: hidden;
+ font-size: 18px !important;
+ color: #ffffff;
margin-right: 10px;
}
@@ -19,13 +20,13 @@
/* 全局滚动条美化 */
*::-webkit-scrollbar {
- width : (@layout-gutter);
+ width: (@layout-gutter);
height: (@layout-gutter);
}
*::-webkit-scrollbar-thumb {
- background : #d9d9d9;
- cursor : pointer;
+ background: #d9d9d9;
+ cursor: pointer;
border-radius: (@layout-gutter) / 2;
}
@@ -46,14 +47,14 @@ input[type="number"] {
.break-word-all {
word-break: break-all;
- word-wrap : break-word;
+ word-wrap: break-word;
}
st {
.block-td {
.ant-divider-vertical {
- display : none;
- margin : 0;
+ display: none;
+ margin: 0;
border-left: none;
}
@@ -66,9 +67,9 @@ st {
}
nz-range-picker {
- width : 100%;
+ width: 100%;
word-break: break-all;
- word-wrap : break-word;
+ word-wrap: break-word;
}
.ant-select-tree .ant-select-tree-treenode-disabled {
@@ -76,13 +77,13 @@ nz-range-picker {
margin: 0;
.ant-select-tree-checkbox-inner {
- width : 0px;
+ width: 0px;
border-color: #ffffff !important;
}
}
.ant-select-tree-node-content-wrapper {
- color : unset;
+ color: unset;
cursor: not-allowed;
}
}
@@ -93,13 +94,13 @@ nz-range-picker {
margin: 0;
.ant-select-tree-checkbox-inner {
- width : 0px;
+ width: 0px;
border-color: #ffffff !important;
}
}
.ant-select-tree-node-content-wrapper {
- color : unset;
+ color: unset;
cursor: not-allowed;
}
}
@@ -109,4 +110,4 @@ nz-range-picker {
cdk-virtual-scroll-viewport {
min-height: 54px;
}
-}
\ No newline at end of file
+}
diff --git a/src/styles/common/global.less b/src/styles/common/global.less
new file mode 100644
index 00000000..1c9488df
--- /dev/null
+++ b/src/styles/common/global.less
@@ -0,0 +1,60 @@
+.detail-title {
+ display: flex;
+ align-items: center;
+ margin-bottom: 12px;
+
+
+ .sign {
+ width: 2px;
+ height: 16px;
+ background: #E60012;
+ display: inline-block;
+ margin-right: 10px;
+ }
+}
+
+.divider-margin {
+ margin-top: 12px;
+ margin-bottom: 12px;
+}
+
+.step-row {
+ width: 80%;
+ margin: 0 auto;
+
+ .ant-steps-item-description {
+ font-size: 12px;
+ }
+}
+
+.new-sv-container {
+ &.sv__horizontal {
+ .sv__label-width {
+ justify-content: left;
+ }
+ }
+}
+
+.new-sf-container {
+ &.sf__horizontal .ant-form-item-label>label {
+ justify-content: left;
+ }
+}
+
+.common-order-header {
+ display: flex;
+ justify-content: space-between;
+}
+
+.common-grey {
+ color: #8A8E99;
+}
+
+.nameBox {
+ display: flex;
+ align-items: baseline;
+
+ .name {
+ margin: 0 10px 10px 0;
+ }
+}
diff --git a/src/styles/index.less b/src/styles/index.less
index 7b1e6a6f..671364f1 100644
--- a/src/styles/index.less
+++ b/src/styles/index.less
@@ -1,9 +1,11 @@
/* You can add global styles to this file, and also import other style files */
@import './fix/index';
+
+
.error-color {
- color: #ff4d4f;
+ color: #ff4d4f;
}
@primary-color: #F5222D;
-@font-size-base: 15px;
\ No newline at end of file
+@font-size-base: 15px;
diff --git a/src/styles/theme.less b/src/styles/theme.less
index f5667bf2..1082d2fa 100644
--- a/src/styles/theme.less
+++ b/src/styles/theme.less
@@ -5,6 +5,7 @@
@import '../app/layout/pro/styles/theme-default.less';
@import './fix/theme-default.less';
+
// ==========Custom brand visual color==========
// ==========Custom brand visual color==========
@@ -22,4 +23,4 @@
.ant-btn {
border-radius: 4px;
-}
\ No newline at end of file
+}