From 3b7857b6c7bdd1be18389196c648f4c63c494ae3 Mon Sep 17 00:00:00 2001
From: LiJinHuan <lijinhuan@prec-tech.com>
Date: 星期三, 14 六月 2023 15:09:05 +0800
Subject: [PATCH] 备品demo修改+-号和分配页面按钮对齐
---
force-app/main/default/pages/RentalFixtureSetDetilSelect.page | 10 +++++++---
1 files changed, 7 insertions(+), 3 deletions(-)
diff --git a/force-app/main/default/pages/RentalFixtureSetDetilSelect.page b/force-app/main/default/pages/RentalFixtureSetDetilSelect.page
index 9d0e3ab..bd26359 100644
--- a/force-app/main/default/pages/RentalFixtureSetDetilSelect.page
+++ b/force-app/main/default/pages/RentalFixtureSetDetilSelect.page
@@ -77,12 +77,16 @@
<script type="text/javascript">
// 鏁伴噺娣诲姞鍔犲噺绗﹀彿
j$(".dataCellBorder1.col_Rental_Num__c").each(function () {
+ // 20230614 ljh lightning start
if(!this.firstElementChild.disabled){
- j$(this).append('<input type="button" style="width: auto;" class="inc btn" value="+" /><input type="button" style="width: auto;" class="dec btn" value="-" />');
- }
+ // j$(this).append('<input type="button" style="width: auto;" class="inc btn" value="+" /><input type="button" style="width: auto;" class="dec btn" value="-" />');
+ j$(this).append('<input type="button" style="width:1.5rem;line-height:1.5rem;" class="inc btn" value="+" /><input type="button" style="width:1.5rem;line-height:1.5rem;" class="dec btn" value="-" />');
+ }
else{
- j$(this).append('<input type="button" style="width: auto;" class="dec btn" value="-" />');
+ // j$(this).append('<input type="button" style="width: auto;" class="dec btn" value="-" />');
+ j$(this).append('<input type="button" style="width:1.5rem;line-height:1.5rem;" class="dec btn" value="-" />');
}
+ // 20230614 ljh lightning end
});
j$(".dataCellBorder1.col_Rental_Num__c input[type=button]").on("click", function() {
var $button = j$(this);
--
Gitblit v1.9.1