From a737eb14fe1b705b07f017e0edc002fae6f857c3 Mon Sep 17 00:00:00 2001
From: username@email.com <yzy2002yzy@163.com>
Date: 星期五, 03 四月 2026 12:59:20 +0800
Subject: [PATCH] 发版套数再增加自定义填写数字 补单的生产施工单不要默认开料规格的数据 "付款未开票”列表中的金额合计放在“金额”格子下面,既要单页合计,又要每页的全部合计 生产要求跟“数量: ”的宽度一样 印刷数量的填写格子跟后道工序一样长
---
CY_ECommercePlatform/CY.WebForm/Pages/business/OrderEdit.aspx | 29 ++++++++++++++++++++---------
1 files changed, 20 insertions(+), 9 deletions(-)
diff --git a/CY_ECommercePlatform/CY.WebForm/Pages/business/OrderEdit.aspx b/CY_ECommercePlatform/CY.WebForm/Pages/business/OrderEdit.aspx
index e1dde4f..2b5b440 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=179" type="text/javascript"></script>
- <script src="../../js/business/Order.js?v=46" type="text/javascript"></script>
+ <script src="../../js/Inquiry/Inquiry.js?v=210" type="text/javascript"></script>
+ <script src="../../js/business/Order.js?v=56" 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() {
@@ -47,6 +48,12 @@
}
function Saveyaoqiu() {
+
+ if (document.getElementById('printCount').value == "" || parseFloat(document.getElementById('printCount').value) <= 0) {
+ alert("璁㈠崟鏁伴噺涓�0,涓嶈兘淇濆瓨!");
+ return false;
+ }
+
if (document.getElementById('txtSumPrice').value == "" || parseFloat(document.getElementById('txtSumPrice').value) <=0 ) {
if (!confirm("璁㈠崟鎬讳环涓�0锛屾槸鍚︾户缁繚瀛橈紵"))
return false;
@@ -57,6 +64,11 @@
alertMsg("鐩墠鍙繚瀛樹功鍒婅姹�!");
return false;
}
+
+ if (document.getElementById('selPrintTypes').value == "37") {
+ WorkBookCountNum();
+ }
+
return ValidateForm();
}
@@ -500,12 +512,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 +526,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