Forráskód Böngészése

fleat: update order

igb 2 napja
szülő
commit
a1a19b0a55
2 módosított fájl, 2 hozzáadás és 2 törlés
  1. 1 1
      order_add.php
  2. 1 1
      order_edit.php

+ 1 - 1
order_add.php

@@ -317,7 +317,7 @@ if ($customerId > 0) {
             <tbody>
             <tr>
                 <th width="8%" nowrap>销售订单号</th>
-                <td><input type="text" id="order_code" name="order_code" value="" class="txt1" placeholder="请输入销售订单号 (多个用 / 分隔) " /></td>
+                <td><input type="text" id="order_code" name="order_code" value="" class="txt1" placeholder="请输入销售订单号 (多个用 / 分隔) " maxlength="100" /></td>
             </tr>
             <tr>
                 <th width="8%" nowrap>客户选择</th>

+ 1 - 1
order_edit.php

@@ -336,7 +336,7 @@ if (!empty($id) && is_numeric($id)) {
             <tr>
                 <th width="8%">销售订单号</th>
                 <td>
-                    <input type="text" id="order_code" name="order_code" value="<?= htmlspecialcharsFix($order['order_code']) ?>" class="txt1" />
+                    <input type="text" id="order_code" name="order_code" value="<?= htmlspecialcharsFix($order['order_code']) ?>" class="txt1" maxlength="100" />
                     <input type="hidden" name="id" value="<?= $id ?>" />
                 </td>
             </tr>