1、完善发货模板
2、完善运输计划 3、完善运单管理
This commit is contained in:
@@ -116,9 +116,13 @@ export const config = {
|
||||
exportName: '运输计划',
|
||||
enableAllDept: false,
|
||||
enableProjectSelect: true,
|
||||
templateCreateTarget: 'transport-plan',
|
||||
enableAttachmentTable: true,
|
||||
enableTransportPlanForm: true,
|
||||
enableTransportPlanCreateActions: true,
|
||||
enableTransportPlanImport: true,
|
||||
transportPlanImportTitle: '导入发货计划',
|
||||
transportPlanTemplateUrl: '/blade-transport/transport-plan/export-template',
|
||||
attachmentTitle: '附件',
|
||||
searchRangeMap: {
|
||||
planStartDateRange: ['planStartDateStart', 'planStartDateEnd'],
|
||||
@@ -129,6 +133,55 @@ export const config = {
|
||||
statusTextProp: 'businessStatusName',
|
||||
deleteStatus: ['draft'],
|
||||
editStatus: ['draft', 'waiting_dispatch'],
|
||||
detailButton: true,
|
||||
detailSections: [
|
||||
{
|
||||
title: '基本信息',
|
||||
fields: [
|
||||
['planNo', '计划单号'],
|
||||
['planName', '计划名称'],
|
||||
['projectName', '项目名称'],
|
||||
['customerName', '客户名称'],
|
||||
['transportType', '运输方式'],
|
||||
['businessStatus', '调度状态'],
|
||||
['planStartDate', '计划开始日期'],
|
||||
['planEndDate', '计划结束日期'],
|
||||
['dataSource', '数据来源'],
|
||||
],
|
||||
},
|
||||
{
|
||||
title: '收发货信息',
|
||||
fields: [
|
||||
['departureName', '发货地'],
|
||||
['departureAddress', '发货地址', 2],
|
||||
['departureContact', '发货联系人'],
|
||||
['departurePhone', '发货联系方式'],
|
||||
['arrivalName', '收货地'],
|
||||
['arrivalAddress', '到货地址', 2],
|
||||
['arrivalContact', '收货联系人'],
|
||||
['arrivalPhone', '收货联系方式'],
|
||||
],
|
||||
},
|
||||
{
|
||||
title: '其它信息',
|
||||
fields: [
|
||||
['remark', '备注', 2],
|
||||
['updateUserName', '更新人'],
|
||||
['updateTime', '更新时间'],
|
||||
['createTime', '创建时间'],
|
||||
],
|
||||
},
|
||||
],
|
||||
operations: [
|
||||
{
|
||||
action: 'dispatch',
|
||||
label: '调度',
|
||||
statusProp: 'businessStatus',
|
||||
status: ['waiting_dispatch'],
|
||||
permission: 'transport_plan_edit',
|
||||
confirm: '确定调度该运输计划?',
|
||||
},
|
||||
],
|
||||
};
|
||||
|
||||
export const option = {
|
||||
|
||||
Reference in New Issue
Block a user