From 4fb3a019764be79bb4ae50935c48695c8e822080 Mon Sep 17 00:00:00 2001
From: 王 垚 <1402714037@qq.com>
Date: 星期五, 31 十二月 2021 20:33:58 +0800
Subject: [PATCH] nothing
---
WebSRM/layuiAdmin.std-v1.2.1/src/views/SRM/SRM_BarCodeBill.html | 82 ++++++++++++++++++++--------------------
1 files changed, 41 insertions(+), 41 deletions(-)
diff --git a/WebSRM/layuiAdmin.std-v1.2.1/src/views/SRM/SRM_BarCodeBill.html b/WebSRM/layuiAdmin.std-v1.2.1/src/views/SRM/SRM_BarCodeBill.html
index 9b56bce..40eaa76 100644
--- a/WebSRM/layuiAdmin.std-v1.2.1/src/views/SRM/SRM_BarCodeBill.html
+++ b/WebSRM/layuiAdmin.std-v1.2.1/src/views/SRM/SRM_BarCodeBill.html
@@ -569,8 +569,8 @@
, where: { sMsg: linterid, sMsg2: lentryid }
, cols: [[
, { field: 'HMaterID', title: '鐗╂枡ID', width: 100, hide: true }
- , { field: 'HMaterShortNumber', title: '鐗╂枡缂栫爜', width: 120 }
- , { field: 'HMaterNumber', title: '鐗╂枡浠g爜', width: 120 }
+ , { field: 'HMaterNumber', title: '鐗╂枡缂栫爜', width: 120 }
+ , { field: 'HMaterShortNumber', title: '鐗╂枡浠g爜', width: 120 }
, { field: 'HMaterName', title: '鐗╂枡鍚嶇О', width: 120 }
, { field: 'HMaterModel', title: '瑙勬牸鍨嬪彿', width: 120 }
, { field: 'HUnitName', title: '璁¢噺鍗曚綅', width: 100 }
@@ -579,8 +579,8 @@
, { field: 'HQty', title: '鏁伴噺', width: 100 }
, { field: 'HMinQty', title: '鍐呯鍖呰鏁�', width: 100, edit: 'text' }
, { field: 'HBQty', title: '鍐呯鏁�', width: 100 }
- , { field: 'HWXQty', title: '澶栫鍖呰鏁�', width: 100 }
- , { field: 'HWBQty', title: '澶栫鏁�', width: 100, edit: 'text' }
+ , { field: 'HWXQty', title: '澶栫鍖呰鏁�', width: 100, edit: 'text' }
+ , { field: 'HWBQty', title: '澶栫鏁�', width: 100}
, { field: 'HPrice', title: '鍗曚环', width: 100, hide: true }
, { field: 'HMoney', title: '閲戦', width: 100, hide: true }
, { field: 'HMTONO', title: '璁″垝璺熻釜鍗曞彿', width: 100 }
@@ -839,47 +839,47 @@
});
}
break;
- case "HWBQty": //澶栫涓暟鍙戠敓鍙樺寲
- if (HWBQty < 0) {
- f_alert("澶栫鏁伴噺涓嶈兘涓鸿礋鏁�")
- return;
- }
- else if (HWBQty > HBQty) {
- f_alert("澶栫鏁伴噺涓嶈兘瓒呭嚭鍐呯鏁伴噺")
- return;
- }
- else {
- obj.update({
- //澶栫鍖呰鎬绘暟 = 鍐呯鏁伴噺/澶栫鏁伴噺 * 鍐呯鍖呰鏁伴噺
- HWXQty: Math.ceil(parseFloat(obj.data.HBQty) / parseFloat(obj.data.HWBQty)) * parseFloat(obj.data.HMinQty),
- //HWXQty: 12
- });
- }
- break;
- //case "HWXQty":
- // if (HWXQty > 0) {
- // if (HMinQty >= 0) {
- // if (isPositiveIntegerTimes(HMinQty, parseFloat(obj.value))) //澶栫鍖呰鏁拌兘琚唴绠卞寘瑁呮暟鏁撮櫎
- // {
- // obj.update({
- // HWBQty: Math.ceil(parseFloat(obj.data.HQty) / parseFloat(obj.value)),
- // });
- // }
- // else {
- // //obj.update({
- // // HWXQty: 0,
- // //});
- // f_alert("澶栫鍖呰鏁板繀椤绘槸鍐呯鍖呰鏁扮殑鏁存暟鍊�!");
- // }
- // }
+ //case "HWBQty": //澶栫涓暟鍙戠敓鍙樺寲
+ // if (HWBQty < 0) {
+ // f_alert("澶栫鏁伴噺涓嶈兘涓鸿礋鏁�")
+ // return;
+ // }
+ // else if (HWBQty > HBQty) {
+ // f_alert("澶栫鏁伴噺涓嶈兘瓒呭嚭鍐呯鏁伴噺")
+ // return;
// }
// else {
- // //obj.update({
- // // HWXQty: 0,
- // //});
- // f_alert("澶栫鍖呰鏁颁笉鑳戒负璐熸暟!");
+ // obj.update({
+ // //澶栫鍖呰鎬绘暟 = 鍐呯鏁伴噺/澶栫鏁伴噺 * 鍐呯鍖呰鏁伴噺
+ // HWXQty: Math.ceil(parseFloat(obj.data.HBQty) / parseFloat(obj.data.HWBQty)) * parseFloat(obj.data.HMinQty),
+ // //HWXQty: 12
+ // });
// }
// break;
+ case "HWXQty":
+ if (HWXQty > 0) {
+ if (HMinQty >= 0) {
+ if (isPositiveIntegerTimes(HMinQty, parseFloat(obj.value))) //澶栫鍖呰鏁拌兘琚唴绠卞寘瑁呮暟鏁撮櫎
+ {
+ obj.update({
+ HWBQty: Math.ceil(parseFloat(obj.data.HQty) / parseFloat(obj.value)),
+ });
+ }
+ else {
+ //obj.update({
+ // HWXQty: 0,
+ //});
+ f_alert("澶栫鍖呰鏁板繀椤绘槸鍐呯鍖呰鏁扮殑鏁存暟鍊�!");
+ }
+ }
+ }
+ else {
+ //obj.update({
+ // HWXQty: 0,
+ //});
+ f_alert("澶栫鍖呰鏁颁笉鑳戒负璐熸暟!");
+ }
+ break;
case "HKFPeriod":
if (HKFPeriod >= 0) {
var sKFDQDate = addDate(obj.data.HKFDate, HKFPeriod);
--
Gitblit v1.9.1