| | |
| | | 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; |
| | |
| | | <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;"/> |
| | |
| | | } |
| | | } |
| | | //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> |
| | |
| | | |
| | | 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(','); |
| | |
| | | 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(); |
| | |
| | | j$("#qrcode").focus(); |
| | | //add by qiuyj 2021-11-30 end pc端扫码支持--> |
| | | //alert('扫描条形码请使用App'); |
| | | |
| | | } |
| | | } |
| | | |