From 3f5a582e5854574c5c6ab3b0aa5db7dc5ad99e43 Mon Sep 17 00:00:00 2001
From: wtt <1985833171@qq.com>
Date: 星期二, 03 十二月 2024 13:10:31 +0800
Subject: [PATCH] 入数量和单价,当行数比较多时,页面会跳回第一行;问题优化
---
WebTM/views/销售管理/发货通知单/Add_Edit_Xs_SeOutStockBillList.html | 4 +-
WebTM/views/采购管理/采购订单/Cg_POOrderBillList.html | 50 ++++++++++++++++--------
WebTM/views/销售管理/应收单/Xs_ReceivableBill.html | 10 ++--
WebTM/views/领料发货/销售出库/Kf_SellOutBill.html | 8 ++--
WebTM/views/采购管理/应付单/Cg_PayableBill.html | 12 +++---
WebTM/views/采购管理/收料通知单/Add_Edit_Cg_POInStockBillList.html | 12 +++---
WebTM/views/销售管理/销售订单/Add_Edit_Xs_SeOrderBillList.html | 8 ++--
WebTM/views/采购管理/采购订单/Cg_POOrderBillEdit.html | 8 ++--
WebTM/views/验收入库/外购入库/Add_Edit_Kf_POStockInBillList.html | 8 ++--
9 files changed, 68 insertions(+), 52 deletions(-)
diff --git "a/WebTM/views/\351\207\207\350\264\255\347\256\241\347\220\206/\345\272\224\344\273\230\345\215\225/Cg_PayableBill.html" "b/WebTM/views/\351\207\207\350\264\255\347\256\241\347\220\206/\345\272\224\344\273\230\345\215\225/Cg_PayableBill.html"
index ee6ecf7..4bf2fba 100644
--- "a/WebTM/views/\351\207\207\350\264\255\347\256\241\347\220\206/\345\272\224\344\273\230\345\215\225/Cg_PayableBill.html"
+++ "b/WebTM/views/\351\207\207\350\264\255\347\256\241\347\220\206/\345\272\224\344\273\230\345\215\225/Cg_PayableBill.html"
@@ -1831,7 +1831,7 @@
, HlineTotalBB: HlineTotalBB
, HMoneyBB: HMoneyBB
});
- table.render(option);
+ //table.render(option);
break;
case "HPrice": //鍗曚环
//鏁版嵁鏍煎紡鏍¢獙
@@ -1881,7 +1881,7 @@
, HlineTotalBB: HlineTotalBB
, HMoneyBB: HMoneyBB
});
- table.render(option);
+ //table.render(option);
break;
case "HTaxRate": //鏁伴噺
//鏁版嵁鏍煎紡鏍¢獙
@@ -1935,7 +1935,7 @@
, HlineTotalBB: HlineTotalBB
, HMoneyBB: HMoneyBB
});
- table.render(option);
+ //table.render(option);
break;
case "HDiscountRate": //鏁伴噺
//鏁版嵁鏍煎紡鏍¢獙
@@ -1979,7 +1979,7 @@
, HDiscountRate: HDiscountRate
, HRelTaxPrice: HRelTaxPrice
});
- table.render(option);
+ //table.render(option);
break;
case "HTaxPrice": //鍗曚环
//鏁版嵁鏍煎紡鏍¢獙
@@ -2030,7 +2030,7 @@
, HlineTotalBB: HlineTotalBB //鏇存柊HlineTotalBB瀛楁锛屽叾鍊兼潵鑷彉閲廐lineTotalBB
, HMoneyBB: HMoneyBB
});
- table.render(option);
+ //table.render(option);
break;
case "HMoney": //閲戦
//鏁版嵁鏍煎紡鏍¢獙
@@ -2080,7 +2080,7 @@
, HlineTotalBB: HlineTotalBB
, HMoneyBB: HMoneyBB
});
- table.render(option);
+ //table.render(option);
break;
default:
}
diff --git "a/WebTM/views/\351\207\207\350\264\255\347\256\241\347\220\206/\346\224\266\346\226\231\351\200\232\347\237\245\345\215\225/Add_Edit_Cg_POInStockBillList.html" "b/WebTM/views/\351\207\207\350\264\255\347\256\241\347\220\206/\346\224\266\346\226\231\351\200\232\347\237\245\345\215\225/Add_Edit_Cg_POInStockBillList.html"
index 3205bf9..23b24ee 100644
--- "a/WebTM/views/\351\207\207\350\264\255\347\256\241\347\220\206/\346\224\266\346\226\231\351\200\232\347\237\245\345\215\225/Add_Edit_Cg_POInStockBillList.html"
+++ "b/WebTM/views/\351\207\207\350\264\255\347\256\241\347\220\206/\346\224\266\346\226\231\351\200\232\347\237\245\345\215\225/Add_Edit_Cg_POInStockBillList.html"
@@ -644,7 +644,7 @@
, HMoney: HMoney
, HTaxMoney: HTaxMoney
});
- table.render(option)
+ //table.render(option)
break;
case "HPrice": //鍗曚环
//鏁版嵁鏍煎紡鏍¢獙
@@ -681,7 +681,7 @@
, HTaxMoney: HTaxMoney
, HTaxPrice, HTaxPrice
});
- table.render(option)
+ //table.render(option)
break;
case "HTaxRate": //绋庣巼
//鏁版嵁鏍煎紡鏍¢獙
@@ -721,7 +721,7 @@
, HTaxMoney: HTaxMoney
, HTaxPrice: HTaxPrice
});
- table.render(option)
+ //table.render(option)
break;
case "HDiscountRate": //鏁伴噺
//鏁版嵁鏍煎紡鏍¢獙
@@ -762,7 +762,7 @@
, HTaxPrice: HTaxPrice
, HDiscountRate: HDiscountRate
});
- table.render(option);
+ //table.render(option);
break;
case "HTaxPrice": //鍚◣鍗曚环
//鏁版嵁鏍煎紡鏍¢獙
@@ -800,7 +800,7 @@
, HTaxMoney: HTaxMoney //鏇存柊HTaxMoney瀛楁锛孒TaxMoney
, HTaxPrice: Number(HTaxPrice.toFixed(HPriceDec)) //鏇存柊HTaxPrice瀛楁锛孒TaxPrice
});
- table.render(option)
+ //table.render(option)
break;
case "HMoney": //閲戦
//鏁版嵁鏍煎紡鏍¢獙
@@ -840,7 +840,7 @@
, HTaxMoney: HTaxMoney //鏇存柊HTaxMoney瀛楁锛孒TaxMoney
, HTaxPrice: Number(HTaxPrice.toFixed(HPriceDec)) //鏇存柊HTaxPrice瀛楁锛孒TaxPrice
});
- table.render(option)
+ //table.render(option)
break;
default:
}
diff --git "a/WebTM/views/\351\207\207\350\264\255\347\256\241\347\220\206/\351\207\207\350\264\255\350\256\242\345\215\225/Cg_POOrderBillEdit.html" "b/WebTM/views/\351\207\207\350\264\255\347\256\241\347\220\206/\351\207\207\350\264\255\350\256\242\345\215\225/Cg_POOrderBillEdit.html"
index e9ba2c5..f36d319 100644
--- "a/WebTM/views/\351\207\207\350\264\255\347\256\241\347\220\206/\351\207\207\350\264\255\350\256\242\345\215\225/Cg_POOrderBillEdit.html"
+++ "b/WebTM/views/\351\207\207\350\264\255\347\256\241\347\220\206/\351\207\207\350\264\255\350\256\242\345\215\225/Cg_POOrderBillEdit.html"
@@ -697,7 +697,7 @@
, HlineTotal: HlineTotal //鏇存柊HlineTotal瀛楁锛屽叾鍊兼潵鑷彉閲廐lineTotal
, HlineTotalBB: HlineTotalBB //鏇存柊HlineTotalBB瀛楁锛屽叾鍊兼潵鑷彉閲廐lineTotalBB
});
- table.render(option)
+ //table.render(option)
break;
case "HPrice": //鍗曚环
//鏁版嵁鏍煎紡鏍¢獙
@@ -745,7 +745,7 @@
, HRelTaxPrice: HRelTaxPrice //鏇存柊HRelTaxPrice瀛楁锛屽叾鍊兼潵鑷彉閲廐RelTaxPrice
, HlineTotalBB: HlineTotalBB //鏇存柊HlineTotalBB瀛楁锛屽叾鍊兼潵鑷彉閲廐lineTotalBB
});
- table.render(option)
+ //table.render(option)
break;
case "HTaxRate": //绋庣巼
//鏁版嵁鏍煎紡鏍¢獙
@@ -795,7 +795,7 @@
, HRelTaxPrice: HRelTaxPrice
, HlineTotalBB: HlineTotalBB
});
- table.render(option)
+ //table.render(option)
break;
case "HDiscountRate": //鏁伴噺
//鏁版嵁鏍煎紡鏍¢獙
@@ -886,7 +886,7 @@
, HRelTaxPrice: HRelTaxPrice //鏇存柊HRelTaxPrice瀛楁锛屽叾鍊兼潵鑷彉閲廐RelTaxPrice
, HlineTotalBB: HlineTotalBB //鏇存柊HlineTotalBB瀛楁锛屽叾鍊兼潵鑷彉閲廐lineTotalBB
});
- table.render(option)
+ //table.render(option)
break;
default:
diff --git "a/WebTM/views/\351\207\207\350\264\255\347\256\241\347\220\206/\351\207\207\350\264\255\350\256\242\345\215\225/Cg_POOrderBillList.html" "b/WebTM/views/\351\207\207\350\264\255\347\256\241\347\220\206/\351\207\207\350\264\255\350\256\242\345\215\225/Cg_POOrderBillList.html"
index 5f3a5f0..a9f4030 100644
--- "a/WebTM/views/\351\207\207\350\264\255\347\256\241\347\220\206/\351\207\207\350\264\255\350\256\242\345\215\225/Cg_POOrderBillList.html"
+++ "b/WebTM/views/\351\207\207\350\264\255\347\256\241\347\220\206/\351\207\207\350\264\255\350\256\242\345\215\225/Cg_POOrderBillList.html"
@@ -81,6 +81,14 @@
</div>
</div>
<button class="layui-btn layuiadmin-btn-order" type="button" lay-submit="" lay-filter="btnResCnz" id="btnReSearch" style="padding:0 5px">閲嶆柊鍚屾</button>
+
+ <div class="layui-inline">
+ <label class="layui-form-label">椤圭洰缂栧彿</label>
+ <div class="layui-input-block">
+ <input type="text" class="layui-input ForFilteringSchemes" name="HProjectNumber" id="HProjectNumber" style="width:190px;">
+ </div>
+ </div>
+
<div class="layui-inline">
<label class="layui-form-label" style="width: 85px;">缁勭粐</label>
<div class="layui-input-block" style="margin-left: 120px; width: 185px;">
@@ -111,18 +119,18 @@
</div>
</div>
<!--<div class="layui-inline">
- <label class="layui-form-label">涓氬姟鍛�</label>
- <div class="layui-input-block" style="width:190px;">
- <select name="HEmpName" lay-filter="HEmpName" id="HEmpName">
- <option value="">鍏ㄩ儴</option>
- <option value="鏉庣編闇�">鏉庣編闇�</option>
- <option value="寰愬阀涔�">寰愬阀涔�</option>
- <option value="鏃舵枃浠�">鏃舵枃浠�</option>
- <option value="姹熸闃�">姹熸闃�</option>
- <option value="鏄撴柊绾�">鏄撴柊绾�</option>
- </select>
- </div>
- </div>-->
+ <label class="layui-form-label">涓氬姟鍛�</label>
+ <div class="layui-input-block" style="width:190px;">
+ <select name="HEmpName" lay-filter="HEmpName" id="HEmpName">
+ <option value="">鍏ㄩ儴</option>
+ <option value="鏉庣編闇�">鏉庣編闇�</option>
+ <option value="寰愬阀涔�">寰愬阀涔�</option>
+ <option value="鏃舵枃浠�">鏃舵枃浠�</option>
+ <option value="姹熸闃�">姹熸闃�</option>
+ <option value="鏄撴柊绾�">鏄撴柊绾�</option>
+ </select>
+ </div>
+ </div>-->
<div class="layui-inline">
<label class="layui-form-label">鍗忓悓鐘舵��</label>
<div class="layui-input-block">
@@ -134,11 +142,11 @@
</div>
</div>
<!--<div class="layui-inline">
- <label class="layui-form-label">鍙嶉鐘舵��</label>
- <div class="layui-input-block">
- <input type="text" class="layui-input" name="HXTFKStatus" id="HXTFKStatus" style="width:190px;">
- </div>
- </div>-->
+ <label class="layui-form-label">鍙嶉鐘舵��</label>
+ <div class="layui-input-block">
+ <input type="text" class="layui-input" name="HXTFKStatus" id="HXTFKStatus" style="width:190px;">
+ </div>
+ </div>-->
<div class="layui-inline">
<label class="layui-form-label">鐗╂枡缂栫爜</label>
<div class="layui-input-block">
@@ -662,6 +670,14 @@
});
//#endregion
+ //#region
+
+ //#endregion 杈撳叆妗嗗洖杞︾洃鍚�
+ $('input[type="text"]').on('keydown', function (event) {
+ if (event.keyCode == 13) {
+ $("#btnSearch").click();
+ }
+ });
//#endregion
//#region 琛ㄥご鍩虹璧勬枡閫夋嫨寮圭獥
diff --git "a/WebTM/views/\351\224\200\345\224\256\347\256\241\347\220\206/\345\217\221\350\264\247\351\200\232\347\237\245\345\215\225/Add_Edit_Xs_SeOutStockBillList.html" "b/WebTM/views/\351\224\200\345\224\256\347\256\241\347\220\206/\345\217\221\350\264\247\351\200\232\347\237\245\345\215\225/Add_Edit_Xs_SeOutStockBillList.html"
index 2b827b8..9e014cc 100644
--- "a/WebTM/views/\351\224\200\345\224\256\347\256\241\347\220\206/\345\217\221\350\264\247\351\200\232\347\237\245\345\215\225/Add_Edit_Xs_SeOutStockBillList.html"
+++ "b/WebTM/views/\351\224\200\345\224\256\347\256\241\347\220\206/\345\217\221\350\264\247\351\200\232\347\237\245\345\215\225/Add_Edit_Xs_SeOutStockBillList.html"
@@ -734,7 +734,7 @@
, HPrice: HPrice
, HMoney: HMoney
});
- table.render(option);
+ //table.render(option);
break;
case "HPrice": //鍗曚环
//鏁版嵁鏍煎紡鏍¢獙
@@ -764,7 +764,7 @@
, HPrice: HPrice
, HMoney: HMoney
});
- table.render(option);
+ //table.render(option);
break;
default:
}
diff --git "a/WebTM/views/\351\224\200\345\224\256\347\256\241\347\220\206/\345\272\224\346\224\266\345\215\225/Xs_ReceivableBill.html" "b/WebTM/views/\351\224\200\345\224\256\347\256\241\347\220\206/\345\272\224\346\224\266\345\215\225/Xs_ReceivableBill.html"
index 944680d..278329b 100644
--- "a/WebTM/views/\351\224\200\345\224\256\347\256\241\347\220\206/\345\272\224\346\224\266\345\215\225/Xs_ReceivableBill.html"
+++ "b/WebTM/views/\351\224\200\345\224\256\347\256\241\347\220\206/\345\272\224\346\224\266\345\215\225/Xs_ReceivableBill.html"
@@ -1086,7 +1086,7 @@
, HlineTotalBB: HlineTotalBB //鏇存柊HlineTotalBB瀛楁锛屽叾鍊兼潵鑷彉閲廐lineTotalBB
, HMoneyBB: HMoneyBB
});
- table.render(option);
+ //table.render(option);
break;
case "HPrice": //鍗曚环
//鏁版嵁鏍煎紡鏍¢獙
@@ -1140,7 +1140,7 @@
, HlineTotalBB: HlineTotalBB //鏇存柊HlineTotalBB瀛楁锛屽叾鍊兼潵鑷彉閲廐lineTotalBB
, HMoneyBB: HMoneyBB
});
- table.render(option);
+ //table.render(option);
break;
case "HTaxRate": //鏁伴噺
//鏁版嵁鏍煎紡鏍¢獙
@@ -1194,7 +1194,7 @@
, HlineTotalBB: HlineTotalBB //鏇存柊HlineTotalBB瀛楁锛屽叾鍊兼潵鑷彉閲廐lineTotalBB
, HMoneyBB: HMoneyBB
});
- table.render(option);
+ //table.render(option);
break;
case "HDiscountRate": //鏁伴噺
//鏁版嵁鏍煎紡鏍¢獙
@@ -1289,7 +1289,7 @@
, HlineTotalBB: HlineTotalBB //鏇存柊HlineTotalBB瀛楁锛屽叾鍊兼潵鑷彉閲廐lineTotalBB
, HMoneyBB: HMoneyBB
});
- table.render(option)
+ //table.render(option)
break;
case "HMoney": //閲戦
//鏁版嵁鏍煎紡鏍¢獙
@@ -1343,7 +1343,7 @@
, HlineTotalBB: HlineTotalBB //鏇存柊HlineTotalBB瀛楁锛屽叾鍊兼潵鑷彉閲廐lineTotalBB
, HMoneyBB: HMoneyBB
});
- table.render(option);
+ //table.render(option);
break;
default:
}
diff --git "a/WebTM/views/\351\224\200\345\224\256\347\256\241\347\220\206/\351\224\200\345\224\256\350\256\242\345\215\225/Add_Edit_Xs_SeOrderBillList.html" "b/WebTM/views/\351\224\200\345\224\256\347\256\241\347\220\206/\351\224\200\345\224\256\350\256\242\345\215\225/Add_Edit_Xs_SeOrderBillList.html"
index 91ab922..8d720c0 100644
--- "a/WebTM/views/\351\224\200\345\224\256\347\256\241\347\220\206/\351\224\200\345\224\256\350\256\242\345\215\225/Add_Edit_Xs_SeOrderBillList.html"
+++ "b/WebTM/views/\351\224\200\345\224\256\347\256\241\347\220\206/\351\224\200\345\224\256\350\256\242\345\215\225/Add_Edit_Xs_SeOrderBillList.html"
@@ -910,7 +910,7 @@
, HMoney: HMoney
, HlineTotal: HlineTotal
});
- table.render(option);
+ //table.render(option);
//鍒锋柊琛ㄦ牸鍚屾椂鏍规嵁option涓璈isStockGoods鍊艰缃笅鎷夊垪琛�
setSelectHisStockGoodsByTableRender();
@@ -993,7 +993,7 @@
, HMoney: HMoney
, HlineTotal: HlineTotal
});
- table.render(option);
+ //table.render(option);
//鍒锋柊琛ㄦ牸鍚屾椂鏍规嵁option涓璈isStockGoods鍊艰缃笅鎷夊垪琛�
setSelectHisStockGoodsByTableRender();
@@ -1047,7 +1047,7 @@
, HMoney: HMoney
, HlineTotal: HlineTotal
});
- table.render(option);
+ //table.render(option);
//鍒锋柊琛ㄦ牸鍚屾椂鏍规嵁option涓璈isStockGoods鍊艰缃笅鎷夊垪琛�
setSelectHisStockGoodsByTableRender();
@@ -1131,7 +1131,7 @@
, HMoney: HMoney
, HlineTotal: HlineTotal
});
- table.render(option);
+ //table.render(option);
//鍒锋柊琛ㄦ牸鍚屾椂鏍规嵁option涓璈isStockGoods鍊艰缃笅鎷夊垪琛�
setSelectHisStockGoodsByTableRender();
diff --git "a/WebTM/views/\351\242\206\346\226\231\345\217\221\350\264\247/\351\224\200\345\224\256\345\207\272\345\272\223/Kf_SellOutBill.html" "b/WebTM/views/\351\242\206\346\226\231\345\217\221\350\264\247/\351\224\200\345\224\256\345\207\272\345\272\223/Kf_SellOutBill.html"
index eef6593..28b2825 100644
--- "a/WebTM/views/\351\242\206\346\226\231\345\217\221\350\264\247/\351\224\200\345\224\256\345\207\272\345\272\223/Kf_SellOutBill.html"
+++ "b/WebTM/views/\351\242\206\346\226\231\345\217\221\350\264\247/\351\224\200\345\224\256\345\207\272\345\272\223/Kf_SellOutBill.html"
@@ -1337,7 +1337,7 @@
, HMoney: HMoney
, HTaxMoney: HTaxMoney
});
- table.render(option);
+ ///table.render(option);
break;
case "HPrice": //鍗曚环
//鏁版嵁鏍煎紡鏍¢獙
@@ -1381,7 +1381,7 @@
, HMoney: HMoney
, HTaxMoney: HTaxMoney
});
- table.render(option);
+ //table.render(option);
break;
case "HTaxRate": //鏁伴噺
//鏁版嵁鏍煎紡鏍¢獙
@@ -1425,7 +1425,7 @@
, HMoney: HMoney
, HTaxMoney: HTaxMoney
});
- table.render(option);
+ //table.render(option);
break;
case "HTaxPrice": //鏁伴噺
//鏁版嵁鏍煎紡鏍¢獙
@@ -1467,7 +1467,7 @@
, HTaxMoney: HTaxMoney
});
- table.render(option)
+ //table.render(option)
break;
default:
}
diff --git "a/WebTM/views/\351\252\214\346\224\266\345\205\245\345\272\223/\345\244\226\350\264\255\345\205\245\345\272\223/Add_Edit_Kf_POStockInBillList.html" "b/WebTM/views/\351\252\214\346\224\266\345\205\245\345\272\223/\345\244\226\350\264\255\345\205\245\345\272\223/Add_Edit_Kf_POStockInBillList.html"
index 01c7df9..ed08310 100644
--- "a/WebTM/views/\351\252\214\346\224\266\345\205\245\345\272\223/\345\244\226\350\264\255\345\205\245\345\272\223/Add_Edit_Kf_POStockInBillList.html"
+++ "b/WebTM/views/\351\252\214\346\224\266\345\205\245\345\272\223/\345\244\226\350\264\255\345\205\245\345\272\223/Add_Edit_Kf_POStockInBillList.html"
@@ -845,7 +845,7 @@
, HTaxPrice: HTaxPrice
, HlineTotal: HlineTotal
});
- table.render(option);
+ //table.render(option);
break;
case "HPrice": //鍗曚环
//鏁版嵁鏍煎紡鏍¢獙
@@ -887,7 +887,7 @@
, HTaxPrice: HTaxPrice
, HlineTotal: HlineTotal
});
- table.render(option)
+ //table.render(option)
break;
case "HMoney": //閲戦
//鏁版嵁鏍煎紡鏍¢獙
@@ -929,7 +929,7 @@
, HMoney: HMoney
, HlineTotal: HlineTotal
});
- table.render(option);
+ //table.render(option);
break;
case "HTaxRate": //鏁伴噺
//鏁版嵁鏍煎紡鏍¢獙
@@ -1014,7 +1014,7 @@
, HlineTotal: HlineTotal //鏇存柊HlineTotal瀛楁锛孒lineTotal
, HTaxPrice, HTaxPrice //鏇存柊HTaxPrice瀛楁锛孒TaxPrice
});
- table.render(option)
+ //table.render(option)
break;
default:
}
--
Gitblit v1.9.1