JinHanShengHang
hanxuntao 3 months ago
parent 3dd2729450
commit 5da1d1d048

@ -39344,7 +39344,9 @@ namespace DSWeb.MvcShipping.DAL.MsOpSeaeEdiPortDAL
if (bill.CARGOID == "D") if (bill.CARGOID == "D")
{ {
var tempset = bill.TEMPSET.Replace("+", ""); var tempset = "";
var flashtmp = "";
tempset = bill.TEMPSET.Replace("+", "");
if (tempset != "") if (tempset != "")
{ {
var fuhao = ""; var fuhao = "";
@ -39361,14 +39363,15 @@ namespace DSWeb.MvcShipping.DAL.MsOpSeaeEdiPortDAL
} }
} }
tempset = fuhao + tempset; tempset = fuhao + tempset;
if (bill.TEMPID == "C") flashtmp = "CEL";
if (bill.TEMPID == "F") flashtmp = "FAH";
} }
else else
{ {
tempset = "000"; tempset = "";
} }
var flashtmp = "";
if (bill.TEMPID == "C") flashtmp = "CEL";
if (bill.TEMPID == "F") flashtmp = "FAH";
r.WriteLine("DGS+IMD+" + bill.DCLASS + ":" + bill.DPAGE + "+" + bill.DUNNO + "+" + tempset + ":" + flashtmp + "+" + bill.TEMPMAX + "'"); r.WriteLine("DGS+IMD+" + bill.DCLASS + ":" + bill.DPAGE + "+" + bill.DUNNO + "+" + tempset + ":" + flashtmp + "+" + bill.TEMPMAX + "'");
icount = icount + 1; icount = icount + 1;

