Browse Source

新梯價審BUG修正

gary
Cheng 1 year ago
parent
commit
64aeea79b1
  1. 2
      wms/mkt/pricereview-create.php

2
wms/mkt/pricereview-create.php

@ -43,7 +43,7 @@ if ($row[0] > 0) {
// 退回重填價審,帶出上次價審內容 // 退回重填價審,帶出上次價審內容
$last_pr_arr = $last_pritem_arr = $last_prpay_arr = []; $last_pr_arr = $last_pritem_arr = $last_prpay_arr = [];
$sql = "select * from pricereview_main where contractno = '$vol_no' and status in ('YN', 'D') order by id limit 1"; $sql = "SELECT * FROM pricereview_main WHERE contractno = '$vol_no' AND status in ('YN', 'D') ORDER BY id DESC limit 1";
$res = mysqli_query($link, $sql); $res = mysqli_query($link, $sql);
if ($row = mysqli_fetch_assoc($res)) { if ($row = mysqli_fetch_assoc($res)) {
$last_pr_arr = $row; $last_pr_arr = $row;

Loading…
Cancel
Save