Commit e28a69d8 authored by 谢希宇's avatar 谢希宇

Aidea product update by Strive Date 2020-10-14

parent 299a646f
...@@ -205,11 +205,10 @@ ...@@ -205,11 +205,10 @@
<div class="box-footer"> <div class="box-footer">
#if($shiro.hasPermission("qy:consultSheet:edit")) #if($shiro.hasPermission("qy:consultSheet:edit"))
<input class="btn btn-primary" id="save" value="审核" type="submit"> <input class="btn btn-info" id="save" value="通过" type="submit">
<a id="reject" class="btn btn-danger" onclick="beizhu()">拒绝</a>
#end #end
<a style="background: #3C8DBC" id="reject" class="btn btn-default" <a href="#springUrl('/a/consultSheet/list')" class="btn btn-default">返回</a>
onclick="beizhu()">拒绝</a>
<a style="background: #3C8DBC" href="#springUrl('/a/consultSheet/list')" class="btn btn-default">返回</a>
</div> </div>
</div> </div>
</form> </form>
......
...@@ -103,7 +103,7 @@ ...@@ -103,7 +103,7 @@
( (
#{id, jdbcType=BIGINT}, #{id, jdbcType=BIGINT},
#{consultId, jdbcType=BIGINT}, #{consultId, jdbcType=VARCHAR},
#{userName, jdbcType=VARCHAR}, #{userName, jdbcType=VARCHAR},
#{numberId, jdbcType=VARCHAR}, #{numberId, jdbcType=VARCHAR},
now(), now(),
...@@ -173,7 +173,7 @@ ...@@ -173,7 +173,7 @@
</if> </if>
<if test="consultId != null"> <if test="consultId != null">
consult_id = #{consultId, jdbcType=BIGINT}, consult_id = #{consultId, jdbcType=VARCHAR},
</if> </if>
<if test="userName != null"> <if test="userName != null">
user_name = #{userName, jdbcType=VARCHAR}, user_name = #{userName, jdbcType=VARCHAR},
......
...@@ -26,7 +26,7 @@ public class ConsultSheet extends UserSheet implements Serializable { ...@@ -26,7 +26,7 @@ public class ConsultSheet extends UserSheet implements Serializable {
/* 咨询单编码 */ /* 咨询单编码 */
@ExportConfig(value = "咨询单编码", width = 100, showLevel = 1) @ExportConfig(value = "咨询单编码", width = 100, showLevel = 1)
private Long consultId; private String consultId;
/* 用药人name */ /* 用药人name */
@ExportConfig(value = "用药人姓名", width = 100, showLevel = 1) @ExportConfig(value = "用药人姓名", width = 100, showLevel = 1)
private String userName; private String userName;
......
...@@ -16,7 +16,7 @@ public class ConsultSheetVO { ...@@ -16,7 +16,7 @@ public class ConsultSheetVO {
/* 咨询单编码 */ /* 咨询单编码 */
@ExportConfig(value = "咨询单编码", width = 100, showLevel = 1) @ExportConfig(value = "咨询单编码", width = 100, showLevel = 1)
private Long consultId; private String consultId;
/* 用药人name */ /* 用药人name */
@ExportConfig(value = "用药人姓名", width = 100, showLevel = 1) @ExportConfig(value = "用药人姓名", width = 100, showLevel = 1)
private String userName; private String userName;
......
...@@ -125,6 +125,13 @@ ...@@ -125,6 +125,13 @@
> >
</div> </div>
<!--<div class="form-group form-md-line-input col-md-12">
<input type="text" required class="form-control pull-right"
maxlength="500"
name="ScanningGun" placeholder="监听扫码枪"
>
</div>-->
<div class="box-footer"> <div class="box-footer">
<a href="#springUrl('/a/productIntoWareroom/list')" class="btn btn-default">返回</a> <a href="#springUrl('/a/productIntoWareroom/list')" class="btn btn-default">返回</a>
</div> </div>
...@@ -174,6 +181,9 @@ ...@@ -174,6 +181,9 @@
recdTypeAdd.init(); recdTypeAdd.init();
}); });
// document.οnkeydοwn() = function () {
// console.log("111111111");
// };
var recdTypeAdd = function () { var recdTypeAdd = function () {
var initForm = function () { var initForm = function () {
...@@ -181,6 +191,36 @@ ...@@ -181,6 +191,36 @@
bindEvent(); bindEvent();
}; };
var bindEvent = function () { var bindEvent = function () {
//按下按钮触发 event.target ev.originalEvent.changedTouches 原生对象
$('#input[name="ScanningGun"]').on('keydown', function(event) {
var ev = event.originalEvent.changedTouches;
var x;
if(window.event) // IE8 及更早IE版本
{
x=ev.keyCode;
}
else if(ev.which) // IE9/Firefox/Chrome/Opera/Safari
{
x=ev.which;
}
keychar=String.fromCharCode(x);
// alert("按键 " + keychar + " 被按下");
alert(event.originalEvent.changedTouches);
});
//功能按键不会触发keypress事件(keypress事件有个额外的charCode属性)
$('#input[name="ScanningGun"]').on('keypress', function() {
});
$('#input[name="ScanningGun"]').on('keyup', function() {
});
$("#myForm").validate({ $("#myForm").validate({
rules: {}, rules: {},
......
...@@ -100,10 +100,8 @@ ...@@ -100,10 +100,8 @@
placeholder="素材标题" name="title" placeholder="素材标题" name="title"
value=""> value="">
</div> </div>
<div class="col-xs-1">
<a class="search btn btn-primary">搜索</a>
</div>
<div class="col-xs-5"> <div class="col-xs-5">
<a class="search btn btn-primary">搜索</a>
#if($shiro.hasPermission("material:edit")) #if($shiro.hasPermission("material:edit"))
<button type="button" class="add btn btn-primary">新增</button> <button type="button" class="add btn btn-primary">新增</button>
#end #end
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment