You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
994 lines
68 KiB
994 lines
68 KiB
<!DOCTYPE html>
|
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
|
<meta http-equiv="Expires" content="0">
|
|
<meta http-equiv="Pragma" content="no-cache">
|
|
<meta http-equiv="Cache-control" content="no-cache">
|
|
<meta http-equiv="Cache" content="no-cache">
|
|
<title data-i18n="common.ONSiteMaintain_Upd">展館服務報價管理編輯</title>
|
|
<link href="/Content/googleapis.css" rel="stylesheet" type='text/css' />
|
|
<link href="/Scripts/plugins/jquery-ui/jquery-ui.min.css" rel="stylesheet" type="text/css" />
|
|
<link href="/Scripts/plugins/bootstrap/css/bootstrap.min.css" rel="stylesheet" type="text/css" />
|
|
<link href="/Scripts/plugins/fontawesome/css/font-awesome.css" rel="stylesheet" type="text/css" />
|
|
<link href="/Scripts/plugins/line-icons/simple-line-icons.css" rel="stylesheet" />
|
|
<link href="/Scripts/plugins/uniform/css/uniform.default.min.css" rel="stylesheet" />
|
|
<link href="/Scripts/plugins/toastr/toastr.min.css" rel="stylesheet" type="text/css" />
|
|
<link href="/Scripts/3rd/jGrid/jsgrid.min.css" rel="stylesheet" />
|
|
<link href="/Scripts/3rd/jGrid/jsgrid-theme.min.css" rel="stylesheet" />
|
|
<link href="/Scripts/3rd/jquery.filer/jquery.filer.css" rel="stylesheet" />
|
|
<link href="/Scripts/3rd/jquery.filer/jquery.filer-dragdropbox-theme.css" rel="stylesheet" />
|
|
<link href="/Scripts/3rd/select2/css/select2.min.css" rel="stylesheet" />
|
|
<link href="/Content/modern.min.css" rel="stylesheet" />
|
|
<link href="/Content/themes/red.css" rel="stylesheet" type="text/css" />
|
|
<link href="/Content/custom.css" rel="stylesheet" type="text/css" />
|
|
<link href="/Content/style2.0.css" rel="stylesheet" type="text/css" />
|
|
<link href="/Scripts/3rd/jqtree/jqtree.css" rel="stylesheet" />
|
|
|
|
<style>
|
|
.file1 .jFiler-items-grid .jFiler-item .jFiler-item-container .jFiler-item-thumb {
|
|
width: 400px;
|
|
}
|
|
|
|
.file2 .jFiler-items-grid .jFiler-item .jFiler-item-container .jFiler-item-thumb {
|
|
width: 900px;
|
|
}
|
|
|
|
.a-url {
|
|
color: #1d2ef9 !important;
|
|
}
|
|
|
|
.table > tbody > tr > td {
|
|
padding: 5px 2px !important;
|
|
}
|
|
|
|
.table > tbody > tr > td:first-child {
|
|
padding-top: 12px !important;
|
|
}
|
|
|
|
.table > tbody > tr > td:last-child {
|
|
padding: 12px 25px 0 25px !important;
|
|
}
|
|
|
|
#transactiontype label {
|
|
margin-right: 10px;
|
|
}
|
|
|
|
[for="TransactionType"] {
|
|
display: none;
|
|
}
|
|
|
|
#AuditReason {
|
|
font-size: large;
|
|
font-weight: 900;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<div class="page-inner">
|
|
<div class="page-title">
|
|
</div>
|
|
<div id="Toolbar">
|
|
</div>
|
|
<div id="main-wrapper">
|
|
<!--主作業區 Start-->
|
|
<div class="row">
|
|
<div class="panel-info">
|
|
<div class="panel-body form-horizontal">
|
|
<div>
|
|
<div class="form-group">
|
|
<label class="col-sm-1 control-label unicode-box"><b class="t-red innercol">*</b><span data-i18n="ServiceMaintain_Upd.ServiceNo">服務編號</span>:</label>
|
|
<div class="col-sm-2 unicode-box">
|
|
<input type="text" class="form-control w100p" disabled name="ServiceNo" id="ServiceNo" maxlength="14" placeholderid="common.AutomaticCoding" placeholder="自動編碼">
|
|
</div>
|
|
<label class="col-sm-1 control-label"><b class="t-red">*</b><span data-i18n="ServiceMaintain_Upd.LangID">語系</span>:</label>
|
|
<div class="col-sm-2">
|
|
<select class="form-control w100p" id="LangID" name="LangID" data-type="select2" required data-msg="Exhibition_Upd.State_required" datamsg="請選擇語系"></select>
|
|
</div>
|
|
<label class="col-sm-1 control-label wright"><span data-i18n="common.Status">狀態</span>:</label>
|
|
<div class="col-sm-3">
|
|
<input id="radio_0" type="radio" name="Effective" value="Y" checked="checked" />
|
|
<label for="radio_0" data-i18n="common.Effective">有效</label>
|
|
<input id="radio_1" type="radio" name="Effective" value="N" />
|
|
<label for="radio_1" data-i18n="common.Invalid">無效</label>
|
|
</div>
|
|
<input type="hidden" id="hidServiceID">
|
|
<input type="hidden" id="hidSelQuestionID">
|
|
</div>
|
|
|
|
<div class="form-group">
|
|
<div role="tabpanel" id="tabs">
|
|
<!-- 頁籖按鈕 Start-->
|
|
<ul class="nav nav-tabs" role="tablist">
|
|
<li role="presentation" id="litab1" class="active">
|
|
<a href="#tab1" role="tab" data-toggle="tab" data-i18n="common.BasicInformation">基本資料</a>
|
|
</li>
|
|
<li role="presentation" id="litab2">
|
|
<a href="#tab2" role="tab" data-toggle="tab" id="alitab2" data-i18n="ServiceMaintain_Upd.Other">其他資訊</a>
|
|
</li>
|
|
|
|
<li role="presentation" id="litab3">
|
|
<a href="#tab3" role="tab" data-toggle="tab" id="alitab3" data-i18n="ONSiteMaintain_Upd.Item">產品資訊*</a>
|
|
</li>
|
|
|
|
|
|
</ul>
|
|
<!-- 頁籖按鈕 End-->
|
|
<!-- 頁籖內容 Tab panes Start -->
|
|
<div class="tab-content">
|
|
|
|
<div role="tabpanel" class="tab-pane active" id="tab1">
|
|
|
|
<form id="BasicTab" class="form-horizontal">
|
|
|
|
<div style="width: 100%; display:flex; align-items: center; justify-content: center; ">
|
|
|
|
<button type="button" class="btn-custom blue" id="btnSaveBasic" data-i18n="common.Toolbar_Save">儲存</button>
|
|
<button type="button" class="btn-custom blue" id="btnClearBasic" data-i18n="common.Toolbar_Clear">清除</button>
|
|
</div>
|
|
<div class="form-group">
|
|
|
|
|
|
<label class="col-sm-2 control-label wright" for="input-Default"><span data-i18n="ServiceMaintain_Upd.PreviewFile">服務預覽圖</span>:</label>
|
|
<div class="col-sm-8 file1">
|
|
<input type="file" class="displayNone" name="files[]" id="PreviewFile" multiple>
|
|
</div>
|
|
</div>
|
|
<div class="form-group">
|
|
<label class="col-sm-2 control-label wright" for="input-Default"><span data-i18n="ServiceMaintain_Upd.BannerFile">服務Banner</span>:</label>
|
|
<div class="col-sm-8 file1">
|
|
<input type="file" class="displayNone" name="files[]" id="BannerFile" multiple>
|
|
</div>
|
|
|
|
|
|
</div>
|
|
<div class="form-group">
|
|
<label class="col-sm-2 control-label"><b class="t-red ServiceName">*</b><span data-i18n="ServiceMaintain_Upd.ServiceName">服務名稱</span>:</label>
|
|
<div class="col-sm-3">
|
|
<input type="text" class="form-control w100p" name="ServiceName" id="ServiceName" required maxlength="50" data-msg-servicenamerequired="ServiceMaintain_Upd.ServiceName_required" datamsgservicenamerequired="請輸入服務名稱" data-rule-servicenamerequired="servicenamerequired">
|
|
</div>
|
|
<label class="col-sm-2 control-label"><b class="t-red ServiceName">*</b><span data-i18n="ServiceMaintain_Upd.CurrencyID">幣別</span>:</label>
|
|
<div class="col-sm-3">
|
|
<select class="form-control w100p" id="CurrencyID" name="CurrencyID" data-type="select2" required data-msg="ServiceMaintain_Upd.CurrencyID_required" datamsg="請選擇供幣別"></select>
|
|
</div>
|
|
</div>
|
|
<div class="form-group">
|
|
<label class="col-sm-2 control-label"><b class="t-red ServiceName">*</b><span data-i18n="ServiceMaintain_Upd.SubCategoryID">子類別</span>:</label>
|
|
<div class="col-sm-3">
|
|
<select class="form-control w100p" id="SubCategoryID" name="SubCategoryID" data-type="select2" multiple='multiple' required data-msg="ServiceMaintain_Upd.SubCategoryID_required" datamsg="請選擇子類別"></select>
|
|
</div>
|
|
|
|
<label class="col-sm-2 control-label"><b class="t-red ServiceName">*</b><span data-i18n="ServiceMaintain_Upd.LaunchDate">上架日期</span>:</label>
|
|
<div class="col-sm-3">
|
|
<table>
|
|
<tr>
|
|
<td>
|
|
<input type="text" class="form-control w100p date-picker" name="LaunchDateS" id="LaunchDateS" readonly maxlength="10" required data-msg="common.StartDate_required" datamsg="請選擇開始時間">
|
|
|
|
|
|
</td>
|
|
<td align="center" width="20">
|
|
|
|
~
|
|
</td>
|
|
<td align="left">
|
|
<input type="text" class="form-control w100p date-picker" name="LaunchDateE" id="LaunchDateE" readonly maxlength="10" required data-msg="common.EndDate_required" datamsg="請選擇結束時間">
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td colspan="3" height="2"></td>
|
|
</tr>
|
|
<tr>
|
|
<td colspan="2" align="left">
|
|
<input type="text" class="form-control w100p" name="LaunchDays" id="LaunchDays" disabled="disabled">
|
|
</td>
|
|
<td>
|
|
天
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
|
|
|
|
</div>
|
|
<div class="form-group">
|
|
<label class="col-sm-2 control-label"><b class="t-red ServiceName">*</b><span data-i18n="ServiceMaintain_Upd.SupplierID">供應商</span>:</label>
|
|
<div class="col-sm-3">
|
|
<select class="form-control w100p" id="SupplierID" name="SupplierID" required data-msg="ServiceMaintain_Upd.SupplierID_required" datamsg="請選擇供應商"></select>
|
|
</div>
|
|
|
|
<label class="col-sm-2 control-label"><b class="t-red ServiceName">*</b><span data-i18n="ServiceMaintain_Upd.Undertaker">承辦人</span>:</label>
|
|
<div class="col-sm-3">
|
|
<select class="form-control w100p" id="Undertaker" name="Undertaker" data-type="select2" multiple='multiple' required data-msg="ServiceMaintain_Upd.Undertaker_required" datamsg="請選擇承辦人"></select>
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="form-group">
|
|
<label class="col-sm-2 control-label"><span data-i18n="ServiceMaintain_Upd.PPDateFlag">服務提供期間</span>:</label>
|
|
<div class="col-sm-3">
|
|
<table>
|
|
<tr>
|
|
<td colspan="3" align="left">
|
|
<input type="checkbox" id="chkPPDateFlag" name="chkPPDateFlag" />
|
|
|
|
</td>
|
|
</tr>
|
|
<tr class="PPDateFlag" hidden>
|
|
<td>
|
|
<input type="text" class="form-control w100p date-picker" name="ProvideDateS" id="ProvideDateS" readonly maxlength="10">
|
|
</td>
|
|
<td width="20" align="center">
|
|
~
|
|
</td>
|
|
<td>
|
|
<input type="text" class="form-control w100p date-picker" name="ProvideDateE" id="ProvideDateE" readonly maxlength="10">
|
|
</td>
|
|
</tr>
|
|
<tr class="PPDateFlag" hidden>
|
|
<td colspan="3" align="left">
|
|
<!--<label class="col-sm-2 control-label"><b class="t-red ServiceName">*</b><span data-i18n="ServiceMaintain_Upd.PDays">準備天數</span>:</label>
|
|
<div class="col-sm-3">-->
|
|
<input type="text" class="form-control w100p" name="PDays" id="PDays" placeholder="準備天數"> <!--required-->
|
|
<!--</div>-->
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
<label class="col-sm-2 control-label"><span data-i18n="ServiceMaintain_Upd.PPTimeFlag">服務提供時間</span>:</label>
|
|
<div class="col-sm-3">
|
|
<input type="checkbox" id="chkPPTimeFlag" name="chkPPTimeFlag" />
|
|
<br />
|
|
<div class="PPTimeFlag" hidden>
|
|
<div>
|
|
<table class="table table-bordered">
|
|
<thead>
|
|
<tr>
|
|
<th>#</th>
|
|
<th>開始時間(HH:mm)</th>
|
|
<th>~</th>
|
|
<th>結束時間(HH:mm)</th>
|
|
<th data-i18n="common.Action">操作</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody id="table_box_time"></tbody>
|
|
</table>
|
|
</div>
|
|
<div class="col-md-12 wright">
|
|
<button type="button" class="btn-custom plustimetemplkey blue" title="新增時間"><i class="fa fa-plus"></i></button>
|
|
</div>
|
|
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="form-group">
|
|
<label class="col-sm-2 control-label"><b class="t-red ServiceName">*</b><span data-i18n="ServiceMaintain_Upd.ConfirmDays">訂單確認工作天</span>:</label>
|
|
<div class="col-sm-3">
|
|
<select class="form-control w100p" id="ConfirmDays" name="ConfirmDays" data-type="select2" required data-msg="ServiceMaintain_Upd.ConfirmDays_required" datamsg="請選擇確認工作天"></select>
|
|
</div>
|
|
<label class="col-sm-2 control-label"><b class="t-red ServiceName">*</b><span data-i18n="ServiceMaintain_Upd.PayType">付款方式</span>:</label>
|
|
<div class="col-sm-3">
|
|
<input id="PayType_1" type="checkbox" name="PayType" value="1">
|
|
<label for="PayType_1">信用卡付款</label>
|
|
<input id="PayType_2" type="checkbox" name="PayType" value="2">
|
|
<label for="PayType_2">銀行匯款</label>
|
|
<input id="PayType_3" type="checkbox" name="PayType" value="3">
|
|
<label for="PayType_3">現場付款</label>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="form-group">
|
|
<label class="col-sm-2 control-label"><b class="t-red ServiceName">*</b><span data-i18n="ServiceMaintain_Upd.CMode">佣金計算</span>:</label>
|
|
<div class="col-sm-3">
|
|
<input id="radio_0" type="radio" name="CMode" value="1" checked="checked" />
|
|
<label for="radio_0" data-i18n="ServiceMaintain_Upd.CMode1">按固定比例計算</label>
|
|
<input type="text" id="CPercent" name="CPercent" data-keyint="Y" />%
|
|
<br />
|
|
<input id="radio_1" type="radio" name="CMode" value="2" />
|
|
<label for="radio_1" data-i18n="ServiceMaintain_Upd.CMode2">同業價</label>
|
|
|
|
</div>
|
|
<label class="col-sm-2 control-label"><b class="t-red ServiceName">*</b><span data-i18n="ServiceMaintain_Upd.SuitPlaceOrExhibition">適用地區/展會</span>:</label>
|
|
<div class="col-sm-3">
|
|
<table style="width:100%;">
|
|
<tr>
|
|
<td>
|
|
適用地區
|
|
</td>
|
|
<td>
|
|
<input type="text" class="form-control w200p" name="Place" id="Place" disabled>
|
|
</td>
|
|
<td>
|
|
<button type="button" class="btn btn-success" id="btnQryPlace"><i class="fa fa-search"></i></button>
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>
|
|
<br/>
|
|
</td>
|
|
<td>
|
|
|
|
</td>
|
|
<td>
|
|
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>
|
|
適用展會
|
|
</td>
|
|
<td>
|
|
<input type="hidden" class="form-control w100p" name="ExhibitionID" id="ExhibitionID">
|
|
<input type="text" class="form-control w200p" name="ExhibitionNames" id="ExhibitionNames" disabled>
|
|
</td>
|
|
<td>
|
|
<!--<button type="button" class="btn btn-success" id="btnQryExhibition" data-toggle="modal" data-target="#Exhibition"><i class="fa fa-search"></i></button>-->
|
|
<button type="button" class="btn btn-success" id="btnQryExhibition"><i class="fa fa-search"></i></button>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="form-group">
|
|
<label class="col-sm-2 control-label"><span data-i18n="ServiceMaintain_Upd.OtherMode">其他地點資訊</span>:</label>
|
|
<div class="col-sm-8">
|
|
<input id="radio_0" type="radio" name="OtherMode" value="1" checked="checked" />
|
|
<label for="radio_0" data-i18n="ServiceMaintain_Upd.OtherMode1">服務收貨地</label>
|
|
<input id="radio_1" type="radio" name="OtherMode" value="2" />
|
|
<label for="radio_1" data-i18n="ServiceMaintain_Upd.OtherMode2">服務領取地</label>
|
|
<input id="radio_2" type="radio" name="OtherMode" value="3" />
|
|
<label for="radio_2" data-i18n="ServiceMaintain_Upd.OtherMode3">出發地</label>
|
|
<input id="radio_3" type="radio" name="OtherMode" value="4" />
|
|
<label for="radio_3" data-i18n="ServiceMaintain_Upd.OtherMode4">其他</label>
|
|
<br />
|
|
|
|
<div class="OtherMode">
|
|
<div>
|
|
<table class="table table-bordered">
|
|
<thead id="table_thbox_other">
|
|
<tr>
|
|
<th>#</th>
|
|
<th name="CusTitle" style="display: none;">自定義欄位標題</th>
|
|
<th>城市</th>
|
|
<th>地點</th>
|
|
<th data-i18n="common.Action">操作</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody id="table_box_other"></tbody>
|
|
</table>
|
|
</div>
|
|
<div class="col-md-12 wright">
|
|
<button type="button" class="btn-custom plusother blue" title="新增"><i class="fa fa-plus"></i></button>
|
|
<input type="hidden" id="hidOtherGuid" />
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
<div class="form-group">
|
|
<label class="col-sm-2 control-label wright" for="input-Default"><b class="t-red ServiceName">*</b><span data-i18n="ServiceMaintain_Upd.Features">服務特色</span>:</label>
|
|
<div class="col-sm-8">
|
|
<script type="text/plain" id="UE_Features" style="height:300px">
|
|
</script>
|
|
<input type="hidden" name="Features" id="Features" required data-msg="ServiceMaintain_Upd.Features_required" datamsg="請輸入服務特色" />
|
|
</div>
|
|
</div>
|
|
|
|
<div class="form-group">
|
|
<label class="col-sm-2 control-label wright" for="input-Default"><b class="t-red ServiceName">*</b><span data-i18n="ServiceMaintain_Upd.Details">服務細節説明</span>:</label>
|
|
<div class="col-sm-8">
|
|
<script type="text/plain" id="UE_Details" style="height:300px">
|
|
</script>
|
|
<input type="hidden" name="Details" id="Details" required data-msg="ServiceMaintain_Upd.Details_required" datamsg="請輸入服務細節説明" />
|
|
</div>
|
|
</div>
|
|
|
|
</form>
|
|
</div>
|
|
|
|
<div role="tabpanel" class="tab-pane" id="tab2">
|
|
|
|
<form id="BasicOther" class="form-horizontal">
|
|
<div style="width: 100%; display:flex; align-items: center; justify-content: center; ">
|
|
<button type="button" class="btn-custom blue" id="btnSaveOther" data-i18n="common.Toolbar_Save">儲存</button>
|
|
<button type="button" class="btn-custom blue" id="btnClearOther" data-i18n="common.Toolbar_Clear">清除</button>
|
|
</div>
|
|
|
|
<div class="form-group">
|
|
<label class="col-sm-2 control-label wright" for="input-Default"><b class="t-red ServiceName">*</b><span data-i18n="ServiceMaintain_Upd.CancelPolicy">取消政策</span>:</label>
|
|
<div class="col-sm-8">
|
|
<script type="text/plain" id="UE_CancelPolicy" style="height:300px">
|
|
</script>
|
|
<input type="hidden" name="CancelPolicy" id="CancelPolicy" required data-msg="ServiceMaintain_Upd.CancelPolicy_required" datamsg="請輸入取消政策" />
|
|
</div>
|
|
</div>
|
|
|
|
<div class="form-group">
|
|
<label class="col-sm-2 control-label wright" for="input-Default"><span data-i18n="ServiceMaintain_Upd.FQA">常見問題</span>:</label>
|
|
<div class="col-sm-8">
|
|
|
|
<div>
|
|
<table class="table table-bordered">
|
|
<thead>
|
|
<tr>
|
|
<th>#</th>
|
|
<th>問題</th>
|
|
<th>答案</th>
|
|
<th data-i18n="common.Action">操作</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody id="table_box_fqa"></tbody>
|
|
</table>
|
|
</div>
|
|
<div class="col-md-12 wright">
|
|
<button type="button" class="btn-custom plusfqatemplkey blue" title="新增常見問題"><i class="fa fa-plus"></i></button>
|
|
</div>
|
|
|
|
</div>
|
|
</div>
|
|
|
|
<div class="form-group">
|
|
<label class="col-sm-2 control-label wright" for="input-Default"><span data-i18n="ServiceMaintain_Upd.OrderMemo">訂單備註</span>:</label>
|
|
<div class="col-sm-8">
|
|
<script type="text/plain" id="UE_OrderMemo" style="height:300px">
|
|
</script>
|
|
<input type="hidden" name="OrderMemo" id="OrderMemo" required data-msg="ServiceMaintain_Upd.OrderMemo_required" datamsg="請輸入訂單備註" />
|
|
</div>
|
|
</div>
|
|
|
|
<div class="form-group">
|
|
<label class="col-sm-2 control-label wright" for="input-Default">訂單問題(針對服務):</label> <!--<span data-i18n="ServiceMaintain_Upd.OrderQuestion">訂單問題(針對服務)</span>-->
|
|
<div class="col-sm-8">
|
|
|
|
<div>
|
|
<table class="table table-bordered">
|
|
<thead>
|
|
<tr>
|
|
<th>#</th>
|
|
<th>排序</th>
|
|
<th>是否必填</th>
|
|
<th>問題</th>
|
|
<th>答案</th>
|
|
<th data-i18n="common.Action">操作</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody id="jsOrderQuertionGrid"></tbody>
|
|
</table>
|
|
</div>
|
|
<div class="col-md-12 wright">
|
|
<!--<button type="button" class="btn-custom otherorderquertion blue" data-toggle="modal" data-target="#CopySync" blue" title="新增問題"><i class="fa fa-plus"></i></button>-->
|
|
<button type="button" class="btn-custom otherorderquertion blue" title="新增問題"><i class="fa fa-plus"></i></button>
|
|
</div>
|
|
|
|
</div>
|
|
</div>
|
|
</form>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
<div role="tabpanel" class="tab-pane" id="tab3">
|
|
|
|
<form id="BasicPlan" class="form-horizontal">
|
|
|
|
<div class="cusbasicplan">
|
|
<!--<input type="button" value="新方案" id="btnNewPlan" class="btn-custom blue" data-value="" />
|
|
<button type="button" id="btnNewPlan" class="btn-custom blue" name="">新方案</button>-->
|
|
|
|
</div>
|
|
|
|
<div id="divplan" style="display:none;">
|
|
|
|
<div style="width: 100%; display:flex; align-items: center; justify-content: center; ">
|
|
|
|
<button type="button" class="btn-custom blue" id="btnSavePlan" data-i18n="common.Toolbar_Save">儲存</button>
|
|
<button type="button" class="btn-custom blue" id="btnClearPlan" data-i18n="common.Toolbar_Clear">清除</button>
|
|
<button type="button" class="btn-custom blue" id="btnDelPlan">刪除</button>
|
|
</div>
|
|
|
|
<div>
|
|
|
|
|
|
|
|
<div class="form-group">
|
|
<label class="col-sm-2 control-label"><b class="t-red">*</b><span data-i18n="ONSiteMaintain_Upd.ItemType">項目</span>:</label>
|
|
<div class="col-sm-3">
|
|
<select class="form-control w100p" id="ItemType" name="ItemType" required data-msg="ONSiteMaintain_Upd.ItemType_required" datamsg="請選擇項目"></select>
|
|
</div>
|
|
|
|
<label class="col-sm-2 control-label QSID"><span data-i18n="ONSiteMaintain_Upd.QSID">報價表</span>:</label>
|
|
<div class="col-sm-3 QSID">
|
|
<select class="form-control w100p" id="QSID" name="QSID"></select>
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
<div class="form-group">
|
|
<label class="col-sm-2 control-label wright"><span data-i18n="common.Status">狀態</span>:</label>
|
|
<div class="col-sm-8">
|
|
<input id="radio_0" type="radio" name="ItemEffective" value="Y" checked="checked" />
|
|
<label for="radio_0" data-i18n="common.Effective">有效</label>
|
|
<input id="radio_1" type="radio" name="ItemEffective" value="N" />
|
|
<label for="radio_1" data-i18n="common.Invalid">無效</label>
|
|
</div>
|
|
</div>
|
|
<div class="form-group Other" hidden>
|
|
<label class="col-sm-2 control-label wright" for="input-Default"><span data-i18n="ServiceQSMaintain_Upd.FreeTb">費用表</span>:</label>
|
|
<div class="col-sm-8">
|
|
|
|
<table class="table table-bordered">
|
|
<thead>
|
|
<tr>
|
|
|
|
<th>計算模式</th>
|
|
<th>售價</th>
|
|
<th>同業價</th>
|
|
<th>最低單位數</th>
|
|
|
|
</tr>
|
|
</thead>
|
|
<tbody id="jsGridOtherCostRules">
|
|
<tr>
|
|
<td>
|
|
<input id="ItemPricing_0" type="radio" name="ItemPricingMode" value="N" checked="checked" />
|
|
<label for="ItemPricing_0">單件計min</label>
|
|
<input id="ItemPricing_1" type="radio" name="ItemPricingMode" value="T" />
|
|
<label for="ItemPricing_1">全部貨量計min</label>
|
|
</td>
|
|
<td><input type="text" data-input="Price" class="form-control w100p" value=""></td>
|
|
<td><input type="text" data-input="InterbankPrice" class="form-control w100p" value=""></td>
|
|
<td><input type="text" data-input="Unit_Min" class="form-control w100p" value="">立方米</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
|
|
|
|
<!--<div id="jsGridOtherCostRules"></div>-->
|
|
</div>
|
|
</div>
|
|
<div class="form-group Stacker" hidden>
|
|
<label class="col-sm-2 control-label wright" for="input-Default"><span data-i18n="ServiceQSMaintain_Upd.FreeTb">費用表</span>:</label>
|
|
<div class="col-sm-8">
|
|
<div id="jsGridCostRules"></div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="form-group Truck" hidden>
|
|
<label class="col-sm-2 control-label wright" for="input-Default"><span data-i18n="ServiceQSMaintain_Upd.FreeTb">費用表</span>:</label>
|
|
<div class="col-sm-8">
|
|
<div>
|
|
<table class="table table-bordered">
|
|
<thead id="thFreeTbHeader">
|
|
<!--<tr>
|
|
<th>車型</th>
|
|
<th>3.5T</th>
|
|
<th>7.5T</th>
|
|
<th>15T</th>
|
|
</tr>
|
|
<tr>
|
|
<th>最大載重</th>
|
|
<th>1000kg</th>
|
|
<th>2500kg</th>
|
|
<th>6000kg</th>
|
|
</tr>
|
|
<tr>
|
|
<th>車廂尺寸</th>
|
|
<th>300*150*150cm</th>
|
|
<th>480*200*200cm</th>
|
|
<th>760*225*230cm</th>
|
|
</tr>-->
|
|
</thead>
|
|
<tbody id="table_FreeTb">
|
|
<!--<tr>
|
|
<th>台北市</th>
|
|
<th></th>
|
|
<th></th>
|
|
<th></th>
|
|
</tr>-->
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
</div>
|
|
</div>
|
|
<div class="form-group Truck" hidden>
|
|
<label class="col-sm-2 control-label wright" for="input-Default"><span data-i18n="ServiceQSMaintain_Upd.HolidayOvertimePay">假日加班費</span>:</label>
|
|
<div class="col-sm-8">
|
|
<div>
|
|
<table class="table table-bordered">
|
|
<thead id="thHolidayOvertimePay">
|
|
<!--<tr>
|
|
<th>車型</th>
|
|
<th>3.5T</th>
|
|
<th>7.5T</th>
|
|
<th>15T</th>
|
|
</tr>-->
|
|
|
|
</thead>
|
|
<tbody id="table_HolidayOvertimePay">
|
|
<!--<tr>
|
|
<th></th>
|
|
<th>200</th>
|
|
<th></th>
|
|
<th></th>
|
|
|
|
</tr>-->
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
</div>
|
|
</div>
|
|
<div class="form-group Truck" hidden>
|
|
<label class="col-sm-2 control-label wright" for="input-Default"><span data-i18n="ServiceQSMaintain_Upd.MarkupByModel">車型加價</span>:</label>
|
|
<div class="col-sm-8">
|
|
<div>
|
|
<table class="table table-bordered">
|
|
<thead id="thMarkupByModel">
|
|
<!--<tr>
|
|
<th>車型</th>
|
|
<th>3.5T</th>
|
|
<th>7.5T</th>
|
|
<th>15T</th>
|
|
</tr>-->
|
|
|
|
</thead>
|
|
<tbody id="table_MarkupByModel">
|
|
<!--<tr>
|
|
<th>尾門</th>
|
|
<th></th>
|
|
<th></th>
|
|
<th></th>
|
|
|
|
</tr>-->
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
</div>
|
|
</div>
|
|
|
|
<div class="form-group Truck" hidden>
|
|
<label class="col-sm-2 control-label wright" for="input-Default"><span data-i18n="ServiceQSMaintain_Upd.EscortFreeCityID">押車費</span>:</label>
|
|
<div class="col-sm-8">
|
|
<div>
|
|
<!--以_新竹____ 為押車費用計算-->
|
|
<table>
|
|
<tr>
|
|
<td>以 </td>
|
|
<td><select class="form-control w100p" data-type="select2" id="EscortFreeCityID" name="EscortFreeCityID"></select> </td>
|
|
<td>為押車費用計算 </td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<div class="form-group">
|
|
<label class="col-sm-2 control-label wright" for="input-Default">訂單問題(針對服務):</label> <!--<span data-i18n="ServiceMaintain_Upd.OrderQuestion">訂單問題(針對服務)</span>-->
|
|
<div class="col-sm-8">
|
|
|
|
<div>
|
|
<table class="table table-bordered">
|
|
<thead>
|
|
<tr>
|
|
<th>#</th>
|
|
<th>排序</th>
|
|
<th>是否必填</th>
|
|
<th>問題</th>
|
|
<th>答案</th>
|
|
<th data-i18n="common.Action">操作</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody id="jsPlanOrderQuertionGrid"></tbody>
|
|
</table>
|
|
</div>
|
|
<div class="col-md-12 wright">
|
|
<button type="button" class="btn-custom planorderquertion blue" title="新增問題"><i class="fa fa-plus"></i></button>
|
|
<!--<button type="button" class="btn-custom planorderquertion blue" data-toggle="modal" data-target="#CopySync" blue" title="新增問題"><i class="fa fa-plus"></i></button>-->
|
|
</div>
|
|
|
|
</div>
|
|
</div>
|
|
|
|
<div class="form-group">
|
|
<label class="col-sm-2 control-label wright" for="input-Default"><b class="t-red">*</b><span data-i18n="ServiceQSMaintain_Upd.ExpensesMemo">費用說明</span>:</label>
|
|
<div class="col-sm-8">
|
|
<script type="text/plain" id="UE_ExpensesMemo" style="height:200px">
|
|
</script>
|
|
<input type="hidden" name="ExpensesMemo" id="ExpensesMemo" required data-msg="common.CostInstruction_required" datamsg="請輸入費用說明" />
|
|
</div>
|
|
</div>
|
|
<!--<div class="form-group">
|
|
<label class="col-sm-2 control-label wright" for="input-Default"><b class="t-red">*</b><span data-i18n="ServiceQSMaintain_Upd.ServicesMemo">服務說明</span>:</label>
|
|
<div class="col-sm-8">
|
|
<script type="text/plain" id="UE_ServicesMemo" style="height:200px">
|
|
</script>
|
|
<input type="hidden" name="ServicesMemo" id="ServicesMemo" required data-msg="common.ServiceInstruction_required" datamsg="請輸入服務說明" />
|
|
</div>
|
|
</div>-->
|
|
</div>
|
|
</div>
|
|
|
|
|
|
</form>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
<!-- 頁籖內容 Tab panes End -->
|
|
</div>
|
|
|
|
</div>
|
|
<div class="form-group">
|
|
<label class="col-sm-2 control-label"><span data-i18n="common.CreateUser">創建人</span>:</label>
|
|
<div class="col-sm-3">
|
|
<div class="form-control-static" name="CreateUserName" id="CreateUserName"></div>
|
|
</div>
|
|
<label class="col-sm-2 control-label"><span data-i18n="common.CreateDate">創建時間</span>:</label>
|
|
<div class="col-sm-3">
|
|
<div class="form-control-static" name="CreateDate" id="CreateDate"></div>
|
|
</div>
|
|
</div>
|
|
<div class="form-group">
|
|
<label class="col-sm-2 control-label"><span data-i18n="common.ModifyUser">最新修改人</span>:</label>
|
|
<div class="col-sm-3">
|
|
<div class="form-control-static" name="ModifyUserName" id="ModifyUserName"></div>
|
|
</div>
|
|
<label class="col-sm-2 control-label"><span data-i18n="common.ModifyDate">最新修改時間</span>:</label>
|
|
<div class="col-sm-3">
|
|
<div class="form-control-static" name="ModifyDate" id="ModifyDate"></div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<!--主作業區 End-->
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<!-- 訂單問題列表 -->
|
|
<div class="modal fade" id="CopySync" tabindex="-1" role="dialog" aria-labelledby="CopySyncModalLabel" aria-hidden="true">
|
|
<div class="modal-dialog" role="document">
|
|
<div class="modal-content" style="width:700px;">
|
|
<div class="modal-header">
|
|
<h5 class="modal-title" id="CopySyncModalLabel">問題列表</h5>
|
|
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
|
|
<span aria-hidden="true">×</span>
|
|
</button>
|
|
</div>
|
|
<div class="modal-body">
|
|
|
|
<div class="row">
|
|
|
|
<label class="col-sm-2 control-label" for="input-Default">
|
|
<span>問卷類別:</span>
|
|
</label>
|
|
<div class="col-sm-2">
|
|
<select class="form-control w100p" id="SurveyTypePop" name="SurveyTypePop"></select>
|
|
</div>
|
|
|
|
<label class="col-sm-2 control-label" for="input-Default">
|
|
<span>服務子類別:</span>
|
|
</label>
|
|
<div class="col-sm-2">
|
|
<select class="form-control w100p" id="CategoryIDPop" name="CategoryIDPop"></select>
|
|
</div>
|
|
<div class="col-sm-2">
|
|
<button type="button" class="btn-custom blue" id="btnQrySurvey">查詢</button>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div id="content-box-view">
|
|
<div id="content-box-info-nostyle" class="shadowbox">
|
|
<div>
|
|
<div id="jsSurveyQustionGrid"></div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="modal-footer">
|
|
<button type="button" id="CopySycnOK" class="btn btn-success" data-dismiss="modal">OK</button>
|
|
<button type="button" id="CopySycnCancel" class="btn btn-secondary" data-dismiss="modal">Cancel</button>
|
|
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<!-- 適用地區 -->
|
|
<!--<div class="modal fade" id="RegionList" tabindex="-1" role="dialog" aria-labelledby="RegionListModalLabel" aria-hidden="true">
|
|
<div class="modal-dialog" role="document">
|
|
<div class="modal-content">
|
|
<div class="modal-header">
|
|
<h5 class="modal-title" id="RegionListModalLabel">選擇地區</h5>
|
|
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
|
|
<span aria-hidden="true">×</span>
|
|
</button>
|
|
</div>
|
|
<div class="modal-body">
|
|
<input type="text" id="RegionSearch" placeholder="輸入州/國家/城市" />
|
|
<div id="divRegionList"></div>
|
|
</div>
|
|
<div class="modal-footer">
|
|
<button type="button" id="RegionOK" class="btn btn-success" data-dismiss="modal">OK</button>
|
|
<button type="button" id="RegionCancel" class="btn btn-secondary" data-dismiss="modal">Cancel</button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>-->
|
|
|
|
<!-- 其他地點資訊 地址 -->
|
|
<!--<div class="modal fade" id="RegionList2" tabindex="-2" role="dialog" aria-labelledby="RegionList2ModalLabel" aria-hidden="true">
|
|
<div class="modal-dialog" role="document">
|
|
<div class="modal-content">
|
|
<div class="modal-header">
|
|
<h5 class="modal-title" id="RegionList2ModalLabel">選擇地區</h5>
|
|
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
|
|
<span aria-hidden="true">×</span>
|
|
</button>
|
|
</div>
|
|
<div class="modal-body">
|
|
<input type="text" id="RegionSearch2" placeholder="輸入州/國家/城市" />
|
|
<div id="divRegionList2"></div>
|
|
</div>
|
|
<div class="modal-footer">
|
|
<button type="button" id="RegionOK2" class="btn btn-success" data-dismiss="modal">OK</button>
|
|
<button type="button" id="RegionCancel2" class="btn btn-secondary" data-dismiss="modal">Cancel</button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>-->
|
|
|
|
<!-- 展會列表 -->
|
|
<div class="modal fade" id="ExhibitionPop" tabindex="-1" role="dialog" aria-labelledby="ExhibitionModalLabel" aria-hidden="true">
|
|
<div class="modal-dialog" role="document">
|
|
<div class="modal-content" style="width:700px;">
|
|
<div class="modal-header">
|
|
<h5 class="modal-title" id="ExhibitionModalLabel">展會列表</h5>
|
|
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
|
|
<span aria-hidden="true">×</span>
|
|
</button>
|
|
</div>
|
|
<div class="modal-body">
|
|
<div class="row">
|
|
<label class="col-sm-2 control-label" for="input-Default">
|
|
<span>展覽主類別:</span>
|
|
</label>
|
|
<div class="col-sm-2">
|
|
<select class="form-control w100p" id="MainCategoryIDPop" name="MainCategoryIDPop"></select>
|
|
</div>
|
|
|
|
<label class="col-sm-2 control-label" for="input-Default">
|
|
<span>展覽子類別:</span>
|
|
</label>
|
|
<div class="col-sm-2">
|
|
<select class="form-control w100p" id="SubCategoryIDPop" name="SubCategoryIDPop"></select>
|
|
</div>
|
|
<div class="col-sm-2">
|
|
<button type="button" class="btn-custom blue" id="btnQryExhibitionPop">查詢</button>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="row">
|
|
<label class="col-sm-2 control-label" for="input-Default">
|
|
<span>展覽名稱:</span>
|
|
</label>
|
|
<div class="col-sm-6">
|
|
<input class="form-control w100p" type="text" id="ExhibitionNamePop" name="ExhibitionNamePop" />
|
|
</div>
|
|
</div>
|
|
|
|
<div id="content-box-view">
|
|
<div id="content-box-info-nostyle" class="shadowbox">
|
|
<div>
|
|
<div id="jsExhibitionGrid"></div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="modal-footer">
|
|
<button type="button" id="ExhibitionOK" class="btn btn-success" data-dismiss="modal">OK</button>
|
|
<button type="button" id="ExhibitionCancel" class="btn btn-secondary" data-dismiss="modal">Cancel</button>
|
|
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
</body>
|
|
</html>
|
|
|
|
<script src="/Scripts/3rd/jquery-2.1.3.min.js"></script>
|
|
<script src="/Scripts/3rd/layer/layui/layui.all.min.js"></script>
|
|
<script src="/Ueditor/ueditor.config.js"></script>
|
|
<script src="/Ueditor/ueditor.all.js"></script>
|
|
<script src="/Ueditor/lang/zh-tw/zh-tw.js"></script>
|
|
<script src="/Scripts/3rd/jqtree/tree.jquery.js"></script>
|
|
<script src="/Scripts/lib/PY.js"></script>
|
|
<script type="text/javascript">
|
|
$(document).ready(function () {
|
|
$("head").append("<script type='text/javascript' src='/Scripts/loadjs.min.js'>");
|
|
$("head").append("<script type='text/javascript' src='/Scripts/JSLoader.js'>");
|
|
$("head").append("<script type='text/javascript' src='/Scripts/pages/ShowEasy/ONSiteMaintain_Upd.js'>");
|
|
});
|
|
</script>
|
|
|
|
<script id="OtherOrderQuestion_temp" type="text/x-jsrender">
|
|
{{for #data}}
|
|
<table>
|
|
<tr>
|
|
<td class="wcenter">
|
|
{{:#getIndex()+1}}
|
|
</td>
|
|
<td class="wcenter"><input type="text" data-input="OrderByValue" class="form-control w20p" value="{{:OrderByValue}}" data-value="{{:QuestionID}}" ></td>
|
|
<td class="wcenter">
|
|
{{if RequiredFlag=="1"}}
|
|
<input type="checkbox" id="chkRequiredFlag" name="RequiredFlag" checked="checked" data-value="{{:QuestionID}}" />
|
|
{{else}}
|
|
<input type="checkbox" id="chkRequiredFlag" name="RequiredFlag" data-value="{{:QuestionID}}" />
|
|
{{/if}}
|
|
</td>
|
|
<td>
|
|
{{:SurveyName}}
|
|
</td>
|
|
<td>
|
|
{{:Answer}}
|
|
</td>
|
|
<td class="wcenter">
|
|
<i class="glyphicon glyphicon-trash deleteotherorderquestion" data-value="{{:QuestionID}}" title="刪除"></i>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
{{/for}}
|
|
</script>
|
|
<script id="btnPlan_temp" type="text/x-jsrender">
|
|
{{for #data}}
|
|
<input type="button" value="{{:ItemName}}" class="btn-custom blue planbtnkey" data-value="{{:Guid}}" planflag="{{:PlanFlag}}" />
|
|
{{/for}}
|
|
</script>
|
|
<script id="PlanPricingAndInventory_temp" type="text/x-jsrender">
|
|
|
|
{{for #data}}
|
|
|
|
<tr data-id="{{:Guid}}">
|
|
<td>
|
|
{{:#getIndex()+1}}
|
|
</td>
|
|
<td name="tdCusPlanFlag" data-id="{{:DestinationID}}">
|
|
{{:Destination}}
|
|
</td>
|
|
<td data-id="{{:SpecID}}">
|
|
{{:Spec}}
|
|
</td>
|
|
<td><input type="text" data-input="UnitPrice" class="form-control w100p " value="{{:UnitPrice}}"></td>
|
|
<td name="tdInterbankPrice"><input type="text" data-input="InterbankPrice" class="form-control w100p " value="{{:InterbankPrice}}"></td>
|
|
<td>
|
|
<input type="text" data-input="Inventory" class="form-control w100p " value="{{:Inventory}}">
|
|
</td>
|
|
</tr>
|
|
|
|
{{/for}}
|
|
|
|
|
|
|
|
|
|
</script>
|
|
|