fix bug
This commit is contained in:
@ -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,
|
||||
|
||||
Reference in New Issue
Block a user