Commit 8b3d92c0 by liuyang

2024-07-30

1、修复供应商管理开户行账号不要默认带出上次保存的账号bug
2、修复供应商管理开户行账号有维护但列表没有显示bug
parent e365e21e
......@@ -90,7 +90,6 @@ public class ServiceHGPZ003 extends ServiceBase {
this.modify(hgpz003);
}
}
inInfo = this.query(inInfo);
inInfo.setStatus(EiConstant.STATUS_DEFAULT);
inInfo.setMsg("操作成功!本次对[" + resultRows.size() + "]条数据保存成功!");
} catch (Exception e) {
......
......@@ -103,6 +103,7 @@ let cancel = function(){
$("#inqu_data-1-address").val('');
$("#inqu_data-1-openBankName").val('');
$("#inqu_data-1-openBankCode").val('');
$("#inqu_data-1-accountNum").val('');
$("#inqu_data-1-assLevel").val('');
$("#inqu_data-1-score").val('');
$("#inqu_data-1-taxCode").val('');
......@@ -111,7 +112,7 @@ let cancel = function(){
$("#updateGroup").data("kendoWindow").close();
}
/**
* 上传文件
* 保存
*/
let submit = function () {
let id = $("#inqu_data-1-id").val();
......@@ -124,6 +125,7 @@ let submit = function () {
let address = $("#inqu_data-1-address").val();
let openBankName = $("#inqu_data-1-openBankName").val();
let openBankCode = $("#inqu_data-1-openBankCode").val();
let accountNum = $("#inqu_data-1-accountNum").val();
let assLevel = $("#inqu_data-1-assLevel").val();
let score = $("#inqu_data-1-score").val();
let status = $("#inqu_data-1-status").val();
......@@ -159,6 +161,7 @@ let submit = function () {
ei.set("result-0-address", address);
ei.set("result-0-openBankName", openBankName);
ei.set("result-0-openBankCode", openBankCode);
ei.set("result-0-accountNum", accountNum);
ei.set("result-0-assLevel", assLevel);
ei.set("result-0-score", score);
ei.set("result-0-status", status);
......@@ -166,13 +169,18 @@ let submit = function () {
// 调用请求 onSuccess 成功回掉函数
EiCommunicator.send("HGPZ003", "save", ei, {
onSuccess: function (ei) {
if (ei.getStatus() >= 0){
NotificationUtil(ei.getMsg(), "success");
$("#updateGroup").data("kendoWindow").close();
// 清除上传队列
resultGrid.dataSource.page(1);
}else if (ei.getStatus() === -1){
NotificationUtil(ei.getMsg(), "error");
}
// onFail 表示失败回掉函数
}, onFail: function (ei) {
// 发生异常
NotificationUtil(ei);
NotificationUtil(ei, "error");
}
});
}
......@@ -193,10 +201,11 @@ function add(id) {
$("#inqu_data-1-address").val('');
$("#inqu_data-1-openBankName").val('');
$("#inqu_data-1-openBankCode").val('');
$("#inqu_data-1-accountNum").val('');
$("#inqu_data-1-assLevel").val('');
$("#inqu_data-1-score").val('');
$("#inqu_data-1-taxCode").val('');
IPLAT.EFSelect.value($("#inqu_data-1-status"), '');
IPLAT.EFSelect.value($("#inqu_data-1-status"), '1');
id.data("kendoWindow").open().center();
}
......@@ -222,6 +231,7 @@ function update(id) {
$("#inqu_data-1-address").val(rows[0]["address"]);
$("#inqu_data-1-openBankName").val(rows[0]["openBankName"]);
$("#inqu_data-1-openBankCode").val(rows[0]["openBankCode"]);
$("#inqu_data-1-accountNum").val(rows[0]["accountNum"]);
$("#inqu_data-1-assLevel").val(rows[0]["assLevel"]);
$("#inqu_data-1-score").val(rows[0]["score"]);
$("#inqu_data-1-taxCode").val(rows[0]["taxCode"]);
......
......@@ -39,9 +39,9 @@
enable="false"/>
<EF:EFColumn cname="开户行全称" ename="openBankName" align="center" width="200" readonly="true"
enable="false"/>
<EF:EFColumn cname="开户行账号" ename="accountNum" align="center" width="120" readonly="true"
<EF:EFColumn cname="开户行账号" ename="openBankCode" align="center" width="120" readonly="true"
enable="false"/>
<EF:EFColumn cname="银行行号" ename="openBankCode" align="center" width="120" readonly="true"
<EF:EFColumn cname="银行行号" ename="accountNum" align="center" width="120" readonly="true"
enable="false"/>
<EF:EFColumn cname="税号" ename="taxCode" align="center" width="120" readonly="true"
enable="false"/>
......@@ -105,11 +105,11 @@
</div>
<div class="row">
<EF:EFInput blockId="inqu_data" row="1" ename="accountNum" colWidth="6" cname="开户行账号"/>
<EF:EFInput blockId="inqu_data" row="1" ename="openBankCode" colWidth="6" cname="开户行账号"/>
</div>
<div class="row">
<EF:EFInput blockId="inqu_data" row="1" ename="openBankCode" colWidth="6" cname="银行行号"/>
<EF:EFInput blockId="inqu_data" row="1" ename="accountNum" colWidth="6" cname="银行行号"/>
</div>
<div class="row">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment