车辆对接
This commit is contained in:
@ -2,7 +2,7 @@ import { ViewChild } from '@angular/core';
|
||||
/*
|
||||
* @Author: your name
|
||||
* @Date: 2021-12-03 15:31:52
|
||||
* @LastEditTime: 2021-12-24 14:59:33
|
||||
* @LastEditTime: 2021-12-24 15:35:18
|
||||
* @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\components\vehicle-detail\vehicle-detail.component.ts
|
||||
@ -424,19 +424,15 @@ export class OrderManagementVehicleDetailChangeComponent implements OnInit {
|
||||
console.log(this.sf.value)
|
||||
const params = {
|
||||
id: this.id,
|
||||
unLoadingPlaceList: [...this.startInfo, ...this.endInfo,],
|
||||
goodsResource: [{
|
||||
id: this.i?.goodsResource?.id,
|
||||
enterpriseInfoId: this.sf3.value?.enterpriseInfoId,
|
||||
}],
|
||||
unLoadingPlaceDTOList: [...this.startInfo, ...this.endInfo,],
|
||||
receiptFilePath: imgList,
|
||||
goodsInfoList: [{
|
||||
goodsInfoDTOList: [{
|
||||
id: this.i?.goodsInfoList?.[0].id,
|
||||
goodsName: this.sf3.value?.goodsName,
|
||||
...this.sf4.value
|
||||
}],
|
||||
// 运费信息
|
||||
expenseList: this.i?.billExpenseDetails,
|
||||
billExpenseDetailDTOList: this.i?.billExpenseDetails,
|
||||
// 收款人
|
||||
payeeId: this.dirverPhone,
|
||||
dirverBankCard: this.dirverBankCard, // 银行卡
|
||||
@ -572,18 +568,18 @@ export class OrderManagementVehicleDetailChangeComponent implements OnInit {
|
||||
initSF3() {
|
||||
this.schema3 = {
|
||||
properties: {
|
||||
enterpriseInfoId: {
|
||||
title: '网络货运人',
|
||||
type: 'string',
|
||||
ui: {
|
||||
placeholder: '请选择',
|
||||
widget: 'select',
|
||||
asyncData: () => this.service2.getNetworkFreightForwarder(),
|
||||
visibleIf: {
|
||||
_$expand: (value: boolean) => value,
|
||||
},
|
||||
}
|
||||
},
|
||||
// enterpriseInfoId: {
|
||||
// title: '网络货运人',
|
||||
// type: 'string',
|
||||
// ui: {
|
||||
// placeholder: '请选择',
|
||||
// widget: 'select',
|
||||
// asyncData: () => this.service2.getNetworkFreightForwarder(),
|
||||
// visibleIf: {
|
||||
// _$expand: (value: boolean) => value,
|
||||
// },
|
||||
// }
|
||||
// },
|
||||
goodsName: {
|
||||
type: 'string',
|
||||
title: '货物名称',
|
||||
@ -603,16 +599,13 @@ initSF3() {
|
||||
}
|
||||
}
|
||||
},
|
||||
required: ['goodsName', 'enterpriseInfoId']
|
||||
required: ['goodsName',]
|
||||
};
|
||||
this.ui3 = {
|
||||
'*': {
|
||||
spanLabelFixed: 110,
|
||||
grid: { span: 12 }
|
||||
},
|
||||
$enterpriseInfoId: {
|
||||
grid: { span: 16, }
|
||||
},
|
||||
$goodsName: {
|
||||
grid: { span: 12 }
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user