📄 editshipmentroutesegments.ftl
字号:
<#-- * Copyright (c) 2003 The Open For Business Project - www.ofbiz.org * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), * to deal in the Software without restriction, including without limitation * the rights to use, copy, modify, merge, publish, distribute, sublicense, * and/or sell copies of the Software, and to permit persons to whom the * Software is furnished to do so, subject to the following conditions: * * The above copyright notice and this permission notice shall be included * in all copies or substantial portions of the Software. * * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. * IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY * CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT * OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR * THE USE OR OTHER DEALINGS IN THE SOFTWARE. * *@author David E. Jones (jonesde@ofbiz.org) *@author Catherine.Heintz@nereide.biz (migration to UiLabel) *@version $Rev: 5736 $ *@since 2.2--><#if shipment?exists><table width="100%" cellspacing="0" cellpadding="2" border="1"> <tr> <td><div class="tableheadtext">${uiLabelMap.ProductSegment}</div></td> <td> <div class="tableheadtext">${uiLabelMap.ProductCarrierShipmentMethod}</div> <div class="tableheadtext">${uiLabelMap.ProductOriginDestinationFacility}</div> <div class="tableheadtext">${uiLabelMap.ProductOriginDestinationAddressId}</div> <div class="tableheadtext">${uiLabelMap.ProductOriginDestinationPhoneId}</div> </td> <td> <div class="tableheadtext">${uiLabelMap.ProductCarrierStatus}</div> <div class="tableheadtext">${uiLabelMap.ProductTrackingNumber}</div> <div class="tableheadtext">${uiLabelMap.ProductEstimatedStartArrive}</div> <div class="tableheadtext">${uiLabelMap.ProductActualStartArrive}</div> </td> <td> <div class="tableheadtext">${uiLabelMap.ProductBillingWeightUom}</div> <div class="tableheadtext">${uiLabelMap.ProductCurrencyUom}</div> <div class="tableheadtext">${uiLabelMap.ProductActualTransport}</div> <div class="tableheadtext">${uiLabelMap.ProductActualServices}</div> <div class="tableheadtext">${uiLabelMap.ProductActualOther}</div> <div class="tableheadtext">${uiLabelMap.ProductActualTotal}</div> </td> <td><div class="tableheadtext"> </div></td> <td><div class="tableheadtext"> </div></td> </tr><#list shipmentRouteSegmentDatas as shipmentRouteSegmentData> <#assign shipmentRouteSegment = shipmentRouteSegmentData.shipmentRouteSegment> <#assign shipmentPackageRouteSegs = shipmentRouteSegmentData.shipmentPackageRouteSegs?if_exists> <#assign originFacility = shipmentRouteSegmentData.originFacility?if_exists> <#assign destFacility = shipmentRouteSegmentData.destFacility?if_exists> <#assign shipmentMethodType = shipmentRouteSegmentData.shipmentMethodType?if_exists> <#assign carrierPerson = shipmentRouteSegmentData.carrierPerson?if_exists> <#assign carrierPartyGroup = shipmentRouteSegmentData.carrierPartyGroup?if_exists> <#assign originPostalAddress = shipmentRouteSegmentData.originPostalAddress?if_exists> <#assign destPostalAddress = shipmentRouteSegmentData.destPostalAddress?if_exists> <#assign originTelecomNumber = shipmentRouteSegmentData.originTelecomNumber?if_exists> <#assign destTelecomNumber = shipmentRouteSegmentData.destTelecomNumber?if_exists> <#assign carrierServiceStatusItem = shipmentRouteSegmentData.carrierServiceStatusItem?if_exists> <#assign currencyUom = shipmentRouteSegmentData.currencyUom?if_exists> <#assign billingWeightUom = shipmentRouteSegmentData.billingWeightUom?if_exists> <#assign carrierServiceStatusValidChangeToDetails = shipmentRouteSegmentData.carrierServiceStatusValidChangeToDetails?if_exists> <form action="<@ofbizUrl>updateShipmentRouteSegment</@ofbizUrl>" name="updateShipmentRouteSegmentForm${shipmentRouteSegmentData_index}"> <input type="hidden" name="shipmentId" value="${shipmentId}"/> <input type="hidden" name="shipmentRouteSegmentId" value="${shipmentRouteSegment.shipmentRouteSegmentId}"/> <tr> <td><div class="tabletext">${shipmentRouteSegment.shipmentRouteSegmentId}</div></td> <td><span class="tabletext"></span> <select name="carrierPartyId" class="selectBox"> <#if shipmentRouteSegment.carrierPartyId?has_content> <option value="${shipmentRouteSegment.carrierPartyId}">${(carrierPerson.firstName)?if_exists} ${(carrierPerson.middleName)?if_exists} ${(carrierPerson.lastName)?if_exists} ${(carrierPartyGroup.groupName)?if_exists} [${shipmentRouteSegment.carrierPartyId}]</option> <option value="${shipmentRouteSegment.carrierPartyId}">---</option> <#else> <option value=""> </option> </#if> <#list carrierPartyDatas as carrierPartyData> <option value="${carrierPartyData.party.partyId}">${(carrierPartyData.person.firstName)?if_exists} ${(carrierPartyData.person.middleName)?if_exists} ${(carrierPartyData.person.lastName)?if_exists} ${(carrierPartyData.partyGroup.groupName)?if_exists} [${carrierPartyData.party.partyId}]</option> </#list> </select> <select name="shipmentMethodTypeId" class="selectBox"> <#if shipmentMethodType?has_content> <option value="${shipmentMethodType.shipmentMethodTypeId}">${shipmentMethodType.description}</option> <option value="${shipmentMethodType.shipmentMethodTypeId}">---</option> <#else> <option value=""> </option> </#if> <#list shipmentMethodTypes as shipmentMethodTypeOption> <option value="${shipmentMethodTypeOption.shipmentMethodTypeId}">${shipmentMethodTypeOption.description}</option> </#list> </select> <br/> <select name="originFacilityId" class="selectBox"> <#if originFacility?has_content> <option value="${originFacility.facilityId}">${originFacility.facilityName} [${originFacility.facilityId}]</option> <option value="${originFacility.facilityId}">---</option> <#else> <option value=""> </option> </#if> <#list facilities as facility> <option value="${facility.facilityId}">${facility.facilityName} [${facility.facilityId}]</option> </#list> </select> <select name="destFacilityId" class="selectBox"> <#if destFacility?has_content> <option value="${destFacility.facilityId}">${destFacility.facilityName} [${destFacility.facilityId}]</option> <option value="${destFacility.facilityId}">---</option> <#else> <option value=""> </option> </#if> <#list facilities as facility> <option value="${facility.facilityId}">${facility.facilityName} [${facility.facilityId}]</option> </#list> </select> <br/> <div class="tabletext"> <input type="text" size="15" name="originContactMechId" value="${shipmentRouteSegment.originContactMechId?if_exists}" class="inputBox"/> <#if originPostalAddress?has_content>[${uiLabelMap.CommonTo}: ${originPostalAddress.toName?if_exists}, ${uiLabelMap.CommonAttn}: ${originPostalAddress.attnName?if_exists}, ${originPostalAddress.address1?if_exists}, ${originPostalAddress.address2?if_exists}, ${originPostalAddress.city?if_exists}, ${originPostalAddress.stateProvinceGeoId?if_exists}, ${originPostalAddress.postalCode?if_exists}, ${originPostalAddress.countryGeoId?if_exists}]</#if> </div> <div class="tabletext"> <input type="text" size="15" name="destContactMechId" value="${shipmentRouteSegment.destContactMechId?if_exists}" class="inputBox"/> <#if destPostalAddress?has_content>[${uiLabelMap.CommonTo}: ${destPostalAddress.toName?if_exists},${uiLabelMap.CommonAttn}: ${destPostalAddress.attnName?if_exists}, ${destPostalAddress.address1?if_exists}, ${destPostalAddress.address2?if_exists}, ${destPostalAddress.city?if_exists}, ${destPostalAddress.stateProvinceGeoId?if_exists}, ${destPostalAddress.postalCode?if_exists}, ${destPostalAddress.countryGeoId?if_exists}]</#if> </div> <div class="tabletext"> <input type="text" size="15" name="originTelecomNumberId" value="${shipmentRouteSegment.originTelecomNumberId?if_exists}" class="inputBox"/> <#if originTelecomNumber?has_content>[${originTelecomNumber.countryCode?if_exists} ${originTelecomNumber.areaCode?if_exists} ${originTelecomNumber.contactNumber?if_exists}]</#if> </div> <div class="tabletext"> <input type="text" size="15" name="destTelecomNumberId" value="${shipmentRouteSegment.destTelecomNumberId?if_exists}" class="inputBox"/> <#if destTelecomNumber?has_content>[${destTelecomNumber.countryCode?if_exists} ${destTelecomNumber.areaCode?if_exists} ${destTelecomNumber.contactNumber?if_exists}]</#if> </div> </td> <td> <#if "UPS" == shipmentRouteSegment.carrierPartyId?if_exists> <#if !shipmentRouteSegment.carrierServiceStatusId?has_content || "SHRSCS_NOT_STARTED" == shipmentRouteSegment.carrierServiceStatusId?if_exists> <a href="<@ofbizUrl>upsShipmentConfirm?shipmentId=${shipmentRouteSegment.shipmentId}&shipmentRouteSegmentId=${shipmentRouteSegment.shipmentRouteSegmentId}</@ofbizUrl>" class="buttontext">${uiLabelMap.ProductConfirmShipmentUps}</a> <#elseif "SHRSCS_CONFIRMED" == shipmentRouteSegment.carrierServiceStatusId?if_exists> <a href="<@ofbizUrl>upsShipmentAccept?shipmentId=${shipmentRouteSegment.shipmentId}&shipmentRouteSegmentId=${shipmentRouteSegment.shipmentRouteSegmentId}</@ofbizUrl>" class="buttontext">${uiLabelMap.ProductAcceptUpsShipmentConfirmation}</a> <br/> <a href="<@ofbizUrl>upsVoidShipment?shipmentId=${shipmentRouteSegment.shipmentId}&shipmentRouteSegmentId=${shipmentRouteSegment.shipmentRouteSegmentId}</@ofbizUrl>" class="buttontext">${uiLabelMap.ProductVoidUpsShipmentConfirmation}</a> <#elseif "SHRSCS_ACCEPTED" == shipmentRouteSegment.carrierServiceStatusId?if_exists> <a href="<@ofbizUrl>upsTrackShipment?shipmentId=${shipmentRouteSegment.shipmentId}&shipmentRouteSegmentId=${shipmentRouteSegment.shipmentRouteSegmentId}</@ofbizUrl>" class="buttontext">${uiLabelMap.ProductTrackUpsShipment}</a> <br/> <a href="<@ofbizUrl>upsVoidShipment?shipmentId=${shipmentRouteSegment.shipmentId}&shipmentRouteSegmentId=${shipmentRouteSegment.shipmentRouteSegmentId}</@ofbizUrl>" class="buttontext">${uiLabelMap.ProductVoidUpsShipment}</a> </#if> </#if> <#if "DHL" == shipmentRouteSegment.carrierPartyId?if_exists> <#if !shipmentRouteSegment.carrierServiceStatusId?has_content || "SHRSCS_NOT_STARTED" == shipmentRouteSegment.carrierServiceStatusId?if_exists> <a href="<@ofbizUrl>dhlShipmentConfirm?shipmentId=${shipmentRouteSegment.shipmentId}&shipmentRouteSegmentId=${shipmentRouteSegment.shipmentRouteSegmentId}</@ofbizUrl>" class="buttontext">${uiLabelMap.ProductConfirmShipmentDHL}</a> </#if> </#if> <br/> <select name="carrierServiceStatusId" class="selectBox"> <#if carrierServiceStatusItem?has_content> <option value="${carrierServiceStatusItem.statusId}">${carrierServiceStatusItem.description}</option> <option value="${carrierServiceStatusItem.statusId}">---</option> <#else> <option value=""> </option> </#if> <#list carrierServiceStatusValidChangeToDetails as carrierServiceStatusValidChangeToDetail> <option value="${carrierServiceStatusValidChangeToDetail.statusIdTo}">${carrierServiceStatusValidChangeToDetail.transitionName} [${carrierServiceStatusValidChangeToDetail.description}]</option> </#list> </select> <br/> <input type="text" size="24" name="trackingIdNumber" value="${shipmentRouteSegment.trackingIdNumber?if_exists}" class="inputBox"/> <br/> <input type="text" size="25" name="estimatedStartDate" value="${(shipmentRouteSegment.estimatedStartDate.toString())?if_exists}" class="inputBox"/><a href="javascript:call_cal(document.updateShipmentRouteSegmentForm${shipmentRouteSegmentData_index}.estimatedStartDate, '${(shipmentRouteSegment.estimatedStartDate.toString())?default(nowTimestampString)}');"><img src='<@ofbizContentUrl>/images/cal.gif</@ofbizContentUrl>' width='16' height='16' border='0' alt='Calendar'></a>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -