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} LIMIT #{begin},#{size}
</if> </if>
</select> </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 id="findApplicationInRecordPByCondition" parameterType="map" resultMap="applicationInRecord">
select select
@ -313,6 +326,13 @@
LIMIT #{begin},#{size} LIMIT #{begin},#{size}
</if> </if>
</select> </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 id="findApplicationOutRecordPByCondition" parameterType="map" resultMap="applicationOutRecord">
select select

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

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

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

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

Loading…
Cancel
Save