@ -48,7 +48,22 @@ Ext.extend(Shipping.MsInfoClientRang, Ext.Panel, {
//#region List列表显示信息 //#region List列表显示信息
this.Pagenum = Ext.create('Ext.form.field.Number', {
name: 'bottles',
fieldLabel: Zi.LAN.PageSize,
labelAlign: 'right',
value: this.PageSize,
maxValue: 100000,
width: 180,
minValue: 0,
listeners: {
specialkey: function (field, e) {
if (e.getKey() == e.ENTER) {
_this.onRefreshClick();
}
}
}
});
Ext.grid.RowNumberer = Ext.extend(Ext.grid.RowNumberer, { Ext.grid.RowNumberer = Ext.extend(Ext.grid.RowNumberer, {
width: 30 width: 30
@ -222,12 +237,12 @@ Ext.extend(Shipping.MsInfoClientRang, Ext.Panel, {
}, },
columns: this.girdcolums, columns: this.girdcolums,
// paging bar on the bottom // paging bar on the bottom
bbar: Ext.create('Ext.PagingToolbar', { bbar: [Ext.create('Ext.PagingToolbar', {
store: this.storeList, store: this.storeList,
displayMsg: Zi.LAN.displayMsg, //'当前显示 {0} - {1}条记录 /共 {2}条记录', displayMsg: Zi.LAN.displayMsg, //'当前显示 {0} - {1}条记录 /共 {2}条记录',
emptyMsg: Zi.LAN.emptyMsg, //"没有数据" emptyMsg: Zi.LAN.emptyMsg, //"没有数据"
displayInfo: true displayInfo: true
}) }), this.Pagenum]
}); });
/////////////以下部分为获取存储的gridpanel显示样式 /////////////以下部分为获取存储的gridpanel显示样式
@ -726,6 +741,8 @@ Ext.extend(Shipping.MsInfoClientRang, Ext.Panel, {
onRefreshClick: function (button, event) { onRefreshClick: function (button, event) {
//var girdcolums = this.gridList.getColumnMode(); //var girdcolums = this.gridList.getColumnMode();
var sql = this.getCondition(); var sql = this.getCondition();
this.PageSize = this.Pagenum.getValue();
this.storeList.currentPage = 1;
this.sqlcontext = sql; this.sqlcontext = sql;
this.storeList.load({ this.storeList.load({
params: { start: 0, limit: this.PageSize, sort: '', condition: sql }, params: { start: 0, limit: this.PageSize, sort: '', condition: sql },
@ -738,6 +755,8 @@ Ext.extend(Shipping.MsInfoClientRang, Ext.Panel, {
onDsQuery: function () { onDsQuery: function () {
//var girdcolums = this.gridList.getColumnMode(); //var girdcolums = this.gridList.getColumnMode();
var sql = this.sqlcontext; var sql = this.sqlcontext;
this.PageSize = this.Pagenum.getValue();
this.storeList.currentPage = 1;
this.storeList.load({ this.storeList.load({
params: { start: 0, limit: this.PageSize, sort: '', condition: sql }, params: { start: 0, limit: this.PageSize, sort: '', condition: sql },
waitMsg: Zi.LAN.ZhengZaiChaXunShuJu, waitMsg: Zi.LAN.ZhengZaiChaXunShuJu,

@ -2699,8 +2699,11 @@ Ext.extend(DsTruck.MsPcEditIndex, Ext.Panel, {
var mblNo = form.findField('PS_MBLNO').getValue(); var mblNo = form.findField('PS_MBLNO').getValue();
sql = sql + getAndConSql(sql, mblNo, " (MblNo like '%" + mblNo + "%' or MBLNOse like '%" + mblNo + "%') "); sql = sql + getAndConSql(sql, mblNo, " (MblNo like '%" + mblNo + "%' or MBLNOse like '%" + mblNo + "%') ");
var TruckNo = form.findField('TruckNo').getValue();
sql = sql + getAndConSql(sql, TruckNo, " (TruckNo like '%" + TruckNo + "%' or WmsTruckNo like '%" + TruckNo + "%' or FrTruckNo like '%" + TruckNo + "%') ");
var drvName = form.findField('PS_DRVNAME').getValue(); var drvName = form.findField('PS_DRVNAME').getValue();
sql = sql + getAndConSql(sql, drvName, " (DrvName like '%" + drvName + "%' or DrvCode ='" + drvName + "') "); sql = sql + getAndConSql(sql, drvName, " (DrvName like '%" + drvName + "%' or DrvCode ='" + drvName + "' or WmsDrvName ='" + drvName + "' or FrDrvName ='" + drvName + "') ");
var DstArea = form.findField('FactoryAddrSe').getValue(); var DstArea = form.findField('FactoryAddrSe').getValue();
sql = sql + getAndConSql(sql, DstArea, " (FactoryAddrSe like '%" + DstArea + "%' ) "); sql = sql + getAndConSql(sql, DstArea, " (FactoryAddrSe like '%" + DstArea + "%' ) ");

@ -2706,11 +2706,16 @@ Ext.extend(DsTruck.MsPcEditIndex, Ext.Panel, {
sql = Ext.JSON.encode(sqldata); sql = Ext.JSON.encode(sqldata);
*/ */
var TruckNo = form.findField('TruckNo').getValue();
sql = sql + getAndConSql(sql, TruckNo, " (TruckNo like '%" + TruckNo + "%' or WmsTruckNo like '%" + TruckNo + "%' or FrTruckNo like '%" + TruckNo + "%') ");
var mblNo = form.findField('PS_MBLNO').getValue(); var mblNo = form.findField('PS_MBLNO').getValue();
sql = sql + getAndConSql(sql, mblNo, " (MblNo like '%" + mblNo + "%' or MBLNOse like '%" + mblNo + "%') "); sql = sql + getAndConSql(sql, mblNo, " (MblNo like '%" + mblNo + "%' or MBLNOse like '%" + mblNo + "%') ");
var drvName = form.findField('PS_DRVNAME').getValue(); var drvName = form.findField('PS_DRVNAME').getValue();
sql = sql + getAndConSql(sql, drvName, " (DrvName like '%" + drvName + "%' or DrvCode ='" + drvName + "') "); sql = sql + getAndConSql(sql, drvName, " (DrvName like '%" + drvName + "%' or DrvCode ='" + drvName + "' or WmsDrvName ='" + drvName + "' or FrDrvName ='" + drvName + "') ");
var DstArea = form.findField('FactoryAddrSe').getValue(); var DstArea = form.findField('FactoryAddrSe').getValue();
sql = sql + getAndConSql(sql, DstArea, " (FactoryAddrSe like '%" + DstArea + "%' ) "); sql = sql + getAndConSql(sql, DstArea, " (FactoryAddrSe like '%" + DstArea + "%' ) ");

Loading…
Cancel
Save