Merge branch 'develop' of https://gitlab.eascs.com/tms-ui/tms-obc-web into develop

This commit is contained in:
Taric Xin
2022-05-05 14:16:46 +08:00
5 changed files with 25 additions and 11 deletions

View File

@ -4,7 +4,7 @@
* @Author : Shiming
* @Date : 2022-01-18 09:51:21
* @LastEditors : Shiming
* @LastEditTime : 2022-04-28 16:08:43
* @LastEditTime : 2022-05-05 13:51:19
* @FilePath : \\tms-obc-web\\proxy.conf.js
* Copyright (C) 2022 huzhenhong. All rights reserved.
*/
@ -30,7 +30,7 @@ module.exports = {
// },
'//api': {
target: {
host: 'tms-api-test.eascs.com',
host: 'tms-api-dev.eascs.com',
protocol: 'https:',
port: 443
},

View File

@ -1,5 +1,5 @@
<sf #sf [ui]="ui" [schema]="schema" [button]="'none'" [formData]="record">
</sf>
<sf #sf [loading]="service.http.loading" [ui]="ui" [schema]="schema" [button]="'none'" [formData]="record">
</sf>
<div *nzModalFooter>
<button nz-button nzType="default" (click)="close()">取消</button>

View File

@ -127,11 +127,13 @@ export class ParterChannelSalesListComponent implements OnInit {
{
text: '编辑',
acl: { ability: ['channelSales-edit'] },
iif: (item) => {return item.stateLocked == false},
click: (_record, _modal, _instance) => this.edit(_record),
},
{
text: '冻结',
acl: { ability: ['channelSales-frozen'] },
iif: (item) => {return item.stateLocked == false},
click: (_record, _modal, _instance) => this.stop(_record),
}
]

View File

@ -4,7 +4,7 @@
* @Author : Shiming
* @Date : 2022-03-21 09:26:45
* @LastEditors : Shiming
* @LastEditTime : 2022-04-29 16:23:18
* @LastEditTime : 2022-05-05 14:04:53
* @FilePath : \\tms-obc-web\\src\\app\\routes\\partner\\rebate-management\\components\\rebate-setting\\add\\add.component.ts
* Copyright (C) 2022 huzhenhong. All rights reserved.
*/
@ -155,21 +155,35 @@ export class ParterRebateManageMentAddComponent implements OnInit {
this.service.msgSrv.warning('请选择合伙人范围!');
return
}
if(!this.priority) {
this.service.msgSrv.warning('请选择优先级!');
return
}
if(!this.sf?.value.ruleDescription) {
this.service.msgSrv.warning('请输入规则说明!');
return
}
if(!this.remark) {
this.service.msgSrv.warning('请输入备注!');
return
}
if(this.partnerType == '3' && this.partnerPeopleList?.length == 0) {
this.service.msgSrv.warning('请选择合伙人!');
return
}
let real = false;
if(this.configType == '2') {
this.table.data.forEach((element: any) => {
if (element.startAmount > element.endAmount) {
real = true;
return;
}
});
// if (real) {
// this.service.msgSrv.warning('初始业务量不能超过到达业务量!');
// return;
// }
}
if (real) {
this.service.msgSrv.warning('初始业务量不能超过到达业务量!');
return;
}
const params = {
accountingRate: this.accountingRate,

View File

@ -43,8 +43,6 @@ export class RebateTableComponent implements OnInit {
this.data = [
{
gradeConfigId: '0',
startAmount: 0,
endAmount: 0,
managementFeeRatio: 0,
}
];