DESKTOP-FKJ9HRB\admin
2022-03-02 424c26ef0b5d2ac0f537ccf89a88caa9abd21751
20220302 ConsumEquipmentSetShipment
1个文件已修改
18 ■■■■■ 已修改文件
force-app/main/default/pages/ConsumEquipmentSetShipment.page 18 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
force-app/main/default/pages/ConsumEquipmentSetShipment.page
@@ -36,12 +36,12 @@
  height: 100px;
  width: 30px;
}
/* add by rentx 2021-10-21 start 设置展示框
/* add by rentx 2021-10-21 start 设置展示框  */
.col_EquipmentManagementCode__c {display: none;}
.col_Scroll{display: none;}
.dataRow.col_Scroll{display: none;}
.col_ManagementCode__c{display: none;}
 */
.modal 
{
    display:none;
@@ -142,8 +142,9 @@
                <apex:commandButton onclick="qrsacn(0);return false;" value="扫一扫耗材" rerender="allForm"/>
                <apex:commandButton onclick="qrsacn(1);return false;" value="扫一扫物流单" rerender="allForm"/>
                <apex:commandButton onclick="blockme();" action="{!send}" value="发货" rerender="message" oncomplete="unblockUI();checkMessage();checEventFrame()"/>
                <!-- add     wangweipeng          2021/01/10             start -->
                <apex:commandButton onclick="window.open('/apex/ConsumTrialPDF?id={!parentId}');" value="试用表" rerender="allForm"/>
                <!-- add     wangweipeng          2021/01/10      /apex/ConsumTrialPDF?id={!parentId}     ConsumEquipmentSetShipmentPDF   start -->
                <apex:commandButton onclick="window.open('ConsumTrialPDF?id={!parentId}');" value="试用表" rerender="allForm"/>
                <!--<a href="openSafri/apex/ConsumTrialPDF?id={!parentId}">试用表</a> -->
                <!-- add     wangweipeng          2021/01/10             end -->
                <!-- add by rentx 2021-10-21 start 新增码枪扫描 -->
                <apex:commandButton onclick="document.getElementById('maqCode').focus();return false" id="maqCodeBtn"  value="码枪扫描:" style="padding: 6px;font-size: 110%;margin-right: 1px;"/>
@@ -254,8 +255,8 @@
                    }
                }
                //20220215 字段集中的输入框变成只读,不能直接变成span,否则后台取不到值
                j$("#tableData input[type=text]").attr("readonly",true);
               j$("#tableData input[type=text]").attr("disabled","disabled");
               //j$("#tableData input[type=text]").attr("readonly",true);  先隐藏掉
               //j$("#tableData input[type=text]").attr("disabled","disabled");
            </script>
        </apex:outputPanel>
    </apex:outputPanel>
@@ -480,7 +481,7 @@
        var code = paobj[0].children[9].children[0].value;  //.innerText; 
        var hecode = paobj[0].children[10].children[0].value;  //.innerText; 
        alert('xiaoma'+code);
        //alert('xiaoma'+code);
        if (code != null && code.length > 0) {
            //向弹出框里添加明细行
            var arr = code.split(',');
@@ -669,7 +670,7 @@
            checkObj.prop('checked', false);
        }
        var maqCode = j$( '#maqCode' ).val();
        alert('==='+j$( '#maqCode' ).val());
        //alert('==='+j$( '#maqCode' ).val());
        if (maqCode !='' && maqCode !=undefined){
            j$("#maqCode").val("");
            j$("#maqCode").focus();
@@ -996,6 +997,7 @@
            j$("#qrcode").focus();
            //add by qiuyj 2021-11-30 end  pc端扫码支持-->
             //alert('扫描条形码请使用App');
        }
    }