lvhao 3 місяців тому
батько
коміт
8a32d430bd
1 змінених файлів з 25 додано та 10 видалено
  1. 25 10
      template/erp/fullorderamz_edit.html

+ 25 - 10
template/erp/fullorderamz_edit.html

@@ -557,28 +557,35 @@
 <!--</li>-->
 <li class="lengththree">
 <em>服务类型: </em>
-{if $fullorder['print'] != 3 || ($fullorder['print'] == 3 && $vip == '1')}
-	{if in_array($fullorder['express'],[24,31])}
+{if $fullorderamz['print'] != 3 || ($fullorderamz['print'] == 3 && $vip == '1')}
+	{if in_array($fullorderamz['express'],[24,31])}
 	
 		<select name="js" class="printtype select class">
-		<option value="4" {if $fullorder['js'] != 3}selected="selected"{/if}>FICP</option>
-		<option value="3" {if $fullorder['js'] == 3}selected="selected"{/if}>IP</option>
+		<option value="4" {if $fullorderamz['js'] != 3}selected="selected"{/if}>FICP</option>
+		<option value="3" {if $fullorderamz['js'] == 3}selected="selected"{/if}>IP</option>
 		
+		</select>
+	{else if $fullorderamz['express'] == 1}
+		<select name="js" class="printtype select class">
+		<option value="5" {if $fullorderamz['js'] != 6}selected="selected"{/if}>从收件方付税 </option>
+		<option value="6" {if $fullorderamz['js'] == 6}selected="selected"{/if}>从发件方付税 </option>
 		</select>
 	{else}
 	
 		<select name="js" class="printtype select class">
-		<option value="0" {if $fullorder['js'] == 0}selected="selected"{/if}>Ground Advantage</option>
-		<option value="1" {if $fullorder['js'] == 1}selected="selected"{/if}>PRIORITY</option>
-		<option value="2" {if $fullorder['js'] == 2}selected="selected"{/if}>EXPRESS</option>
+		<option value="0" {if $fullorderamz['js'] == 0}selected="selected"{/if}>Ground Advantage</option>
+		<option value="1" {if $fullorderamz['js'] == 1}selected="selected"{/if}>PRIORITY</option>
+		<option value="2" {if $fullorderamz['js'] == 2}selected="selected"{/if}>EXPRESS</option>
 		<!-- <option value="3" {if $fullorder['js'] == 3}selected="selected"{/if}>ENVELOPE</option>-->
 		</select>
 	{/if}
 {else}
-	{if in_array($fullorder['express'],[24,31])}
-		<b>{if ($fullorder['js'] == 3)} IP {else} FICP{/if}</b>
+	{if in_array($fullorderamz['express'],[24,31])}
+		<b>{if ($fullorderamz['js'] == 3)} IP {else} FICP{/if}</b>
+	{else if $fullorderamz['express'] == 1}
+		<b>{if ($fullorderamz['js'] == 6)} 从发件方付税  {else } 从收件方付税 {/if}</b>
 	{else}
-		<b>{if $fullorder['js'] == 0}Ground Advantage{else if $fullorder['js'] == 1}PRIORITY{else if $fullorder['js'] == 2}EXPRESS{/if}</b>
+		<b>{if $fullorderamz['js'] == 0}Ground Advantage{else if $fullorderamz['js'] == 1}PRIORITY{else if $fullorderamz['js'] == 2}EXPRESS{/if}</b>
 	{/if}
 {/if}
 </li>
@@ -801,6 +808,14 @@ if(eid == '2' || eid == '64')//联邦的话替换签名选项
 				$("select[name='js']").find('option[value="4"]').prop('selected','selected');
 			}
 		}
+		else if(eid == 1){
+			$("select[name='js']").html('<option value="5">从收件方付税</option><option value="6">从发件方付税</option>');
+			if(jsxz == 6){
+				$("select[name='js']").find('option[value="6"]').prop('selected','selected');
+			}else{
+				$("select[name='js']").find('option[value="5"]').prop('selected','selected');
+			}
+		}
 		else
 		{
 			 $("select[name='js']").html('<option value="0" selected="selected">无</option>');//<option value="1">需要</option>