From cd7c80440071134d4aa738d557b650ea2557317b Mon Sep 17 00:00:00 2001
From: username@email.com <yzy2002yzy@163.com>
Date: 星期四, 26 九月 2024 15:15:30 +0800
Subject: [PATCH] 提交
---
CY_ECommercePlatform/CY.WebForm/js/Inquiry/Inquiry.js | 28 ++++++++++++++++++++++++++++
1 files changed, 28 insertions(+), 0 deletions(-)
diff --git a/CY_ECommercePlatform/CY.WebForm/js/Inquiry/Inquiry.js b/CY_ECommercePlatform/CY.WebForm/js/Inquiry/Inquiry.js
index 65bea0d..7851002 100644
--- a/CY_ECommercePlatform/CY.WebForm/js/Inquiry/Inquiry.js
+++ b/CY_ECommercePlatform/CY.WebForm/js/Inquiry/Inquiry.js
@@ -253,6 +253,7 @@
if (dataJson.PrintTypeId == "-1" || dataJson.PrintTypeId == -1) {
$("[name='printSizeName']").val(dataJson.PrintSizeName);
$("[name='printCount']").val(dataJson.PrintCount);
+ $("[name='ysUnit']").val(dataJson.Unit);
$("[name='txtPrintDemand']").val(dataJson.PrintDemand);
} else {
BindControlByPrintType(dataJson);
@@ -290,6 +291,32 @@
//鍔ㄦ�佸姞杞介〉闈㈠悗鎵ц鐨勮鍙�
function ExcuteCallBack() {
var printTypeId = $("#hidPrintTypeId").val();
+
+
+ setTimeout(function () {
+
+ var element = document.getElementById('txtKeyid');
+
+ if (element) {
+ var OldOrderId = document.getElementById('txtKeyid').value;
+ if (OldOrderId == "" || OldOrderId == "0") {
+
+ if ($("[name='printMode']").length > 1) {
+ $("[name='printMode']").each(
+ function () {
+ if ($(this).val() == "0") {
+ $(this).click();
+ }
+ }
+ );
+ }
+
+
+ }
+ }
+
+ }, 1000);
+
$("#selDigitalPrintType").live("change",
function () {
@@ -1215,6 +1242,7 @@
}
$("[name='gramWeight0']").val(dataJson.GramWeight);
$("#printCount").val(dataJson.PrintCount);
+ $("[name='ysUnit']").val(dataJson.Unit);
$("[name='RopeTypeName']").val(dataJson.RopeTypeName);
$("[name='RopeColor']").val(dataJson.RopeColor);
$("[name='printColor0']").val(dataJson.PrintColor);
--
Gitblit v1.9.1