'快递业务和舱单业务完成20221115'

DS7_JingHan
ddlucky 2 years ago
parent 58ec0e9a90
commit 1cd010ddfe

@ -1248,7 +1248,7 @@ Ext.extend(Shipping.MsOpOtherIndex, Ext.Panel, {
this.InitGrid(this.girdcolums); this.InitGrid(this.girdcolums);
var myDate = new Date(); var myDate = new Date();
var mydatestr = Ext.util.Format.date(myDate, 'Y-m'); var mydatestr = Ext.util.Format.date(myDate, 'Y-m');
this.sqlcontext = " op_other.ACCDATE='" + mydatestr + "'"; this.sqlcontext = " op_other.OPLBNAME <> '快递业务' and op_other.OPLBNAME <> '舱单申报' and op_other.ACCDATE='" + mydatestr + "'";
this.storeList.load({ this.storeList.load({
params: { start: 0, limit: this.PageSize, sort: '', condition: _this.sqlcontext }, params: { start: 0, limit: this.PageSize, sort: '', condition: _this.sqlcontext },
@ -1770,7 +1770,7 @@ Ext.extend(Shipping.MsOpOtherIndex, Ext.Panel, {
return ''; return '';
} }
var sql = ''; var sql = " op_other.OPLBNAME <> '快递业务' and op_other.OPLBNAME <> '舱单申报' ";
var MBLNO = form.findField('MBLNO').getValue(); var MBLNO = form.findField('MBLNO').getValue();
sql = sql + getAndConSql(sql, MBLNO, "MBLNO like '%" + MBLNO + "%'"); sql = sql + getAndConSql(sql, MBLNO, "MBLNO like '%" + MBLNO + "%'");

@ -1248,7 +1248,7 @@ Ext.extend(Shipping.MsOpOtherIndex, Ext.Panel, {
this.InitGrid(this.girdcolums); this.InitGrid(this.girdcolums);
var myDate = new Date(); var myDate = new Date();
var mydatestr = Ext.util.Format.date(myDate, 'Y-m'); var mydatestr = Ext.util.Format.date(myDate, 'Y-m');
this.sqlcontext = " op_other.ACCDATE='" + mydatestr + "'"; this.sqlcontext = " op_other.OPLBNAME='舱单申报' and op_other.ACCDATE='" + mydatestr + "' ";
this.storeList.load({ this.storeList.load({
params: { start: 0, limit: this.PageSize, sort: '', condition: _this.sqlcontext }, params: { start: 0, limit: this.PageSize, sort: '', condition: _this.sqlcontext },

@ -438,6 +438,10 @@ Ext.extend(Shipping.MsOpOtherEdit, Ext.Panel, {
fieldLabel: '业务编号', fieldLabel: '业务编号',
name: 'BSNO', hidden: true name: 'BSNO', hidden: true
}, { }, {
fieldLabel: 'OPLBNAME',
name: 'OPLBNAME', hidden: true
},
{
fieldLabel: '业务状态', fieldLabel: '业务状态',
readOnly: true, readOnly: true,
name: 'BSSTATUSREF', name: 'BSSTATUSREF',
@ -1873,7 +1877,7 @@ Ext.extend(Shipping.MsOpOtherEdit, Ext.Panel, {
}); });
this.GetEditStatus(); this.GetEditStatus();
this.formHead.getForm().findField("OPLBNAME").setValue("快递业务");
}, },
LoadMustBe: function () { LoadMustBe: function () {

@ -1248,7 +1248,7 @@ Ext.extend(Shipping.MsOpOtherIndex, Ext.Panel, {
this.InitGrid(this.girdcolums); this.InitGrid(this.girdcolums);
var myDate = new Date(); var myDate = new Date();
var mydatestr = Ext.util.Format.date(myDate, 'Y-m'); var mydatestr = Ext.util.Format.date(myDate, 'Y-m');
this.sqlcontext = " op_other.ACCDATE='" + mydatestr + "'"; this.sqlcontext = " op_other.OPLBNAME='快递业务' and op_other.ACCDATE='" + mydatestr + "'";
this.storeList.load({ this.storeList.load({
params: { start: 0, limit: this.PageSize, sort: '', condition: _this.sqlcontext }, params: { start: 0, limit: this.PageSize, sort: '', condition: _this.sqlcontext },
@ -1770,7 +1770,7 @@ Ext.extend(Shipping.MsOpOtherIndex, Ext.Panel, {
return ''; return '';
} }
var sql = ''; var sql = " op_other.OPLBNAME = '快递业务' ";
var MBLNO = form.findField('MBLNO').getValue(); var MBLNO = form.findField('MBLNO').getValue();
sql = sql + getAndConSql(sql, MBLNO, "MBLNO like '%" + MBLNO + "%'"); sql = sql + getAndConSql(sql, MBLNO, "MBLNO like '%" + MBLNO + "%'");

Loading…
Cancel
Save