Merge branch 'develop' of https://gitlab.eascs.com/tms-ui/tms-obc-web into develop
This commit is contained in:
@ -4,7 +4,7 @@
|
|||||||
* @Author : Shiming
|
* @Author : Shiming
|
||||||
* @Date : 2022-01-18 09:51:21
|
* @Date : 2022-01-18 09:51:21
|
||||||
* @LastEditors : Shiming
|
* @LastEditors : Shiming
|
||||||
* @LastEditTime : 2022-04-28 16:08:43
|
* @LastEditTime : 2022-05-05 13:51:19
|
||||||
* @FilePath : \\tms-obc-web\\proxy.conf.js
|
* @FilePath : \\tms-obc-web\\proxy.conf.js
|
||||||
* Copyright (C) 2022 huzhenhong. All rights reserved.
|
* Copyright (C) 2022 huzhenhong. All rights reserved.
|
||||||
*/
|
*/
|
||||||
@ -30,7 +30,7 @@ module.exports = {
|
|||||||
// },
|
// },
|
||||||
'//api': {
|
'//api': {
|
||||||
target: {
|
target: {
|
||||||
host: 'tms-api-test.eascs.com',
|
host: 'tms-api-dev.eascs.com',
|
||||||
protocol: 'https:',
|
protocol: 'https:',
|
||||||
port: 443
|
port: 443
|
||||||
},
|
},
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
<sf #sf [ui]="ui" [schema]="schema" [button]="'none'" [formData]="record">
|
<sf #sf [loading]="service.http.loading" [ui]="ui" [schema]="schema" [button]="'none'" [formData]="record">
|
||||||
</sf>
|
</sf>
|
||||||
|
|
||||||
<div *nzModalFooter>
|
<div *nzModalFooter>
|
||||||
|
|||||||
@ -127,11 +127,13 @@ export class ParterChannelSalesListComponent implements OnInit {
|
|||||||
{
|
{
|
||||||
text: '编辑',
|
text: '编辑',
|
||||||
acl: { ability: ['channelSales-edit'] },
|
acl: { ability: ['channelSales-edit'] },
|
||||||
|
iif: (item) => {return item.stateLocked == false},
|
||||||
click: (_record, _modal, _instance) => this.edit(_record),
|
click: (_record, _modal, _instance) => this.edit(_record),
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
text: '冻结',
|
text: '冻结',
|
||||||
acl: { ability: ['channelSales-frozen'] },
|
acl: { ability: ['channelSales-frozen'] },
|
||||||
|
iif: (item) => {return item.stateLocked == false},
|
||||||
click: (_record, _modal, _instance) => this.stop(_record),
|
click: (_record, _modal, _instance) => this.stop(_record),
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|||||||
@ -4,7 +4,7 @@
|
|||||||
* @Author : Shiming
|
* @Author : Shiming
|
||||||
* @Date : 2022-03-21 09:26:45
|
* @Date : 2022-03-21 09:26:45
|
||||||
* @LastEditors : Shiming
|
* @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
|
* @FilePath : \\tms-obc-web\\src\\app\\routes\\partner\\rebate-management\\components\\rebate-setting\\add\\add.component.ts
|
||||||
* Copyright (C) 2022 huzhenhong. All rights reserved.
|
* Copyright (C) 2022 huzhenhong. All rights reserved.
|
||||||
*/
|
*/
|
||||||
@ -155,21 +155,35 @@ export class ParterRebateManageMentAddComponent implements OnInit {
|
|||||||
this.service.msgSrv.warning('请选择合伙人范围!');
|
this.service.msgSrv.warning('请选择合伙人范围!');
|
||||||
return
|
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) {
|
if(this.partnerType == '3' && this.partnerPeopleList?.length == 0) {
|
||||||
this.service.msgSrv.warning('请选择合伙人!');
|
this.service.msgSrv.warning('请选择合伙人!');
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
let real = false;
|
let real = false;
|
||||||
|
if(this.configType == '2') {
|
||||||
this.table.data.forEach((element: any) => {
|
this.table.data.forEach((element: any) => {
|
||||||
if (element.startAmount > element.endAmount) {
|
if (element.startAmount > element.endAmount) {
|
||||||
real = true;
|
real = true;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
// if (real) {
|
}
|
||||||
// this.service.msgSrv.warning('初始业务量不能超过到达业务量!');
|
if (real) {
|
||||||
// return;
|
this.service.msgSrv.warning('初始业务量不能超过到达业务量!');
|
||||||
// }
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
const params = {
|
const params = {
|
||||||
accountingRate: this.accountingRate,
|
accountingRate: this.accountingRate,
|
||||||
|
|||||||
@ -43,8 +43,6 @@ export class RebateTableComponent implements OnInit {
|
|||||||
this.data = [
|
this.data = [
|
||||||
{
|
{
|
||||||
gradeConfigId: '0',
|
gradeConfigId: '0',
|
||||||
startAmount: 0,
|
|
||||||
endAmount: 0,
|
|
||||||
managementFeeRatio: 0,
|
managementFeeRatio: 0,
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|||||||
Reference in New Issue
Block a user