Merge branch 'develop' of https://gitlab.eascs.com/tms-ui/tms-obc-web into develop
This commit is contained in:
@ -176,42 +176,23 @@ export class SupplyManagementBulkPublishComponent implements OnInit {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
dispatchPhone: {
|
|
||||||
type: 'string',
|
|
||||||
title: '手机号',
|
|
||||||
maxLength: 30,
|
|
||||||
ui: {
|
|
||||||
hidden: true,
|
|
||||||
placeholder: '请输入'
|
|
||||||
}
|
|
||||||
},
|
|
||||||
dispatchName: {
|
dispatchName: {
|
||||||
type: 'string',
|
type: 'string',
|
||||||
title: '名字',
|
title: '调度员姓名',
|
||||||
maxLength: 30,
|
maxLength: 30,
|
||||||
ui: {
|
ui: {
|
||||||
hidden: true,
|
optionalHelp: '选若未填写,司机直接联系您',
|
||||||
placeholder: '请输入'
|
placeholder: '请输入'
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
dispatchId: {
|
dispatchPhone: {
|
||||||
type: 'string',
|
type: 'string',
|
||||||
title: '调度员',
|
title: '调度员手机号',
|
||||||
|
maxLength: 30,
|
||||||
ui: {
|
ui: {
|
||||||
widget: 'select',
|
placeholder: '请输入'
|
||||||
placeholder: '请选择',
|
}
|
||||||
allowClear: true,
|
},
|
||||||
change: (value: any, data: any) => {
|
|
||||||
if (data.label) {
|
|
||||||
const dat = data.label.split('/');
|
|
||||||
this.sf1.setValue('/dispatchName', dat[0]);
|
|
||||||
this.sf1.setValue('/dispatchPhone', dat[1]);
|
|
||||||
}
|
|
||||||
},
|
|
||||||
optionalHelp: '选择调度员,司机直接联系调度员 ; 不选择,司机直接联系您',
|
|
||||||
asyncData: () => this.shipperSrv.getStaffList2()
|
|
||||||
} as SFSelectWidgetSchema
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
required: ['shipperAppUserId', 'enterpriseProjectId', 'enterpriseInfoName', 'deadlineTime']
|
required: ['shipperAppUserId', 'enterpriseProjectId', 'enterpriseInfoName', 'deadlineTime']
|
||||||
};
|
};
|
||||||
@ -911,7 +892,6 @@ export class SupplyManagementBulkPublishComponent implements OnInit {
|
|||||||
enterpriseProjectId: res?.enterpriseProjectId || '',
|
enterpriseProjectId: res?.enterpriseProjectId || '',
|
||||||
enterpriseInfoName: res?.enterpriseInfoName || '',
|
enterpriseInfoName: res?.enterpriseInfoName || '',
|
||||||
externalResourceCode: res?.externalResourceCode || '',
|
externalResourceCode: res?.externalResourceCode || '',
|
||||||
dispatchId: res?.dispatchId || '',
|
|
||||||
deadlineTime: res?.deadlineTime || ''
|
deadlineTime: res?.deadlineTime || ''
|
||||||
};
|
};
|
||||||
if (this.PageStatus === '大宗修改') {
|
if (this.PageStatus === '大宗修改') {
|
||||||
|
|||||||
@ -199,42 +199,23 @@ export class SupplyManagementBulkReleasePublishComponent implements OnInit {
|
|||||||
},
|
},
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
dispatchPhone: {
|
|
||||||
type: 'string',
|
|
||||||
title: '手机号',
|
|
||||||
maxLength: 11,
|
|
||||||
ui: {
|
|
||||||
hidden: true,
|
|
||||||
placeholder: '请输入'
|
|
||||||
}
|
|
||||||
},
|
|
||||||
dispatchName: {
|
dispatchName: {
|
||||||
type: 'string',
|
type: 'string',
|
||||||
title: '名字',
|
title: '调度员姓名',
|
||||||
maxLength: 30,
|
maxLength: 30,
|
||||||
ui: {
|
ui: {
|
||||||
hidden: true,
|
optionalHelp: '选若未填写,司机直接联系您',
|
||||||
placeholder: '请输入'
|
placeholder: '请输入'
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
dispatchId: {
|
dispatchPhone: {
|
||||||
type: 'string',
|
type: 'string',
|
||||||
title: '调度员',
|
title: '调度员手机号',
|
||||||
|
maxLength: 30,
|
||||||
ui: {
|
ui: {
|
||||||
widget: 'select',
|
placeholder: '请输入'
|
||||||
placeholder: '请选择',
|
}
|
||||||
allowClear: true,
|
},
|
||||||
change: (value: any, data: any) => {
|
|
||||||
if(data.label) {
|
|
||||||
const dat = data.label.split('/')
|
|
||||||
this.sf1.setValue('/dispatchName', dat[0]);
|
|
||||||
this.sf1.setValue('/dispatchPhone', dat[1]);
|
|
||||||
}
|
|
||||||
},
|
|
||||||
optionalHelp: '选择调度员,司机直接联系调度员 ; 不选择,司机直接联系您',
|
|
||||||
asyncData: () => this.shipperSrv.getStaffList2()
|
|
||||||
} as SFSelectWidgetSchema
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
required: ['shipperAppUserId', 'enterpriseProjectId','enterpriseInfoName','enterpriseInfoId', 'deadlineTime',]
|
required: ['shipperAppUserId', 'enterpriseProjectId','enterpriseInfoName','enterpriseInfoId', 'deadlineTime',]
|
||||||
};
|
};
|
||||||
|
|||||||
@ -197,42 +197,41 @@ export class SupplyManagementOnecarPublishComponent implements OnInit {
|
|||||||
placeholder: '请输入'
|
placeholder: '请输入'
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
dispatchPhone: {
|
|
||||||
type: 'string',
|
|
||||||
title: '手机号',
|
|
||||||
maxLength: 30,
|
|
||||||
ui: {
|
|
||||||
hidden: true,
|
|
||||||
placeholder: '请输入'
|
|
||||||
}
|
|
||||||
},
|
|
||||||
dispatchName: {
|
dispatchName: {
|
||||||
type: 'string',
|
type: 'string',
|
||||||
title: '名字',
|
title: '调度员姓名',
|
||||||
maxLength: 30,
|
maxLength: 30,
|
||||||
ui: {
|
ui: {
|
||||||
hidden: true,
|
optionalHelp: '选若未填写,司机直接联系您',
|
||||||
placeholder: '请输入'
|
placeholder: '请输入'
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
dispatchId: {
|
dispatchPhone: {
|
||||||
type: 'string',
|
type: 'string',
|
||||||
title: '调度员',
|
title: '调度员手机号',
|
||||||
|
maxLength: 30,
|
||||||
ui: {
|
ui: {
|
||||||
widget: 'select',
|
placeholder: '请输入'
|
||||||
placeholder: '请选择',
|
}
|
||||||
allowClear: true,
|
|
||||||
optionalHelp: '选择调度员,司机直接联系调度员 ; 不选择,司机直接联系您',
|
|
||||||
change: (_value: any, data: any) => {
|
|
||||||
if (data.label) {
|
|
||||||
const dat = data.label.split('/');
|
|
||||||
this.sf1.setValue('/dispatchName', dat[0]);
|
|
||||||
this.sf1.setValue('/dispatchPhone', dat[1]);
|
|
||||||
}
|
|
||||||
},
|
|
||||||
asyncData: () => this.shipperSrv.getStaffList2()
|
|
||||||
} as SFSelectWidgetSchema
|
|
||||||
},
|
},
|
||||||
|
// dispatchId: {
|
||||||
|
// type: 'string',
|
||||||
|
// title: '调度员',
|
||||||
|
// ui: {
|
||||||
|
// widget: 'select',
|
||||||
|
// placeholder: '请选择',
|
||||||
|
// allowClear: true,
|
||||||
|
// optionalHelp: '选择调度员,司机直接联系调度员 ; 不选择,司机直接联系您',
|
||||||
|
// change: (_value: any, data: any) => {
|
||||||
|
// if (data.label) {
|
||||||
|
// const dat = data.label.split('/');
|
||||||
|
// this.sf1.setValue('/dispatchName', dat[0]);
|
||||||
|
// this.sf1.setValue('/dispatchPhone', dat[1]);
|
||||||
|
// }
|
||||||
|
// },
|
||||||
|
// asyncData: () => this.shipperSrv.getStaffList2()
|
||||||
|
// } as SFSelectWidgetSchema
|
||||||
|
// },
|
||||||
},
|
},
|
||||||
required: ['shipperAppUserId', 'enterpriseProjectId']
|
required: ['shipperAppUserId', 'enterpriseProjectId']
|
||||||
};
|
};
|
||||||
@ -250,9 +249,6 @@ export class SupplyManagementOnecarPublishComponent implements OnInit {
|
|||||||
$enterpriseProjectId: {
|
$enterpriseProjectId: {
|
||||||
grid: { span: 12 }
|
grid: { span: 12 }
|
||||||
},
|
},
|
||||||
$dispatchId: {
|
|
||||||
grid: { span: 12 }
|
|
||||||
}
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
initSF3() {
|
initSF3() {
|
||||||
@ -1136,7 +1132,6 @@ export class SupplyManagementOnecarPublishComponent implements OnInit {
|
|||||||
dispatchPhone: res?.dispatchPhone,
|
dispatchPhone: res?.dispatchPhone,
|
||||||
dispatchName: res?.dispatchName,
|
dispatchName: res?.dispatchName,
|
||||||
externalResourceCode: res?.externalResourceCode,
|
externalResourceCode: res?.externalResourceCode,
|
||||||
dispatchId: res?.dispatchId
|
|
||||||
};
|
};
|
||||||
if (this.PageStatus === '整车修改') {
|
if (this.PageStatus === '整车修改') {
|
||||||
this.sf1data.id = res?.id;
|
this.sf1data.id = res?.id;
|
||||||
|
|||||||
@ -195,41 +195,22 @@ export class SupplyManagementReleasePublishComponent implements OnInit {
|
|||||||
placeholder: '请输入'
|
placeholder: '请输入'
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
dispatchPhone: {
|
|
||||||
type: 'string',
|
|
||||||
title: '手机号',
|
|
||||||
maxLength: 30,
|
|
||||||
ui: {
|
|
||||||
hidden: true,
|
|
||||||
placeholder: '请输入'
|
|
||||||
}
|
|
||||||
},
|
|
||||||
dispatchName: {
|
dispatchName: {
|
||||||
type: 'string',
|
type: 'string',
|
||||||
title: '名字',
|
title: '调度员姓名',
|
||||||
maxLength: 30,
|
maxLength: 30,
|
||||||
ui: {
|
ui: {
|
||||||
hidden: true,
|
optionalHelp: '选若未填写,司机直接联系您',
|
||||||
placeholder: '请输入'
|
placeholder: '请输入'
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
dispatchId: {
|
dispatchPhone: {
|
||||||
type: 'string',
|
type: 'string',
|
||||||
title: '调度员',
|
title: '调度员手机号',
|
||||||
|
maxLength: 30,
|
||||||
ui: {
|
ui: {
|
||||||
widget: 'select',
|
placeholder: '请输入'
|
||||||
placeholder: '请选择',
|
}
|
||||||
allowClear: true,
|
|
||||||
change: (_value: any, data: any) => {
|
|
||||||
if (data.label) {
|
|
||||||
const dat = data.label.split('/');
|
|
||||||
this.sf1.setValue('/dispatchName', dat[0]);
|
|
||||||
this.sf1.setValue('/dispatchPhone', dat[1]);
|
|
||||||
}
|
|
||||||
},
|
|
||||||
optionalHelp: '选择调度员,司机直接联系调度员 ; 不选择,司机直接联系您',
|
|
||||||
asyncData: () => this.shipperSrv.getStaffList2()
|
|
||||||
} as SFSelectWidgetSchema
|
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
required: ['shipperAppUserId', 'enterpriseProjectId', 'enterpriseInfoName']
|
required: ['shipperAppUserId', 'enterpriseProjectId', 'enterpriseInfoName']
|
||||||
|
|||||||
Reference in New Issue
Block a user