68 lines
3.1 KiB
HTML
68 lines
3.1 KiB
HTML
<!--
|
|
* @Description :
|
|
* @Version : 1.0
|
|
* @Author : Shiming
|
|
* @Date : 2022-02-24 20:09:49
|
|
* @LastEditors : Shiming
|
|
* @LastEditTime : 2022-03-28 19:46:23
|
|
* @FilePath : \\tms-obc-web\\src\\app\\routes\\partner\\rebate-management\\components\\rebate-setting\\add\\add.component.html
|
|
* Copyright (C) 2022 huzhenhong. All rights reserved.
|
|
-->
|
|
<page-header-wrapper [title]="'新增'"> </page-header-wrapper>
|
|
<nz-card>
|
|
<div nz-row>
|
|
|
|
<!-- 数据列表 -->
|
|
<sv-container col="1">
|
|
<sv label="配置名称"> <input style="max-width: 400px;" nz-input placeholder="请输入" [(ngModel)]="configName" /></sv>
|
|
<sv-title>固定结算费率配置</sv-title>
|
|
<sv label="固定结算费率"> <nz-input-number [(ngModel)]="accountingRate" [nzPrecision]="precision" nzPlaceHolder="请输入"></nz-input-number> %</sv>
|
|
<sv-title>业务量和管理费比例配置</sv-title>
|
|
<sv label="选择配置类型">
|
|
<nz-radio-group [(ngModel)]="configType">
|
|
<label nz-radio nzValue="1">按全部等级配置</label>
|
|
<label nz-radio nzValue="2">按不同等级配置</label>
|
|
</nz-radio-group>
|
|
</sv>
|
|
<sv col="1">
|
|
|
|
<app-rebate-table ></app-rebate-table>
|
|
</sv>
|
|
<sv-title>关联合伙人配置</sv-title>
|
|
<sv label="合伙人选择">
|
|
<!-- <nz-select ngModel="lucy" style="max-width: 400px; min-width: 200px;">
|
|
<nz-option nzValue="jack" nzLabel="Jack"></nz-option>
|
|
<nz-option nzValue="lucy" nzLabel="Lucy"></nz-option>
|
|
</nz-select> -->
|
|
<input *ngIf="peopleStatus" nz-input disabled style=" max-width: 200px;" placeholder="请添加" [(ngModel)]="partnerPeople" />
|
|
<span style="color: #0000FF;" (click)="add()">添加</span>
|
|
<st *ngIf="!peopleStatus" #st [data]="partnerPeopleList" [columns]="columns"
|
|
[req]="{ method: 'POST', allInBody: true, reName: { pi: 'pageIndex', ps: 'pageSize' } }"
|
|
[res]="{ reName: { list: 'data.records', total: 'data.total' } }"
|
|
[page]="{ show: true, showSize: true, pageSizes: [10, 20, 30, 50, 100] }" [loading]="false"
|
|
[scroll]="{ x: '1000' }">
|
|
</st>
|
|
</sv>
|
|
<sv label="优先级" col="1">
|
|
<nz-select ngModel="lucy" style="max-width: 400px; min-width: 200px;">
|
|
<nz-option nzValue="jack" nzLabel="Jack"></nz-option>
|
|
<nz-option nzValue="lucy" nzLabel="Lucy"></nz-option>
|
|
</nz-select>
|
|
</sv>
|
|
<sv label="规则说明" col="1">
|
|
<sf #sf mode="edit" [schema]="schema1" [ui]="{ '*': { spanLabelFixed: 10, grid: { span: 16 }} }"
|
|
button="none"> </sf>
|
|
</sv>
|
|
<sv label="规则说明" col="1">
|
|
<textarea style="max-width: 400px; min-width: 200px;" rows="4" nz-input [(ngModel)]="inputValue"></textarea>
|
|
</sv>
|
|
</sv-container>
|
|
<div class="align-center" style="margin-top: 15px;">
|
|
<button nz-button nzType="primary" (click)="goBack()">取消</button>
|
|
<button nz-button nzType="primary" style="margin-left: 48px" (click)="submit()"
|
|
acl [acl-ability]="['SUPPLY-VEHICLE-AMEND-submitChange']">提交</button
|
|
>
|
|
</div>
|
|
</div>
|
|
</nz-card>
|