|
|
@@ -7,6 +7,7 @@
|
|
|
<link href="../css/imgbox.css" rel="stylesheet" />
|
|
|
<script src="../js/ssi/ssi-upload.js"></script>
|
|
|
<script src="../js/imgbox-1.0.3.js"></script>
|
|
|
+ <script src="../js/alioss.js"></script>
|
|
|
<script type="text/javascript" src="js/p_order.js?v=<%=SiteVer %>"></script>
|
|
|
<script>
|
|
|
|
|
|
@@ -66,307 +67,307 @@
|
|
|
height: auto;
|
|
|
}
|
|
|
</style>
|
|
|
- </asp:Content>
|
|
|
- <asp:Content ID="Content2" ContentPlaceHolderID="btn" runat="Server">
|
|
|
- <a class="mini-button mini-button-primary new_use_btn_blue" iconcls="icon-ok" onclick="getMyOrder()">领单</a>
|
|
|
- <a class="mini-button mini-button-primary new_use_btn_blue" iconcls="icon-goto" onclick="setRelationOrder()">关联</a>
|
|
|
- <%--<a class="mini-button mini-button-primary new_use_btn_blue" iconcls="icon-user" onclick="aftersaleFn()">售后</a>--%>
|
|
|
-
|
|
|
- <a class="mini-button mini-button-primary new_use_btn_blue" iconcls="icon-print" onclick="billFn()">发票</a>
|
|
|
-
|
|
|
- <a class="mini-button mini-button-primary new_use_btn_blue" iconcls="icon-download" onclick="downloadOrder()">下载订单</a>
|
|
|
- <a class="mini-button mini-button-primary new_use_btn_blue" iconcls="icon-downgrade" onclick="preDeliveryFn()">预发</a>
|
|
|
- <a class="mini-button mini-button-primary new_use_btn_blue" iconcls="icon-tip" onclick="sampleFn()">拿样</a>
|
|
|
- <a id="btnAfterSale" runat="server" visible="false" class="mini-button mini-button-primary new_use_btn_blue" iconcls="icon-user" onclick="aftersaleFn()">售后</a>
|
|
|
- <a id="btnChecked" runat="server" visible="false" class="mini-button mini-button-primary new_use_btn_blue" iconcls="icon-search" onclick="onCheckOrder()">查货</a>
|
|
|
- <a id="btnaddNewOrder" class="mini-button mini-button-primary new_use_btn_blue" runat="server" visible="false" iconcls="icon-addnew" onclick="addNewOrderFn()">新增</a>
|
|
|
- <a id="btnReturnCash" runat="server" visible="false" class="mini-button mini-button-primary new_use_btn_blue" iconcls="icon-node" onclick="returnCashFn()">返现</a>
|
|
|
- <a id="btnExport" runat="server" visible="false" class="mini-button mini-button-success new_use_btn_green" iconcls="icon-folder" onclick="exportFn()">导出</a>
|
|
|
- <a id="btnDistribute" runat="server" visible="false" class="mini-button mini-button-success new_use_btn_green" iconcls="icon-user" onclick="distributeFn()">指派</a>
|
|
|
- <a id="btnFindDesign" runat="server" class="mini-button mini-button-success new_use_btn_green" iconcls="icon-user" onclick="findDesign()">设计师</a>
|
|
|
- <a id="btnDownloadFile" runat="server" visible="false" class="mini-button mini-button-success new_use_btn_green" iconcls="icon-download" onclick="downloadFileFn2()">下载文件</a>
|
|
|
- <a id="btnOrderReset" runat="server" visible="false" class="mini-button mini-button-danger new_use_btn_red" iconcls="icon-reload" onclick="resetFn()">重置</a>
|
|
|
- <a id="btnOrderDelete" runat="server" visible="false" class="mini-button mini-button-danger new_use_btn_red" iconcls="icon-stop" onclick="deleteFn()">删除</a>
|
|
|
- <a id="btnClearRefund" runat="server" visible="false" class="mini-button mini-button-danger new_use_btn_red" iconcls="icon-remove" onclick="clearRefundFn()">清空退款状态</a>
|
|
|
- <div class="hz">
|
|
|
- <div style="margin-left: 10px;" id="id_gatherPayment">(0)</div>
|
|
|
- </div>
|
|
|
- </asp:Content>
|
|
|
+</asp:Content>
|
|
|
+<asp:Content ID="Content2" ContentPlaceHolderID="btn" runat="Server">
|
|
|
+ <a class="mini-button mini-button-primary new_use_btn_blue" iconcls="icon-ok" onclick="getMyOrder()">领单</a>
|
|
|
+ <a class="mini-button mini-button-primary new_use_btn_blue" iconcls="icon-goto" onclick="setRelationOrder()">关联</a>
|
|
|
+ <%--<a class="mini-button mini-button-primary new_use_btn_blue" iconcls="icon-user" onclick="aftersaleFn()">售后</a>--%>
|
|
|
+
|
|
|
+ <a class="mini-button mini-button-primary new_use_btn_blue" iconcls="icon-print" onclick="billFn()">发票</a>
|
|
|
+
|
|
|
+ <a class="mini-button mini-button-primary new_use_btn_blue" iconcls="icon-download" onclick="downloadOrder()">下载订单</a>
|
|
|
+ <a class="mini-button mini-button-primary new_use_btn_blue" iconcls="icon-downgrade" onclick="preDeliveryFn()">预发</a>
|
|
|
+ <a class="mini-button mini-button-primary new_use_btn_blue" iconcls="icon-tip" onclick="sampleFn()">拿样</a>
|
|
|
+ <a id="btnAfterSale" runat="server" visible="false" class="mini-button mini-button-primary new_use_btn_blue" iconcls="icon-user" onclick="aftersaleFn()">售后</a>
|
|
|
+ <a id="btnChecked" runat="server" visible="false" class="mini-button mini-button-primary new_use_btn_blue" iconcls="icon-search" onclick="onCheckOrder()">查货</a>
|
|
|
+ <a id="btnaddNewOrder" class="mini-button mini-button-primary new_use_btn_blue" runat="server" visible="false" iconcls="icon-addnew" onclick="addNewOrderFn()">新增</a>
|
|
|
+ <a id="btnReturnCash" runat="server" visible="false" class="mini-button mini-button-primary new_use_btn_blue" iconcls="icon-node" onclick="returnCashFn()">返现</a>
|
|
|
+ <a id="btnExport" runat="server" visible="false" class="mini-button mini-button-success new_use_btn_green" iconcls="icon-folder" onclick="exportFn()">导出</a>
|
|
|
+ <a id="btnDistribute" runat="server" visible="false" class="mini-button mini-button-success new_use_btn_green" iconcls="icon-user" onclick="distributeFn()">指派</a>
|
|
|
+ <a id="btnFindDesign" runat="server" class="mini-button mini-button-success new_use_btn_green" iconcls="icon-user" onclick="findDesign()">设计师</a>
|
|
|
+ <a id="btnDownloadFile" runat="server" visible="false" class="mini-button mini-button-success new_use_btn_green" iconcls="icon-download" onclick="downloadFileFn2()">下载文件</a>
|
|
|
+ <a id="btnOrderReset" runat="server" visible="false" class="mini-button mini-button-danger new_use_btn_red" iconcls="icon-reload" onclick="resetFn()">重置</a>
|
|
|
+ <a id="btnOrderDelete" runat="server" visible="false" class="mini-button mini-button-danger new_use_btn_red" iconcls="icon-stop" onclick="deleteFn()">删除</a>
|
|
|
+ <a id="btnClearRefund" runat="server" visible="false" class="mini-button mini-button-danger new_use_btn_red" iconcls="icon-remove" onclick="clearRefundFn()">清空退款状态</a>
|
|
|
+ <div class="hz">
|
|
|
+ <div style="margin-left: 10px;" id="id_gatherPayment">(0)</div>
|
|
|
+ </div>
|
|
|
+</asp:Content>
|
|
|
|
|
|
- <asp:Content ID="Content4" ContentPlaceHolderID="content" runat="Server">
|
|
|
- <div style="display: none">
|
|
|
- <web:HtmlHidden ID="hImg" runat="server"></web:HtmlHidden>
|
|
|
- </div>
|
|
|
- <div class="mini-fit">
|
|
|
- <div id="m_grid" class="mini-datagrid" style="width: 100%; height: 100%;" showsummaryrow="true" ondrawsummarycell="onDrawSummaryCell" contextmenu="#gridMenu" showemptytext="true" emptytext="暂无记录" url="../handler/sync.ashx?t=get_erp_orderlist">
|
|
|
- <div property="columns">
|
|
|
- <div type="indexcolumn" width="20"></div>
|
|
|
- <div type="checkcolumn" width="20"></div>
|
|
|
- <div field="tid" width="100" align="left" headeralign="center" renderer="orderIdRenderer">订单编号</div>
|
|
|
- <div field="OrderSn" visible="false" headeralign="center">唯一识别号</div>
|
|
|
- <div field="SplitTag" width="20" visible="false" align="left" headeralign="center">拆分序号</div>
|
|
|
- <div field="pay_time" width="80" align="center" headeralign="center" renderer="orderPTimeRenderer">付款时间</div>
|
|
|
- <div field="seller_nick" visible="false" align="center" headeralign="center">店铺</div>
|
|
|
- <div field="buyer_nick" visible="false" align="center" headeralign="center">买家旺旺</div>
|
|
|
- <div field="total_fee" visible="false" width="50" align="center" headeralign="center" renderer="orderPay">总金额</div>
|
|
|
- <div field="refund_fees" width="50" align="center" headeralign="center">退款金额</div>
|
|
|
- <div field="payment" width="40" align="center" headeralign="center">付款金额</div>
|
|
|
- <div field="urgentCharge" width="40" align="center" headeralign="center">加急金额</div>
|
|
|
- <div field="IsOldCustomer" visible="false" width="30" align="center" headeralign="center" renderer="oldRenderer">老客户</div>
|
|
|
- <div field="seller_memo" width="150" align="center" headeralign="center" renderer="memoRenderer">备注</div>
|
|
|
- <div field="OtherMemo" width="60" align="center" headeralign="center">额外备注</div>
|
|
|
- <div field="OrderState" width="50" align="center" headeralign="center" renderer="orderStatusRenderer">状态</div>
|
|
|
- <div field="status" visible="false" align="center" headeralign="center">淘宝状态</div>
|
|
|
- <div field="isRefund" visible="false" align="center" headeralign="center">退款状态</div>
|
|
|
- <div field="CustomerTb" width="60" align="center" headeralign="center" renderer="orderCusRenderer">客服</div>
|
|
|
- <div field="DesignUserName" width="60" align="center" headeralign="center" renderer="orderDesignRenderer">设计师</div>
|
|
|
- <div field="DesignPrice" visible="false" align="center" headeralign="center">设计费</div>
|
|
|
- <div field="end_time" visible="false" align="center" headeralign="center">确认收货时间</div>
|
|
|
-
|
|
|
- <div field="WaitDesignTime" visible="false" align="center" headeralign="center">指派时间</div>
|
|
|
- <div field="FinishDesignTime" visible="false" align="center" headeralign="center">上传时间</div>
|
|
|
- <div field="delivery_time" visible="false" align="center" headeralign="center">发货时间</div>
|
|
|
-
|
|
|
- <div field="ProductName" visible="false" align="center" headeralign="center">产品类型</div>
|
|
|
- <div field="ProductSize" visible="false" align="center" headeralign="center">产品尺寸</div>
|
|
|
- <div field="ProductCount" visible="false" align="center" headeralign="center">产品数量</div>
|
|
|
-
|
|
|
- <div field="buyer_message" visible="false" align="center" headeralign="center">买家留言</div>
|
|
|
- <div field="SupplierName" visible="false" align="center" headeralign="center">供应商</div>
|
|
|
- <div field="OutSid" visible="false" align="center" headeralign="center">运单号</div>
|
|
|
- <div field="receiver_name" visible="false" align="center" headeralign="center">收件人</div>
|
|
|
- <div field="receiver_mobile" visible="false" align="center" headeralign="center">收件人手机</div>
|
|
|
- <div field="receiver_state" width="40" align="center" headeralign="center" renderer="receiverStateRenderer">收件省份</div>
|
|
|
- <div field="receiver_city" visible="false" align="center" headeralign="center">收件城市</div>
|
|
|
- <div field="receiver_address" visible="false" align="center" headeralign="center">收件地址</div>
|
|
|
- <div field="ReturnReason" width="60" align="center" headeralign="center">打回原因</div>
|
|
|
- <div field="WaitDesignTime" width="50" align="center" dateformat="yyyy-MM-dd HH:mm" headeralign="center">派单时间</div>
|
|
|
- <div name="action" width="60" headeralign="center" align="center" renderer="orderAction" cellstyle="padding:0;">#</div>
|
|
|
- <div field="CustomerMemo" width="60" align="center" headeralign="center" renderer="customerMemoAction">跟单情况备注</div>
|
|
|
- </div>
|
|
|
+<asp:Content ID="Content4" ContentPlaceHolderID="content" runat="Server">
|
|
|
+ <div style="display: none">
|
|
|
+ <web:HtmlHidden ID="hImg" runat="server"></web:HtmlHidden>
|
|
|
+ </div>
|
|
|
+ <div class="mini-fit">
|
|
|
+ <div id="m_grid" class="mini-datagrid" style="width: 100%; height: 100%;" showsummaryrow="true" ondrawsummarycell="onDrawSummaryCell" contextmenu="#gridMenu" showemptytext="true" emptytext="暂无记录" url="../handler/sync.ashx?t=get_erp_orderlist">
|
|
|
+ <div property="columns">
|
|
|
+ <div type="indexcolumn" width="20"></div>
|
|
|
+ <div type="checkcolumn" width="20"></div>
|
|
|
+ <div field="tid" width="100" align="left" headeralign="center" renderer="orderIdRenderer">订单编号</div>
|
|
|
+ <div field="OrderSn" visible="false" headeralign="center">唯一识别号</div>
|
|
|
+ <div field="SplitTag" width="20" visible="false" align="left" headeralign="center">拆分序号</div>
|
|
|
+ <div field="pay_time" width="80" align="center" headeralign="center" renderer="orderPTimeRenderer">付款时间</div>
|
|
|
+ <div field="seller_nick" visible="false" align="center" headeralign="center">店铺</div>
|
|
|
+ <div field="buyer_nick" visible="false" align="center" headeralign="center">买家旺旺</div>
|
|
|
+ <div field="total_fee" visible="false" width="50" align="center" headeralign="center" renderer="orderPay">总金额</div>
|
|
|
+ <div field="refund_fees" width="50" align="center" headeralign="center">退款金额</div>
|
|
|
+ <div field="payment" width="40" align="center" headeralign="center">付款金额</div>
|
|
|
+ <div field="urgentCharge" width="40" align="center" headeralign="center">加急金额</div>
|
|
|
+ <div field="IsOldCustomer" visible="false" width="30" align="center" headeralign="center" renderer="oldRenderer">老客户</div>
|
|
|
+ <div field="seller_memo" width="150" align="center" headeralign="center" renderer="memoRenderer">备注</div>
|
|
|
+ <div field="OtherMemo" width="60" align="center" headeralign="center">额外备注</div>
|
|
|
+ <div field="OrderState" width="50" align="center" headeralign="center" renderer="orderStatusRenderer">状态</div>
|
|
|
+ <div field="status" visible="false" align="center" headeralign="center">淘宝状态</div>
|
|
|
+ <div field="isRefund" visible="false" align="center" headeralign="center">退款状态</div>
|
|
|
+ <div field="CustomerTb" width="60" align="center" headeralign="center" renderer="orderCusRenderer">客服</div>
|
|
|
+ <div field="DesignUserName" width="60" align="center" headeralign="center" renderer="orderDesignRenderer">设计师</div>
|
|
|
+ <div field="DesignPrice" visible="false" align="center" headeralign="center">设计费</div>
|
|
|
+ <div field="end_time" visible="false" align="center" headeralign="center">确认收货时间</div>
|
|
|
+
|
|
|
+ <div field="WaitDesignTime" visible="false" align="center" headeralign="center">指派时间</div>
|
|
|
+ <div field="FinishDesignTime" visible="false" align="center" headeralign="center">上传时间</div>
|
|
|
+ <div field="delivery_time" visible="false" align="center" headeralign="center">发货时间</div>
|
|
|
+
|
|
|
+ <div field="ProductName" visible="false" align="center" headeralign="center">产品类型</div>
|
|
|
+ <div field="ProductSize" visible="false" align="center" headeralign="center">产品尺寸</div>
|
|
|
+ <div field="ProductCount" visible="false" align="center" headeralign="center">产品数量</div>
|
|
|
+
|
|
|
+ <div field="buyer_message" visible="false" align="center" headeralign="center">买家留言</div>
|
|
|
+ <div field="SupplierName" visible="false" align="center" headeralign="center">供应商</div>
|
|
|
+ <div field="OutSid" visible="false" align="center" headeralign="center">运单号</div>
|
|
|
+ <div field="receiver_name" visible="false" align="center" headeralign="center">收件人</div>
|
|
|
+ <div field="receiver_mobile" visible="false" align="center" headeralign="center">收件人手机</div>
|
|
|
+ <div field="receiver_state" width="40" align="center" headeralign="center" renderer="receiverStateRenderer">收件省份</div>
|
|
|
+ <div field="receiver_city" visible="false" align="center" headeralign="center">收件城市</div>
|
|
|
+ <div field="receiver_address" visible="false" align="center" headeralign="center">收件地址</div>
|
|
|
+ <div field="ReturnReason" width="60" align="center" headeralign="center">打回原因</div>
|
|
|
+ <div field="WaitDesignTime" width="50" align="center" dateformat="yyyy-MM-dd HH:mm" headeralign="center">派单时间</div>
|
|
|
+ <div name="action" width="60" headeralign="center" align="center" renderer="orderAction" cellstyle="padding:0;">#</div>
|
|
|
+ <div field="CustomerMemo" width="60" align="center" headeralign="center" renderer="customerMemoAction">跟单情况备注</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
+ </div>
|
|
|
+
|
|
|
+ <ul id="gridMenu" class="mini-contextmenu" onbeforeopen="onBeforeOpen">
|
|
|
+ <li name="edit" iconcls="icon-copy" onclick="onCopyOrder">复制单号</li>
|
|
|
+ <li name="edit" iconcls="icon-copy" onclick="onCopyBuyerNick">复制旺旺号</li>
|
|
|
+ <li name="edit" iconcls="icon-copy" onclick="onCopyUpLoaderUrl">复制上传地址</li>
|
|
|
+ <li name="edit" iconcls="icon-epay" onclick="onTagArrived">顺丰到付</li>
|
|
|
+ <li name="edit" iconcls="icon-spay" onclick="onTagStarted">顺丰寄付</li>
|
|
|
+ <li name="edit" iconcls="icon-stop" onclick="stopTagStarted">撤销顺丰</li>
|
|
|
+ <li name="edit" iconcls="icon-sms" onclick="onTagWechat">微信单</li>
|
|
|
+ <li name="edit" iconcls="icon-user" onclick="onTagRefund">退款挽回</li>
|
|
|
+ <li name="edit" iconcls="icon-xiaoshou" onclick="onTagMore">微信推购</li>
|
|
|
+ <li name="edit" iconcls="icon-xiaoshou" onclick="onTagGoods">旺旺推购</li>
|
|
|
+ <li name="edit" iconcls="icon-xiaoshou" onclick="onCancelTagGoods">取消推购</li>
|
|
|
+ <li name="edit" iconcls="icon-xiaoshou" onclick="onUrgentCharge">加急费</li>
|
|
|
+ <%--<li name="edit" iconCls="icon-search" onclick="onCheckOrder">查货</li>--%>
|
|
|
+ <li name="edit" iconcls="icon-ok" onclick="onXlwTag">标记小礼物</li>
|
|
|
+ <li name="edit" iconcls="icon-add" onclick="onAddWechatTag">已添加微信</li>
|
|
|
+ <li name="edit" iconcls="icon-epay" onclick="onShowRule">知识库</li>
|
|
|
+ <li name="edit" iconcls="icon-stop" onclick="onReturnVisit">客户回访</li>
|
|
|
+ </ul>
|
|
|
+
|
|
|
+
|
|
|
+ <div id="viewimg_win" class="mini-window" title="文件预览" style="width: 750px; height: 570px; position: relative; display: none">
|
|
|
+ <img id="r_img" style="width: 700px; height: 500px;" onclick="largeImage(this)" src="../images/no_photo.png" />
|
|
|
+ </div>
|
|
|
+
|
|
|
+ <div id="payimg_win" class="mini-window" title="文件预览" style="max-height: 100%; max-width: 100%; position: relative; display: none">
|
|
|
+ <img id="p_img" style="width: 100%; height: 100%;" onclick="largeImage(this)" src="../images/no_photo.png" />
|
|
|
+ </div>
|
|
|
+
|
|
|
+
|
|
|
+ <div id="memo_win" class="mini-window" title="备注信息" style="width: 550px; height: 260px; position: relative; display: none">
|
|
|
+ <table class="win_tb" border="0" cellpadding="0" cellspacing="1">
|
|
|
+ <tr>
|
|
|
+ <td class="td1">备注</td>
|
|
|
+ <td class="td2" colspan="3">
|
|
|
+ <textarea id="txtMemo" style="width: 96%; height: 60px;"></textarea></td>
|
|
|
+ </tr>
|
|
|
+ <tr>
|
|
|
+ <td class="td1">留言</td>
|
|
|
+ <td class="td2" colspan="4">
|
|
|
+ <a id="aMemoMsgNull" checkonclick="true" groupname="memo_msg" class="mini-button" oncheckedchanged="onMemoMsgCheckedChanged(0)">无</a>
|
|
|
+ <a id="aMemoMsgGai" checkonclick="true" groupname="memo_msg" class="mini-button" oncheckedchanged="onMemoMsgCheckedChanged(1)">改稿</a>
|
|
|
+ <a id="aMemoMsgDing" checkonclick="true" groupname="memo_msg" class="mini-button" oncheckedchanged="onMemoMsgCheckedChanged(2)">定稿</a>
|
|
|
+ <%--<a id="aMemoMsgCha" checkonclick="true" groupname="memo_msg" class="mini-button" oncheckedchanged="onMemoMsgCheckedChanged(3)">查货</a>--%>
|
|
|
+ </td>
|
|
|
|
|
|
- <ul id="gridMenu" class="mini-contextmenu" onbeforeopen="onBeforeOpen">
|
|
|
- <li name="edit" iconcls="icon-copy" onclick="onCopyOrder">复制单号</li>
|
|
|
- <li name="edit" iconcls="icon-copy" onclick="onCopyBuyerNick">复制旺旺号</li>
|
|
|
- <li name="edit" iconcls="icon-copy" onclick="onCopyUpLoaderUrl">复制上传地址</li>
|
|
|
- <li name="edit" iconcls="icon-epay" onclick="onTagArrived">顺丰到付</li>
|
|
|
- <li name="edit" iconcls="icon-spay" onclick="onTagStarted">顺丰寄付</li>
|
|
|
- <li name="edit" iconcls="icon-stop" onclick="stopTagStarted">撤销顺丰</li>
|
|
|
- <li name="edit" iconcls="icon-sms" onclick="onTagWechat">微信单</li>
|
|
|
- <li name="edit" iconcls="icon-user" onclick="onTagRefund">退款挽回</li>
|
|
|
- <li name="edit" iconcls="icon-xiaoshou" onclick="onTagMore">微信推购</li>
|
|
|
- <li name="edit" iconcls="icon-xiaoshou" onclick="onTagGoods">旺旺推购</li>
|
|
|
- <li name="edit" iconcls="icon-xiaoshou" onclick="onCancelTagGoods">取消推购</li>
|
|
|
- <li name="edit" iconcls="icon-xiaoshou" onclick="onUrgentCharge">加急费</li>
|
|
|
- <%--<li name="edit" iconCls="icon-search" onclick="onCheckOrder">查货</li>--%>
|
|
|
- <li name="edit" iconcls="icon-ok" onclick="onXlwTag">标记小礼物</li>
|
|
|
- <li name="edit" iconcls="icon-add" onclick="onAddWechatTag">已添加微信</li>
|
|
|
- <li name="edit" iconcls="icon-epay" onclick="onShowRule">知识库</li>
|
|
|
- <li name="edit" iconcls="icon-stop" onclick="onReturnVisit">客户回访</li>
|
|
|
- </ul>
|
|
|
-
|
|
|
-
|
|
|
- <div id="viewimg_win" class="mini-window" title="文件预览" style="width: 750px; height: 570px; position: relative; display: none">
|
|
|
- <img id="r_img" style="width: 700px; height: 500px;" onclick="largeImage(this)" src="../images/no_photo.png" />
|
|
|
- </div>
|
|
|
-
|
|
|
- <div id="payimg_win" class="mini-window" title="文件预览" style="max-height: 100%; max-width: 100%; position: relative; display: none">
|
|
|
- <img id="p_img" style="width: 100%; height: 100%;" onclick="largeImage(this)" src="../images/no_photo.png" />
|
|
|
- </div>
|
|
|
-
|
|
|
-
|
|
|
- <div id="memo_win" class="mini-window" title="备注信息" style="width: 550px; height: 260px; position: relative; display: none">
|
|
|
- <table class="win_tb" border="0" cellpadding="0" cellspacing="1">
|
|
|
- <tr>
|
|
|
- <td class="td1">备注</td>
|
|
|
- <td class="td2" colspan="3">
|
|
|
- <textarea id="txtMemo" style="width: 96%; height: 60px;"></textarea></td>
|
|
|
- </tr>
|
|
|
- <tr>
|
|
|
- <td class="td1">留言</td>
|
|
|
- <td class="td2" colspan="4">
|
|
|
- <a id="aMemoMsgNull" checkonclick="true" groupname="memo_msg" class="mini-button" oncheckedchanged="onMemoMsgCheckedChanged(0)">无</a>
|
|
|
- <a id="aMemoMsgGai" checkonclick="true" groupname="memo_msg" class="mini-button" oncheckedchanged="onMemoMsgCheckedChanged(1)">改稿</a>
|
|
|
- <a id="aMemoMsgDing" checkonclick="true" groupname="memo_msg" class="mini-button" oncheckedchanged="onMemoMsgCheckedChanged(2)">定稿</a>
|
|
|
- <%--<a id="aMemoMsgCha" checkonclick="true" groupname="memo_msg" class="mini-button" oncheckedchanged="onMemoMsgCheckedChanged(3)">查货</a>--%>
|
|
|
- </td>
|
|
|
-
|
|
|
- </tr>
|
|
|
- <tr>
|
|
|
- <td colspan="4">
|
|
|
- <div class="win_btn" style="text-align: center;">
|
|
|
- <a class="mini-button" iconcls="icon-ok" onclick="saveMemoFn">保存</a>
|
|
|
+ </tr>
|
|
|
+ <tr>
|
|
|
+ <td colspan="4">
|
|
|
+ <div class="win_btn" style="text-align: center;">
|
|
|
+ <a class="mini-button" iconcls="icon-ok" onclick="saveMemoFn">保存</a>
|
|
|
<a class="mini-button" iconcls="icon-cancel" onclick="canceMemolFn">取消</a>
|
|
|
- </div>
|
|
|
- </td>
|
|
|
- </tr>
|
|
|
- </table>
|
|
|
- </div>
|
|
|
+ </div>
|
|
|
+ </td>
|
|
|
+ </tr>
|
|
|
+ </table>
|
|
|
+ </div>
|
|
|
+
|
|
|
+ <div id="othermemo_win" class="mini-window" title="额外备注信息" style="width: 550px; height: 300px; position: relative; display: none">
|
|
|
+ <table class="win_tb" border="0" cellpadding="0" cellspacing="1">
|
|
|
+ <tr>
|
|
|
+ <td class="td1">额外备注</td>
|
|
|
+ <td class="td2" colspan="3">
|
|
|
+ <textarea id="txtOtherMemo" style="width: 96%; height: 60px;"></textarea></td>
|
|
|
+ </tr>
|
|
|
|
|
|
- <div id="othermemo_win" class="mini-window" title="额外备注信息" style="width: 550px; height: 300px; position: relative; display: none">
|
|
|
- <table class="win_tb" border="0" cellpadding="0" cellspacing="1">
|
|
|
- <tr>
|
|
|
- <td class="td1">额外备注</td>
|
|
|
- <td class="td2" colspan="3">
|
|
|
- <textarea id="txtOtherMemo" style="width: 96%; height: 60px;"></textarea></td>
|
|
|
- </tr>
|
|
|
-
|
|
|
- <tr>
|
|
|
- <td colspan="4">
|
|
|
- <div class="win_btn" style="text-align: center;">
|
|
|
- <a class="mini-button" iconcls="icon-ok" onclick="saveOtherMemoFn">保存</a>
|
|
|
+ <tr>
|
|
|
+ <td colspan="4">
|
|
|
+ <div class="win_btn" style="text-align: center;">
|
|
|
+ <a class="mini-button" iconcls="icon-ok" onclick="saveOtherMemoFn">保存</a>
|
|
|
<a class="mini-button" iconcls="icon-cancel" onclick="cancelOtherMemoFn">取消</a>
|
|
|
- </div>
|
|
|
- </td>
|
|
|
- </tr>
|
|
|
- </table>
|
|
|
- </div>
|
|
|
+ </div>
|
|
|
+ </td>
|
|
|
+ </tr>
|
|
|
+ </table>
|
|
|
+ </div>
|
|
|
|
|
|
- <div id="aftersale_win" class="mini-window" title="标记售后" style="width: 360px; height: 180px; position: relative; display: none">
|
|
|
- <table class="win_tb" border="0" cellpadding="0" cellspacing="1">
|
|
|
- <tr>
|
|
|
- <td class="td1">售后原因</td>
|
|
|
- <td class="td2">
|
|
|
- <select id="reason" style="width: 80%;">
|
|
|
- <option value="客服问题">客服问题</option>
|
|
|
- <option value="设计问题">设计问题</option>
|
|
|
- <option value="客户问题">客户问题</option>
|
|
|
- <option value="车间问题">车间问题</option>
|
|
|
- <option value="下单问题">下单问题</option>
|
|
|
- <option value="快递问题">快递问题</option>
|
|
|
- <option value="超成本">超成本</option>
|
|
|
- <option value="重复下单">重复下单</option>
|
|
|
- <option value="报价系统问题">报价系统问题</option>
|
|
|
- <option value="没按报价系统报价">没按报价系统报价</option>
|
|
|
- </select>
|
|
|
- </td>
|
|
|
- </tr>
|
|
|
- <tr>
|
|
|
- <td colspan="4">
|
|
|
- <div class="win_btn" style="text-align: center;">
|
|
|
- <a class="mini-button" iconcls="icon-ok" onclick="saveAfterFn">确定</a>
|
|
|
+ <div id="aftersale_win" class="mini-window" title="标记售后" style="width: 360px; height: 180px; position: relative; display: none">
|
|
|
+ <table class="win_tb" border="0" cellpadding="0" cellspacing="1">
|
|
|
+ <tr>
|
|
|
+ <td class="td1">售后原因</td>
|
|
|
+ <td class="td2">
|
|
|
+ <select id="reason" style="width: 80%;">
|
|
|
+ <option value="客服问题">客服问题</option>
|
|
|
+ <option value="设计问题">设计问题</option>
|
|
|
+ <option value="客户问题">客户问题</option>
|
|
|
+ <option value="车间问题">车间问题</option>
|
|
|
+ <option value="下单问题">下单问题</option>
|
|
|
+ <option value="快递问题">快递问题</option>
|
|
|
+ <option value="超成本">超成本</option>
|
|
|
+ <option value="重复下单">重复下单</option>
|
|
|
+ <option value="报价系统问题">报价系统问题</option>
|
|
|
+ <option value="没按报价系统报价">没按报价系统报价</option>
|
|
|
+ </select>
|
|
|
+ </td>
|
|
|
+ </tr>
|
|
|
+ <tr>
|
|
|
+ <td colspan="4">
|
|
|
+ <div class="win_btn" style="text-align: center;">
|
|
|
+ <a class="mini-button" iconcls="icon-ok" onclick="saveAfterFn">确定</a>
|
|
|
<a class="mini-button" iconcls="icon-cancel" onclick="cancelAfterFn">取消</a>
|
|
|
- </div>
|
|
|
- </td>
|
|
|
- </tr>
|
|
|
- </table>
|
|
|
- </div>
|
|
|
-
|
|
|
- <div id="bill_win" class="mini-window" title="发票信息" style="width: 750px; height: 590px; position: relative; display: none">
|
|
|
-
|
|
|
- <fieldset style="border: solid 1px #aaa; padding: 3px;">
|
|
|
- <legend>发票信息</legend>
|
|
|
- <div style="padding: 3px;">
|
|
|
- <table class="win_tb" border="0" cellpadding="0" cellspacing="1">
|
|
|
- <tr>
|
|
|
- <td class="td1">
|
|
|
- <text style="color: red;">*</text>
|
|
|
- 抬头</td>
|
|
|
- <td class="td2">
|
|
|
- <input type="text" id="txtBillTitle" /></td>
|
|
|
- <td class="td1">税号</td>
|
|
|
- <td class="td2">
|
|
|
- <input type="text" id="txtBillTax" /></td>
|
|
|
- </tr>
|
|
|
- <tr>
|
|
|
- <td class="td1">开户行</td>
|
|
|
- <td class="td2">
|
|
|
- <input type="text" id="txtBillBank" /></td>
|
|
|
- <td class="td1">账号</td>
|
|
|
- <td class="td2">
|
|
|
- <input type="text" id="txtBillAccount" /></td>
|
|
|
- </tr>
|
|
|
- <tr>
|
|
|
- <td class="td1">地址</td>
|
|
|
- <td class="td2">
|
|
|
- <input type="text" id="txtBillAddress" /></td>
|
|
|
- <td class="td1">电话</td>
|
|
|
- <td class="td2">
|
|
|
- <input type="text" id="txtBillPhone" /></td>
|
|
|
- </tr>
|
|
|
- <tr>
|
|
|
- <td class="td1">
|
|
|
- <text style="color: red;">*</text>
|
|
|
- 总价</td>
|
|
|
- <td class="td2">
|
|
|
- <input type="text" id="txtBillPrice" /></td>
|
|
|
- <td class="td1">
|
|
|
- <text style="color: red;">*</text>
|
|
|
- 明细</td>
|
|
|
- <td class="td2">
|
|
|
- <input id="txtBillProduct" class="mini-combobox" style="width: 90%;" textfield="name" valuefield="id" required="true" allowinput="true" valuefromselect="true" url="../handler/sync.ashx?t=get_some_product" />
|
|
|
- </td>
|
|
|
- </tr>
|
|
|
- <tr>
|
|
|
- <td class="td1">数量</td>
|
|
|
- <td class="td2" style="display: flex; flex-direction: row;">
|
|
|
- <input style="width: 80px; margin-right: 20px;" type="text" id="txtBillNum" />
|
|
|
- <select id="txtBillUnit">
|
|
|
- <option value="">不要单位</option>
|
|
|
- <option value="张">张</option>
|
|
|
- <option value="个">个</option>
|
|
|
- <option value="条">条</option>
|
|
|
- </select>
|
|
|
- </td>
|
|
|
- <td class="td1">规格</td>
|
|
|
- <td class="td2">
|
|
|
- <select id="txtBillType">
|
|
|
- <option value="普通发票">普通发票</option>
|
|
|
- <option value="专用发票">专用发票</option>
|
|
|
- </select></td>
|
|
|
- </tr>
|
|
|
-
|
|
|
-
|
|
|
- </table>
|
|
|
- </div>
|
|
|
- </fieldset>
|
|
|
-
|
|
|
- <fieldset style="border: solid 1px #aaa; padding: 3px;">
|
|
|
- <legend>扩展信息</legend>
|
|
|
- <div style="padding: 3px;">
|
|
|
- <table class="win_tb" border="0" cellpadding="0" cellspacing="1">
|
|
|
- <tr>
|
|
|
- <td class="td1">订单号</td>
|
|
|
- <td class="td2">
|
|
|
- <input type="text" id="txtBillTid" /></td>
|
|
|
- <td class="td1">发票类型</td>
|
|
|
- <td class="td2">
|
|
|
- <select id="txtBillSendType">
|
|
|
- <option value="电子发票">电子发票</option>
|
|
|
- <option value="纸质发票">纸质发票</option>
|
|
|
- </select></td>
|
|
|
- </tr>
|
|
|
-
|
|
|
-
|
|
|
- <tr>
|
|
|
- <td class="td1">邮箱/地址</td>
|
|
|
- <td class="td2" colspan="3">
|
|
|
- <input type="text" id="txtBillEmail" />
|
|
|
- </td>
|
|
|
- </tr>
|
|
|
- <tr>
|
|
|
- <td class="td1">备注</td>
|
|
|
- <td class="td2" colspan="3">
|
|
|
- <input type="text" id="txtBillApplyMemo" />
|
|
|
- </td>
|
|
|
- </tr>
|
|
|
- <tr>
|
|
|
- <td colspan="4">
|
|
|
- <div class="win_btn" style="text-align: center;">
|
|
|
- <a class="mini-button" iconcls="icon-ok" onclick="saveBillFn">保存</a>
|
|
|
+ </div>
|
|
|
+ </td>
|
|
|
+ </tr>
|
|
|
+ </table>
|
|
|
+ </div>
|
|
|
+
|
|
|
+ <div id="bill_win" class="mini-window" title="发票信息" style="width: 750px; height: 590px; position: relative; display: none">
|
|
|
+
|
|
|
+ <fieldset style="border: solid 1px #aaa; padding: 3px;">
|
|
|
+ <legend>发票信息</legend>
|
|
|
+ <div style="padding: 3px;">
|
|
|
+ <table class="win_tb" border="0" cellpadding="0" cellspacing="1">
|
|
|
+ <tr>
|
|
|
+ <td class="td1">
|
|
|
+ <text style="color: red;">*</text>
|
|
|
+ 抬头</td>
|
|
|
+ <td class="td2">
|
|
|
+ <input type="text" id="txtBillTitle" /></td>
|
|
|
+ <td class="td1">税号</td>
|
|
|
+ <td class="td2">
|
|
|
+ <input type="text" id="txtBillTax" /></td>
|
|
|
+ </tr>
|
|
|
+ <tr>
|
|
|
+ <td class="td1">开户行</td>
|
|
|
+ <td class="td2">
|
|
|
+ <input type="text" id="txtBillBank" /></td>
|
|
|
+ <td class="td1">账号</td>
|
|
|
+ <td class="td2">
|
|
|
+ <input type="text" id="txtBillAccount" /></td>
|
|
|
+ </tr>
|
|
|
+ <tr>
|
|
|
+ <td class="td1">地址</td>
|
|
|
+ <td class="td2">
|
|
|
+ <input type="text" id="txtBillAddress" /></td>
|
|
|
+ <td class="td1">电话</td>
|
|
|
+ <td class="td2">
|
|
|
+ <input type="text" id="txtBillPhone" /></td>
|
|
|
+ </tr>
|
|
|
+ <tr>
|
|
|
+ <td class="td1">
|
|
|
+ <text style="color: red;">*</text>
|
|
|
+ 总价</td>
|
|
|
+ <td class="td2">
|
|
|
+ <input type="text" id="txtBillPrice" /></td>
|
|
|
+ <td class="td1">
|
|
|
+ <text style="color: red;">*</text>
|
|
|
+ 明细</td>
|
|
|
+ <td class="td2">
|
|
|
+ <input id="txtBillProduct" class="mini-combobox" style="width: 90%;" textfield="name" valuefield="id" required="true" allowinput="true" valuefromselect="true" url="../handler/sync.ashx?t=get_some_product" />
|
|
|
+ </td>
|
|
|
+ </tr>
|
|
|
+ <tr>
|
|
|
+ <td class="td1">数量</td>
|
|
|
+ <td class="td2" style="display: flex; flex-direction: row;">
|
|
|
+ <input style="width: 80px; margin-right: 20px;" type="text" id="txtBillNum" />
|
|
|
+ <select id="txtBillUnit">
|
|
|
+ <option value="">不要单位</option>
|
|
|
+ <option value="张">张</option>
|
|
|
+ <option value="个">个</option>
|
|
|
+ <option value="条">条</option>
|
|
|
+ </select>
|
|
|
+ </td>
|
|
|
+ <td class="td1">规格</td>
|
|
|
+ <td class="td2">
|
|
|
+ <select id="txtBillType">
|
|
|
+ <option value="普通发票">普通发票</option>
|
|
|
+ <option value="专用发票">专用发票</option>
|
|
|
+ </select></td>
|
|
|
+ </tr>
|
|
|
+
|
|
|
+
|
|
|
+ </table>
|
|
|
+ </div>
|
|
|
+ </fieldset>
|
|
|
+
|
|
|
+ <fieldset style="border: solid 1px #aaa; padding: 3px;">
|
|
|
+ <legend>扩展信息</legend>
|
|
|
+ <div style="padding: 3px;">
|
|
|
+ <table class="win_tb" border="0" cellpadding="0" cellspacing="1">
|
|
|
+ <tr>
|
|
|
+ <td class="td1">订单号</td>
|
|
|
+ <td class="td2">
|
|
|
+ <input type="text" id="txtBillTid" /></td>
|
|
|
+ <td class="td1">发票类型</td>
|
|
|
+ <td class="td2">
|
|
|
+ <select id="txtBillSendType">
|
|
|
+ <option value="电子发票">电子发票</option>
|
|
|
+ <option value="纸质发票">纸质发票</option>
|
|
|
+ </select></td>
|
|
|
+ </tr>
|
|
|
+
|
|
|
+
|
|
|
+ <tr>
|
|
|
+ <td class="td1">邮箱/地址</td>
|
|
|
+ <td class="td2" colspan="3">
|
|
|
+ <input type="text" id="txtBillEmail" />
|
|
|
+ </td>
|
|
|
+ </tr>
|
|
|
+ <tr>
|
|
|
+ <td class="td1">备注</td>
|
|
|
+ <td class="td2" colspan="3">
|
|
|
+ <input type="text" id="txtBillApplyMemo" />
|
|
|
+ </td>
|
|
|
+ </tr>
|
|
|
+ <tr>
|
|
|
+ <td colspan="4">
|
|
|
+ <div class="win_btn" style="text-align: center;">
|
|
|
+ <a class="mini-button" iconcls="icon-ok" onclick="saveBillFn">保存</a>
|
|
|
<a class="mini-button" iconcls="icon-cancel" onclick="cancelBillFn">取消</a>
|
|
|
- </div>
|
|
|
- </td>
|
|
|
- </tr>
|
|
|
- </table>
|
|
|
+ </div>
|
|
|
+ </td>
|
|
|
+ </tr>
|
|
|
+ </table>
|
|
|
|
|
|
- </div>
|
|
|
- </fieldset>
|
|
|
- </div>
|
|
|
+ </div>
|
|
|
+ </fieldset>
|
|
|
+ </div>
|
|
|
|
|
|
- <%--<div id="addorder_win" class="mini-window" title="新增订单" style="width: 750px; height: 350px; position: relative; display: none">
|
|
|
+ <%--<div id="addorder_win" class="mini-window" title="新增订单" style="width: 750px; height: 350px; position: relative; display: none">
|
|
|
<table class="win_tb" border="0" cellpadding="0" cellspacing="1">
|
|
|
<tr>
|
|
|
<td class="td1"><text style="color: red;">*</text>店铺</td>
|
|
|
@@ -422,420 +423,535 @@
|
|
|
</table>
|
|
|
</div>--%>
|
|
|
|
|
|
- <div id="addorder_win" class="mini-window" title="新增订单" style="width: 750px; height: 580px; position: relative; display: none">
|
|
|
- <table class="win_tb" border="0" cellpadding="0" cellspacing="1">
|
|
|
- <tr>
|
|
|
- <td class="td1">
|
|
|
- <text style="color: red;">*</text>店铺</td>
|
|
|
- <td class="td2">
|
|
|
- <input id="txtAddShopName" class="mini-combobox" style="width: 70%;" onvaluechanged="changeShopNameFn" textfield="name" valuefield="id" required="true" allowinput="true" valuefromselect="true" url="../handler/sync.ashx?t=get_sel_shop" />
|
|
|
- </td>
|
|
|
- <td class="td1">
|
|
|
- <text style="color: red;">*</text>
|
|
|
- 总价</td>
|
|
|
- <td class="td2">
|
|
|
- <input type="text" id="txtAddPrice" /></td>
|
|
|
- </tr>
|
|
|
- <tr>
|
|
|
- <td class="td1">
|
|
|
- <text style="color: red;">*</text>
|
|
|
- 买家旺旺</td>
|
|
|
- <td class="td2">
|
|
|
- <input type="text" id="txtAddWW" />
|
|
|
- </td>
|
|
|
-
|
|
|
- <td class="td1">需要设计</td>
|
|
|
- <td class="td2" colspan="3">
|
|
|
- <input type="checkbox" id="chkAddIsDesign" /></td>
|
|
|
-
|
|
|
- </tr>
|
|
|
- <tr>
|
|
|
- <td class="td1">
|
|
|
- <text style="color: red;">*</text>
|
|
|
- 收货人</td>
|
|
|
- <td class="td2">
|
|
|
- <input type="text" id="txtAddReceiver" /></td>
|
|
|
- <td class="td1">
|
|
|
- <text style="color: red;">*</text>
|
|
|
- 联系电话</td>
|
|
|
- <td class="td2">
|
|
|
- <input type="text" id="txtAddPhone" /></td>
|
|
|
- </tr>
|
|
|
- <tr>
|
|
|
- <td class="td1">
|
|
|
- <text style="color: red;">*</text>商品</td>
|
|
|
- <td class="td2" colspan="3">
|
|
|
- <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>
|
|
|
- </tr>
|
|
|
- <tr>
|
|
|
- <td class="td1">
|
|
|
- <text style="color: red;">*</text>收货地址</td>
|
|
|
- <td class="td2" colspan="3">
|
|
|
- <input id="txtAddProvince" class="mini-combobox" onvaluechanged="changeProvinceFn" textfield="AddName" valuefield="ID" allowinput="true" valuefromselect="true" />
|
|
|
- <input id="txtAddCity" class="mini-combobox" onvaluechanged="changeCityFn" textfield="AddName" valuefield="ID" allowinput="true" valuefromselect="true" />
|
|
|
- <input id="txtAddCounty" class="mini-combobox" onvaluechanged="changeCountyFn" textfield="AddName" valuefield="ID" allowinput="true" valuefromselect="true" />
|
|
|
- <input type="text" id="txtAddDetailAddress" style="width: 70%; margin-top: 10px;" />
|
|
|
- </td>
|
|
|
- </tr>
|
|
|
- <tr>
|
|
|
- <td class="td1">备注</td>
|
|
|
- <td class="td2" colspan="3">
|
|
|
- <textarea id="txtAddMemo" style="width: 96%; height: 60px;"></textarea></td>
|
|
|
- </tr>
|
|
|
- <tr>
|
|
|
- <td class="td1" style="color: red;">付款凭证(非公司自用必传)</td>
|
|
|
- <td class="td1" colspan="1">
|
|
|
- <img id="preview_img1" src="../images/no_photo.png" style="width: 100px; height: 100px;" />
|
|
|
- </td>
|
|
|
- <td class="td1" colspan="2">
|
|
|
- <input type="file" id="ssi-upload-x" />
|
|
|
- </td>
|
|
|
- </tr>
|
|
|
- <tr>
|
|
|
- <td class="td1" style="color: red;" colspan="4">提示:只允许转公司支付宝或微信!!</td>
|
|
|
- </tr>
|
|
|
- <tr>
|
|
|
- <td colspan="4">
|
|
|
- <div class="win_btn" style="text-align: center;">
|
|
|
- <a class="mini-button" iconcls="icon-ok" onclick="saveAddFn">保存</a>
|
|
|
+ <div id="addorder_win" class="mini-window" title="新增订单" style="width: 750px; height: 580px; position: relative; display: none">
|
|
|
+ <table class="win_tb" border="0" cellpadding="0" cellspacing="1">
|
|
|
+ <tr>
|
|
|
+ <td class="td1">
|
|
|
+ <text style="color: red;">*</text>店铺</td>
|
|
|
+ <td class="td2">
|
|
|
+ <input id="txtAddShopName" class="mini-combobox" style="width: 70%;" onvaluechanged="changeShopNameFn" textfield="name" valuefield="id" required="true" allowinput="true" valuefromselect="true" url="../handler/sync.ashx?t=get_sel_shop" />
|
|
|
+ </td>
|
|
|
+ <td class="td1">
|
|
|
+ <text style="color: red;">*</text>
|
|
|
+ 总价</td>
|
|
|
+ <td class="td2">
|
|
|
+ <input type="text" id="txtAddPrice" /></td>
|
|
|
+ </tr>
|
|
|
+ <tr>
|
|
|
+ <td class="td1">
|
|
|
+ <text style="color: red;">*</text>
|
|
|
+ 买家旺旺</td>
|
|
|
+ <td class="td2">
|
|
|
+ <input type="text" id="txtAddWW" />
|
|
|
+ </td>
|
|
|
+
|
|
|
+ <td class="td1">需要设计</td>
|
|
|
+ <td class="td2" colspan="3">
|
|
|
+ <input type="checkbox" id="chkAddIsDesign" /></td>
|
|
|
+
|
|
|
+ </tr>
|
|
|
+ <tr>
|
|
|
+ <td class="td1">
|
|
|
+ <text style="color: red;">*</text>
|
|
|
+ 收货人</td>
|
|
|
+ <td class="td2">
|
|
|
+ <input type="text" id="txtAddReceiver" /></td>
|
|
|
+ <td class="td1">
|
|
|
+ <text style="color: red;">*</text>
|
|
|
+ 联系电话</td>
|
|
|
+ <td class="td2">
|
|
|
+ <input type="text" id="txtAddPhone" /></td>
|
|
|
+ </tr>
|
|
|
+ <tr>
|
|
|
+ <td class="td1">
|
|
|
+ <text style="color: red;">*</text>商品</td>
|
|
|
+ <td class="td2" colspan="3">
|
|
|
+ <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>
|
|
|
+ </tr>
|
|
|
+ <tr>
|
|
|
+ <td class="td1">
|
|
|
+ <text style="color: red;">*</text>收货地址</td>
|
|
|
+ <td class="td2" colspan="3">
|
|
|
+ <input id="txtAddProvince" class="mini-combobox" onvaluechanged="changeProvinceFn" textfield="AddName" valuefield="ID" allowinput="true" valuefromselect="true" />
|
|
|
+ <input id="txtAddCity" class="mini-combobox" onvaluechanged="changeCityFn" textfield="AddName" valuefield="ID" allowinput="true" valuefromselect="true" />
|
|
|
+ <input id="txtAddCounty" class="mini-combobox" onvaluechanged="changeCountyFn" textfield="AddName" valuefield="ID" allowinput="true" valuefromselect="true" />
|
|
|
+ <input type="text" id="txtAddDetailAddress" style="width: 70%; margin-top: 10px;" />
|
|
|
+ </td>
|
|
|
+ </tr>
|
|
|
+ <tr>
|
|
|
+ <td class="td1">备注</td>
|
|
|
+ <td class="td2" colspan="3">
|
|
|
+ <textarea id="txtAddMemo" style="width: 96%; height: 60px;"></textarea></td>
|
|
|
+ </tr>
|
|
|
+ <tr>
|
|
|
+ <td class="td1" style="color: red;">付款凭证(非公司自用必传)</td>
|
|
|
+ <td class="td1" colspan="1">
|
|
|
+ <img id="preview_img1" src="../images/no_photo.png" style="width: 100px; height: 100px;" />
|
|
|
+ </td>
|
|
|
+ <td class="td1" colspan="2">
|
|
|
+ <input type="file" id="ssi-upload-x" />
|
|
|
+ </td>
|
|
|
+ </tr>
|
|
|
+ <tr>
|
|
|
+ <td class="td1" style="color: red;" colspan="4">提示:只允许转公司支付宝或微信!!</td>
|
|
|
+ </tr>
|
|
|
+ <tr>
|
|
|
+ <td colspan="4">
|
|
|
+ <div class="win_btn" style="text-align: center;">
|
|
|
+ <a class="mini-button" iconcls="icon-ok" onclick="saveAddFn">保存</a>
|
|
|
<a class="mini-button" iconcls="icon-cancel" onclick="canceAddlFn">取消</a>
|
|
|
- </div>
|
|
|
- </td>
|
|
|
- </tr>
|
|
|
- </table>
|
|
|
- </div>
|
|
|
+ </div>
|
|
|
+ </td>
|
|
|
+ </tr>
|
|
|
+ </table>
|
|
|
+ </div>
|
|
|
|
|
|
- <div id="address_win" class="mini-window" title="修改地址" style="width: 750px; height: 270px; position: relative; display: none">
|
|
|
- <table class="win_tb" border="0" cellpadding="0" cellspacing="1">
|
|
|
- <tr>
|
|
|
- <td class="td1">
|
|
|
- <text style="color: red;">*</text>
|
|
|
- 收货人</td>
|
|
|
- <td class="td2">
|
|
|
- <input type="text" id="txtModifyReceiver" /></td>
|
|
|
- <td class="td1">
|
|
|
- <text style="color: red;">*</text>
|
|
|
- 联系电话</td>
|
|
|
- <td class="td2">
|
|
|
- <input type="text" id="txtModifyPhone" /></td>
|
|
|
- </tr>
|
|
|
- <tr>
|
|
|
- <td class="td1">
|
|
|
- <text style="color: red;">*</text>收货地址</td>
|
|
|
- <td class="td2" colspan="3">
|
|
|
- <input id="txtModifyProvince" class="mini-combobox" style="width: 32%;" onvaluechanged="changeProvinceFn" textfield="AddName" valuefield="ID" allowinput="true" valuefromselect="true" />
|
|
|
- <input id="txtModifyCity" class="mini-combobox" style="width: 32%;" onvaluechanged="changeCityFn" textfield="AddName" valuefield="ID" allowinput="true" valuefromselect="true" />
|
|
|
- <input id="txtModifyCounty" class="mini-combobox" style="width: 32%;" onvaluechanged="changeCountyFn" textfield="AddName" valuefield="ID" allowinput="true" valuefromselect="true" />
|
|
|
- <input type="text" id="txtModifyDetailAddress" style="width: 96%; margin-top: 10px;" />
|
|
|
- </td>
|
|
|
- </tr>
|
|
|
-
|
|
|
- <tr>
|
|
|
- <td colspan="4">
|
|
|
- <div class="win_btn" style="text-align: center;">
|
|
|
- <a class="mini-button" iconcls="icon-ok" onclick="saveModifyAddressFn">保存</a>
|
|
|
+ <div id="address_win" class="mini-window" title="修改地址" style="width: 750px; height: 270px; position: relative; display: none">
|
|
|
+ <table class="win_tb" border="0" cellpadding="0" cellspacing="1">
|
|
|
+ <tr>
|
|
|
+ <td class="td1">
|
|
|
+ <text style="color: red;">*</text>
|
|
|
+ 收货人</td>
|
|
|
+ <td class="td2">
|
|
|
+ <input type="text" id="txtModifyReceiver" /></td>
|
|
|
+ <td class="td1">
|
|
|
+ <text style="color: red;">*</text>
|
|
|
+ 联系电话</td>
|
|
|
+ <td class="td2">
|
|
|
+ <input type="text" id="txtModifyPhone" /></td>
|
|
|
+ </tr>
|
|
|
+ <tr>
|
|
|
+ <td class="td1">
|
|
|
+ <text style="color: red;">*</text>收货地址</td>
|
|
|
+ <td class="td2" colspan="3">
|
|
|
+ <input id="txtModifyProvince" class="mini-combobox" style="width: 32%;" onvaluechanged="changeProvinceFn" textfield="AddName" valuefield="ID" allowinput="true" valuefromselect="true" />
|
|
|
+ <input id="txtModifyCity" class="mini-combobox" style="width: 32%;" onvaluechanged="changeCityFn" textfield="AddName" valuefield="ID" allowinput="true" valuefromselect="true" />
|
|
|
+ <input id="txtModifyCounty" class="mini-combobox" style="width: 32%;" onvaluechanged="changeCountyFn" textfield="AddName" valuefield="ID" allowinput="true" valuefromselect="true" />
|
|
|
+ <input type="text" id="txtModifyDetailAddress" style="width: 96%; margin-top: 10px;" />
|
|
|
+ </td>
|
|
|
+ </tr>
|
|
|
+
|
|
|
+ <tr>
|
|
|
+ <td colspan="4">
|
|
|
+ <div class="win_btn" style="text-align: center;">
|
|
|
+ <a class="mini-button" iconcls="icon-ok" onclick="saveModifyAddressFn">保存</a>
|
|
|
<a class="mini-button" iconcls="icon-cancel" onclick="canceModifyAddressFn">取消</a>
|
|
|
- </div>
|
|
|
- </td>
|
|
|
- </tr>
|
|
|
- </table>
|
|
|
- </div>
|
|
|
+ </div>
|
|
|
+ </td>
|
|
|
+ </tr>
|
|
|
+ </table>
|
|
|
+ </div>
|
|
|
|
|
|
|
|
|
- <div id="download_win" class="mini-window" title="下载订单" style="width: 550px; height: 200px; position: relative; display: none">
|
|
|
- <table class="win_tb" border="0" cellpadding="0" cellspacing="1">
|
|
|
- <tr>
|
|
|
- <td class="td1"><span style="color: red;">*</span>店铺</td>
|
|
|
- <td class="td2">
|
|
|
- <input id="txtDownShopName" class="mini-combobox" style="width: 90%;" onvaluechanged="changeProductFn" textfield="name" valuefield="id" required="true" allowinput="true" valuefromselect="true" url="../handler/sync.ashx?t=get_sel_shop" />
|
|
|
- </td>
|
|
|
-
|
|
|
- </tr>
|
|
|
- <tr>
|
|
|
- <td class="td1">
|
|
|
- <span style="color: red;">*</span>
|
|
|
- 订单编号</td>
|
|
|
- <td class="td2">
|
|
|
- <input type="text" id="txtDownTid" required="true" /></td>
|
|
|
- </tr>
|
|
|
-
|
|
|
- <tr>
|
|
|
- <td colspan="4">
|
|
|
- <div class="win_btn" style="text-align: center;">
|
|
|
- <a class="mini-button" iconcls="icon-ok" onclick="saveDownloadFn">下载</a>
|
|
|
+ <div id="download_win" class="mini-window" title="下载订单" style="width: 550px; height: 200px; position: relative; display: none">
|
|
|
+ <table class="win_tb" border="0" cellpadding="0" cellspacing="1">
|
|
|
+ <tr>
|
|
|
+ <td class="td1"><span style="color: red;">*</span>店铺</td>
|
|
|
+ <td class="td2">
|
|
|
+ <input id="txtDownShopName" class="mini-combobox" style="width: 90%;" onvaluechanged="changeProductFn" textfield="name" valuefield="id" required="true" allowinput="true" valuefromselect="true" url="../handler/sync.ashx?t=get_sel_shop" />
|
|
|
+ </td>
|
|
|
+
|
|
|
+ </tr>
|
|
|
+ <tr>
|
|
|
+ <td class="td1">
|
|
|
+ <span style="color: red;">*</span>
|
|
|
+ 订单编号</td>
|
|
|
+ <td class="td2">
|
|
|
+ <input type="text" id="txtDownTid" required="true" /></td>
|
|
|
+ </tr>
|
|
|
+
|
|
|
+ <tr>
|
|
|
+ <td colspan="4">
|
|
|
+ <div class="win_btn" style="text-align: center;">
|
|
|
+ <a class="mini-button" iconcls="icon-ok" onclick="saveDownloadFn">下载</a>
|
|
|
<a class="mini-button" iconcls="icon-cancel" onclick="cancelDownloadFn">取消</a>
|
|
|
- </div>
|
|
|
- </td>
|
|
|
- </tr>
|
|
|
- </table>
|
|
|
- </div>
|
|
|
+ </div>
|
|
|
+ </td>
|
|
|
+ </tr>
|
|
|
+ </table>
|
|
|
+ </div>
|
|
|
+
|
|
|
+ <div id="delivery_win" class="mini-window" title="发货" style="width: 550px; height: 350px; position: relative; display: none">
|
|
|
+ <table class="win_tb" border="0" cellpadding="0" cellspacing="1">
|
|
|
+ <tr>
|
|
|
+ <td class="td1">发货方式</td>
|
|
|
+ <td class="td2" colspan="3">
|
|
|
+ <select id="txtDeliveryType" style="width: 80%;">
|
|
|
+ <option value="物流发货">物流发货</option>
|
|
|
+ <option value="虚拟发货">虚拟发货</option>
|
|
|
+ </select>
|
|
|
+ </td>
|
|
|
+ </tr>
|
|
|
+
|
|
|
+ <tr>
|
|
|
+ <td class="td1">运单号</td>
|
|
|
+ <td class="td2">
|
|
|
+ <input type="text" id="txtTransNo" /></td>
|
|
|
+ </tr>
|
|
|
|
|
|
- <div id="delivery_win" class="mini-window" title="发货" style="width: 550px; height: 350px; position: relative; display: none">
|
|
|
- <table class="win_tb" border="0" cellpadding="0" cellspacing="1">
|
|
|
- <tr>
|
|
|
- <td class="td1">发货方式</td>
|
|
|
- <td class="td2" colspan="3">
|
|
|
- <select id="txtDeliveryType" style="width: 80%;">
|
|
|
- <option value="物流发货">物流发货</option>
|
|
|
- <option value="虚拟发货">虚拟发货</option>
|
|
|
- </select>
|
|
|
- </td>
|
|
|
- </tr>
|
|
|
-
|
|
|
- <tr>
|
|
|
- <td class="td1">运单号</td>
|
|
|
- <td class="td2">
|
|
|
- <input type="text" id="txtTransNo" /></td>
|
|
|
- </tr>
|
|
|
-
|
|
|
- <tr>
|
|
|
- <td class="td1">物流公司</td>
|
|
|
- <td class="td2" colspan="3">
|
|
|
- <input id="txtComName" class="mini-combobox" style="width: 80%;" textfield="name" valuefield="code" required="true" allowinput="true" valuefromselect="true" url="../data/companies.txt" />
|
|
|
- </td>
|
|
|
- </tr>
|
|
|
- <tr>
|
|
|
- <td class="td1">备注</td>
|
|
|
- <td class="td2" colspan="3">
|
|
|
- <textarea id="txtdeliveryMemo" style="width: 96%; height: 60px;"></textarea></td>
|
|
|
- </tr>
|
|
|
- <tr>
|
|
|
- <td colspan="4">
|
|
|
- <div class="win_btn" style="text-align: center;">
|
|
|
- <a class="mini-button" iconcls="icon-ok" onclick="saveDeliveryFn">保存</a>
|
|
|
+ <tr>
|
|
|
+ <td class="td1">物流公司</td>
|
|
|
+ <td class="td2" colspan="3">
|
|
|
+ <input id="txtComName" class="mini-combobox" style="width: 80%;" textfield="name" valuefield="code" required="true" allowinput="true" valuefromselect="true" url="../data/companies.txt" />
|
|
|
+ </td>
|
|
|
+ </tr>
|
|
|
+ <tr>
|
|
|
+ <td class="td1">备注</td>
|
|
|
+ <td class="td2" colspan="3">
|
|
|
+ <textarea id="txtdeliveryMemo" style="width: 96%; height: 60px;"></textarea></td>
|
|
|
+ </tr>
|
|
|
+ <tr>
|
|
|
+ <td colspan="4">
|
|
|
+ <div class="win_btn" style="text-align: center;">
|
|
|
+ <a class="mini-button" iconcls="icon-ok" onclick="saveDeliveryFn">保存</a>
|
|
|
<a class="mini-button" iconcls="icon-cancel" onclick="cancelDeliveryFn">取消</a>
|
|
|
- </div>
|
|
|
- </td>
|
|
|
- </tr>
|
|
|
- </table>
|
|
|
- </div>
|
|
|
+ </div>
|
|
|
+ </td>
|
|
|
+ </tr>
|
|
|
+ </table>
|
|
|
+ </div>
|
|
|
|
|
|
|
|
|
- <div id="return_win" class="mini-window" title="返现" style="width: 750px; height: 450px; position: relative; display: none">
|
|
|
- <table class="win_tb" border="0" cellpadding="0" cellspacing="1">
|
|
|
- <tr>
|
|
|
- <td class="td1">单号</td>
|
|
|
- <td class="td2">
|
|
|
- <input type="text" id="txtReturnTid" />
|
|
|
- </td>
|
|
|
- <td class="td1">类型</td>
|
|
|
- <td class="td2">
|
|
|
- <select id="txtReturnType" style="width: 80%;">
|
|
|
- <option value="送样返现">送样返现</option>
|
|
|
- <option value="退款返现">退款返现</option>
|
|
|
- <option value="好评返现">好评返现</option>
|
|
|
- <option value="多拍返现">多拍返现</option>
|
|
|
- <option value="微信返现">微信返现</option>
|
|
|
- <option value="其他返现">其他返现</option>
|
|
|
- </select>
|
|
|
- </td>
|
|
|
- </tr>
|
|
|
- <tr>
|
|
|
- <td class="td1">金额</td>
|
|
|
- <td class="td2">
|
|
|
- <input type="text" id="txtReturnPrice" /></td>
|
|
|
- <td class="td1">说明</td>
|
|
|
- <td class="td2">
|
|
|
- <input type="text" id="txtReturnCon" /></td>
|
|
|
- </tr>
|
|
|
- <tr>
|
|
|
- <td class="td1" colspan="2">
|
|
|
- <img id="preview_img" src="../images/no_photo.png" style="width: 100px; height: 100px;" />
|
|
|
- </td>
|
|
|
- <td class="td1" colspan="2">
|
|
|
- <input type="file" id="ssi-upload" />
|
|
|
- </td>
|
|
|
- </tr>
|
|
|
- <tr>
|
|
|
- <td colspan="4">
|
|
|
- <div style="display: flex; flex-direction: row; width: 100%; color: darkgray;">
|
|
|
- <div style="width: 25%;">类型</div>
|
|
|
- <div style="width: 25%;">金额</div>
|
|
|
- <div style="width: 25%;">申请时间</div>
|
|
|
- <div style="width: 25%;">申请人</div>
|
|
|
- </div>
|
|
|
- </td>
|
|
|
- </tr>
|
|
|
- <tr>
|
|
|
- <td colspan="4">
|
|
|
- <div id="divReturnRecord" style="display: block; width: 100%;">
|
|
|
- </div>
|
|
|
- </td>
|
|
|
- </tr>
|
|
|
-
|
|
|
-
|
|
|
- <tr>
|
|
|
- <td colspan="4">
|
|
|
- <div class="win_btn" style="text-align: center;">
|
|
|
- <a class="mini-button" iconcls="icon-ok" onclick="saveReturnFn">保存</a>
|
|
|
+ <div id="return_win" class="mini-window" title="返现" style="width: 750px; height: 450px; position: relative; display: none">
|
|
|
+ <table class="win_tb" border="0" cellpadding="0" cellspacing="1">
|
|
|
+ <tr>
|
|
|
+ <td class="td1">单号</td>
|
|
|
+ <td class="td2">
|
|
|
+ <input type="text" id="txtReturnTid" />
|
|
|
+ </td>
|
|
|
+ <td class="td1">类型</td>
|
|
|
+ <td class="td2">
|
|
|
+ <select id="txtReturnType" style="width: 80%;">
|
|
|
+ <option value="送样返现">送样返现</option>
|
|
|
+ <option value="退款返现">退款返现</option>
|
|
|
+ <option value="好评返现">好评返现</option>
|
|
|
+ <option value="多拍返现">多拍返现</option>
|
|
|
+ <option value="微信返现">微信返现</option>
|
|
|
+ <option value="其他返现">其他返现</option>
|
|
|
+ </select>
|
|
|
+ </td>
|
|
|
+ </tr>
|
|
|
+ <tr>
|
|
|
+ <td class="td1">金额</td>
|
|
|
+ <td class="td2">
|
|
|
+ <input type="text" id="txtReturnPrice" /></td>
|
|
|
+ <td class="td1">说明</td>
|
|
|
+ <td class="td2">
|
|
|
+ <input type="text" id="txtReturnCon" /></td>
|
|
|
+ </tr>
|
|
|
+ <tr>
|
|
|
+ <td class="td1" colspan="2">
|
|
|
+ <img id="preview_img" src="../images/no_photo.png" style="width: 100px; height: 100px;" />
|
|
|
+ </td>
|
|
|
+ <td class="td1" colspan="2">
|
|
|
+ <input type="file" id="ssi-upload" />
|
|
|
+ </td>
|
|
|
+ </tr>
|
|
|
+ <tr>
|
|
|
+ <td colspan="4">
|
|
|
+ <div style="display: flex; flex-direction: row; width: 100%; color: darkgray;">
|
|
|
+ <div style="width: 25%;">类型</div>
|
|
|
+ <div style="width: 25%;">金额</div>
|
|
|
+ <div style="width: 25%;">申请时间</div>
|
|
|
+ <div style="width: 25%;">申请人</div>
|
|
|
+ </div>
|
|
|
+ </td>
|
|
|
+ </tr>
|
|
|
+ <tr>
|
|
|
+ <td colspan="4">
|
|
|
+ <div id="divReturnRecord" style="display: block; width: 100%;">
|
|
|
+ </div>
|
|
|
+ </td>
|
|
|
+ </tr>
|
|
|
+
|
|
|
+
|
|
|
+ <tr>
|
|
|
+ <td colspan="4">
|
|
|
+ <div class="win_btn" style="text-align: center;">
|
|
|
+ <a class="mini-button" iconcls="icon-ok" onclick="saveReturnFn">保存</a>
|
|
|
<a class="mini-button" iconcls="icon-cancel" onclick="canceReturnFn">取消</a>
|
|
|
- </div>
|
|
|
- </td>
|
|
|
- </tr>
|
|
|
- </table>
|
|
|
- </div>
|
|
|
+ </div>
|
|
|
+ </td>
|
|
|
+ </tr>
|
|
|
+ </table>
|
|
|
+ </div>
|
|
|
|
|
|
|
|
|
- <div id="distribute_win" class="mini-window" title="指派设计师" style="width: 360px; height: 180px; position: relative; display: none">
|
|
|
- <table class="win_tb" border="0" cellpadding="0" cellspacing="1">
|
|
|
- <tr>
|
|
|
- <td class="td1">设计师</td>
|
|
|
- <td class="td2">
|
|
|
- <input id="txtDesign" class="mini-combobox" style="width: 90%;" textfield="bname" valuefield="id" allowinput="true" valuefromselect="true" url="../handler/sync.ashx?t=get_sel_pen_designer" />
|
|
|
- </td>
|
|
|
- </tr>
|
|
|
- <tr>
|
|
|
- <td colspan="4">
|
|
|
- <div class="win_btn" style="text-align: center;">
|
|
|
- <a class="mini-button" iconcls="icon-ok" onclick="saveDistributeFn">确定</a>
|
|
|
+ <div id="distribute_win" class="mini-window" title="指派设计师" style="width: 360px; height: 180px; position: relative; display: none">
|
|
|
+ <table class="win_tb" border="0" cellpadding="0" cellspacing="1">
|
|
|
+ <tr>
|
|
|
+ <td class="td1">设计师</td>
|
|
|
+ <td class="td2">
|
|
|
+ <input id="txtDesign" class="mini-combobox" style="width: 90%;" textfield="bname" valuefield="id" allowinput="true" valuefromselect="true" url="../handler/sync.ashx?t=get_sel_pen_designer" />
|
|
|
+ </td>
|
|
|
+ </tr>
|
|
|
+ <tr>
|
|
|
+ <td colspan="4">
|
|
|
+ <div class="win_btn" style="text-align: center;">
|
|
|
+ <a class="mini-button" iconcls="icon-ok" onclick="saveDistributeFn">确定</a>
|
|
|
<a class="mini-button" iconcls="icon-cancel" onclick="cancelDistributeFn">取消</a>
|
|
|
- </div>
|
|
|
- </td>
|
|
|
- </tr>
|
|
|
- </table>
|
|
|
- </div>
|
|
|
+ </div>
|
|
|
+ </td>
|
|
|
+ </tr>
|
|
|
+ </table>
|
|
|
+ </div>
|
|
|
+ <div id="uploaderAddress_win" class="mini-window" title="上传文件地址" style="width: 600px; height: 270px; position: relative; display: none">
|
|
|
+ <table class="win_tb" border="0" cellpadding="0" cellspacing="1">
|
|
|
+ <tr>
|
|
|
+ <td class="td1"></td>
|
|
|
+ <td class="td2">
|
|
|
+ <input type="file" id="address_file" />
|
|
|
+ </td>
|
|
|
+ </tr>
|
|
|
+ <tr>
|
|
|
+ <td class="td1">文件地址</td>
|
|
|
+ <td class="td2">
|
|
|
+ <div id="uploader_url"></div>
|
|
|
+ </td>
|
|
|
+ </tr>
|
|
|
+ <tr>
|
|
|
+ <td colspan="4">
|
|
|
+ <div class="win_btn" style="text-align: center;">
|
|
|
+ <a class="mini-button" iconcls="icon-ok" onclick="saveUploaderAddressFn">确定</a>
|
|
|
+ <a class="mini-button" iconcls="icon-cancel" onclick="cancelUploaderAddressFn">取消</a>
|
|
|
+ </div>
|
|
|
+ </td>
|
|
|
+ </tr>
|
|
|
+ </table>
|
|
|
+ </div>
|
|
|
|
|
|
- <div id="urgency_win" class="mini-window" title="加急" style="width: 360px; height: 180px; position: relative; display: none">
|
|
|
- <table class="win_tb" border="0" cellpadding="0" cellspacing="1">
|
|
|
- <tr>
|
|
|
- <td class="td1">出货时间</td>
|
|
|
- <td class="td2">
|
|
|
- <input id="txtUrgencyTime" name="sign_date1" data-options="{otype:'daterange',havetime:'1'}" class="mini-textbox inp-time" />
|
|
|
- </td>
|
|
|
- </tr>
|
|
|
- <tr>
|
|
|
- <td colspan="4">
|
|
|
- <div class="win_btn" style="text-align: center;">
|
|
|
- <a class="mini-button" iconcls="icon-ok" onclick="saveUrgencyFn">确定</a>
|
|
|
+ <div id="urgency_win" class="mini-window" title="加急" style="width: 360px; height: 180px; position: relative; display: none">
|
|
|
+ <table class="win_tb" border="0" cellpadding="0" cellspacing="1">
|
|
|
+ <tr>
|
|
|
+ <td class="td1">出货时间</td>
|
|
|
+ <td class="td2">
|
|
|
+ <input id="txtUrgencyTime" name="sign_date1" data-options="{otype:'daterange',havetime:'1'}" class="mini-textbox inp-time" />
|
|
|
+ </td>
|
|
|
+ </tr>
|
|
|
+ <tr>
|
|
|
+ <td colspan="4">
|
|
|
+ <div class="win_btn" style="text-align: center;">
|
|
|
+ <a class="mini-button" iconcls="icon-ok" onclick="saveUrgencyFn">确定</a>
|
|
|
<a class="mini-button" iconcls="icon-cancel" onclick="cancelUrgencyFn">取消</a>
|
|
|
- </div>
|
|
|
- </td>
|
|
|
- </tr>
|
|
|
- </table>
|
|
|
- </div>
|
|
|
+ </div>
|
|
|
+ </td>
|
|
|
+ </tr>
|
|
|
+ </table>
|
|
|
+ </div>
|
|
|
|
|
|
- <div id="mymemo_win" class="mini-window" title="跟单备注" style="width: 550px; height: 200px; position: relative; display: none">
|
|
|
- <table class="win_tb" border="0" cellpadding="0" cellspacing="1">
|
|
|
- <tr>
|
|
|
- <td class="td1">跟单状态</td>
|
|
|
- <td class="td2" colspan="3">
|
|
|
- <select id="txtSelectChange" onchange="selectChange()">
|
|
|
- <option value="">请选择</option>
|
|
|
- <option value="加急单14点之前需定稿,客户当天需要发货">加急单14点之前需定稿,客户当天需要发货</option>
|
|
|
- <option value="加急单当天要定稿,客户隔天需要发货">加急单当天要定稿,客户隔天需要发货</option>
|
|
|
- <option value="客户选择了店铺模版,需要快速安排设计定稿">客户选择了店铺模版,需要快速安排设计定稿</option>
|
|
|
- <option value="客户自己有设计文件,需要快速安排设计定稿">客户自己有设计文件,需要快速安排设计定稿</option>
|
|
|
- <option value="加急单已电联客户未接听线上已留言">加急单已电联客户未接听线上已留言</option>
|
|
|
- <option value="超过1天未定稿旺旺上已留言客户跟进订单">超过1天未定稿旺旺上已留言客户跟进订单</option>
|
|
|
- <option value="超过1天未定稿旺旺留言及电话跟进订单">超过1天未定稿旺旺留言及电话跟进订单</option>
|
|
|
- </select>
|
|
|
- </td>
|
|
|
- </tr>
|
|
|
- <tr>
|
|
|
- <td class="td1">备注</td>
|
|
|
- <td class="td2" colspan="3">
|
|
|
- <textarea id="txtMyMemo" style="width: 96%; height: 60px;"></textarea></td>
|
|
|
- </tr>
|
|
|
- <tr>
|
|
|
- <td colspan="4">
|
|
|
- <div class="win_btn" style="text-align: center;">
|
|
|
- <a class="mini-button" iconcls="icon-ok" onclick="saveMyMemoFn">保存</a>
|
|
|
+ <div id="mymemo_win" class="mini-window" title="跟单备注" style="width: 550px; height: 200px; position: relative; display: none">
|
|
|
+ <table class="win_tb" border="0" cellpadding="0" cellspacing="1">
|
|
|
+ <tr>
|
|
|
+ <td class="td1">跟单状态</td>
|
|
|
+ <td class="td2" colspan="3">
|
|
|
+ <select id="txtSelectChange" onchange="selectChange()">
|
|
|
+ <option value="">请选择</option>
|
|
|
+ <option value="加急单14点之前需定稿,客户当天需要发货">加急单14点之前需定稿,客户当天需要发货</option>
|
|
|
+ <option value="加急单当天要定稿,客户隔天需要发货">加急单当天要定稿,客户隔天需要发货</option>
|
|
|
+ <option value="客户选择了店铺模版,需要快速安排设计定稿">客户选择了店铺模版,需要快速安排设计定稿</option>
|
|
|
+ <option value="客户自己有设计文件,需要快速安排设计定稿">客户自己有设计文件,需要快速安排设计定稿</option>
|
|
|
+ <option value="加急单已电联客户未接听线上已留言">加急单已电联客户未接听线上已留言</option>
|
|
|
+ <option value="超过1天未定稿旺旺上已留言客户跟进订单">超过1天未定稿旺旺上已留言客户跟进订单</option>
|
|
|
+ <option value="超过1天未定稿旺旺留言及电话跟进订单">超过1天未定稿旺旺留言及电话跟进订单</option>
|
|
|
+ </select>
|
|
|
+ </td>
|
|
|
+ </tr>
|
|
|
+ <tr>
|
|
|
+ <td class="td1">备注</td>
|
|
|
+ <td class="td2" colspan="3">
|
|
|
+ <textarea id="txtMyMemo" style="width: 96%; height: 60px;"></textarea></td>
|
|
|
+ </tr>
|
|
|
+ <tr>
|
|
|
+ <td colspan="4">
|
|
|
+ <div class="win_btn" style="text-align: center;">
|
|
|
+ <a class="mini-button" iconcls="icon-ok" onclick="saveMyMemoFn">保存</a>
|
|
|
<a class="mini-button" iconcls="icon-cancel" onclick="cancelMyMemoFn">取消</a>
|
|
|
- </div>
|
|
|
- </td>
|
|
|
- </tr>
|
|
|
- </table>
|
|
|
- </div>
|
|
|
- <div id="designInfo_win" class="mini-window" title="设计师信息" style="width: 1000px; height: 500px; position: relative; display: none">
|
|
|
- <div style="display: flex; justify-content: space-between; align-items: center; padding: 0 30px">
|
|
|
- <div class="filter_item" runat="server">
|
|
|
- <label>设计</label>
|
|
|
- <input id="design_input" class="mini-textbox inp_middle" required="false" />
|
|
|
- </div>
|
|
|
- <a class="mini-button mini-button-info btn" iconcls="icon-search" onclick="searchDesign">搜索</a>
|
|
|
- </div>
|
|
|
- <div id="design_grid" class="mini-datagrid" emptytext="暂无记录" url="../handler/sync.ashx?t=get_erp_design_status">
|
|
|
- <div property="columns">
|
|
|
- <div field="Name" width="100" align="left" headeralign="center">姓名</div>
|
|
|
- <div field="OnDuty" width="100" align="left" headeralign="center" renderer="designStatusRenderer">状态</div>
|
|
|
- <div field="TeamNames" width="100" align="left" headeralign="center">同组</div>
|
|
|
- </div>
|
|
|
+ </div>
|
|
|
+ </td>
|
|
|
+ </tr>
|
|
|
+ </table>
|
|
|
+ </div>
|
|
|
+ <div id="designInfo_win" class="mini-window" title="设计师信息" style="width: 1000px; height: 500px; position: relative; display: none">
|
|
|
+ <div style="display: flex; justify-content: space-between; align-items: center; padding: 0 30px">
|
|
|
+ <div class="filter_item" runat="server">
|
|
|
+ <label>设计</label>
|
|
|
+ <input id="design_input" class="mini-textbox inp_middle" required="false" />
|
|
|
</div>
|
|
|
+ <a class="mini-button mini-button-info btn" iconcls="icon-search" onclick="searchDesign">搜索</a>
|
|
|
</div>
|
|
|
- <div id="spuInfo_win" class="mini-window" title="spu信息" style="width: 1000px; height: 500px; position: relative; display: none">
|
|
|
- <input type="hidden" id="spu_ctid" />
|
|
|
- <div id="spu_grid" class="mini-datagrid" style="width: 100%; height: 100%;" oemptytext="暂无记录" url="../handler/sync.ashx?t=get_trade_order_list">
|
|
|
- <div property="columns">
|
|
|
- <div field="spu_id" width="50" align="center">spu</div>
|
|
|
- <div field="title" width="60" align="center">名称</div>
|
|
|
- <div field="title" width="60" align="center" renderer="spuImageRenderer">图片</div>
|
|
|
- <div name="action" width="60" headeralign="center" align="center" renderer="spuAction" cellstyle="padding:0;">#</div>
|
|
|
- </div>
|
|
|
+ <div id="design_grid" class="mini-datagrid" emptytext="暂无记录" url="../handler/sync.ashx?t=get_erp_design_status">
|
|
|
+ <div property="columns">
|
|
|
+ <div field="Name" width="100" align="left" headeralign="center">姓名</div>
|
|
|
+ <div field="OnDuty" width="100" align="left" headeralign="center" renderer="designStatusRenderer">状态</div>
|
|
|
+ <div field="TeamNames" width="100" align="left" headeralign="center">同组</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
- <div id="knowledge_win" class="mini-window" title="知识库" style="width: 750px; height: 570px; position: relative; display: none">
|
|
|
- <iframe src="" id="knowledge_wev" style="width: 100%; height: 100%"></iframe>
|
|
|
+ </div>
|
|
|
+ <div id="spuInfo_win" class="mini-window" title="spu信息" style="width: 1000px; height: 500px; position: relative; display: none">
|
|
|
+ <input type="hidden" id="spu_ctid" />
|
|
|
+ <div id="spu_grid" class="mini-datagrid" style="width: 100%; height: 100%;" oemptytext="暂无记录" url="../handler/sync.ashx?t=get_trade_order_list">
|
|
|
+ <div property="columns">
|
|
|
+ <div field="spu_id" width="50" align="center">spu</div>
|
|
|
+ <div field="title" width="60" align="center">名称</div>
|
|
|
+ <div field="title" width="60" align="center" renderer="spuImageRenderer">图片</div>
|
|
|
+ <div name="action" width="60" headeralign="center" align="center" renderer="spuAction" cellstyle="padding:0;">#</div>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
- <script>
|
|
|
+ </div>
|
|
|
+ <div id="knowledge_win" class="mini-window" title="知识库" style="width: 750px; height: 570px; position: relative; display: none">
|
|
|
+ <iframe src="" id="knowledge_wev" style="width: 100%; height: 100%"></iframe>
|
|
|
+ </div>
|
|
|
+ <script>
|
|
|
|
|
|
- function onShowRule(e) {
|
|
|
- var rec = grid.getSelected();
|
|
|
- let spu_id = rec.spu_id;
|
|
|
- if (!spu_id) {
|
|
|
- resultShow("请先设置对应的spu");
|
|
|
- }
|
|
|
- $("#knowledge_wev").attr("src", "https://detail.tmall.com/item.htm?id=" + spu_id);
|
|
|
- mini.get("knowledge_win").show();
|
|
|
- }
|
|
|
- function selectSpuFn(spu_id) {
|
|
|
- let ctid = $("#spu_ctid").val();
|
|
|
- let params = { spu_id, ctid }
|
|
|
- postAjax("save_cell_spu", params, function (data) {
|
|
|
- resultShow(data, "grid.reload();");
|
|
|
- mini.get("spu_grid").setData([]);
|
|
|
- mini.get("spuInfo_win").hide();
|
|
|
- });
|
|
|
- }
|
|
|
- function spuImageRenderer(e) {
|
|
|
- let item = e.record;
|
|
|
- return `<img src="${item.pic_path}" style="width:50px;height:50px;"/>`;
|
|
|
- }
|
|
|
- function spuAction(e) {
|
|
|
- let item = e.record;
|
|
|
- var html = "";
|
|
|
- html += getGridBtn("memo", "选择", "selectSpuFn('" + item.spu_id + "')");
|
|
|
- return html;
|
|
|
- }
|
|
|
- function changeSpuId(tid, ctid) {
|
|
|
- $("#spu_ctid").val(ctid);
|
|
|
- mini.get("spu_grid").load({ tid });
|
|
|
- mini.get("spuInfo_win").show();
|
|
|
+ function onShowRule(e) {
|
|
|
+ var rec = grid.getSelected();
|
|
|
+ let spu_id = rec.spu_id;
|
|
|
+ if (!spu_id) {
|
|
|
+ resultShow("请先设置对应的spu");
|
|
|
}
|
|
|
+ $("#knowledge_wev").attr("src", "https://detail.tmall.com/item.htm?id=" + spu_id);
|
|
|
+ mini.get("knowledge_win").show();
|
|
|
+ }
|
|
|
+ function selectSpuFn(spu_id) {
|
|
|
+ let ctid = $("#spu_ctid").val();
|
|
|
+ let params = { spu_id, ctid }
|
|
|
+ postAjax("save_cell_spu", params, function (data) {
|
|
|
+ resultShow(data, "grid.reload();");
|
|
|
+ mini.get("spu_grid").setData([]);
|
|
|
+ mini.get("spuInfo_win").hide();
|
|
|
+ });
|
|
|
+ }
|
|
|
+ function spuImageRenderer(e) {
|
|
|
+ let item = e.record;
|
|
|
+ return `<img src="${item.pic_path}" style="width:50px;height:50px;"/>`;
|
|
|
+ }
|
|
|
+ function spuAction(e) {
|
|
|
+ let item = e.record;
|
|
|
+ var html = "";
|
|
|
+ html += getGridBtn("memo", "选择", "selectSpuFn('" + item.spu_id + "')");
|
|
|
+ return html;
|
|
|
+ }
|
|
|
+ function changeSpuId(tid, ctid) {
|
|
|
+ $("#spu_ctid").val(ctid);
|
|
|
+ mini.get("spu_grid").load({ tid });
|
|
|
+ mini.get("spuInfo_win").show();
|
|
|
+ }
|
|
|
+
|
|
|
+ function searchDesign() {
|
|
|
+ let name = mini.get("design_input").value;
|
|
|
|
|
|
- function searchDesign() {
|
|
|
- let name = mini.get("design_input").value;
|
|
|
+ mini.get("design_grid").load({
|
|
|
+ designName: name
|
|
|
+ });
|
|
|
|
|
|
- mini.get("design_grid").load({
|
|
|
- designName: name
|
|
|
- });
|
|
|
+ }
|
|
|
+ function designStatusRenderer(e) {
|
|
|
+ var record = e.record;
|
|
|
+ var html = "";
|
|
|
+ if (record.OnDuty == "0") {
|
|
|
+ html = ("<div style='color:red'>未在班</div>");
|
|
|
+ } else {
|
|
|
+ html = ("<div style='color:green'>值班</div>");
|
|
|
+ if (record.BeOnDuty == "2") {
|
|
|
+ html = ("<div style='color:green'>晚班</div>");
|
|
|
+ }
|
|
|
+ }
|
|
|
+ return html;
|
|
|
+ }
|
|
|
|
|
|
+ const client = new OSS({
|
|
|
+ // yourregion填写Bucket所在地域。以华东1(杭州)为例,Region填写为oss-cn-hangzhou。
|
|
|
+ region: "oss-cn-fuzhou",
|
|
|
+ // 从环境变量中获取访问凭证。运行本代码示例之前,请确保已设置环境变量OSS_ACCESS_KEY_ID和OSS_ACCESS_KEY_SECRET。
|
|
|
+ accessKeyId: "LTAI5tE7wuNkeT9jZ42bQnyr",
|
|
|
+ accessKeySecret: "NnutvWhKl4HbQFSad3HosYbCkEkbjN",
|
|
|
+ // 填写存储空间名称。
|
|
|
+ bucket: "dfdiyfile",
|
|
|
+ endpoint: "https://oss-cn-fuzhou.aliyuncs.com",
|
|
|
+ });
|
|
|
+
|
|
|
+ async function putObject(file) {
|
|
|
+ try {
|
|
|
+ let fileDir = dateFtt("yyyyMMdd", new Date())
|
|
|
+ let name = "addressDoc/" + fileDir + "/" + guid() + getSuff(file.name);
|
|
|
+ // 填写Object完整路径。Object完整路径中不能包含Bucket名称。
|
|
|
+ // 您可以通过自定义文件名(例如exampleobject.txt)或文件完整路径(例如exampledir/exampleobject.txt)的形式实现将数据上传到当前Bucket或Bucket中的指定目录。
|
|
|
+ // data对象可以自定义为file对象、Blob数据或者OSS Buffer。
|
|
|
+ const options = {
|
|
|
+ headers: { "Content-Type": "text/plain" },
|
|
|
+ };
|
|
|
+ const result = await client.put(name, file, options);
|
|
|
+ $("#uploader_url").text(result.url);
|
|
|
+ } catch (e) {
|
|
|
+ console.log(e);
|
|
|
}
|
|
|
- function designStatusRenderer(e) {
|
|
|
- var record = e.record;
|
|
|
- var html = "";
|
|
|
- if (record.OnDuty == "0") {
|
|
|
- html = ("<div style='color:red'>未在班</div>");
|
|
|
- } else {
|
|
|
- html = ("<div style='color:green'>值班</div>");
|
|
|
- if (record.BeOnDuty == "2") {
|
|
|
- html = ("<div style='color:green'>晚班</div>");
|
|
|
- }
|
|
|
+ }
|
|
|
+ document.getElementById('address_file').addEventListener('change', function (e) {
|
|
|
+ const data = e.target?.files[0];
|
|
|
+ putObject(data);
|
|
|
+ });
|
|
|
+
|
|
|
+ let uploaderAddressTid = "";
|
|
|
+ function uploaderAddress(tid) {
|
|
|
+ uploaderAddressTid = tid;
|
|
|
+ document.getElementById('address_file').value = "";
|
|
|
+ $("#uploader_url").text("");
|
|
|
+
|
|
|
+ postAjax("get_tid_attachments", { tid }, function (data) {
|
|
|
+ maskHide();
|
|
|
+ mini.get("uploaderAddress_win").show();
|
|
|
+ if (!!data.url) {
|
|
|
+ $("#uploader_url").text(data.url);
|
|
|
}
|
|
|
- return html;
|
|
|
+ })
|
|
|
+
|
|
|
+ }
|
|
|
+ function saveUploaderAddressFn() {
|
|
|
+ let params = { tid: uploaderAddressTid, atta: $("#uploader_url").text() };
|
|
|
+ postAjax("set_tid_attachments", params, function (data) {
|
|
|
+ resultShow(data, "grid.reload();");
|
|
|
+ mini.get("uploaderAddress_win").hide();
|
|
|
+ });
|
|
|
+ }
|
|
|
+
|
|
|
+ function cancelUploaderAddressFn() {
|
|
|
+ mini.get("uploaderAddress_win").hide();
|
|
|
+ }
|
|
|
+ function dateFtt(fmt, date) {
|
|
|
+ var o = {
|
|
|
+ "M+": date.getMonth() + 1, //月份
|
|
|
+ "d+": date.getDate(), //日
|
|
|
+ "h+": date.getHours(), //小时
|
|
|
+ "m+": date.getMinutes(), //分
|
|
|
+ "s+": date.getSeconds(), //秒
|
|
|
+ "q+": Math.floor((date.getMonth() + 3) / 3), //季度
|
|
|
+ "S": date.getMilliseconds() //毫秒
|
|
|
+ };
|
|
|
+ if (/(y+)/.test(fmt)) {
|
|
|
+ fmt = fmt.replace(RegExp.$1, (date.getFullYear() + "").substr(4 - RegExp.$1.length));
|
|
|
}
|
|
|
+ for (var k in o) {
|
|
|
+ if (new RegExp("(" + k + ")").test(fmt))
|
|
|
+ fmt = fmt.replace(RegExp.$1, (RegExp.$1.length == 1) ? (o[k]) : (("00" + o[k]).substr(("" + o[k]).length)));
|
|
|
+
|
|
|
+ }
|
|
|
+ return fmt;
|
|
|
+
|
|
|
+ }
|
|
|
+ function getSuff(name) {
|
|
|
+ return name.substring(name.lastIndexOf("."));
|
|
|
+ }
|
|
|
+
|
|
|
+ function guid() {
|
|
|
+ return "xxxxxxxx-xxxx-4xxx-yxxx".replace(/[xy]/g, function (c) {
|
|
|
+ var r = (Math.random() * 16) | 0,
|
|
|
+ v = c == "x" ? r : (r & 0x3) | 0x8;
|
|
|
+ return v.toString(16);
|
|
|
+ });
|
|
|
+ }
|
|
|
|
|
|
- </script>
|
|
|
+ </script>
|
|
|
|
|
|
<div class="image_large" onclick="hideImage(this)"></div>
|
|
|
</asp:Content>
|