|
|
@ -314,6 +314,7 @@ |
|
|
// 用于存储当前选择的负责人 |
|
|
// 用于存储当前选择的负责人 |
|
|
let departmentManagerIdForMaterial; |
|
|
let departmentManagerIdForMaterial; |
|
|
let departmentManagerIdForLocation; |
|
|
let departmentManagerIdForLocation; |
|
|
|
|
|
|
|
|
layui.use(['form', 'step', 'flow', 'table', 'inputTag'], function () { |
|
|
layui.use(['form', 'step', 'flow', 'table', 'inputTag'], function () { |
|
|
var $ = layui.$, |
|
|
var $ = layui.$, |
|
|
form = layui.form, |
|
|
form = layui.form, |
|
|
@ -476,7 +477,7 @@ |
|
|
area: ['70%', '70%'], |
|
|
area: ['70%', '70%'], |
|
|
move: '.layui-layer-title', |
|
|
move: '.layui-layer-title', |
|
|
fixed: false, |
|
|
fixed: false, |
|
|
content: '/selectManager', |
|
|
content: '/selectManager?type=Material', |
|
|
end: function () { |
|
|
end: function () { |
|
|
departmentManagerIdForMaterial = $("#departmentManagerIdForMaterial").val(); |
|
|
departmentManagerIdForMaterial = $("#departmentManagerIdForMaterial").val(); |
|
|
tagLabel.createItem(); |
|
|
tagLabel.createItem(); |
|
|
@ -503,7 +504,7 @@ |
|
|
area: ['70%', '70%'], |
|
|
area: ['70%', '70%'], |
|
|
move: '.layui-layer-title', |
|
|
move: '.layui-layer-title', |
|
|
fixed: false, |
|
|
fixed: false, |
|
|
content: '/selectManager', |
|
|
content: '/selectManager?type=Location', |
|
|
end: function () { |
|
|
end: function () { |
|
|
departmentManagerIdForLocation = $("#departmentManagerIdForLocation").val(); |
|
|
departmentManagerIdForLocation = $("#departmentManagerIdForLocation").val(); |
|
|
tagLabel1.createItem(); |
|
|
tagLabel1.createItem(); |
|
|
@ -725,6 +726,9 @@ |
|
|
}; |
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// 通过位置盘点物料页面 |
|
|
table.render({ |
|
|
table.render({ |
|
|
elem: "#currentTableForLocation", |
|
|
elem: "#currentTableForLocation", |
|
|
url: '/material/findInventoryForStockTaking', |
|
|
url: '/material/findInventoryForStockTaking', |
|
|
@ -842,6 +846,7 @@ |
|
|
}) |
|
|
}) |
|
|
}; |
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
table.on('edit(currentTableFilterForLocation)', function (obj) { |
|
|
table.on('edit(currentTableFilterForLocation)', function (obj) { |
|
|
obj.update({stockTakingQuantity: obj.value});//修改当前行数据 |
|
|
obj.update({stockTakingQuantity: obj.value});//修改当前行数据 |
|
|
calculateForLocation(obj); |
|
|
calculateForLocation(obj); |
|
|
|