LiJinHuan
2023-06-14 3b7857b6c7bdd1be18389196c648f4c63c494ae3
备品demo修改+-号和分配页面按钮对齐
3个文件已修改
34 ■■■■■ 已修改文件
force-app/main/default/pages/RentalFixtureSetAssign.page 17 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
force-app/main/default/pages/RentalFixtureSetDetilSelect.page 10 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
force-app/main/default/pages/RentalFixtureSetSelect.page 7 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
force-app/main/default/pages/RentalFixtureSetAssign.page
@@ -71,7 +71,7 @@
    .nav {
        width: 180px;/*20230606 ljh*/
        line-height: 30px;/*20230606 ljh*/
        border: 1px solid #000;
        /* border: 1px solid #000; *//*20230610 ljh*/
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
@@ -83,7 +83,8 @@
        margin: 0;
        z-index: 9999;
        display: inline-block;
        border-radius: 0.25rem;
        border-radius: 0.25rem;/*20230607 ljh lightning*/
        border: 1px solid rgb(201, 201, 201);/*20230610 ljh lightning*/
    }
    ul,li {
        list-style: none;
@@ -421,12 +422,12 @@
                    <apex:inputField rendered="{!!(parentObj.Demo_purpose1__c=='维修代用'||parentObj.Demo_purpose1__c=='协议借用')}" id="product_category" value="{!parentObj.Product_category_Sys__c}" />
                    <!-- 20220106 ljh 放开 服务培训/学会 parentObj.CampaignType__c=='服务培训/学会'|| -->
                </apex:pageBlockSection>
                <table style="width: 450px;margin: auto;float: left;margin-top: 1.5%;" >
                    <!-- <tr>
                        <td></td>
                    </tr> -->
                 <!-- 20230526 ljh lightning start-->
                <!-- <table style="width: 450px;margin: auto;float: left;margin-top: 1.5%;" > -->
                <table style="width: 450px;margin: auto;float: left;" >
                    <tr><td colspan="{!IF(parentObj.demo_purpose2__c == '学会展会'&&!(contains(parentObj.Salesdepartment__c,'MA本部')||contains(parentObj.Salesdepartment__c,'产品培训')),4,2)}">
                        &nbsp;</td>
                    </tr>
                    <tr>
                        <apex:outputPanel rendered="{!parentObj.demo_purpose2__c == '学会展会'&&!(contains(parentObj.Salesdepartment__c,'MA本部')||contains(parentObj.Salesdepartment__c,'产品培训'))}">
                            <td style="width:50px;font-weight: bold;font-family: Arial,Helvetica,sans-serif;font-size: 91%;color: #4a4a56;">
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);
force-app/main/default/pages/RentalFixtureSetSelect.page
@@ -97,8 +97,11 @@
                      $td.find("input[type=text]").attr('disabled',true);
                  });
              } else {
                  j$(this).append('<input type="button" style="width: auto;" class="inc btn" value="+" /><input type="button" style="width: auto;" class="dec btn" value="-" />');
              }
                // 20230614 ljh lightning start
                //   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="-" />');
                // 20230614 ljh lightning end
                }
          });
          j$(".dataCellBorder1.col_Rental_Num__c input[type=button]").on("click", function(index) {
              var $button = j$(this);