|
|
@ -1857,6 +1857,7 @@ Ext.extend(Shipping.MsOpSeaeIndex, Ext.Panel, {
|
|
|
|
|
|
|
|
|
|
|
|
//单证
|
|
|
|
//单证
|
|
|
|
this.comboxDoc = Ext.create('DsExt.ux.RefTableCombox', {
|
|
|
|
this.comboxDoc = Ext.create('DsExt.ux.RefTableCombox', {
|
|
|
|
|
|
|
|
hidden:true,
|
|
|
|
fieldLabel: Zi.LAN.DOC, //'单证 单 证',
|
|
|
|
fieldLabel: Zi.LAN.DOC, //'单证 单 证',
|
|
|
|
store: this.storeDoc,
|
|
|
|
store: this.storeDoc,
|
|
|
|
forceSelection: true,
|
|
|
|
forceSelection: true,
|
|
|
@ -1984,6 +1985,8 @@ Ext.extend(Shipping.MsOpSeaeIndex, Ext.Panel, {
|
|
|
|
proxy: { url: '/CommMng/BasicDataRef/GetCodeLoadportListRm' }
|
|
|
|
proxy: { url: '/CommMng/BasicDataRef/GetCodeLoadportListRm' }
|
|
|
|
});
|
|
|
|
});
|
|
|
|
this.comboxPORTLOAD = Ext.create('DsExt.ux.RefTableCombox', {
|
|
|
|
this.comboxPORTLOAD = Ext.create('DsExt.ux.RefTableCombox', {
|
|
|
|
|
|
|
|
hidden: true,
|
|
|
|
|
|
|
|
flex: 1,
|
|
|
|
fieldLabel: Zi.LAN.PORTLOAD, //'装货港',
|
|
|
|
fieldLabel: Zi.LAN.PORTLOAD, //'装货港',
|
|
|
|
store: this.storeCodeLoadport,
|
|
|
|
store: this.storeCodeLoadport,
|
|
|
|
name: 'PORTLOAD',
|
|
|
|
name: 'PORTLOAD',
|
|
|
@ -2124,6 +2127,7 @@ Ext.extend(Shipping.MsOpSeaeIndex, Ext.Panel, {
|
|
|
|
|
|
|
|
|
|
|
|
this.storeISEI = GetPublicStore('ISEI');
|
|
|
|
this.storeISEI = GetPublicStore('ISEI');
|
|
|
|
this.comboxISEI = Ext.create('DsExt.ux.RefTableCombox', {
|
|
|
|
this.comboxISEI = Ext.create('DsExt.ux.RefTableCombox', {
|
|
|
|
|
|
|
|
hidden:true,
|
|
|
|
fieldLabel: Zi.LAN.ISEI, //'委托分公司',
|
|
|
|
fieldLabel: Zi.LAN.ISEI, //'委托分公司',
|
|
|
|
store: this.storeISEI,
|
|
|
|
store: this.storeISEI,
|
|
|
|
forceSelection: true,
|
|
|
|
forceSelection: true,
|
|
|
@ -2305,15 +2309,50 @@ Ext.extend(Shipping.MsOpSeaeIndex, Ext.Panel, {
|
|
|
|
defaultType: 'textfield',
|
|
|
|
defaultType: 'textfield',
|
|
|
|
items: [
|
|
|
|
items: [
|
|
|
|
|
|
|
|
|
|
|
|
this.comboxISEI,
|
|
|
|
this.comboxISEI,//hidden 1.2
|
|
|
|
this.comboxPORTLOAD,
|
|
|
|
this.comboxPORTLOAD,//1
|
|
|
|
this.comboxDoc,
|
|
|
|
this.comboxDoc,//0.8
|
|
|
|
//this.comboxISCANCEL,
|
|
|
|
//this.comboxISCANCEL,
|
|
|
|
|
|
|
|
//{
|
|
|
|
|
|
|
|
// xtype: 'hiddenfield',
|
|
|
|
|
|
|
|
// flex: 1.9,
|
|
|
|
|
|
|
|
// scope: this
|
|
|
|
|
|
|
|
//}
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
fieldLabel: '箱号', //'编号',
|
|
|
|
|
|
|
|
name: 'CNTRNO',
|
|
|
|
|
|
|
|
labelWidth: 30,
|
|
|
|
|
|
|
|
flex: 0.6,
|
|
|
|
|
|
|
|
enableKeyEvents: true,
|
|
|
|
|
|
|
|
listeners: {
|
|
|
|
|
|
|
|
specialkey: function (field, e) {
|
|
|
|
|
|
|
|
if (e.getKey() == e.ENTER) {
|
|
|
|
|
|
|
|
_this.onRefreshClick();
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
xtype: 'hiddenfield',
|
|
|
|
xtype: 'hiddenfield',
|
|
|
|
flex: 1.9,
|
|
|
|
flex: 1,
|
|
|
|
scope: this
|
|
|
|
scope: this
|
|
|
|
}, {
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
xtype: 'hiddenfield',
|
|
|
|
|
|
|
|
flex: 1,
|
|
|
|
|
|
|
|
scope: this
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
xtype: 'hiddenfield',
|
|
|
|
|
|
|
|
flex: 1,
|
|
|
|
|
|
|
|
scope: this
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
xtype: 'hiddenfield',
|
|
|
|
|
|
|
|
flex: 1.3,
|
|
|
|
|
|
|
|
scope: this
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
xtype: 'hidden',
|
|
|
|
xtype: 'hidden',
|
|
|
|
flex: 0.4,
|
|
|
|
flex: 0.4,
|
|
|
|
scope: this
|
|
|
|
scope: this
|
|
|
@ -3466,7 +3505,7 @@ Ext.extend(Shipping.MsOpSeaeIndex, Ext.Panel, {
|
|
|
|
this.panelTop = new Ext.Panel({
|
|
|
|
this.panelTop = new Ext.Panel({
|
|
|
|
layout: "border",
|
|
|
|
layout: "border",
|
|
|
|
region: "north",
|
|
|
|
region: "north",
|
|
|
|
height: 96,
|
|
|
|
height: 123,
|
|
|
|
items: [this.panelBtn, this.formSearch]
|
|
|
|
items: [this.panelBtn, this.formSearch]
|
|
|
|
});
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
@ -9064,6 +9103,11 @@ Ext.extend(Shipping.MsOpSeaeIndex, Ext.Panel, {
|
|
|
|
var ISEI = form.findField('ISEI').getValue();
|
|
|
|
var ISEI = form.findField('ISEI').getValue();
|
|
|
|
sql = sql + getAndConSql(sql, ISEI, "ISEI = '" + ISEI + "'");
|
|
|
|
sql = sql + getAndConSql(sql, ISEI, "ISEI = '" + ISEI + "'");
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
var CNTRNO = form.findField('CNTRNO').getValue();
|
|
|
|
|
|
|
|
sql = sql + getAndConSql(sql, CNTRNO, "exists(select 1 from op_ctn where bsno=B.bsno and cntrno like '%" + CNTRNO + "')");
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//var ISCANCEL = form.findField('ISCANCEL').getValue();
|
|
|
|
//var ISCANCEL = form.findField('ISCANCEL').getValue();
|
|
|
|
//if (ISCANCEL) {
|
|
|
|
//if (ISCANCEL) {
|
|
|
|
// if (ISCANCEL == "-1") {
|
|
|
|
// if (ISCANCEL == "-1") {
|
|
|
|