从应收应付费用生成收费申请后清空收费申请下方的查询结果

DS7Zhanhao
ddlucky 2 years ago
parent 726752d29e
commit 86a3ad7d52

@ -2834,6 +2834,8 @@ Ext.extend(Shipping.MsChRecvapplicationBLEdit, Ext.Panel, {
}, this); }, this);
this.editRecord.commit(); this.editRecord.commit();
this.onClearClick();
} else { } else {
Ext.MessageBox.alert('请求出现错误,请重试', response.responseText); Ext.MessageBox.alert('请求出现错误,请重试', response.responseText);
} }
@ -3206,6 +3208,14 @@ Ext.extend(Shipping.MsChRecvapplicationBLEdit, Ext.Panel, {
this.storeBodyAddList.load({ params: { start: 0, limit: this.PageSize, sort: '', condition: sql} }); this.storeBodyAddList.load({ params: { start: 0, limit: this.PageSize, sort: '', condition: sql} });
}, },
//用于在费用列表生成收费申请后 清空下方的业务明细和费用明细
onClearClick: function (button, event) {
if (this.bsnosql) {
this.storeBodyAddList.removeAll();
this.storeAddFeeList.removeAll();
}
},
onDsQuery: function (button, event) { onDsQuery: function (button, event) {
var sql = this.sqlcontext; var sql = this.sqlcontext;
this.PageSize = this.Pagenum.getValue(); this.PageSize = this.Pagenum.getValue();

@ -252,6 +252,32 @@ function FilterCombox(e, limit = 1) {
} }
} }
//写在combox的按键事件中 形如:
// specialkey: function (combo, e) {
// //将回车13转义成tab9
// GetComboxFirstValueOnTableClick(combo, e);
// }
//用于在点击回车或table键跳转至下一输入框时在combox当中取目前第一条选项作为值
function GetComboxFirstValueOnTableClick(combo, e) {
//var combo = e.combo;
if (e.getKey() == e.ENTER) {
e.keyCode = 9;
}
if (e.keyCode == 9) {
//将combo
//alert(field.value);
if (combo.value == null) {
_name = combo.store.data.keys[0];
combo.setValue(_name);
} else {
if (combo.value.replace(/\s*/g, "") == "") {
_name = combo.store.data.keys[0];
combo.setValue(_name);
}
}
}
}
//获取目前表最大的Serialno //获取目前表最大的Serialno
function DsGetCurSerialNo(store,serialno) { function DsGetCurSerialNo(store,serialno) {
var result = serialno; var result = serialno;

Loading…
Cancel
Save