|
|
@ -23,7 +23,7 @@ $salesman_opt = DB::result($sql); |
|
|
|
#5.有望客戶狀態 |
|
|
|
$sql = "select code_name value ,content label from code where field_name='hope_customer_status'"; |
|
|
|
$hope_customer_status_opt = DB::result($sql); |
|
|
|
|
|
|
|
print_r($hope_customer_status_opt); |
|
|
|
#6.是否汰改 |
|
|
|
$is_renovation_opt = ["N" => "新梯(M)", "Y" => "汰改(T)"]; |
|
|
|
/* |
|
|
@ -46,7 +46,10 @@ $speed_opt = DB::result($sql); |
|
|
|
#卷號 |
|
|
|
$vol_no = ""; |
|
|
|
#抓取有望客戶資料 |
|
|
|
|
|
|
|
$customer_type = [ |
|
|
|
['value'=>'0', 0=>'0', 'label'=>'一般客戶', 1=>'一般客戶'], |
|
|
|
['value'=>'1', 0=>'1', 'label'=>'戰略客戶', 1=>'戰略客戶'], |
|
|
|
]; |
|
|
|
$hope_elevator_customer_column = [ |
|
|
|
'is_renovation' => ['label' => "產品屬性", "tag" => 'radio', 'attr' => ['required', 'class' => ' form-control form-control-sm'], 'options' => $is_renovation_opt], |
|
|
|
'vol_no' => ['label' => "卷號", "tag" => 'text', 'attr' => ['required', 'readonly=true ', "value" => "$vol_no", 'class' => 'form-control form-control-sm']], |
|
|
@ -67,6 +70,7 @@ $hope_elevator_customer_column = [ |
|
|
|
'num' => ['label' => "台數", "tag" => 'digits', 'attr' => ['min=1', 'digits', 'class' => 'form-control form-control-sm']], |
|
|
|
'pre_order_date' => ['label' => "預定成交日", "tag" => 'date', 'attr' => ['class' => 'date form-control form-control-sm']], |
|
|
|
'status' => ['label' => "有望客戶狀態", "tag" => 'select', 'attr' => ['class' => 'form-control form-control-sm'], 'options' => $hope_customer_status_opt], |
|
|
|
'customer_type' => ['label' => "客戶類型", "tag" => 'select', 'attr' => ['class' => 'form-control form-control-sm'], 'options' => $customer_type], |
|
|
|
//'next_visit_date' => ['label' => "下次拜訪時間", "tag" => 'date', 'attr' => ['class' => 'date form-control form-control-sm']], |
|
|
|
// 'brand' => ['label' => "廠牌", "tag" => 'select', 'attr' => ['required', 'class' => ' form-control form-control-sm '], 'options' => $elevator_brand_opt], |
|
|
|
//'quote_date' => ['label' => "報價日期", "tag" => 'date', 'attr' => ['class' => 'date form-control form-control-sm']], |
|
|
|