付款单申请审核

This commit is contained in:
lSun 2026-01-30 16:33:50 +08:00
parent c5dcce3fe3
commit efed85dcab
2 changed files with 1 additions and 31 deletions

View File

@ -24,7 +24,6 @@ function queryTable(type) {
reloadTable(1);
} else if (type === 2) {
$('#keyWord').val('');
$('#status').val('');
layui.form.render();
reloadTable(1);
}
@ -44,7 +43,6 @@ function reloadTable(pageNum) {
where: {
encryptedData: JSON.stringify({
'keyWord': $('#keyWord').val(),
'status': $('#status').val(),
'id': objParam.id,
}),
},
@ -65,7 +63,6 @@ function initTable() {
where: {
encryptedData: JSON.stringify({
'keyWord': $('#keyWord').val(),
'status': $('#status').val(),
'id': objParam.id,
}),
},
@ -107,7 +104,7 @@ function initTable() {
},
{
field: "supName",
width: '15%',
width: '25%',
title: "供应商名称",
unresize: true,
align: "center",
@ -145,23 +142,6 @@ function initTable() {
return ' ¥ ' + (d.money ? d.money : 0);
},
},
{
field: "status",
width: '10%',
title: "已付金额",
unresize: true,
align: "center",
sort:true,
templet: function (d) {
let payMoney = d.payMoney || 0;
if (d.status === '已付') {
return ' ¥ ' + payMoney;
} else {
return '<p style="color:#f56c6c;">待付</p>';
}
},
},
{
field: "proName",
width: '15%',
@ -197,7 +177,6 @@ function initTable() {
function exportExcel() {
let params = {
'keyWord': $('#keyWord').val(),
'status': $('#status').val(),
'id': objParam.id
}
let url = dataUrl + "backstage/carBalance/export2";

View File

@ -32,15 +32,6 @@
class="layui-input" lay-affix="clear" placeholder="输入关键字" maxlength="30">
</div>
</div>
<div class="layui-inline">
<div class="layui-input-inline">
<select id="status">
<option value="">请选择付款状态</option>
<option value="0">待付</option>
<option value="1">已付</option>
</select>
</div>
</div>
<div class="layui-inline">
<button class="layui-btn layui-bg-blue" onclick="queryTable(1)"><i
class="layui-icon"></i> 搜 索</button>