批量审核
This commit is contained in:
@ -1,28 +1,19 @@
|
||||
import { preloaderFinished } from '@delon/theme';
|
||||
/*
|
||||
* @Author: your name
|
||||
* @Date: 2021-12-14 14:03:07
|
||||
* @LastEditTime: 2022-01-13 15:26:14
|
||||
* @LastEditors: Please set LastEditors
|
||||
* @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
|
||||
* @FilePath: \tms-obc-web\src\app\routes\order-management\modal\bulk\update-freight\update-freight.component.ts
|
||||
* @Description :
|
||||
* @Version : 1.0
|
||||
* @Author : Shiming
|
||||
* @Date : 2021-12-15 13:17:42
|
||||
* @LastEditors : Shiming
|
||||
* @LastEditTime : 2022-01-18 17:24:18
|
||||
* @FilePath : \\tms-obc-web\\src\\app\\routes\\order-management\\modal\\vehicle\\update-freight\\update-freight.component.ts
|
||||
* Copyright (C) 2022 huzhenhong. All rights reserved.
|
||||
*/
|
||||
import { Component, Input, OnInit, ViewChild } from '@angular/core';
|
||||
import {
|
||||
SFComponent,
|
||||
SFCustomWidgetSchema,
|
||||
SFNumberWidgetSchema,
|
||||
SFRadioWidgetSchema,
|
||||
SFSchema,
|
||||
SFSelectWidgetSchema,
|
||||
SFTextareaWidgetSchema,
|
||||
SFUISchema
|
||||
} from '@delon/form';
|
||||
import { _HttpClient } from '@delon/theme';
|
||||
import { SFComponent, SFNumberWidgetSchema, SFSchema, SFTextareaWidgetSchema, SFUISchema } from '@delon/form';
|
||||
import { NzMessageService } from 'ng-zorro-antd/message';
|
||||
import { NzModalRef } from 'ng-zorro-antd/modal';
|
||||
import { OrderManagementService } from '../../../services/order-management.service';
|
||||
import { Subscription } from 'rxjs';
|
||||
import { OrderManagementService } from '../../../services/order-management.service';
|
||||
|
||||
@Component({
|
||||
selector: 'app-order-management-vehicle-update-freight',
|
||||
@ -58,8 +49,8 @@ export class VehicleUpdateFreightComponent implements OnInit {
|
||||
type: 'number',
|
||||
title: '预付',
|
||||
default: info.prePay?.price || 0,
|
||||
minimum:0,
|
||||
maximum:99999,
|
||||
minimum: 0,
|
||||
maximum: 99999,
|
||||
readOnly: info.prePay?.paymentStatus === '2' || info.prePay?.paymentStatus === '4',
|
||||
ui: {
|
||||
prefix: '¥',
|
||||
@ -72,8 +63,8 @@ export class VehicleUpdateFreightComponent implements OnInit {
|
||||
type: 'number',
|
||||
title: '到付',
|
||||
default: info.toPay?.price || 0,
|
||||
minimum:0,
|
||||
maximum:99999,
|
||||
minimum: 0,
|
||||
maximum: 99999,
|
||||
readOnly: info.toPay?.paymentStatus === '2' || info.toPay?.paymentStatus === '4',
|
||||
ui: {
|
||||
prefix: '¥',
|
||||
@ -86,7 +77,7 @@ export class VehicleUpdateFreightComponent implements OnInit {
|
||||
// type: 'number',
|
||||
// title: '油卡',
|
||||
// default: 0.0,
|
||||
// minimum:0,
|
||||
// minimum:0,
|
||||
// readOnly: this.i.oilCardPayStatus === '1' || this.i.oilCardPayStatus === '3',
|
||||
// ui: {
|
||||
// prefix: '¥',
|
||||
@ -98,9 +89,9 @@ export class VehicleUpdateFreightComponent implements OnInit {
|
||||
receiptPay: {
|
||||
type: 'number',
|
||||
title: '回单付',
|
||||
maximum:99999,
|
||||
maximum: 99999,
|
||||
default: info.receiptPay?.price || 0,
|
||||
minimum:0,
|
||||
minimum: 0,
|
||||
readOnly: info.receiptPay?.paymentStatus === '2' || info.receiptPay?.paymentStatus === '4',
|
||||
ui: {
|
||||
prefix: '¥',
|
||||
@ -130,7 +121,7 @@ export class VehicleUpdateFreightComponent implements OnInit {
|
||||
}
|
||||
|
||||
save(value: any): void {
|
||||
if(!this.sf.valid) {
|
||||
if (!this.sf.valid) {
|
||||
this.service.msgSrv.error('请填写必填项!');
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user