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 e235e937..8999bad0 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-25 10:28:10 + * @LastEditTime : 2022-04-27 11:13:07 * @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. */ @@ -220,16 +220,22 @@ export class ContractManagementTemplateTextComponent implements OnInit { } save() { - // if (!this.sf.value.templateName || !this.sf.value.templateType || !this.sf2.value.templateContent || !this.title) { - // this.service.msgSrv.error('必填参数为空,请检查再重新保存!'); - // return; - // } - // if (this.sf.value.templateType == 'MX') { - // if (this.sf.value.contractType == '') { - // this.service.msgSrv.error('必填参数为空,请检查再重新保存!'); - // return; - // } - // } + console.log(this.sf.value.templateName); + console.log(this.sf.value.templateType); + console.log(this.sf2.value.templateContent); + console.log(this.title); + console.log(this.title || this.detailList.templateName); + + if (!this.sf.value.templateName || !this.sf.value.templateType || !this.sf2.value.templateContent || !(this.title || this.detailList.templateName)) { + this.service.msgSrv.error('必填参数为空,请检查再重新保存!'); + return; + } + if (this.sf.value.templateType == 'MX') { + if (this.sf.value.contractType == '') { + this.service.msgSrv.error('必填参数为空,请检查再重新保存!'); + return; + } + } const params = { ...this.sf.value, ...this.sf2.value, diff --git a/src/app/routes/order-management/components/bulk-detail-change/bulk-detail-change.component.ts b/src/app/routes/order-management/components/bulk-detail-change/bulk-detail-change.component.ts index ac3a410b..f4a60d20 100644 --- a/src/app/routes/order-management/components/bulk-detail-change/bulk-detail-change.component.ts +++ b/src/app/routes/order-management/components/bulk-detail-change/bulk-detail-change.component.ts @@ -4,7 +4,7 @@ * @Author : Shiming * @Date : 2021-12-24 16:58:02 * @LastEditors : Shiming - * @LastEditTime : 2022-04-20 14:46:48 + * @LastEditTime : 2022-04-27 10:15:09 * @FilePath : \\tms-obc-web\\src\\app\\routes\\order-management\\components\\bulk-detail-change\\bulk-detail-change.component.ts * Copyright (C) 2022 huzhenhong. All rights reserved. */ diff --git a/src/app/routes/order-management/modal/audit/voucher-view/voucher-view.component.ts b/src/app/routes/order-management/modal/audit/voucher-view/voucher-view.component.ts index 62a4719b..1cb1b29a 100644 --- a/src/app/routes/order-management/modal/audit/voucher-view/voucher-view.component.ts +++ b/src/app/routes/order-management/modal/audit/voucher-view/voucher-view.component.ts @@ -77,7 +77,7 @@ export class orderManagementVoucherViewComponent implements OnInit { appId: this.envSrv.env.appId, content: [ `上传用户:${this.i?.driverName}(${this.i?.driverTelephone})`, - `上传位置:${this.i?.loadingAddressArr[0]}`, + `上传位置:${this.i?.loadDetailedAddress}`, `上传时间:${format(new Date(), 'yyyy-MM-dd HH:mm:ss')}` ], position: '2', @@ -122,7 +122,7 @@ export class orderManagementVoucherViewComponent implements OnInit { appId: this.envSrv.env.appId, content: [ `上传用户:${this.i?.driverName}(${this.i?.driverTelephone})`, - `上传位置:${this.i?.loadingAddressArr[0]}`, + `上传位置:${this.i?.loadDetailedAddress}`, `上传时间:${format(new Date(), 'yyyy-MM-dd HH:mm:ss')}` ], position: '2', @@ -175,7 +175,7 @@ export class orderManagementVoucherViewComponent implements OnInit { appId: this.envSrv.env.appId, content: [ `上传用户:${this.i?.driverName}(${this.i?.driverTelephone})`, - `上传位置:${this.i?.unloadingAddressArr[0]}`, + `上传位置:${this.i?.unloadDetailedAddress}`, `上传时间:${format(new Date(), 'yyyy-MM-dd HH:mm:ss')}` ], position: '2', @@ -220,7 +220,7 @@ export class orderManagementVoucherViewComponent implements OnInit { appId: this.envSrv.env.appId, content: [ `上传用户:${this.i?.driverName}(${this.i?.driverTelephone})`, - `上传位置:${this.i?.unloadingAddressArr[0]}`, + `上传位置:${this.i?.unloadDetailedAddress}`, `上传时间:${format(new Date(), 'yyyy-MM-dd HH:mm:ss')}` ], position: '2', @@ -284,7 +284,7 @@ export class orderManagementVoucherViewComponent implements OnInit { appId: this.envSrv.env.appId, content: [ `上传用户:${this.i?.driverName}(${this.i?.driverTelephone})`, - `上传位置:${this.i?.loadingAddressArr[0]}`, + `上传位置:${this.i?.loadDetailedAddress}`, `上传时间:${format(new Date(), 'yyyy-MM-dd HH:mm:ss')}` ], position: '2', @@ -330,7 +330,7 @@ export class orderManagementVoucherViewComponent implements OnInit { appId: this.envSrv.env.appId, content: [ `上传用户:${this.i?.driverName}(${this.i?.driverTelephone})`, - `上传位置:${this.i?.loadingAddressArr[0]}`, + `上传位置:${this.i?.loadDetailedAddress}`, `上传时间:${format(new Date(), 'yyyy-MM-dd HH:mm:ss')}` ], position: '2', @@ -392,7 +392,7 @@ export class orderManagementVoucherViewComponent implements OnInit { appId: this.envSrv.env.appId, content: [ `上传用户:${this.i?.driverName}(${this.i?.driverTelephone})`, - `上传位置:${this.i?.unloadingAddressArr[0]}`, + `上传位置:${this.i?.unloadDetailedAddress}`, `上传时间:${format(new Date(), 'yyyy-MM-dd HH:mm:ss')}` ], position: '2', @@ -438,7 +438,7 @@ export class orderManagementVoucherViewComponent implements OnInit { appId: this.envSrv.env.appId, content: [ `上传用户:${this.i?.driverName}(${this.i?.driverTelephone})`, - `上传位置:${this.i?.unloadingAddressArr[0]}`, + `上传位置:${this.i?.unloadDetailedAddress}`, `上传时间:${format(new Date(), 'yyyy-MM-dd HH:mm:ss')}` ], position: '2', diff --git a/src/app/routes/order-management/modal/vehicle/sure-arrive/sure-arrive.component.ts b/src/app/routes/order-management/modal/vehicle/sure-arrive/sure-arrive.component.ts index 3b037b45..d9a6d5b6 100644 --- a/src/app/routes/order-management/modal/vehicle/sure-arrive/sure-arrive.component.ts +++ b/src/app/routes/order-management/modal/vehicle/sure-arrive/sure-arrive.component.ts @@ -70,7 +70,7 @@ export class VehicleSureArriveComponent implements OnInit { appId: this.envSrv.env.appId, content: [ `上传用户:${this.i?.driverName}(${this.i?.driverTelephone})`, - `上传位置:${this.i?.loadingPlace[0]}`, + `上传位置:${this.i?.loadDetailedAddress}`, `上传时间:${format(new Date(), 'yyyy-MM-dd HH:mm:ss')}`, ], position: '2', @@ -115,7 +115,7 @@ export class VehicleSureArriveComponent implements OnInit { appId: this.envSrv.env.appId, content: [ `上传用户:${this.i?.driverName}(${this.i?.driverTelephone})`, - `上传位置:${this.i?.loadingPlace[0]}`, + `上传位置:${this.i?.loadDetailedAddress}`, `上传时间:${format(new Date(), 'yyyy-MM-dd HH:mm:ss')}`, ], position: '2', @@ -168,7 +168,7 @@ export class VehicleSureArriveComponent implements OnInit { appId: this.envSrv.env.appId, content: [ `上传用户:${this.i?.driverName}(${this.i?.driverTelephone})`, - `上传位置:${this.i?.dischargePlace[0]}`, + `上传位置:${this.i?.unloadDetailedAddress}`, `上传时间:${format(new Date(), 'yyyy-MM-dd HH:mm:ss')}`, ], position: '2', @@ -213,7 +213,7 @@ export class VehicleSureArriveComponent implements OnInit { appId: this.envSrv.env.appId, content: [ `上传用户:${this.i?.driverName}(${this.i?.driverTelephone})`, - `上传位置:${this.i?.dischargePlace[0]}`, + `上传位置:${this.i?.unloadDetailedAddress}`, `上传时间:${format(new Date(), 'yyyy-MM-dd HH:mm:ss')}`, ], position: '2', @@ -283,7 +283,7 @@ export class VehicleSureArriveComponent implements OnInit { appId: this.envSrv.env.appId, content: [ `上传用户:${this.i?.driverName}(${this.i?.driverTelephone})`, - `上传位置:${this.i?.loadingPlace[0]}`, + `上传位置:${this.i?.loadDetailedAddress}`, `上传时间:${format(new Date(), 'yyyy-MM-dd HH:mm:ss')}`, ], position: '2', @@ -328,7 +328,7 @@ export class VehicleSureArriveComponent implements OnInit { appId: this.envSrv.env.appId, content: [ `上传用户:${this.i?.driverName}(${this.i?.driverTelephone})`, - `上传位置:${this.i?.loadingPlace[0]}`, + `上传位置:${this.i?.loadDetailedAddress}`, `上传时间:${format(new Date(), 'yyyy-MM-dd HH:mm:ss')}`, ], position: '2', @@ -381,7 +381,7 @@ export class VehicleSureArriveComponent implements OnInit { appId: this.envSrv.env.appId, content: [ `上传用户:${this.i?.driverName}(${this.i?.driverTelephone})`, - `上传位置:${this.i?.dischargePlace[0]}`, + `上传位置:${this.i?.unloadDetailedAddress}`, `上传时间:${format(new Date(), 'yyyy-MM-dd HH:mm:ss')}`, ], position: '2', @@ -426,7 +426,7 @@ export class VehicleSureArriveComponent implements OnInit { appId: this.envSrv.env.appId, content: [ `上传用户:${this.i?.driverName}(${this.i?.driverTelephone})`, - `上传位置:${this.i?.dischargePlace[0]}`, + `上传位置:${this.i?.unloadDetailedAddress}`, `上传时间:${format(new Date(), 'yyyy-MM-dd HH:mm:ss')}`, ], position: '2', diff --git a/src/app/routes/order-management/modal/vehicle/sure-depart/sure-depart.component.ts b/src/app/routes/order-management/modal/vehicle/sure-depart/sure-depart.component.ts index 70bdc1be..d1ab6900 100644 --- a/src/app/routes/order-management/modal/vehicle/sure-depart/sure-depart.component.ts +++ b/src/app/routes/order-management/modal/vehicle/sure-depart/sure-depart.component.ts @@ -82,7 +82,7 @@ export class VehicleSureDepartComponent implements OnInit { appId: this.envSrv.env.appId, content: [ `上传用户:${this.i?.driverName}(${this.i?.driverTelephone})`, - `上传位置:${this.i?.loadingPlace[0]}`, + `上传位置:${this.i?.loadDetailedAddress}`, `上传时间:${format(new Date(), 'yyyy-MM-dd HH:mm:ss')}`, ], position: '2', @@ -127,7 +127,7 @@ export class VehicleSureDepartComponent implements OnInit { appId: this.envSrv.env.appId, content: [ `上传用户:${this.i?.driverName}(${this.i?.driverTelephone})`, - `上传位置:${this.i?.loadingPlace[0]}`, + `上传位置:${this.i?.loadDetailedAddress}`, `上传时间:${format(new Date(), 'yyyy-MM-dd HH:mm:ss')}`, ], position: '2', @@ -205,7 +205,7 @@ export class VehicleSureDepartComponent implements OnInit { appId: this.envSrv.env.appId, content: [ `上传用户:${this.i?.driverName}(${this.i?.driverTelephone})`, - `上传位置:${this.i?.loadingPlace[0]}`, + `上传位置:${this.i?.loadDetailedAddress}`, `上传时间:${format(new Date(), 'yyyy-MM-dd HH:mm:ss')}`, ], position: '2', @@ -250,7 +250,7 @@ export class VehicleSureDepartComponent implements OnInit { appId: this.envSrv.env.appId, content: [ `上传用户:${this.i?.driverName}(${this.i?.driverTelephone})`, - `上传位置:${this.i?.loadingPlace[0]}`, + `上传位置:${this.i?.loadDetailedAddress}`, `上传时间:${format(new Date(), 'yyyy-MM-dd HH:mm:ss')}`, ], position: '2', diff --git a/src/app/routes/partner/rebate-management/components/particulars/particulars.component.html b/src/app/routes/partner/rebate-management/components/particulars/particulars.component.html index 0ebf82f0..2b4246d2 100644 --- a/src/app/routes/partner/rebate-management/components/particulars/particulars.component.html +++ b/src/app/routes/partner/rebate-management/components/particulars/particulars.component.html @@ -4,8 +4,8 @@ * @Author : Shiming * @Date : 2022-02-24 20:09:49 * @LastEditors : Shiming - * @LastEditTime : 2022-02-24 20:14:21 - * @FilePath : \\tms-obc-web\\src\\app\\routes\\partner\\rebate-management\\components\\list\\particulars.component.html + * @LastEditTime : 2022-04-27 10:17:31 + * @FilePath : \\tms-obc-web\\src\\app\\routes\\partner\\rebate-management\\components\\particulars\\particulars.component.html * Copyright (C) 2022 huzhenhong. All rights reserved. --> @@ -43,8 +43,16 @@ - + +
+ + + + +
+
+ +
+
diff --git a/src/app/routes/partner/rebate-management/components/particulars/particulars.component.ts b/src/app/routes/partner/rebate-management/components/particulars/particulars.component.ts index 55ed5dd9..e7d7ac30 100644 --- a/src/app/routes/partner/rebate-management/components/particulars/particulars.component.ts +++ b/src/app/routes/partner/rebate-management/components/particulars/particulars.component.ts @@ -20,7 +20,12 @@ export class ParterRebateManageMentParticularsComponent implements OnInit { sf!: SFComponent; spuStatus = '1'; _$expand = false; - data = [{ name1: 1111 }]; + tabs = { + payQuantity: 0, + cancelQuantity: 0, + }; + resourceStatus: any; + data = this.service.$api_get_searchPageList; constructor( public router: Router, public ar: ActivatedRoute, @@ -46,8 +51,13 @@ export class ParterRebateManageMentParticularsComponent implements OnInit { */ get reqParams() { const params: any = Object.assign({}, this.sf?.value || {}); + const a: any = {}; + if (this.resourceStatus) { + a.representationsStatus = this.resourceStatus; + } delete params._$expand; return { + ...a, ...params, deadlineTime: { start: this.sf?.value?.deadlineTime?.[0] || '', @@ -120,7 +130,14 @@ export class ParterRebateManageMentParticularsComponent implements OnInit { } }; } - + selectChange(e: number) { + this.resourceStatus = e; + this.initST(); + setTimeout(() => { + this.data = this.service.$api_get_searchRefundPageList + this.st.load(); + }, 500); + } initST() { this.columns = [ { diff --git a/src/app/routes/partner/rebate-management/services/rebate-management.service.ts b/src/app/routes/partner/rebate-management/services/rebate-management.service.ts index b67abe19..6d62828e 100644 --- a/src/app/routes/partner/rebate-management/services/rebate-management.service.ts +++ b/src/app/routes/partner/rebate-management/services/rebate-management.service.ts @@ -29,6 +29,10 @@ export class RebateManagementService extends BaseService { public $api_get_getIncomeByBillpage = '/api/bpc/partnerIncomeHead/getIncomeByBillpage'; // 获取返佣模板信息 public $api_get_getPartnerRebateConfigInfo = '/api/mdc/rebateConfig/getPartnerRebateConfigInfo'; + // 合伙人管理/返佣管理/返佣明细 + public $api_get_searchPageList= '/api/fcc/billPaymentApplicationOBC/list/searchPageList'; + // 合伙人管理/返佣管理/退款返佣明细 + public $api_get_searchRefundPageList= '/api/fcc/billPaymentApplicationOBC/list/searchRefundPageList';   // 查询合伙人信息-分页 public $api_get_partner_page = '/api/mdc/partner/list/page'; constructor(public injector: Injector) { diff --git a/src/app/routes/partner/system-config/components/config/config.component.html b/src/app/routes/partner/system-config/components/config/config.component.html index c57af325..81aff0b8 100644 --- a/src/app/routes/partner/system-config/components/config/config.component.html +++ b/src/app/routes/partner/system-config/components/config/config.component.html @@ -1,13 +1,5 @@
-
-
    -
  • - {{ item.name }} -
  • -
-
-

提现手续费配置

@@ -74,37 +66,6 @@
- - -

邀请合伙人

- - -

邀请客户

- - - - - -
-
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 9cd465f6..7a3c023c 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 @@ -1,3 +1,22 @@ - - \ No newline at end of file + + + + + + diff --git a/src/app/routes/sys-setting/sys-setting.module.ts b/src/app/routes/sys-setting/sys-setting.module.ts index 9e85ab05..8905be2d 100644 --- a/src/app/routes/sys-setting/sys-setting.module.ts +++ b/src/app/routes/sys-setting/sys-setting.module.ts @@ -6,7 +6,7 @@ * @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE * @FilePath : \\tms-obc-web\\src\\app\\routes\\sys-setting\\sys-setting.module.ts */ -import { NgModule } from '@angular/core'; +import { CUSTOM_ELEMENTS_SCHEMA, NgModule } from '@angular/core'; import { CommonModule } from '@angular/common'; import { DynamicSettingModule, SharedModule } from '@shared'; import { StaffManagementComponent } from './components/staff-management/staff-management.component'; @@ -73,6 +73,7 @@ const NOTROUTECOMPONENTS = [ ]; @NgModule({ declarations: [...COMPONENTS, ...NOTROUTECOMPONENTS], - imports: [CommonModule, SysSettingRoutingModule, SharedModule, DynamicSettingModule] + imports: [CommonModule, SysSettingRoutingModule, SharedModule, DynamicSettingModule], + schemas: [CUSTOM_ELEMENTS_SCHEMA] }) export class SysSettingModule {} diff --git a/src/app/shared/components/dynamic-setting/dynamic-setting-h5/dynamic-setting-h5.component.html b/src/app/shared/components/dynamic-setting/dynamic-setting-h5/dynamic-setting-h5.component.html index 7e86f88f..0f7e8ee2 100644 --- a/src/app/shared/components/dynamic-setting/dynamic-setting-h5/dynamic-setting-h5.component.html +++ b/src/app/shared/components/dynamic-setting/dynamic-setting-h5/dynamic-setting-h5.component.html @@ -4,7 +4,7 @@ * @Author : Shiming * @Date : 2022-01-25 16:03:45 * @LastEditors : Shiming - * @LastEditTime : 2022-03-30 16:50:35 + * @LastEditTime : 2022-04-27 10:58:30 * @FilePath : \\tms-obc-web\\src\\app\\shared\\components\\dynamic-setting\\dynamic-setting-h5\\dynamic-setting-h5.component.html * Copyright (C) 2022 huzhenhong. All rights reserved. --> @@ -143,7 +143,7 @@ [maxlength]="item.remark?.maxLength" [placeholder]="item.remark?.placeholder || ''"> - + diff --git a/src/app/shared/index.ts b/src/app/shared/index.ts index 11bf70b7..68efd6c7 100644 --- a/src/app/shared/index.ts +++ b/src/app/shared/index.ts @@ -1,7 +1,7 @@ /* * @Author: your name * @Date: 2021-11-29 10:04:12 - * @LastEditTime : 2022-03-11 15:12:20 + * @LastEditTime : 2022-04-27 10:38:54 * @LastEditors : Shiming * @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE * @FilePath : \\tms-obc-web\\src\\app\\shared\\index.ts diff --git a/src/app/shared/shared-zorro.module.ts b/src/app/shared/shared-zorro.module.ts index 602b8c26..ab37e304 100644 --- a/src/app/shared/shared-zorro.module.ts +++ b/src/app/shared/shared-zorro.module.ts @@ -1,10 +1,10 @@ /* * @Author: your name * @Date: 2021-11-29 10:20:33 - * @LastEditTime: 2022-01-12 13:38:38 - * @LastEditors: Please set LastEditors + * @LastEditTime : 2022-04-27 10:40:36 + * @LastEditors : Shiming * @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE - * @FilePath: \tms-obc-web\src\app\shared\shared-zorro.module.ts + * @FilePath : \\tms-obc-web\\src\\app\\shared\\shared-zorro.module.ts */ import { NzInputNumberModule } from 'ng-zorro-antd/input-number'; import { NzTreeModule } from 'ng-zorro-antd/tree'; @@ -94,5 +94,5 @@ export const SHARED_ZORRO_MODULES = [ NzImageModule, NzDrawerModule, NzTreeSelectModule, - NzAvatarModule + NzAvatarModule, ]; diff --git a/src/app/shared/shared.module.ts b/src/app/shared/shared.module.ts index 18f62bd9..1662aafc 100644 --- a/src/app/shared/shared.module.ts +++ b/src/app/shared/shared.module.ts @@ -58,6 +58,7 @@ const MODULES = [ rebateTableModule, CaptchaModule, SearchDrawerModule, + ...PRO_SHARED_MODULES ]; // #endregion