From 1c12d721a79de38e3bb70b773576cc1feb5d5b04 Mon Sep 17 00:00:00 2001 From: 10994015 Date: Tue, 12 Mar 2024 11:02:58 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E7=87=9F=E6=A5=AD=E5=93=A1?= =?UTF-8?q?=E9=87=8D=E6=96=B0=E6=8F=90=E4=BA=A4=E5=83=B9=E5=AF=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- wms/mkt/pricereview-index.php | 4 ++++ wms/mkt/pricereviewCreate.php | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/wms/mkt/pricereview-index.php b/wms/mkt/pricereview-index.php index 1026efe8..53364962 100644 --- a/wms/mkt/pricereview-index.php +++ b/wms/mkt/pricereview-index.php @@ -497,6 +497,10 @@ if ($data) : } elseif ($data['status'] == 'YN' && $data['id'] == $maxContractID) { ?> 重填價審 + + 重新提交 fetch(PDO::FETCH_ASSOC); $vol_no = $main['contractno']; } -if($main && $main['status'] == 'YS'){ +if((!($main['status'] == 'Y1' || $main['status'] == 'YY')) ){ echo ""; exit; } @@ -274,7 +274,7 @@ if($main){ $stmt->bindParam(':form_id', $id); $stmt->execute(); $flow = $stmt->fetch(PDO::FETCH_ASSOC); - $form_key = $flow['form_key']; + $form_key = $flow['form_key'] ?? null; }else{ //獲取有望客戶電梯規格 $sql_str = "SELECT