配件退回

This commit is contained in:
cwchen 2024-11-14 13:37:05 +08:00
parent 2cab7d23cd
commit cff0f1b6ab
2 changed files with 14 additions and 14 deletions

View File

@ -19,8 +19,8 @@ function queryTable(type) {
reloadTable(1);
} else if (type === 2) {
$('#keyWord').val('');
$('#startDate').val('');
$('#endDate').val('');
$('#startDay').val('');
$('#endDay').val('');
layui.form.render();
reloadTable(1);
}
@ -40,8 +40,8 @@ function reloadTable(pageNum) {
where: {
encryptedData: JSON.stringify({
'keyWord': $('#keyWord').val(),
'startDate': $('#startDate').val(),
'endDate': $('#endDate').val()
'startDay': $('#startDay').val(),
'endDay': $('#endDay').val()
}),
},
},
@ -57,12 +57,12 @@ function initTable() {
authorization: sessionStorage.getItem("gz-token"),
},
height: "full-170",
url: dataUrl + "backstage/partInput/findByPage",
url: dataUrl + "backstage/partBack/findByPage",
where: {
encryptedData: JSON.stringify({
'keyWord': $('#keyWord').val(),
'startDate': $('#startDate').val(),
'endDate': $('#endDate').val()
'startDay': $('#startDay').val(),
'endDay': $('#endDay').val()
}),
},
request: {
@ -95,42 +95,42 @@ function initTable() {
align: "center",
},
{
field: "inputUser",
field: "backNum",
width: '10%',
title: "退用数量",
unresize: true,
align: "center",
},
{
field: "inputNum",
field: "creator",
width: '10%',
title: "接收人",
unresize: true,
align: "center",
},
{
field: "allPrice",
field: "userName",
width: '10%',
title: "退料人",
unresize: true,
align: "center",
},
{
field: "inputDay",
field: "phone",
width: '10%',
title: "联系电话",
unresize: true,
align: "center",
},
{
field: "remark",
field: "backDay",
width: '10%',
title: "退料时间",
unresize: true,
align: "center",
},
{
field: "isFlag",
field: "remark",
width: '15%',
title: "备注",
unresize: true,

View File

@ -22,7 +22,7 @@
<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>