| | |
| | | |
| | | <div class="layer-footer" style="text-align: center;"> |
| | | <button type="button" lay-submit="" class="layui-btn buttom_box_little" lay-filter="btn_Check" id="btn_Check">å®¡æ ¸</button> |
| | | <button type="button" class="layui-btn buttom_box_little" lay-filter="btn_Cancel" id="btn_Cancel">éåº</button> |
| | | <button type="button" lay-submit="" class="layui-btn buttom_box_little" lay-filter="btn_Cancel" id="btn_Cancel">éåº</button> |
| | | </div> |
| | | </form> |
| | | </div> |
| | |
| | | $('#HBarCode').val(""); |
| | | $("#HBarCode").focus(); |
| | | } |
| | | |
| | | //éåº-å
³é页颿¹æ³ |
| | | $('#btn_Cancel').on('click', function () { |
| | | layer.confirm('æ¨ç¡®å®è¦éåºåï¼', { icon: 3, title: 'æç¤º' }, function (index) { |
| | | window.close(); |
| | | }); |
| | | form.on('submit(btn_Cancel)', function () { |
| | | parent.location.href = "../../../views/index.html" |
| | | }) |
| | | //å®¡æ ¸ |
| | | form.on('submit(btn_Check)', function (data) {//å®¡æ ¸ |
| | |
| | | function set_InitGrid() { |
| | | //表头 |
| | | columns = [ |
| | | { type: 'checkbox', fixed: 'left' } |
| | | , { templet: '#xuhao', title: 'åºå·', sort: true, fixed: 'left' } |
| | | { templet: '#xuhao', title: 'åºå·', sort: true, fixed: 'left' } |
| | | , { field: 'HSQty', title: 'æ°é', edit: 'text' } |
| | | , { field: 'HQty', title: 'è®¢åæ°é' } |
| | | , { field: 'HMaterID', title: 'HMaterID' } |
| | |
| | | , { field: 'HModel', title: 'è§æ ¼åå·' } |
| | | , { field: 'HInterID', title: '主å
ç ', sort: true, width: 200 } |
| | | , { field: 'HEntryID', title: 'åå
ç ', sort: true, width: 200 } |
| | | , { fixed: 'right', title: 'æä½', toolbar: '#barDemo', width: 150 } |
| | | ]; |
| | | option = { |
| | | id: 'mainTable' |