From 2bc5ccda1fc6e4d1b51d911a9fa3ba9f1461b507 Mon Sep 17 00:00:00 2001
From: username@email.com <yzy2002yzy@163.com>
Date: 星期二, 16 九月 2025 15:08:28 +0800
Subject: [PATCH] 无线,锁线胶装和精装内页页码不能小于36(除硫酸纸) 取消
---
CY_ECommercePlatform/CY.WebForm/Pages/business/OrderEdit.aspx | 23 ++++++++++++++---------
1 files changed, 14 insertions(+), 9 deletions(-)
diff --git a/CY_ECommercePlatform/CY.WebForm/Pages/business/OrderEdit.aspx b/CY_ECommercePlatform/CY.WebForm/Pages/business/OrderEdit.aspx
index 9440fb6..39ec30d 100644
--- a/CY_ECommercePlatform/CY.WebForm/Pages/business/OrderEdit.aspx
+++ b/CY_ECommercePlatform/CY.WebForm/Pages/business/OrderEdit.aspx
@@ -9,8 +9,8 @@
<link rel="stylesheet" type="text/css" href="../../Styles/base.css" />
<link href="../../Styles/changes.css" rel="stylesheet" type="text/css" />
<link href="../../Styles/ParticularWQJ.css" rel="stylesheet" type="text/css" />
- <script src="../../js/Inquiry/Inquiry.js?v=157" type="text/javascript"></script>
- <script src="../../js/business/Order.js?v=46" type="text/javascript"></script>
+ <script src="../../js/Inquiry/Inquiry.js?v=205" type="text/javascript"></script>
+ <script src="../../js/business/Order.js?v=51" type="text/javascript"></script>
<!--鍓嶅彴椤甸潰end-->
<script type="text/javascript" language="javascript">
@@ -22,8 +22,9 @@
function jsdjPrice(zj) {
var num = $("#printCount").val();
-
- $("#txtUnitPrice").val( (zj/num).toFixed(4) );
+ if (num > 0) {
+ $("#txtUnitPrice").val((zj / num).toFixed(4));
+ }
}
function ReBindClients() {
@@ -57,6 +58,11 @@
alertMsg("鐩墠鍙繚瀛樹功鍒婅姹�!");
return false;
}
+
+ if (document.getElementById('selPrintTypes').value == "37") {
+ WorkBookCountNum();
+ }
+
return ValidateForm();
}
@@ -500,12 +506,11 @@
var count = document.getElementById('printCount').value;
var numPerBag = parseInt($("#txtNumberPerBag").val());
- if (isNaN(count)) {
+ if (isNaN(count) || isNaN(numPerBag)) {
- $("#txtBagNum").val(0);
+ /* $("#txtBagNum").val("");*/
}
else {
-
var bagNum = parseInt(count / numPerBag);
$("#txtBagNum").val(bagNum);
}
@@ -515,9 +520,9 @@
var count = document.getElementById('printCount').value;
var bagNum = parseInt($("#txtBagNum").val());
- if (isNaN(count)) {
+ if (isNaN(count) || isNaN(bagNum)) {
- $("#txtNumberPerBag").val(0);
+ /* $("#txtNumberPerBag").val("");*/
}
else {
--
Gitblit v1.9.1