Browse Source

提交数据

lvhao 3 tháng trước cách đây
mục cha
commit
ef8fd5b7a3

+ 11 - 4
template/erp/fullorder_edit.html

@@ -588,10 +588,17 @@
 <li class="lengththree">
 <em>是否签名:</em>
 {if ($fullorder['review'] < 5 || $vip == '1') && ($fullorder['express'] == 2 || $fullorder['express'] == 24 || $fullorder['express'] == 31)}
-<select name="qm" class="printtype select class">
-<option value="0" {if $fullorder['qm'] == 0}selected="selected"{/if}>默认</option>
-<option value="1" {if $fullorder['qm'] == 1}selected="selected"{/if}>成人签名</option>
-</select>
+	{if $fullorder['express'] == 2}
+		<select name="qm" class="printtype select class">
+		<option value="0" {if $fullorder['qm'] == 0}selected="selected"{/if}>默认</option>
+		<option value="1" {if $fullorder['qm'] == 1}selected="selected"{/if}>签名</option>
+		</select>
+	{else}
+		<select name="qm" class="printtype select class">
+		<option value="0" {if $fullorder['qm'] == 0}selected="selected"{/if}>默认</option>
+		<option value="1" {if $fullorder['qm'] == 1}selected="selected"{/if}>成人签名</option>
+		</select>
+	{/if}
 {else}
 <select name="qm" class="printtype select class">
 <option value="0">无</option>

+ 1 - 1
template/erp/fullorder_readonly.html

@@ -499,7 +499,7 @@
 <option value="1" {if $fullorder['qm'] == 1}selected="selected"{/if}>需要</option>
 </select>
 {else}
-<b>{if $fullorder['express'] != 24 && $fullorder['express'] != 31}{if $fullorder['qm'] == 0}不需要{else if $fullorder['qm'] == 1}需要{/if}{else}{if $fullorder['qm'] == 0}默认{else if $fullorder['qm'] == 1}成人签名{else if $fullorder['qm'] == 2}必须签名但可代签{/if}{/if}</b>
+<b>{if $fullorder['express'] != 24 && $fullorder['express'] != 31}{if $fullorder['qm'] == 0}不需要{else if $fullorder['qm'] == 1}需要{/if}{else}{if $fullorder['qm'] == 0}默认{else if $fullorder['qm'] == 1} {if $fullorder['express'] == 2}签名 {else} 成人签名 {/if}  {else if $fullorder['qm'] == 2}必须签名但可代签{/if}{/if}</b>
 {/if}
 </li>
 

+ 14 - 1
template/erp/js/fullorder-addedit.js

@@ -658,14 +658,27 @@ $("#currency").change(function(){
 	
 		});
 		function eqm(id) {
-		if(id == '24' || id == '31' || id == '2')//联邦的话替换签名选项
+		// if(id == '24' || id == '31' || id == '2')//联邦的话替换签名选项
+		// {
+		// 	 $("select[name='qm']").html('<option value="0" selected="selected">默认</option><option value="1">成人签名</option>');
+		// }
+		// else
+		// {
+		// 	 $("select[name='qm']").html('<option value="0" selected="selected">无</option>');//<option value="1">需要</option>
+		// }
+		if(id == '24' || id == '31' )//联邦的话替换签名选项
 		{
 			 $("select[name='qm']").html('<option value="0" selected="selected">默认</option><option value="1">成人签名</option>');
 		}
+		else if(id == '2'){
+			$("select[name='qm']").html('<option value="0" selected="selected">默认</option><option value="1">签名</option>');
+		}
 		else
 		{
 			 $("select[name='qm']").html('<option value="0" selected="selected">无</option>');//<option value="1">需要</option>
 		}
+
+
 		
 		if(id == '2' || id == '64')//联邦的话替换签名选项
 		{