|
|
@@ -188,6 +188,7 @@
|
|
|
<li name="edit" iconcls="icon-stop" onclick="onReturnVisit">客户回访</li>
|
|
|
<li name="edit" iconcls="icon-dispatch" onclick="onOriFileVisit('ORI_FILE')">上传客户文件</li>
|
|
|
<li name="edit" iconcls="icon-mation" onclick="onOriFileVisit('PACK_FILE')">查看包裹图片</li>
|
|
|
+ <li name="edit" iconcls="icon-split" onclick="onOpenTemplate">查看模板</li>
|
|
|
<!-- <li name="edit" iconcls="icon-hostrepertory" onclick="onOpenInvoice">发票</li> -->
|
|
|
</ul>
|
|
|
|
|
|
@@ -488,9 +489,13 @@
|
|
|
<tr>
|
|
|
<td class="td1">
|
|
|
<text style="color: red;">*</text>商品</td>
|
|
|
- <td class="td2" colspan="3">
|
|
|
+ <td class="td2">
|
|
|
<input id="txtAddProductId" class="mini-combobox" style="width: 70%;" onvaluechanged="changeProductFn" textfield="name" valuefield="id" required="true" allowinput="true" valuefromselect="true" url="../handler/sync.ashx?t=get_sel_product" />
|
|
|
</td>
|
|
|
+ <td class="td1">老客户订单</td>
|
|
|
+ <td class="td2" colspan="3">
|
|
|
+ <input type="checkbox" id="chkAddIsOld" />
|
|
|
+ </td>
|
|
|
</tr>
|
|
|
<tr>
|
|
|
<td class="td1">
|
|
|
@@ -955,7 +960,11 @@
|
|
|
<iframe src="" id="knowledge_wev" style="width: 100%; height: 100%"></iframe>
|
|
|
</div>
|
|
|
<script>
|
|
|
-
|
|
|
+ function onOpenTemplate() {
|
|
|
+ let rec = grid.getSelected();
|
|
|
+ let url = 'https://template.lingtao8.com/template/controlSell?orderNumber=' + rec.ctid;
|
|
|
+ window.open(url, '_blank');
|
|
|
+ }
|
|
|
function onOpenInvoice(e) {
|
|
|
let item = grid.getSelected();
|
|
|
postAjax("getInvoiceOrder", { tid: item.tid }, function (data) {
|
|
|
@@ -1040,12 +1049,12 @@
|
|
|
let { address, city, county, name, phone, province, street } = parse_data;
|
|
|
if (value.indexOf(province) == -1) {
|
|
|
mini.showTips({
|
|
|
- content: "识别错误,格式不正确请手动填写或填写正确格式!",
|
|
|
- state: "danger",
|
|
|
- x: "Center",
|
|
|
- y: "Center",
|
|
|
- timeout: 1000
|
|
|
- });
|
|
|
+ content: "识别错误,格式不正确请手动填写或填写正确格式!",
|
|
|
+ state: "danger",
|
|
|
+ x: "Center",
|
|
|
+ y: "Center",
|
|
|
+ timeout: 1000
|
|
|
+ });
|
|
|
return;
|
|
|
}
|
|
|
inputs.forEach(item => {
|