车辆对接

This commit is contained in:
wangshiming
2022-01-13 14:30:03 +08:00
parent 73b7bd66a9
commit 4dc7b9490b
4 changed files with 28 additions and 17 deletions

View File

@ -2,7 +2,7 @@ import { preloaderFinished } from '@delon/theme';
/*
* @Author: your name
* @Date: 2021-12-14 14:03:07
* @LastEditTime: 2022-01-13 14:08:56
* @LastEditTime: 2022-01-13 14:25:56
* @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
@ -127,9 +127,13 @@ export class VehicleUpdateFreightComponent implements OnInit {
}
save(value: any): void {
if(!this.sf.valid) {
this.service.msgSrv.error('请填写必填项!');
return;
}
this.service.request(this.service.$api_get_insertFreightChangeWhole, this.getParams()).subscribe(res => {
if (res) {
this.modal.destroy();
this.modal.destroy(true);
this.service.msgSrv.success('变更运费成功');
}
});