|
|
@ -4789,11 +4789,11 @@ Ext.extend(Shipping.MsOpSeaiEdit, Ext.Panel, {
|
|
|
|
|
|
|
|
|
|
|
|
var condition = "";
|
|
|
|
var condition = "";
|
|
|
|
if (MBLNO && CUSTOMNO) {
|
|
|
|
if (MBLNO && CUSTOMNO) {
|
|
|
|
condition = "(MBLNO='" + MBLNO + "' or CUSTOMNO='" + CUSTOMNO + "')";
|
|
|
|
condition = "( (isnull(MBLNO,'')<>'' and MBLNO='" + MBLNO + "') and (isnull(CUSTOMNO,'')<>'' and CUSTOMNO='" + CUSTOMNO + "'))";
|
|
|
|
} else if (CUSTOMNO) {
|
|
|
|
} else if (CUSTOMNO) {
|
|
|
|
condition = "( CUSTOMNO='" + CUSTOMNO + "')";
|
|
|
|
condition = "(isnull(CUSTOMNO,'')<>'' and CUSTOMNO='" + CUSTOMNO + "'))";
|
|
|
|
} else if (MBLNO) {
|
|
|
|
} else if (MBLNO) {
|
|
|
|
condition = "( MBLNO='" + MBLNO + "')";
|
|
|
|
condition = "(isnull(MBLNO,'')<>'' and MBLNO='" + MBLNO + "')";
|
|
|
|
} else return;
|
|
|
|
} else return;
|
|
|
|
|
|
|
|
|
|
|
|
Ext.Ajax.request({
|
|
|
|
Ext.Ajax.request({
|
|
|
|