diff --git a/src/option/business/shipping-template.js b/src/option/business/shipping-template.js index efa9933..43823f2 100644 --- a/src/option/business/shipping-template.js +++ b/src/option/business/shipping-template.js @@ -42,6 +42,7 @@ export const config = { }, excludeVoidedProjects: true, enableAttachmentTable: true, + detailAttachmentDescriptionPlain: true, enableTransportPlanForm: true, enableShippingTemplateFreight: true, editableRoadAddress: true, diff --git a/src/option/business/transport-plan.js b/src/option/business/transport-plan.js index 5d5fd8f..96c1365 100644 --- a/src/option/business/transport-plan.js +++ b/src/option/business/transport-plan.js @@ -51,9 +51,9 @@ const formatGoodsQuantity = value => { }; const getSecondCargoTypeName = item => - item?.cargoType || item?.secondCargoTypeName || item?.secondCargoType || + item?.cargoType || item?.goodsType || item?.type || item?.cargoTypeName || @@ -97,10 +97,10 @@ const formatGoodsInfo = row => { const text = Object.entries(groups) .map(([unit, group]) => { - const quantity = `${formatGoodsQuantity(group.quantity)}${unit}`; - return `${group.typeName}等${group.count}种货物 | ${quantity}`; + const quantity = formatGoodsQuantity(group.quantity); + return `${group.typeName}等${group.count}种货物 | ${quantity}${unit ? ` ${unit}` : ''}`; }) - .join('; '); + .join('; '); return text || row.goodsInfo || ''; }; diff --git a/src/option/business/waybill-manage.js b/src/option/business/waybill-manage.js index 08651f1..0a38799 100644 --- a/src/option/business/waybill-manage.js +++ b/src/option/business/waybill-manage.js @@ -261,6 +261,7 @@ export const config = { importUrl: '/blade-transport/waybill-manage/import-waybill-manage', defaultForm: { carrierType: '承运商', + transportType: 'road', quantityUnit: '吨', priceUnit: '元/吨', }, diff --git a/src/views/business/components/business-crud-page.vue b/src/views/business/components/business-crud-page.vue index d910227..4bb64b2 100644 --- a/src/views/business/components/business-crud-page.vue +++ b/src/views/business/components/business-crud-page.vue @@ -108,6 +108,24 @@ {{ formatTransportPlanGoodsInfo(row) || '-' }} + + + + @@ -655,26 +672,16 @@ label="司机" class="business-crud-page__task-span-1" > - - - + @select="item => handleTaskDriverSelect('form', item)" + /> - - - + @select="item => handleTaskDriverSelect('form', item)" + /> - - - + @select="item => handleTaskDriverSelect('form', item)" + /> - - - + + @@ -2475,7 +2463,7 @@ {{ formatTransportPlanProvinceCityDistrict(row.departureAddress) }} - + - + @@ -3477,7 +3485,7 @@ - + - - + +