|
@@ -48,6 +48,7 @@
|
|
|
.update-parts>span{margin-right: 10px;padding: 3px 4px;background-color: #effaff;border: 1px solid #32a3d8;}
|
|
|
.my-search-input{padding-left: 30px;background: url(${path}/common/images/cm/search.png) 6px center no-repeat;background-size: auto 60%; }
|
|
|
.txt-red{color:red}
|
|
|
+ .centen{text-align:center;}
|
|
|
</style>
|
|
|
<title>增加客户信息</title>
|
|
|
</head>
|
|
@@ -134,10 +135,10 @@
|
|
|
</div>
|
|
|
<div class="row cl">
|
|
|
<div class="formControls col-9">
|
|
|
- <span class="c-red">*</span>姓名:<input type="text" class="input-text" style="width:90px;margin-right: 10px; margin-bottom: 10px;" placeholder="联系人姓名" id="contactName" name="contactName">
|
|
|
- <span class="c-red">*</span>电话:<input type="text" class="input-text" style="width:90px;margin-right: 10px;margin-bottom: 10px;" placeholder="联系人电话" id="contactPhone" name="contactPhone">
|
|
|
- <span class="c-red">*</span>职位/身份:<input type="text" class="input-text" style="width:90px;margin-right: 10px;margin-bottom: 10px;" placeholder="职位或身份" id="contactType" name="contactType">
|
|
|
- <span class="c-red">*</span>联系邮箱:<input type="text" class="input-text" style="width:90px;margin-right: 10px;margin-bottom: 10px;" placeholder="邮箱" id="contactEmail" name="contactEmail">
|
|
|
+ <span class="c-red">*</span>姓名:<input type="text" class="input-text" style="width:100px;margin-right: 10px; margin-bottom: 10px;" placeholder="联系人姓名" id="contactName" name="contactName">
|
|
|
+ <span class="c-red">*</span>电话:<input type="text" class="input-text" style="width:100px;margin-right: 10px;margin-bottom: 10px;" placeholder="联系人电话" id="contactPhone" name="contactPhone">
|
|
|
+ <span class="c-red">*</span>职位/身份:<input type="text" class="input-text" style="width:100px;margin-right: 10px;margin-bottom: 10px;" placeholder="职位或身份" id="contactType" name="contactType">
|
|
|
+ <span class="c-red">*</span>联系邮箱:<input type="text" class="input-text" style="width:100px;margin-right: 10px;margin-bottom: 10px;" placeholder="邮箱" id="contactEmail" name="contactEmail">
|
|
|
<span class="c-red"><button type="button" style="cursor:pointer; float: right;height: 35px;margin-right: 30px;margin-bottom: 10px;" class="my-btn-search" onclick="toAddDockedContactInfo();">保存</button></span>
|
|
|
</div>
|
|
|
<div class="mt-20" style="margin: 20px;">
|
|
@@ -167,8 +168,8 @@
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="row cl">
|
|
|
- <label class="form-label col-1 col-sm-1"><span class="c-red">*</span>渠道类别:</label>
|
|
|
- <div class="formControls col-1 col-sm-1">
|
|
|
+ <label class="form-label col-2 col-sm-2" style="width:120px;"><span class="c-red">*</span>渠道类别:</label>
|
|
|
+ <div class="formControls col-2 col-sm-2" style="width:120px; padding:0px 0px;margin-right: 15px;">
|
|
|
<span class="select-box">
|
|
|
<select name="channelCategory" id="channelCategory" class="select">
|
|
|
<option value="1">电商</option>
|
|
@@ -178,34 +179,36 @@
|
|
|
</select>
|
|
|
</span>
|
|
|
</div>
|
|
|
- <label class="form-label col-1 col-sm-1"><span class="c-red">*</span>渠道类型:</label>
|
|
|
- <div class="formControls col-1 col-sm-1">
|
|
|
+ <label class="form-label col-2 col-sm-2" style="width:120px;"><span class="c-red">*</span>渠道类型:</label>
|
|
|
+ <div class="formControls col-2 col-sm-2" style="width:120px; padding:0px 0px;margin-right: 15px;">
|
|
|
<span class="select-box">
|
|
|
<select name="channelType" id="channelType" class="select">
|
|
|
</select>
|
|
|
</span>
|
|
|
</div>
|
|
|
- <label class="form-label col-1 col-sm-1"><span class="c-red">*</span>渠道名称:</label>
|
|
|
- <div class="formControls col-1 col-sm-1">
|
|
|
- <input type="text" class="input-text" style="width:90px;margin-right: 0px;margin-bottom: 10px;" placeholder="填写具体店名" id="channelName" name="channelName">
|
|
|
+ <label class="form-label col-2 col-sm-2" style="width:120px;"><span class="c-red">*</span>渠道名称:</label>
|
|
|
+ <div class="formControls col-2 col-sm-2" style="width:120px; padding:0px 0px;margin-right: 15px;">
|
|
|
+ <input type="text" class="input-text" placeholder="填写具体店名" id="channelName" name="channelName">
|
|
|
</div>
|
|
|
- <label class="form-label col-1 col-sm-1"><span class="c-red">*</span>销售产品:</label>
|
|
|
- <div class="formControls col-1 col-sm-1">
|
|
|
+ <label class="form-label col-2 col-sm-2" style="width:120px;"><span class="c-red">*</span>销售产品:</label>
|
|
|
+ <div class="formControls col-2 col-sm-2" style="width:180px; padding:0px 0px; margin-right: 15px;">
|
|
|
<span class="select-box">
|
|
|
<select name="promotingProducts" id="promotingProducts" class="select">
|
|
|
</select>
|
|
|
</span>
|
|
|
</div>
|
|
|
- <label class="form-label col-1 col-sm-1"><span class="c-red">*</span>供货价格:</label>
|
|
|
- <div class="formControls col-1 col-sm-1">
|
|
|
+ </div>
|
|
|
+ <div class="row cl">
|
|
|
+ <label class="form-label col-2 col-sm-2" style="width:120px;"><span class="c-red">*</span>供货价格:</label>
|
|
|
+ <div class="formControls col-2 col-sm-2" style="width:120px; padding:0px 0px;margin-right: 15px;">
|
|
|
<span class="select-box">
|
|
|
<select name="supplyPrice" id="supplyPrice" class="select">
|
|
|
</select>
|
|
|
</span>
|
|
|
<input type="text" class="input-text" style="width:90px;margin-right: 0px;margin-bottom: 10px;" placeholder="填写供货价格" id="writeSupplyPrice" name="writeSupplyPrice">
|
|
|
</div>
|
|
|
- <label class="form-label col-1 col-sm-1"><span class="c-red">*</span>账期:</label>
|
|
|
- <div class="formControls col-1 col-sm-1">
|
|
|
+ <label class="form-label col-2 col-sm-2" style="width:120px;"><span class="c-red">*</span>账期:</label>
|
|
|
+ <div class="formControls col-2 col-sm-2" style="width:120px; padding:0px 0px;margin-right: 15px;">
|
|
|
<span class="select-box">
|
|
|
<select name="accountPeriod" id="accountPeriod" class="select">
|
|
|
<option value="1">先款</option>
|
|
@@ -214,7 +217,14 @@
|
|
|
</select>
|
|
|
</span>
|
|
|
</div>
|
|
|
- <button type="button" style="cursor:pointer; float: right;height: 35px;margin-right: 30px;margin-bottom: 10px;" class="my-btn-search" onclick="toAddChannelSaleInfo();">保存</button>
|
|
|
+
|
|
|
+ <label class="form-label col-2 col-sm-2" style="width:150px;">
|
|
|
+ <button type="button" style="cursor:pointer; float: right;height: 35px;margin-right: 30px;margin-bottom: 10px;" class="my-btn-search" onclick="toAddChannelSaleInfo();">保存</button>
|
|
|
+ </label>
|
|
|
+ <div class="formControls col-2 col-sm-2" style="width:120px; padding:0px 0px;margin-right: 15px;">
|
|
|
+
|
|
|
+ </div>
|
|
|
+
|
|
|
<div class="mt-20" style="margin: 20px;">
|
|
|
<input type="hidden" id="channelSaleInfoJson" name="channelSaleInfoJson">
|
|
|
<table class="table table-border table-bordered table-bg table-hover table-sort" id="saleTable">
|
|
@@ -639,14 +649,19 @@
|
|
|
row = document.getElementById("contactTable").insertRow();
|
|
|
if(row!=null){
|
|
|
cell=row.insertCell();
|
|
|
+ cell.style.textAlign = "center";
|
|
|
cell.innerHTML=contactName;
|
|
|
cell = row.insertCell();
|
|
|
+ cell.style.textAlign = "center";
|
|
|
cell.innerHTML=contactPhone;
|
|
|
cell = row.insertCell();
|
|
|
+ cell.style.textAlign = "center";
|
|
|
cell.innerHTML=contactType;
|
|
|
cell = row.insertCell();
|
|
|
+ cell.style.textAlign = "center";
|
|
|
cell.innerHTML=contactEmail;
|
|
|
cell = row.insertCell();
|
|
|
+ cell.style.textAlign = "center";
|
|
|
cell.innerHTML=operation;
|
|
|
}
|
|
|
$("#contactTbodyId").hide();
|
|
@@ -708,18 +723,25 @@
|
|
|
row = document.getElementById("saleTable").insertRow();
|
|
|
if(row!=null){
|
|
|
cell=row.insertCell();
|
|
|
+ cell.style.textAlign = "center";
|
|
|
cell.innerHTML=channelCategory;
|
|
|
cell = row.insertCell();
|
|
|
+ cell.style.textAlign = "center";
|
|
|
cell.innerHTML=channelType;
|
|
|
cell = row.insertCell();
|
|
|
+ cell.style.textAlign = "center";
|
|
|
cell.innerHTML=channelName;
|
|
|
cell = row.insertCell();
|
|
|
+ cell.style.textAlign = "center";
|
|
|
cell.innerHTML=promotingProductsHtml+promotingProductsText;
|
|
|
cell = row.insertCell();
|
|
|
+ cell.style.textAlign = "center";
|
|
|
cell.innerHTML=supplyPrice;
|
|
|
cell = row.insertCell();
|
|
|
+ cell.style.textAlign = "center";
|
|
|
cell.innerHTML=accountPeriod;
|
|
|
cell = row.insertCell();
|
|
|
+ cell.style.textAlign = "center";
|
|
|
cell.innerHTML=operation;
|
|
|
}
|
|
|
$("#channelTbodyId").hide();
|