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