Browse Source

提交数据smt

lvhao 3 months ago
parent
commit
cf7659aea4
1 changed files with 16 additions and 1 deletions
  1. 16 1
      template/erp/fullordersmt_edit.html

+ 16 - 1
template/erp/fullordersmt_edit.html

@@ -478,6 +478,11 @@
 		<option value="4" {if $fullordersmt['js'] != 3}selected="selected"{/if}>FICP</option>
 		<option value="3" {if $fullordersmt['js'] == 3}selected="selected"{/if}>IP</option>
 		
+		</select>
+	{else if $fullordersmt['express'] == 1}
+		<select name="js" class="printtype select class">
+		<option value="5" {if $fullordersmt['js'] != 6}selected="selected"{/if}>从收件方付税 </option>
+		<option value="6" {if $fullordersmt['js'] == 6}selected="selected"{/if}>从发件方付税 </option>
 		</select>
 	{else}
 		<select name="js" class="select class">
@@ -492,7 +497,9 @@
 <b>
 
     {if in_array($fullordersmt['express'],[24,31])}
-    	<b>{if ($fullordersmt['js'] == 3)} IP {else} FICP{/if}</b>
+    	<b>{if ($fullordersmt['js'] == 3)} IP {else} FICP{/if}</b>	
+	{else if $fullorder['express'] == 1}
+		<b>{if ($fullordersmt['js'] == 6)} 从发件方付税  {else } 从收件方付税 {/if}</b>
     {else}
     	<b>{if $fullordersmt['js'] == 0}Ground Advantage{else if $fullordersmt['js'] == 1}PRIORITY{else if $fullordersmt['js'] == 2}EXPRESS{/if}</b>
     {/if}
@@ -715,6 +722,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>