车辆接口更新

This commit is contained in:
wangshiming
2022-01-25 13:10:45 +08:00
parent 220ffa2d6d
commit a4e402fea6
4 changed files with 11 additions and 7 deletions

View File

@ -256,7 +256,7 @@ export class ReceiptOrderComponent implements OnInit {
{ title: '付款人', index: 'artoname', width: 200, className: 'text-left' }, { title: '付款人', index: 'artoname', width: 200, className: 'text-left' },
{ title: '银行水单', index: 'bankreceipt', width: 200, className: 'text-left' }, { title: '银行水单', index: 'bankreceipt', width: 200, className: 'text-left' },
{ title: '创建时间', index: 'createTime', type: 'date', width: 200, className: 'text-left' }, { title: '创建时间', index: 'createTime', type: 'date', width: 200, className: 'text-left' },
{ title: '创建人', index: 'createUserId', width: 150, className: 'text-left' }, { title: '创建人', index: 'createUserName', width: 150, className: 'text-left' },
{ title: '收款状态', index: 'stsLabel', width: 200, className: 'text-left' }, { title: '收款状态', index: 'stsLabel', width: 200, className: 'text-left' },
{ title: '收款备注', index: 'remarks', width: 200, className: 'text-left' }, { title: '收款备注', index: 'remarks', width: 200, className: 'text-left' },
{ {

View File

@ -238,7 +238,7 @@ export class ReceivableOrderComponent implements OnInit {
return [ return [
{ title: '', index: 'key', type: 'checkbox' }, { title: '', index: 'key', type: 'checkbox' },
{ title: '核销单号', index: 'ahxcode', type: 'link', width: 140 }, { title: '核销单号', index: 'ahxcode', type: 'link', width: 140 },
{ title: '网络货运人', index: 'ltdId', width: 140 }, { title: '网络货运人', index: 'ltdName', width: 140 },
{ title: '核销日期', index: 'ahxdate', type: 'date', width: 160 }, { title: '核销日期', index: 'ahxdate', type: 'date', width: 160 },
{ title: '付款账户', index: 'shipperaccount', width: 120 }, { title: '付款账户', index: 'shipperaccount', width: 120 },
{ title: '收款账户', index: 'ltdaccount', width: 120 }, { title: '收款账户', index: 'ltdaccount', width: 120 },

View File

@ -4,7 +4,7 @@
* @Author : Shiming * @Author : Shiming
* @Date : 2021-12-29 16:48:16 * @Date : 2021-12-29 16:48:16
* @LastEditors : Shiming * @LastEditors : Shiming
* @LastEditTime : 2022-01-18 17:22:24 * @LastEditTime : 2022-01-24 20:18:38
* @FilePath : \\tms-obc-web\\src\\app\\routes\\order-management\\modal\\vehicle\\freight-people\\freight-people.component.html * @FilePath : \\tms-obc-web\\src\\app\\routes\\order-management\\modal\\vehicle\\freight-people\\freight-people.component.html
* Copyright (C) 2022 huzhenhong. All rights reserved. * Copyright (C) 2022 huzhenhong. All rights reserved.
--> -->
@ -12,5 +12,5 @@
<sf style="margin-top: 15px" #sf mode="edit" [schema]="schema" [ui]="ui" button="none"></sf> <sf style="margin-top: 15px" #sf mode="edit" [schema]="schema" [ui]="ui" button="none"></sf>
<div class="modal-footer"> <div class="modal-footer">
<button nz-button type="button" (click)="close()">关闭</button> <button nz-button type="button" (click)="close()">关闭</button>
<button nz-button type="submit" nzType="primary" (click)="save(sf?.value)" [disabled]="sf?.valid">确定</button> <button nz-button type="submit" nzType="primary" (click)="save(sf?.value)" >确定</button>
</div> </div>

View File

@ -4,7 +4,7 @@
* @Author : Shiming * @Author : Shiming
* @Date : 2021-12-29 16:48:16 * @Date : 2021-12-29 16:48:16
* @LastEditors : Shiming * @LastEditors : Shiming
* @LastEditTime : 2022-01-18 17:22:37 * @LastEditTime : 2022-01-24 20:19:31
* @FilePath : \\tms-obc-web\\src\\app\\routes\\order-management\\modal\\vehicle\\freight-people\\freight-people.component.ts * @FilePath : \\tms-obc-web\\src\\app\\routes\\order-management\\modal\\vehicle\\freight-people\\freight-people.component.ts
* Copyright (C) 2022 huzhenhong. All rights reserved. * Copyright (C) 2022 huzhenhong. All rights reserved.
*/ */
@ -57,7 +57,7 @@ export class VehicleFreightPeopleComponent implements OnInit {
} }
} }
}, },
required: ['enterpriseInfoName'] required: ['enterpriseInfoId']
}; };
this.ui = { this.ui = {
'*': { '*': {
@ -69,9 +69,13 @@ export class VehicleFreightPeopleComponent implements OnInit {
save(value: any): void { save(value: any): void {
console.log(this.sf.value); console.log(this.sf.value);
if(!this.sf.valid) {
this.service.msgSrv.error("请选择网络货运人!")
return;
}
const params = { const params = {
billIds: this.data?.ids, billIds: this.data?.ids,
enterpriseInfoId: this.sf.value?.enterpriseInfoName enterpriseInfoId: this.sf.value?.enterpriseInfoId
}; };
console.log(params); console.log(params);
this.service.request(this.service.$api_set_updateEnterpriseInfoBatch, params).subscribe((res: any) => { this.service.request(this.service.$api_set_updateEnterpriseInfoBatch, params).subscribe((res: any) => {