From 4b93e2f25069b1b8a210719b1983eeba8a736017 Mon Sep 17 00:00:00 2001
From: LR-20210131IOQH\Administrator <jackcold@163.com>
Date: 星期四, 16 九月 2021 11:56:02 +0800
Subject: [PATCH] 增加印件名称模糊查询 电话号码验证修改 订单新增根据单价算总价,根据总价算单价 订单增加单位(其他类型)
---
CY_ECommercePlatform/CY.WebForm/Pages/business/OrderEdit.aspx | 19 ++++++++++++++++---
1 files changed, 16 insertions(+), 3 deletions(-)
diff --git a/CY_ECommercePlatform/CY.WebForm/Pages/business/OrderEdit.aspx b/CY_ECommercePlatform/CY.WebForm/Pages/business/OrderEdit.aspx
index f84291c..875669e 100644
--- a/CY_ECommercePlatform/CY.WebForm/Pages/business/OrderEdit.aspx
+++ b/CY_ECommercePlatform/CY.WebForm/Pages/business/OrderEdit.aspx
@@ -435,7 +435,8 @@
<td class="contentLeft" colspan="2" style=" padding-left:300px;">
<input type="hidden" id='txtKeyid' runat="server" value='0' /><input type="hidden" value='0' id='txtBillMode' runat="server" />
<input type="hidden" name='Target' value='default' />
- <input name='hidPrintTypeId' id='hidPrintTypeId' type="hidden" /><input type="button" id="btnSaveask" runat="server" value="淇濆瓨璁㈠崟鍜岃姹�" onclick="if(!Saveyaoqiu())return false;" /> <input type="button" id="btnSave" runat="server" value="淇濆瓨璁㈠崟" onclick="if(!Save())return false;" /> <input type="button" value="閲� 缃�" id='btnReset' onclick="ReLoad()" />
+ <input name='hidPrintTypeId' id='hidPrintTypeId' type="hidden" />
+ <input type="button" id="btnSaveask" runat="server" value="淇濆瓨璁㈠崟鍜岃姹�" onclick="if(!Saveyaoqiu())return false;" /> <input type="button" id="btnSave" runat="server" value="淇濆瓨璁㈠崟" onclick="if(!Save())return false;" /> <input type="button" value="閲� 缃�" id='btnReset' onclick="ReLoad()" />
@@ -490,18 +491,23 @@
showWait();
var OldOrderId = document.getElementById('txtKeyid').value;
var ssselPrintTypes = document.getElementById('selPrintTypes').value;
+ alert(7);
if (ssselPrintTypes == -1 || ssselPrintTypes == "-1") {//鍏朵粬绫诲瀷
$("#hidOrderId").val(OldOrderId);
$("#divInquiry").load("/Pages/front/OtherType.aspx", { "PrintTypeId": "-1" });
setTimeout(function () {
+ alert(8);
if (sel.value != "" || sel.value == "0") {
BindControl1(sel.value);
}
}, 1000);
window.hideWaitDiv = window.parent.parent.parent.parent.parent.parent.hideWaitDiv;
- if (window.hideWaitDiv) window.hideWaitDiv();
- } else {
+ if (window.hideWaitDiv)
+ window.hideWaitDiv();
+ }
+ else
+ {
DelayLoadPrintType1(ssselPrintTypes, '1', OldOrderId, 'order');
}
document.getElementById('hidPrintTypeId').value = ssselPrintTypes;
@@ -520,18 +526,22 @@
//淇敼鍙嶇粦鏁版嵁
function BindControl1(orderId) {
+ alert(1);
if (parseInt(orderId) > 0) {
$.ajax({
url: '/Pages/front/InquiryOnLine.aspx?tmp' + (new Date()).valueOf(),
type: "POST",
data: "BindControl1=true&OrderId=" + orderId,
success: function (dataJsonStr) {
+ alert(2);
if (dataJsonStr == null || dataJsonStr == "")
return;
var dataJson = eval('(' + dataJsonStr + ')');
+ alert(dataJson.PrintTypeId);
if (dataJson.PrintTypeId == "-1" || dataJson.PrintTypeId == -1) {
$("[name='printSizeName']").val(dataJson.PrintSizeName);
$("[name='printCount']").val(dataJson.PrintCount);
+ $("#ysUnit").attr("value", dataJson.Unit);
$("[name='txtPrintDemand']").val(dataJson.PrintDemand);
} else {
BindControlByPrintType(dataJson);
@@ -579,6 +589,7 @@
function LoadPrintType1(printTypeId, pvcTypePar, OrderId) {
+ alert(4);
$("#hidOrderId").val(OrderId);
switch (printTypeId) {
//鍚嶇墖
@@ -690,6 +701,7 @@
//鍔ㄦ�佸姞杞介〉闈㈠悗鎵ц鐨勮鍙�
function ExcuteCallBack1() {
+ alert(5);
var printTypeId = $("#hidPrintTypeId").val();
$("#selDigitalPrintType").live("change",
@@ -739,6 +751,7 @@
var ssselprintask = $("#selprintask").val();
//淇敼鍙嶇粦鏁版嵁
+ alert(3);
if (ssselprintask != "" || ssselprintask == "0") {
BindControl1(ssselprintask);
}
--
Gitblit v1.9.1