| | |
| | | } |
| | | |
| | | /** |
| | | * |
| | | * @param param |
| | | * @return |
| | | */ |
| | |
| | | LODOP.PRINT_INIT("质检单"); |
| | | LODOP.SET_PRINT_PAGESIZE(1, 0, 0, "A4"); |
| | | LODOP.ADD_PRINT_HTM(0, 0, "100%", "100%", htmlStr); |
| | | LODOP.SET_PRINT_MODE("PRINT_PAGE_PERCENT", "Full-Page"); |
| | | LODOP.PREVIEW(); |
| | | }; |
| | | print5016CheckBill = function (htmlStr) { |
| | |
| | | <if test="data.addCheck != null">ADD_CHECK_ = #{data.addCheck},</if> |
| | | <if test="data.price != null">PRICE_ = #{data.price},</if> |
| | | <if test="data.remarks != null">REMARKS_ = #{data.remarks},</if> |
| | | <if test="data.updateTime != null">UPDATE_TIME_ = #{data.updateTime},</if> |
| | | </trim> |
| | | WHERE |
| | | COMPANY_ID_ =#{data.companyId} |
| | |
| | | } |
| | | }); |
| | | } |
| | | |
| | | /** |
| | | * 弹出提醒框 |
| | | * @param msg 提醒信息 |
| | | * @param data 数据信息,可能为空 |
| | | */ |
| | | function notify(msg, data) { |
| | | if (data) { |
| | | //赋值 |
| | | $("#resultMsg").text(msg); |
| | | $("#resultUserName").text(data.userName); |
| | | $("#resultPlateNum").text(data.plateNum); |
| | | if ("IN" == data.type) { |
| | | $("#resultType").text("入库-" + INOUT_PROGRESS_MSG(data.progress)); |
| | | } else { |
| | | $("#resultType").text("出库-" + INOUT_PROGRESS_MSG(data.progress)); |
| | | } |
| | | $("#resultIntelCard").text(data.intelCard); |
| | | |
| | | layer.open({ |
| | | type: 1, |
| | | offset: ['150px', '200px'], |
| | | area: '450px;', |
| | | shade: 0.8, |
| | | id: 'dialog_notify_info', |
| | | btn: ['确定'], |
| | | content: $('#dialog-from-notify'), |
| | | yes: function (index) { |
| | | layer.closeAll(); |
| | | } |
| | | }); |
| | | } else { |
| | | layer.alert(msg, {offset: ['300px', '300px']}); |
| | | } |
| | | } |
| | |
| | | |
| | | $.ajax({ |
| | | type : "POST", |
| | | url : "../../basic/inout/inout-back-submit", |
| | | url: "../../basic/inout/submit-card-back", |
| | | dataType : "json", |
| | | contentType : "application/json;charset=UTF-8", |
| | | data : JSON.stringify(recordData), |
| | |
| | | var index = layer.load(); |
| | | $.ajax({ |
| | | type: "POST", |
| | | url: "../../inout/api/flush-lpr", |
| | | url: "../../inout/api/get-plateNum", |
| | | dataType: "json", |
| | | contentType: "application/json;charset=UTF-8", |
| | | data: param, |
| | | success: function (result) { |
| | | if (result.code != "0000") { |
| | | layer.alert(result.msg, { |
| | | offset: ['300px', '300px'] |
| | | }); |
| | | } else { |
| | | if (result.data.errorMsg) { |
| | | layer.alert(result.data.errorMsg, { |
| | | offset: ['300px', '300px'] |
| | | }); |
| | | alertError(result.msg); |
| | | } else { |
| | | $("#plateNum").val(result.data.plateNum); |
| | | } |
| | | $("#plateNum2").val(result.data.plateNum); |
| | | } |
| | | layer.close(index); |
| | | }, |
| | | error: function () { |
| | | layer.close(index); |
| | | layer.alert("车牌识别失败!", { |
| | | offset: ['300px', '300px'] |
| | | }); |
| | | alertError("车牌识别失败!"); |
| | | } |
| | | // success: function (result) { |
| | | // if (result.code != "0000") { |
| | | // layer.alert(result.msg, { |
| | | // offset: ['300px', '300px'] |
| | | // }); |
| | | // } else { |
| | | // if (result.data.errorMsg) { |
| | | // layer.alert(result.data.errorMsg, { |
| | | // offset: ['300px', '300px'] |
| | | // }); |
| | | // } else { |
| | | // $("#plateNum").val(result.data.plateNum); |
| | | // } |
| | | // } |
| | | // layer.close(index); |
| | | // }, |
| | | // error: function () { |
| | | // layer.close(index); |
| | | // layer.alert("车牌识别失败!", { |
| | | // offset: ['300px', '300px'] |
| | | // }); |
| | | // } |
| | | }); |
| | | } |
| | | |
| | |
| | | |
| | | $.ajax({ |
| | | type: "POST", |
| | | url: "../../basic/inout/inout-next-step", |
| | | url: "../../basic/inout/submit-register", |
| | | dataType: "json", |
| | | contentType: "application/json;charset=UTF-8", |
| | | data: JSON.stringify(data), |
| | |
| | | .qyzj-btnbox .rkbk-quick { |
| | | margin-top: 15px !important; |
| | | } |
| | | |
| | | .color-red { |
| | | color: red !important; |
| | | } |
| | | |
| | | .layui-form-item .layui-input-inline { |
| | | width: unset; |
| | | } |
| | | |
| | | .rkbk-search-input{ |
| | | background: #FFF !important; |
| | | } |
| | | |
| | | .rkbk-search-input.bg-date { |
| | | background: #FFF !important; |
| | | } |
| | |
| | | |
| | | <div class="rkbk-left-form rkbk-right-form"> |
| | | <div class="layui-form-item"> |
| | | <input type="button" value="读卡" class="rkbk-r-btn fr layui-btn" onclick="flushICCard()"/> |
| | | <input type="button" value="读卡" class="rkbk-r-btn fr layui-btn" |
| | | onclick="flushICCard()"/> |
| | | <label class="layui-form-label color-red">智慧卡号:</label> |
| | | <div class="layui-input-block"> |
| | | <input type="text" name="intelCard" id="intelCard" required |
| | |
| | | <h3>登记视频</h3> |
| | | </div> |
| | | <div class="kccz-r-con2"> |
| | | <div class="kccz-r-vedio" id="kccz-r-video1"> |
| | | |
| | | </div> |
| | | <div class="kccz-r-vedio" id="kccz-r-video1"></div> |
| | | <div class="kccz-r-btnbox"> |
| | | <a href="javascript:;" class="kccz-r-btn kccz-r-btn1 active"> |
| | | <span class="kccz-r-pz"></span> |
| | | <div class="kccz-r-div"> |
| | | <span id="plateNum2">未识别</span> |
| | | <p>车牌识别</p> |
| | | </a> |
| | | <a href="javascript:;" class="kccz-r-btn mt-10"> |
| | | <span id="pz-img" class="kccz-r-img"></span> |
| | | </div> |
| | | <a href="javascript:;" class="kccz-r-btn kccz-r-btn1 active mt-10"> |
| | | <span id="pz-img" class="kccz-r-pz"></span> |
| | | <p id="pz-text">自动抓拍</p> |
| | | </a> |
| | | <!-- <a href="javascript:;" class="kccz-r-btn kccz-r-btn1 active">--> |
| | | <!-- <span class="kccz-r-pz"></span>--> |
| | | <!-- <span id="plateNum2">未识别</span>--> |
| | | <!-- <p>车牌识别</p>--> |
| | | <!-- </a>--> |
| | | <!-- <a href="javascript:;" class="kccz-r-btn kccz-r-btn1 active mt-10">--> |
| | | <!-- <span id="pz-img" class="kccz-r-img"></span>--> |
| | | <!-- <p id="pz-text">自动抓拍</p>--> |
| | | <!-- </a>--> |
| | | </div> |
| | | </div> |
| | | </div> |
| | |
| | | </style> |
| | | </head> |
| | | <body><h1 class='tit'>质检报告(foodVariety)</h1> |
| | | <div class='div-tit'>单号:serId</div> |
| | | <div class='div-tit'>编码:serId</div> |
| | | <table cellspacing='0' cellpadding='0'> |
| | | <tr> |
| | | <td colspan='2' rowspan="5" `width`="15%">样品信息</td> |