This commit is contained in:
parent
f6c7878b47
commit
9fbfab3dfe
|
|
@ -176,15 +176,16 @@ function setStatusColor(value) {
|
|||
// 导出
|
||||
function exportExcel() {
|
||||
let params = {
|
||||
'proName': $('#proName').val(),
|
||||
'status': $('#status').val()
|
||||
'keyWord': $('#keyWord').val(),
|
||||
'startDay': $('#startDay').val(),
|
||||
'endDay': $('#endDay').val(),
|
||||
}
|
||||
let url = dataUrl + "backstage/export/exportFhList";
|
||||
exportExcelUtil(url, '配件入库数据', JSON.stringify(params));
|
||||
let url = dataUrl + "backstage/partBack/export";
|
||||
exportExcelUtil(url, '配件退回', JSON.stringify(params));
|
||||
}
|
||||
|
||||
// 配件退料入库
|
||||
function accessoryReturn(obj){
|
||||
function accessoryReturn(obj) {
|
||||
openIframeByParamObj("accessory_return", "配件退料入库", "./child/accessory_return_form.html", "92%", "95%", obj);
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -5,11 +5,6 @@ layui.use(["form", "table", 'laydate'], function () {
|
|||
form = layui.form;
|
||||
table = layui.table;
|
||||
laydate = layui.laydate;
|
||||
laydate.render({
|
||||
elem: '#ID-laydate-rangeLinked',
|
||||
range: ['#startDay', '#endDay'],
|
||||
rangeLinked: true
|
||||
});
|
||||
initTable();
|
||||
});
|
||||
|
||||
|
|
@ -19,8 +14,6 @@ function queryTable(type) {
|
|||
reloadTable(1);
|
||||
} else if (type === 2) {
|
||||
$('#keyWord').val('');
|
||||
$('#startDate').val('');
|
||||
$('#endDate').val('');
|
||||
layui.form.render();
|
||||
reloadTable(1);
|
||||
}
|
||||
|
|
@ -40,8 +33,6 @@ function reloadTable(pageNum) {
|
|||
where: {
|
||||
encryptedData: JSON.stringify({
|
||||
'keyWord': $('#keyWord').val(),
|
||||
'startDate': $('#startDate').val(),
|
||||
'endDate': $('#endDate').val()
|
||||
}),
|
||||
},
|
||||
},
|
||||
|
|
@ -61,8 +52,6 @@ function initTable() {
|
|||
where: {
|
||||
encryptedData: JSON.stringify({
|
||||
'keyWord': $('#keyWord').val(),
|
||||
'startDate': $('#startDate').val(),
|
||||
'endDate': $('#endDate').val()
|
||||
}),
|
||||
},
|
||||
request: {
|
||||
|
|
@ -102,7 +91,7 @@ function initTable() {
|
|||
align: "center",
|
||||
},
|
||||
{
|
||||
field: "inputNum",
|
||||
field: "startTime",
|
||||
width: '20%',
|
||||
title: "盘点起止时间",
|
||||
unresize: true,
|
||||
|
|
@ -112,7 +101,7 @@ function initTable() {
|
|||
},
|
||||
},
|
||||
{
|
||||
field: "allPrice",
|
||||
field: "addNum",
|
||||
width: '10%',
|
||||
title: "盘点数量变化",
|
||||
unresize: true,
|
||||
|
|
@ -168,11 +157,10 @@ function setInventory(value, value2) {
|
|||
// 导出
|
||||
function exportExcel() {
|
||||
let params = {
|
||||
'proName': $('#proName').val(),
|
||||
'status': $('#status').val()
|
||||
'keyWord': $('#keyWord').val(),
|
||||
}
|
||||
let url = dataUrl + "backstage/export/exportFhList";
|
||||
exportExcelUtil(url, '配件入库数据', JSON.stringify(params));
|
||||
let url = dataUrl + "backstage/partCheck/export";
|
||||
exportExcelUtil(url, '盘点记录', JSON.stringify(params));
|
||||
}
|
||||
|
||||
// 库存盘点
|
||||
|
|
|
|||
|
|
@ -22,23 +22,10 @@
|
|||
<div class="layui-form-item">
|
||||
<div class="layui-inline">
|
||||
<div class="layui-input-inline" style="width: 300px;">
|
||||
<input type="text" name="proName" id="keyWord" autocomplete="off"
|
||||
<input type="text" name="keyWord" id="keyWord" autocomplete="off"
|
||||
class="layui-input" lay-affix="clear" placeholder="请输入关键字" maxlength="30">
|
||||
</div>
|
||||
</div>
|
||||
<div class="layui-inline" style="margin-bottom: 0;">
|
||||
<div class="layui-inline" id="ID-laydate-rangeLinked">
|
||||
<div class="layui-input-inline">
|
||||
<input type="text" autocomplete="off" id="startDay" class="layui-input"
|
||||
placeholder="开始日期">
|
||||
</div>
|
||||
<div class="layui-form-mid">-</div>
|
||||
<div class="layui-input-inline">
|
||||
<input type="text" autocomplete="off" id="endDay" class="layui-input"
|
||||
placeholder="结束日期">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="layui-inline">
|
||||
<button class="layui-btn layui-bg-blue" onclick="queryTable(1)"><i
|
||||
class="layui-icon"></i> 搜 索</button>
|
||||
|
|
|
|||
Loading…
Reference in New Issue