Browse Source

更新各模块的禁用功能

lwx_dev
erdanergou 3 years ago
parent
commit
ede06fe470
  1. 20
      target/classes/com/dreamchaser/depository_manage/mapper/DepositoryRecordMapper.xml
  2. 12
      target/classes/templates/pages/application/application-in.html
  3. 1
      target/classes/templates/pages/material/selectPlaceByDepository.html

20
target/classes/com/dreamchaser/depository_manage/mapper/DepositoryRecordMapper.xml

@ -288,6 +288,19 @@
LIMIT #{begin},#{size}
</if>
</select>
<!--根据条件查询入库记录-->
<select id="findApplicationInRecordByDepository" parameterType="String" resultMap="applicationInRecord">
select
<include refid="ApplicationInRecordInfo"/>
from applicationInRecordInfo
where 1 = 1
<if test="depositoryId != null and depositoryId != ''">
and did = #{depositoryId}
</if>
</select>
<!--根据条件查询入库记录-->
<select id="findApplicationInRecordPByCondition" parameterType="map" resultMap="applicationInRecord">
select
@ -313,6 +326,13 @@
LIMIT #{begin},#{size}
</if>
</select>
<!--根据条件查询出库记录-->
<select id="findApplicationOutRecordByDepository" parameterType="String" resultMap="applicationOutRecord">
select
<include refid="ApplicationOutRecordInfo"/>
from applicationOutRecordInfo
where 1 = 1 and depositoryId = #{depositoryId}
</select>
<!--根据条件查询出库记录-->
<select id="findApplicationOutRecordPByCondition" parameterType="map" resultMap="applicationOutRecord">
select

12
target/classes/templates/pages/application/application-in.html

@ -48,6 +48,7 @@
<div class="layuimini-container">
<div class="layuimini-main">
<div class="layui-fluid">
<!-- 入库申请提交-->
<div class="layui-carousel" id="stepForm" lay-filter="stepForm" style="margin: 0 auto; ">
<div carousel-item style="overflow: inherit">
@ -262,8 +263,6 @@
title: '提交成功'
}]
});
// 用于提交操作
form.on('submit(formStep)', function (data) {
data = data.field;
@ -320,8 +319,7 @@
});
return false;
});
// 用于提交操作(组合)
form.on('submit(formStep2)', function (data) {
step.next('#stepForm');
return false;
@ -433,7 +431,6 @@
$("#stepForm").css("height", height + 587 + 'px');
$("#" + parentId).after(materialItem);
};
// 实现卡片删除
deleteItem = function (obj) {
// 获取父节点
@ -447,8 +444,6 @@
params = remove(params, parentId);
reparent.removeChild(parent);
};
//删除数组中指定元素
function remove(arr, item) {
var result = [];
@ -460,7 +455,6 @@
}
return result;
}
// 用于选择生产日期
selectDate = function (obj) {
var name = obj.id;
@ -470,8 +464,6 @@
, show: true
});
};
// 用于实现通过编码查询物料
selectCode = function (obj) {
// 输入code

1
target/classes/templates/pages/material/selectPlaceByDepository.html

@ -69,7 +69,6 @@
});
outQuantityCheck = function (placeId) {
console.log(quantity)
layer.prompt({
formType: 0,
value: quantity,

Loading…
Cancel
Save