This commit is contained in:
wangshiming
2022-03-11 11:18:03 +08:00
parent 2f67f0ae0b
commit d8de5bfe8b

View File

@ -143,6 +143,11 @@ export class SupplyManagementOnecarPublishComponent implements OnInit {
initSF1() {
this.schema1 = {
properties: {
resourceCode: {
type: 'string',
title: '',
ui: { hidden: true }
},
shipperAppUserId: {
title: '货主',
type: 'string',
@ -992,6 +997,8 @@ export class SupplyManagementOnecarPublishComponent implements OnInit {
];
// 从“再下一单”过来将所有的子参数内的id都删除
if (this.PageStatus === '整车下一单') {
delete this.sf1.value.resourceCode;
LoadingList.forEach((ele: any) => {
delete ele.id;
});
@ -1144,6 +1151,7 @@ export class SupplyManagementOnecarPublishComponent implements OnInit {
this.totalDistance = res?.estimatedKilometers;
this.totalTime = res?.estimatedTravelTime;
this.sf1data = {
resourceCode:res?.resourceCode || '',
enterpriseInfoName: res?.enterpriseInfoName,
enterpriseInfoId: res?.enterpriseInfoId,
dispatchPhone: res?.dispatchPhone,