Browse Source

加上option項目狀態判斷

gary
jrbin 1 year ago
parent
commit
aa7a680e15
  1. 2
      wms/crm/crmm03-edit.php
  2. 2
      wms/crm/crmm04-edit.php

2
wms/crm/crmm03-edit.php

@ -131,7 +131,7 @@ $hpeoRow .= "<td><button onClick='delHpeoRow(this)' type='button' class='btn btn
//linkman, //linkman,
$sql = " SELECT id,spec,memo,case when optional then '1-選配' when 2 then '2-標配' end optional ,unit,price FROM option_price "; $sql = " SELECT id,spec,memo,case when optional then '1-選配' when 2 then '2-標配' end optional ,unit,price FROM option_price where status='Y'";
$option_price = DB::result($sql); $option_price = DB::result($sql);

2
wms/crm/crmm04-edit.php

@ -143,7 +143,7 @@ $option_price_column = [
]; ];
$sql = " SELECT * FROM $table_option_price where 1=1 $where "; $sql = " SELECT * FROM $table_option_price where 1=1 $where ";
$hope_project_elevator_option = DB::result($sql); $hope_project_elevator_option = DB::result($sql);
$sql = " SELECT id,spec,memo,case when optional then '1-選配' when 2 then '2-標配' end optional ,unit,price FROM option_price "; $sql = " SELECT id,spec,memo,case when optional then '1-選配' when 2 then '2-標配' end optional ,unit,price FROM option_price where status='Y'";
$option_price = DB::result($sql); $option_price = DB::result($sql);
$hpeoRow = " <tr>"; $hpeoRow = " <tr>";

Loading…
Cancel
Save