ソースを参照

修改美仓为运单 其他的为发货单

lvhao 3 ヶ月 前
コミット
85cdb2421e
2 ファイル変更13 行追加0 行削除
  1. 7 0
      template/erp/fullorderamz_edit.html
  2. 6 0
      template/erp/fullordersmt_edit.html

+ 7 - 0
template/erp/fullorderamz_edit.html

@@ -459,9 +459,16 @@
 <li class="lengththree">
 <em>打印类型:</em>
 <select name="printtype" class="printtype select class">
+{if $fullorderamz['type'] == 5}
+<option value="1" {if $fullorderamz['printtype'] == 1}selected="selected"{/if}>运单</option>
+<option value="2" {if $fullorderamz['printtype'] == 2}selected="selected"{/if}>发货单</option>
+<option value="3" {if $fullorderamz['printtype'] == 3}selected="selected"{/if}>不打印单据</option>
+{else}
 <option value="2" {if $fullorderamz['printtype'] == 2}selected="selected"{/if}>发货单</option>
 <option value="1" {if $fullorderamz['printtype'] == 1}selected="selected"{/if}>运单</option>
 <option value="3" {if $fullorderamz['printtype'] == 3}selected="selected"{/if}>不打印单据</option>
+{/if}
+
 </select>
 </li>
 

+ 6 - 0
template/erp/fullordersmt_edit.html

@@ -417,9 +417,15 @@
 <li>
 <em>打印类型:</em>
 <select name="printtype" class="printtype select class">
+{if $fullordersmt['type'] == 5}
+<option value="1" {if $fullordersmt['printtype'] == 1}selected="selected"{/if}>运单</option>
+<option value="2" {if $fullordersmt['printtype'] == 2}selected="selected"{/if}>发货单</option>
+<option value="3" {if $fullordersmt['printtype'] == 3}selected="selected"{/if}>不打印单据</option>
+{else}
 <option value="2" {if $fullordersmt['printtype'] == 2}selected="selected"{/if}>发货单</option>
 <option value="1" {if $fullordersmt['printtype'] == 1}selected="selected"{/if}>运单</option>
 <option value="3" {if $fullordersmt['printtype'] == 3}selected="selected"{/if}>不打印单据</option>
+{/if}
 </select>
 </li>