This commit is contained in:
wangshiming
2022-03-09 16:17:56 +08:00
parent ae80432b23
commit 44ae7f40c1
3 changed files with 13 additions and 12 deletions

View File

@ -1,7 +1,7 @@
<!--
* @Author: your name
* @Date: 2021-11-29 15:22:34
* @LastEditTime : 2022-02-18 16:29:43
* @LastEditTime : 2022-03-09 16:04:08
* @LastEditors : Shiming
* @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
* @FilePath : \\tms-obc-web\\src\\app\\routes\\usercenter\\components\\driver\\driver-config\\driver-config.component.html
@ -30,8 +30,8 @@
</nz-card>
<nz-card>
<!-- 数据列表 -->
<st #st [columns]="columns" [data]="service.$api_configPage" [req]="{ params: reqParams }"
[loading]="service.http.loading">
<st #st [columns]="columns" [scroll]="{ x: '1200px' }"[data]="service.$api_configPage" [req]="{ params: reqParams }"
[loading]="service.http.loading" [page]={}>
<ng-template st-row="monthFreightAmount" let-item let-index="index">
<div>{{item?.monthFreightAmount | currency}}</div>
</ng-template>

View File

@ -103,16 +103,17 @@ export class UserCenterComponentsDriverConfigComponent implements OnInit {
private initST(): STColumn[] {
return [
// { title: '', type: 'checkbox', className: 'text-center' },
{ title: '司机姓名', className: 'text-center', index: 'name' },
{ title: '手机号', className: 'text-center', index: 'mobile' },
{ title: '类型', className: 'text-center', render: 'isCaptain' },
{ title: '月承运金额上限(元)', className: 'text-center', render: 'monthFreightAmount' },
{ title: '日提现金额上限(元)', className: 'text-center', render: 'dayWithdrawalAmount' },
{ title: '月提现金额上限(元)', className: 'text-center', render: 'monthWithdrawalAmount' },
{ title: '月收款金额上限(元)', className: 'text-center', render: 'monthReceivableAmount' },
{ title: '司机姓名', className: 'text-center', width: '170px', index: 'name' },
{ title: '手机号', className: 'text-center', width: '170px', index: 'mobile' },
{ title: '类型', className: 'text-center', width: '170px',render: 'isCaptain' },
{ title: '月承运金额上限(元)', className: 'text-center', width: '200px', render: 'monthFreightAmount' },
{ title: '日提现金额上限(元)', className: 'text-center', width: '200px', render: 'dayWithdrawalAmount' },
{ title: '月提现金额上限(元)', className: 'text-center', width: '200px', render: 'monthWithdrawalAmount' },
{ title: '月收款金额上限(元)', className: 'text-center', width: '200px', render: 'monthReceivableAmount' },
{
title: '操作',
width: '170px',
fixed: 'right',
className: 'text-center',
buttons: [
{

View File

@ -4,7 +4,7 @@
* @Author : Shiming
* @Date : 2022-01-25 16:03:45
* @LastEditors : Shiming
* @LastEditTime : 2022-03-01 15:31:23
* @LastEditTime : 2022-03-09 16:17:28
* @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.
-->
@ -30,7 +30,7 @@
<ng-container *ngSwitchCase="1">
<nz-input-group [nzAddOnAfter]="item.remark?.afterLable" style="width: 155px;"
class="ml-md mr-xl">
<input type="number" nz-input [(ngModel)]="item.itemValue" placeholder="请输入" />
<input type="number" [min]="0" max="999" [(ngModel)]="item.itemValue" placeholder="请输入" />
</nz-input-group>
</ng-container>
<!-- 0-1单选框 -->