|
@ -1,4 +1,7 @@ |
|
|
|
|
|
<<<<<<< HEAD |
|
|
|
|
|
|
|
|
|
|
|
======= |
|
|
|
|
|
>>>>>>> 7b37600f (合約書申請 新梯 1116) |
|
|
<?php |
|
|
<?php |
|
|
include_once("../header.php"); |
|
|
include_once("../header.php"); |
|
|
require_once("./conn.php"); |
|
|
require_once("./conn.php"); |
|
@ -9,6 +12,7 @@ if(!(isset($_GET['id']) && !empty($_GET['id']))){ |
|
|
exit; |
|
|
exit; |
|
|
} |
|
|
} |
|
|
$id = $_GET["id"]; |
|
|
$id = $_GET["id"]; |
|
|
|
|
|
<<<<<<< HEAD |
|
|
|
|
|
|
|
|
$sql_str = "SELECT * FROM contract_new_apply WHERE mid = :mid"; |
|
|
$sql_str = "SELECT * FROM contract_new_apply WHERE mid = :mid"; |
|
|
$stmt = $conn->prepare($sql_str); |
|
|
$stmt = $conn->prepare($sql_str); |
|
@ -66,6 +70,36 @@ if(empty($contract_new_apply)){ |
|
|
<link rel="stylesheet" href="semantic/dist/semantic.min.css"> |
|
|
<link rel="stylesheet" href="semantic/dist/semantic.min.css"> |
|
|
<script defer src="./js/alpinejs/cdn.min.js"></script> |
|
|
<script defer src="./js/alpinejs/cdn.min.js"></script> |
|
|
<script src="./js/axios/axios.min.js"></script> |
|
|
<script src="./js/axios/axios.min.js"></script> |
|
|
|
|
|
======= |
|
|
|
|
|
$sql_str = "SELECT pricereview_main.*, account.name as accountname |
|
|
|
|
|
FROM pricereview_main |
|
|
|
|
|
JOIN account ON pricereview_main.person = account.accountid |
|
|
|
|
|
WHERE pricereview_main.id = :id"; |
|
|
|
|
|
$stmt = $conn->prepare($sql_str); |
|
|
|
|
|
$stmt->bindParam(':id',$id); |
|
|
|
|
|
$stmt->execute(); |
|
|
|
|
|
$contract = $stmt->fetch(PDO::FETCH_ASSOC); |
|
|
|
|
|
|
|
|
|
|
|
$accounttype = "M"; |
|
|
|
|
|
$sql_str = "SELECT * FROM account WHERE accounttype = :accounttype"; |
|
|
|
|
|
$stmt = $conn->prepare($sql_str); |
|
|
|
|
|
$stmt->bindParam(':accounttype',$accounttype); |
|
|
|
|
|
$stmt->execute(); |
|
|
|
|
|
$persons = $stmt->fetchAll(PDO::FETCH_ASSOC); |
|
|
|
|
|
|
|
|
|
|
|
$sql_str = "SELECT * FROM hope_elevator_customer WHERE vol_no = :vol_no ORDER BY created_at DESC"; |
|
|
|
|
|
$stmt = $conn->prepare($sql_str); |
|
|
|
|
|
$stmt->bindParam(':vol_no', $contract['contractno']); |
|
|
|
|
|
$stmt->execute(); |
|
|
|
|
|
$customer = $stmt->fetch(PDO::FETCH_ASSOC); |
|
|
|
|
|
print_r($customer); |
|
|
|
|
|
?> |
|
|
|
|
|
<link rel="stylesheet" href="./styles/style.css"> |
|
|
|
|
|
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/all.min.css" integrity="sha512-z3gLpd7yknf1YoNbCzqRKc4qyor8gaKU1qmn+CShxbuBusANI9QpRohGBreCFkKxLhei6S9CQXFEbbKuqLg0DA==" crossorigin="anonymous" referrerpolicy="no-referrer" /> |
|
|
|
|
|
<script defer src="./js/alpinejs/cdn.min.js"></script> |
|
|
|
|
|
<script src="./js/axios/axios.min.js"></script> |
|
|
|
|
|
|
|
|
|
|
|
>>>>>>> 7b37600f (合約書申請 新梯 1116) |
|
|
<div class="contract-new-apply-component" x-data="contractNewApply"> |
|
|
<div class="contract-new-apply-component" x-data="contractNewApply"> |
|
|
<div class="form" method="post" id="form" enctype="multipart/form-data" > |
|
|
<div class="form" method="post" id="form" enctype="multipart/form-data" > |
|
|
<input type="hidden" name='form_name' value="main_form" /> |
|
|
<input type="hidden" name='form_name' value="main_form" /> |
|
@ -91,6 +125,7 @@ if(empty($contract_new_apply)){ |
|
|
<tr> |
|
|
<tr> |
|
|
<td style="vertical-align: middle">卷號</td> |
|
|
<td style="vertical-align: middle">卷號</td> |
|
|
<td> |
|
|
<td> |
|
|
|
|
|
<<<<<<< HEAD |
|
|
<div class="fixed" x-text="data.vol_no"></div> |
|
|
<div class="fixed" x-text="data.vol_no"></div> |
|
|
<!-- <input class="form-control disabled_select" type="text" x-model="data.vol_no" > --> |
|
|
<!-- <input class="form-control disabled_select" type="text" x-model="data.vol_no" > --> |
|
|
<!-- <p class="alerttext" x-show="data.vol_no==''"><i class="fa-solid fa-circle-xmark"></i>未填寫</p> --> |
|
|
<!-- <p class="alerttext" x-show="data.vol_no==''"><i class="fa-solid fa-circle-xmark"></i>未填寫</p> --> |
|
@ -98,6 +133,19 @@ if(empty($contract_new_apply)){ |
|
|
<td style="vertical-align: middle">統一編號</td> |
|
|
<td style="vertical-align: middle">統一編號</td> |
|
|
<td> |
|
|
<td> |
|
|
<input class="form-control disabled_select" type="text" x-model="data.vat" > |
|
|
<input class="form-control disabled_select" type="text" x-model="data.vat" > |
|
|
|
|
|
======= |
|
|
|
|
|
<input class="form-control disabled_select" type="text" x-model="data.vol_no" > |
|
|
|
|
|
<p class="alerttext" x-show="data.vol_no==''"><i class="fa-solid fa-circle-xmark"></i>未填寫</p> |
|
|
|
|
|
</td> |
|
|
|
|
|
<td style="vertical-align: middle">營業員</td> |
|
|
|
|
|
<td> |
|
|
|
|
|
<select name="" id="" x-model="data.salesman"> |
|
|
|
|
|
<option value="">請選擇營業員</option> |
|
|
|
|
|
<?php foreach($persons as $person) : ?> |
|
|
|
|
|
<option value="<?= $person["accountid"] ?>"><?= $person['accountid'] . ' - ' . $person["name"] ?></option> |
|
|
|
|
|
<?php endforeach ?> |
|
|
|
|
|
</select> |
|
|
|
|
|
>>>>>>> 7b37600f (合約書申請 新梯 1116) |
|
|
<p class="alerttext" x-show="data.salesman==''"><i class="fa-solid fa-circle-xmark"></i>未填寫</p> |
|
|
<p class="alerttext" x-show="data.salesman==''"><i class="fa-solid fa-circle-xmark"></i>未填寫</p> |
|
|
</td> |
|
|
</td> |
|
|
<td style="vertical-align: middle">合約書申請日期</td> |
|
|
<td style="vertical-align: middle">合約書申請日期</td> |
|
@ -115,7 +163,11 @@ if(empty($contract_new_apply)){ |
|
|
</tr> |
|
|
</tr> |
|
|
<tr> |
|
|
<tr> |
|
|
<td style="vertical-align: middle">案件名稱</td> |
|
|
<td style="vertical-align: middle">案件名稱</td> |
|
|
|
|
|
<<<<<<< HEAD |
|
|
<td style="vertical-align: middle" colspan="3"> |
|
|
<td style="vertical-align: middle" colspan="3"> |
|
|
|
|
|
======= |
|
|
|
|
|
<td style="vertical-align: middle"> |
|
|
|
|
|
>>>>>>> 7b37600f (合約書申請 新梯 1116) |
|
|
<input class="form-control disabled_select" type="text" x-model="data.case_name" > |
|
|
<input class="form-control disabled_select" type="text" x-model="data.case_name" > |
|
|
<p class="alerttext" x-show="data.case_name==''"><i class="fa-solid fa-circle-xmark"></i>未填寫</p> |
|
|
<p class="alerttext" x-show="data.case_name==''"><i class="fa-solid fa-circle-xmark"></i>未填寫</p> |
|
|
</td> |
|
|
</td> |
|
@ -129,6 +181,14 @@ if(empty($contract_new_apply)){ |
|
|
<input class="form-control disabled_select" type="text" x-model="data.manager" > |
|
|
<input class="form-control disabled_select" type="text" x-model="data.manager" > |
|
|
<p class="alerttext" x-show="data.manager==''"><i class="fa-solid fa-circle-xmark"></i>未填寫</p> |
|
|
<p class="alerttext" x-show="data.manager==''"><i class="fa-solid fa-circle-xmark"></i>未填寫</p> |
|
|
</td> |
|
|
</td> |
|
|
|
|
|
<<<<<<< HEAD |
|
|
|
|
|
======= |
|
|
|
|
|
<td style="vertical-align: middle">統一編號</td> |
|
|
|
|
|
<td style="vertical-align: middle"> |
|
|
|
|
|
<input class="form-control disabled_select" type="text" x-model="data.vat" > |
|
|
|
|
|
<p class="alerttext" x-show="data.vat==''"><i class="fa-solid fa-circle-xmark"></i>未填寫</p> |
|
|
|
|
|
</td> |
|
|
|
|
|
>>>>>>> 7b37600f (合約書申請 新梯 1116) |
|
|
</tr> |
|
|
</tr> |
|
|
<tr> |
|
|
<tr> |
|
|
<td style="vertical-align: middle">含稅給約總價</td> |
|
|
<td style="vertical-align: middle">含稅給約總價</td> |
|
@ -155,6 +215,7 @@ if(empty($contract_new_apply)){ |
|
|
</td> |
|
|
</td> |
|
|
<td style="vertical-align: middle">完工期限</td> |
|
|
<td style="vertical-align: middle">完工期限</td> |
|
|
<td style="vertical-align: middle" colspan=3> |
|
|
<td style="vertical-align: middle" colspan=3> |
|
|
|
|
|
<<<<<<< HEAD |
|
|
<div class="ui labeled input"> |
|
|
<div class="ui labeled input"> |
|
|
<div class="ui label"> |
|
|
<div class="ui label"> |
|
|
貨抵工地 |
|
|
貨抵工地 |
|
@ -169,11 +230,15 @@ if(empty($contract_new_apply)){ |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
<!-- <input class="form-control disabled_select" type="text" x-model="data.deadline" > --> |
|
|
<!-- <input class="form-control disabled_select" type="text" x-model="data.deadline" > --> |
|
|
|
|
|
======= |
|
|
|
|
|
<input class="form-control disabled_select" type="text" x-model="data.deadline" > |
|
|
|
|
|
>>>>>>> 7b37600f (合約書申請 新梯 1116) |
|
|
<p class="alerttext" x-show="data.deadline==''"><i class="fa-solid fa-circle-xmark"></i>未填寫</p> |
|
|
<p class="alerttext" x-show="data.deadline==''"><i class="fa-solid fa-circle-xmark"></i>未填寫</p> |
|
|
</td> |
|
|
</td> |
|
|
</tr> |
|
|
</tr> |
|
|
<tr> |
|
|
<tr> |
|
|
<td style="vertical-align: middle">附則</td> |
|
|
<td style="vertical-align: middle">附則</td> |
|
|
|
|
|
<<<<<<< HEAD |
|
|
<td style="vertical-align: middle" colspan=3> |
|
|
<td style="vertical-align: middle" colspan=3> |
|
|
<div class="ui labeled input"> |
|
|
<div class="ui labeled input"> |
|
|
<div class="ui label"> |
|
|
<div class="ui label"> |
|
@ -201,10 +266,24 @@ if(empty($contract_new_apply)){ |
|
|
<tr> |
|
|
<tr> |
|
|
<td style="vertical-align: middle">交貨地點</td> |
|
|
<td style="vertical-align: middle">交貨地點</td> |
|
|
<td style="vertical-align: middle" colspan=3> |
|
|
<td style="vertical-align: middle" colspan=3> |
|
|
|
|
|
======= |
|
|
|
|
|
<td style="vertical-align: middle"> |
|
|
|
|
|
<input class="form-control disabled_select" type="text" x-model="data.regulations" > |
|
|
|
|
|
<p class="alerttext" x-show="data.regulations==''"><i class="fa-solid fa-circle-xmark"></i>未填寫</p> |
|
|
|
|
|
</td> |
|
|
|
|
|
<td style="vertical-align: middle">免保期限</td> |
|
|
|
|
|
<td style="vertical-align: middle"> |
|
|
|
|
|
<input class="form-control disabled_select" type="text" x-model="data.freedeadline" > |
|
|
|
|
|
<p class="alerttext" x-show="data.freedeadline==''"><i class="fa-solid fa-circle-xmark"></i>未填寫</p> |
|
|
|
|
|
</td> |
|
|
|
|
|
<td style="vertical-align: middle">交貨地點</td> |
|
|
|
|
|
<td style="vertical-align: middle"> |
|
|
|
|
|
>>>>>>> 7b37600f (合約書申請 新梯 1116) |
|
|
<input class="form-control disabled_select" type="text" x-model="data.tradeaddress" > |
|
|
<input class="form-control disabled_select" type="text" x-model="data.tradeaddress" > |
|
|
<p class="alerttext" x-show="data.tradeaddress==''"><i class="fa-solid fa-circle-xmark"></i>未填寫</p> |
|
|
<p class="alerttext" x-show="data.tradeaddress==''"><i class="fa-solid fa-circle-xmark"></i>未填寫</p> |
|
|
</td> |
|
|
</td> |
|
|
<td style="vertical-align: middle">交貨期限</td> |
|
|
<td style="vertical-align: middle">交貨期限</td> |
|
|
|
|
|
<<<<<<< HEAD |
|
|
<td style="vertical-align: middle" colspan=3> |
|
|
<td style="vertical-align: middle" colspan=3> |
|
|
<div class="ui labeled input"> |
|
|
<div class="ui labeled input"> |
|
|
<div class="ui label"> |
|
|
<div class="ui label"> |
|
@ -215,6 +294,10 @@ if(empty($contract_new_apply)){ |
|
|
天出貨 |
|
|
天出貨 |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
|
|
|
======= |
|
|
|
|
|
<td style="vertical-align: middle"> |
|
|
|
|
|
<input class="form-control disabled_select" type="text" x-model="data.tradedeadline" > |
|
|
|
|
|
>>>>>>> 7b37600f (合約書申請 新梯 1116) |
|
|
<p class="alerttext" x-show="data.tradedeadline==''"><i class="fa-solid fa-circle-xmark"></i>未填寫</p> |
|
|
<p class="alerttext" x-show="data.tradedeadline==''"><i class="fa-solid fa-circle-xmark"></i>未填寫</p> |
|
|
</td> |
|
|
</td> |
|
|
</tr> |
|
|
</tr> |
|
@ -238,6 +321,7 @@ if(empty($contract_new_apply)){ |
|
|
</tr> |
|
|
</tr> |
|
|
</thead> |
|
|
</thead> |
|
|
<tbody style="font-weight: bolder;margin-bottom: 20px"> |
|
|
<tbody style="font-weight: bolder;margin-bottom: 20px"> |
|
|
|
|
|
<<<<<<< HEAD |
|
|
<template x-for="(item, idx) in data.items"> |
|
|
<template x-for="(item, idx) in data.items"> |
|
|
<tr> |
|
|
<tr> |
|
|
<td style="vertical-align: middle"><p x-text="idx+1"></p></td> |
|
|
<td style="vertical-align: middle"><p x-text="idx+1"></p></td> |
|
@ -255,6 +339,23 @@ if(empty($contract_new_apply)){ |
|
|
</td> |
|
|
</td> |
|
|
</tr> |
|
|
</tr> |
|
|
</template> |
|
|
</template> |
|
|
|
|
|
======= |
|
|
|
|
|
<tr> |
|
|
|
|
|
<td style="vertical-align: middle">1</td> |
|
|
|
|
|
<td colspan="3" style="vertical-align: middle"> |
|
|
|
|
|
<input class="form-control disabled_select" type="text" value="MAE100-6 *4-2S45" > |
|
|
|
|
|
<p class="alerttext" x-show="data.tradedeadline==''"><i class="fa-solid fa-circle-xmark"></i>未填寫</p> |
|
|
|
|
|
</td> |
|
|
|
|
|
<td style="vertical-align: middle"> |
|
|
|
|
|
<input class="form-control disabled_select" type="number" value="6" > |
|
|
|
|
|
<p class="alerttext" x-show="data.tradedeadline==''"><i class="fa-solid fa-circle-xmark"></i>未填寫</p> |
|
|
|
|
|
</td> |
|
|
|
|
|
<td colspan="3" style="vertical-align: middle"> |
|
|
|
|
|
<input class="form-control disabled_select" type="number" value="3180000" > |
|
|
|
|
|
<p class="alerttext" x-show="data.tradedeadline==''"><i class="fa-solid fa-circle-xmark"></i>未填寫</p> |
|
|
|
|
|
</td> |
|
|
|
|
|
</tr> |
|
|
|
|
|
>>>>>>> 7b37600f (合約書申請 新梯 1116) |
|
|
</tbody> |
|
|
</tbody> |
|
|
</table> |
|
|
</table> |
|
|
<table class="table table-bordered query-table table-striped table-bordered display compact" style="width:99%;margin-left:.5%"> |
|
|
<table class="table table-bordered query-table table-striped table-bordered display compact" style="width:99%;margin-left:.5%"> |
|
@ -286,6 +387,7 @@ if(empty($contract_new_apply)){ |
|
|
</td> |
|
|
</td> |
|
|
</tr> |
|
|
</tr> |
|
|
</thead> |
|
|
</thead> |
|
|
|
|
|
<<<<<<< HEAD |
|
|
<tbody style="font-weight: bolder;margin-bottom: 20px" > |
|
|
<tbody style="font-weight: bolder;margin-bottom: 20px" > |
|
|
<?php |
|
|
<?php |
|
|
$day = 0; |
|
|
$day = 0; |
|
@ -380,6 +482,191 @@ if(empty($contract_new_apply)){ |
|
|
</td> |
|
|
</td> |
|
|
</tr> |
|
|
</tr> |
|
|
<?php endforeach; ?> |
|
|
<?php endforeach; ?> |
|
|
|
|
|
======= |
|
|
|
|
|
<tbody style="font-weight: bolder;margin-bottom: 20px"> |
|
|
|
|
|
<tr> |
|
|
|
|
|
<td> |
|
|
|
|
|
<p style='text-align:center'>銷售</p> |
|
|
|
|
|
</td> |
|
|
|
|
|
<td> |
|
|
|
|
|
<p style='text-align:center'>訂金</p> |
|
|
|
|
|
</td> |
|
|
|
|
|
<td> |
|
|
|
|
|
<p style='text-align:center'>簽約後X天付訂金</p> |
|
|
|
|
|
</td> |
|
|
|
|
|
<td> |
|
|
|
|
|
<p style='text-align:center'>合約日</p> |
|
|
|
|
|
</td> |
|
|
|
|
|
<td> |
|
|
|
|
|
<p style='text-align:center'>30天</p> |
|
|
|
|
|
</td> |
|
|
|
|
|
<td> |
|
|
|
|
|
<p style='text-align:center'>30天</p> |
|
|
|
|
|
</td> |
|
|
|
|
|
<td> |
|
|
|
|
|
<p style='text-align:center'>20%</p> |
|
|
|
|
|
</td> |
|
|
|
|
|
<td> |
|
|
|
|
|
<p style='text-align:center'>636000</p> |
|
|
|
|
|
</td> |
|
|
|
|
|
</tr> |
|
|
|
|
|
<tr> |
|
|
|
|
|
<td> |
|
|
|
|
|
<p style='text-align:center'>銷售</p> |
|
|
|
|
|
</td> |
|
|
|
|
|
<td> |
|
|
|
|
|
<p style='text-align:center'>二次款</p> |
|
|
|
|
|
</td> |
|
|
|
|
|
<td> |
|
|
|
|
|
<p style='text-align:center'>簽約後X天付二次款</p> |
|
|
|
|
|
</td> |
|
|
|
|
|
<td> |
|
|
|
|
|
<p style='text-align:center'>合約日</p> |
|
|
|
|
|
</td> |
|
|
|
|
|
<td> |
|
|
|
|
|
<p style='text-align:center'>30天</p> |
|
|
|
|
|
</td> |
|
|
|
|
|
<td> |
|
|
|
|
|
<p style='text-align:center'>30天</p> |
|
|
|
|
|
</td> |
|
|
|
|
|
<td> |
|
|
|
|
|
<p style='text-align:center'>0%%</p> |
|
|
|
|
|
</td> |
|
|
|
|
|
<td> |
|
|
|
|
|
<p style='text-align:center'>0</p> |
|
|
|
|
|
</td> |
|
|
|
|
|
</tr> |
|
|
|
|
|
<tr> |
|
|
|
|
|
<td> |
|
|
|
|
|
<p style='text-align:center'>銷售</p> |
|
|
|
|
|
</td> |
|
|
|
|
|
<td> |
|
|
|
|
|
<p style='text-align:center'>貨到款</p> |
|
|
|
|
|
</td> |
|
|
|
|
|
<td> |
|
|
|
|
|
<p style='text-align:center'>貨抵工地付貨到款</p> |
|
|
|
|
|
</td> |
|
|
|
|
|
<td> |
|
|
|
|
|
<p style='text-align:center'>出貨日</p> |
|
|
|
|
|
</td> |
|
|
|
|
|
<td> |
|
|
|
|
|
<p style='text-align:center'>-</p> |
|
|
|
|
|
</td> |
|
|
|
|
|
<td> |
|
|
|
|
|
<p style='text-align:center'>30天</p> |
|
|
|
|
|
</td> |
|
|
|
|
|
<td> |
|
|
|
|
|
<p style='text-align:center'>50%</p> |
|
|
|
|
|
</td> |
|
|
|
|
|
<td> |
|
|
|
|
|
<p style='text-align:center'>1590000</p> |
|
|
|
|
|
</td> |
|
|
|
|
|
</tr> |
|
|
|
|
|
<tr> |
|
|
|
|
|
<td> |
|
|
|
|
|
<p style='text-align:center'></p> |
|
|
|
|
|
</td> |
|
|
|
|
|
<td> |
|
|
|
|
|
<p style='text-align:center'></p> |
|
|
|
|
|
</td> |
|
|
|
|
|
<td> |
|
|
|
|
|
<p style='text-align:center'></p> |
|
|
|
|
|
</td> |
|
|
|
|
|
<td> |
|
|
|
|
|
<p style='text-align:center'></p> |
|
|
|
|
|
</td> |
|
|
|
|
|
<td> |
|
|
|
|
|
<p style='text-align:center'></p> |
|
|
|
|
|
</td> |
|
|
|
|
|
<td> |
|
|
|
|
|
<p style='text-align:center'></p> |
|
|
|
|
|
</td> |
|
|
|
|
|
<td> |
|
|
|
|
|
<p style='text-align:center'></p> |
|
|
|
|
|
</td> |
|
|
|
|
|
<td> |
|
|
|
|
|
<p style='text-align:center'></p> |
|
|
|
|
|
</td> |
|
|
|
|
|
</tr> |
|
|
|
|
|
<tr> |
|
|
|
|
|
<td> |
|
|
|
|
|
<p style='text-align:center'>安裝</p> |
|
|
|
|
|
</td> |
|
|
|
|
|
<td> |
|
|
|
|
|
<p style='text-align:center'>安裝款</p> |
|
|
|
|
|
</td> |
|
|
|
|
|
<td> |
|
|
|
|
|
<p style='text-align:center'>安裝完成後X天收款</p> |
|
|
|
|
|
</td> |
|
|
|
|
|
<td> |
|
|
|
|
|
<p style='text-align:center'>竣檢日</p> |
|
|
|
|
|
</td> |
|
|
|
|
|
<td> |
|
|
|
|
|
<p style='text-align:center'>30天</p> |
|
|
|
|
|
</td> |
|
|
|
|
|
<td> |
|
|
|
|
|
<p style='text-align:center'>30天</p> |
|
|
|
|
|
</td> |
|
|
|
|
|
<td> |
|
|
|
|
|
<p style='text-align:center'>20%</p> |
|
|
|
|
|
</td> |
|
|
|
|
|
<td> |
|
|
|
|
|
<p style='text-align:center'>636000</p> |
|
|
|
|
|
</td> |
|
|
|
|
|
</tr> |
|
|
|
|
|
<tr> |
|
|
|
|
|
<td> |
|
|
|
|
|
<p style='text-align:center'>安裝</p> |
|
|
|
|
|
</td> |
|
|
|
|
|
<td> |
|
|
|
|
|
<p style='text-align:center'>尾款</p> |
|
|
|
|
|
</td> |
|
|
|
|
|
<td> |
|
|
|
|
|
<p style='text-align:center'>交車後X天付尾款</p> |
|
|
|
|
|
</td> |
|
|
|
|
|
<td> |
|
|
|
|
|
<p style='text-align:center'>交車日</p> |
|
|
|
|
|
</td> |
|
|
|
|
|
<td> |
|
|
|
|
|
<p style='text-align:center'>0天</p> |
|
|
|
|
|
</td> |
|
|
|
|
|
<td> |
|
|
|
|
|
<p style='text-align:center'>30天</p> |
|
|
|
|
|
</td> |
|
|
|
|
|
<td> |
|
|
|
|
|
<p style='text-align:center'>10%</p> |
|
|
|
|
|
</td> |
|
|
|
|
|
<td> |
|
|
|
|
|
<p style='text-align:center'>318000</p> |
|
|
|
|
|
</td> |
|
|
|
|
|
</tr> |
|
|
|
|
|
<tr> |
|
|
|
|
|
<td> |
|
|
|
|
|
<p style='text-align:center'></p> |
|
|
|
|
|
</td> |
|
|
|
|
|
<td> |
|
|
|
|
|
<p style='text-align:center'></p> |
|
|
|
|
|
</td> |
|
|
|
|
|
<td> |
|
|
|
|
|
<p style='text-align:center'></p> |
|
|
|
|
|
</td> |
|
|
|
|
|
<td> |
|
|
|
|
|
<p style='text-align:center'></p> |
|
|
|
|
|
</td> |
|
|
|
|
|
<td> |
|
|
|
|
|
<p style='text-align:center'></p> |
|
|
|
|
|
</td> |
|
|
|
|
|
<td> |
|
|
|
|
|
<p style='text-align:center'></p> |
|
|
|
|
|
</td> |
|
|
|
|
|
<td> |
|
|
|
|
|
<p style='text-align:center'></p> |
|
|
|
|
|
</td> |
|
|
|
|
|
<td> |
|
|
|
|
|
<p style='text-align:center'></p> |
|
|
|
|
|
</td> |
|
|
|
|
|
</tr> |
|
|
|
|
|
>>>>>>> 7b37600f (合約書申請 新梯 1116) |
|
|
</tbody> |
|
|
</tbody> |
|
|
</table> |
|
|
</table> |
|
|
<table class="table table-bordered query-table table-striped table-bordered display compact" style="width:99%;margin-left:.5%"> |
|
|
<table class="table table-bordered query-table table-striped table-bordered display compact" style="width:99%;margin-left:.5%"> |
|
@ -393,6 +680,7 @@ if(empty($contract_new_apply)){ |
|
|
<tbody> |
|
|
<tbody> |
|
|
<tr> |
|
|
<tr> |
|
|
<td style="font-weight:bold">業務部協理</td> |
|
|
<td style="font-weight:bold">業務部協理</td> |
|
|
|
|
|
<<<<<<< HEAD |
|
|
<td> |
|
|
<td> |
|
|
<template x-if="false"> |
|
|
<template x-if="false"> |
|
|
<span class="failtext">已退件</span> |
|
|
<span class="failtext">已退件</span> |
|
@ -430,6 +718,15 @@ if(empty($contract_new_apply)){ |
|
|
</td> |
|
|
</td> |
|
|
<td style="font-weight:bold">營業員</td> |
|
|
<td style="font-weight:bold">營業員</td> |
|
|
<td><span x-text="data.salesmanname + '(' + data.salesman + ')'"></span></td> |
|
|
<td><span x-text="data.salesmanname + '(' + data.salesman + ')'"></span></td> |
|
|
|
|
|
======= |
|
|
|
|
|
<td><span class="successtext">已通過</span></td> |
|
|
|
|
|
<td style="font-weight:bold">業務部承辦人</td> |
|
|
|
|
|
<td><span class="successtext">已通過</span></td> |
|
|
|
|
|
<td style="font-weight:bold">營業經理</td> |
|
|
|
|
|
<td><span class="successtext">已通過</span></td> |
|
|
|
|
|
<td style="font-weight:bold">營業員</td> |
|
|
|
|
|
<td><span class="successtext">已通過</span></td> |
|
|
|
|
|
>>>>>>> 7b37600f (合約書申請 新梯 1116) |
|
|
</tr> |
|
|
</tr> |
|
|
</tbody> |
|
|
</tbody> |
|
|
</table> |
|
|
</table> |
|
@ -441,6 +738,7 @@ if(empty($contract_new_apply)){ |
|
|
<div class="loader"></div> |
|
|
<div class="loader"></div> |
|
|
</template> |
|
|
</template> |
|
|
</button> |
|
|
</button> |
|
|
|
|
|
<<<<<<< HEAD |
|
|
<button x-show="true" x-on:click="storageFn()" :disabled="isLoading" type="button" class="btn btn-primary btn-lg pull-right savebtn"> |
|
|
<button x-show="true" x-on:click="storageFn()" :disabled="isLoading" type="button" class="btn btn-primary btn-lg pull-right savebtn"> |
|
|
<template x-if="!isLoading"> |
|
|
<template x-if="!isLoading"> |
|
|
<span>暫存</span> |
|
|
<span>暫存</span> |
|
@ -449,10 +747,13 @@ if(empty($contract_new_apply)){ |
|
|
<div class="loader"></div> |
|
|
<div class="loader"></div> |
|
|
</template> |
|
|
</template> |
|
|
</button> |
|
|
</button> |
|
|
|
|
|
======= |
|
|
|
|
|
>>>>>>> 7b37600f (合約書申請 新梯 1116) |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
<<<<<<< HEAD |
|
|
<script src="./js/jquery/jquery-3.1.1.min.js"></script> |
|
|
<script src="./js/jquery/jquery-3.1.1.min.js"></script> |
|
|
<script src="semantic/dist/semantic.min.js" ></script> |
|
|
<script src="semantic/dist/semantic.min.js" ></script> |
|
|
<script src="./js/alpine.js"></script> |
|
|
<script src="./js/alpine.js"></script> |
|
@ -474,3 +775,19 @@ if(empty($contract_new_apply)){ |
|
|
const mid = '<?php echo $_GET['id']; ?>'; |
|
|
const mid = '<?php echo $_GET['id']; ?>'; |
|
|
console.log(items) |
|
|
console.log(items) |
|
|
</script> |
|
|
</script> |
|
|
|
|
|
======= |
|
|
|
|
|
<script src="./js/alpine.js"></script> |
|
|
|
|
|
<script> |
|
|
|
|
|
const contractno = '<?php echo $contract['contractno'] ?>' |
|
|
|
|
|
const salesman = '<?php echo $contract['person'] ?>'; |
|
|
|
|
|
const apply_date = '<?php echo date('Y-m-d') ?>'; |
|
|
|
|
|
const case_name = '<?php echo $contract['case_name'] ?>' |
|
|
|
|
|
const company = '<?php echo $contract['company'] ?>' |
|
|
|
|
|
const manager = '<?php echo $customer['manager'] ?>' |
|
|
|
|
|
const vat = '<?php echo $customer['uscc'] ?>' |
|
|
|
|
|
const price_total = <?php echo $contract['price_total'] ?> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
console.log(123) |
|
|
|
|
|
</script> |
|
|
|
|
|
>>>>>>> 7b37600f (合約書申請 新梯 1116) |
|
|