|
|
|
@ -54,6 +54,8 @@ Ext.extend(DsTruck.MsPcHYRDEdit, Ext.Panel, {
|
|
|
|
|
{ name: 'EndPortDate', type: 'string'},
|
|
|
|
|
{ name: 'EtDate', type: 'string' },
|
|
|
|
|
{ name: 'VoyVeg', type: 'string' },
|
|
|
|
|
{ name: 'VoyVegSe', type: 'string' },
|
|
|
|
|
{ name: 'EtDateSe', type: 'string' },
|
|
|
|
|
{ name: 'ArriveDate', type: 'string' },
|
|
|
|
|
{ name: 'ReturnDate', type: 'string' },
|
|
|
|
|
{ name: 'CustomerName', type: 'string' },
|
|
|
|
@ -1859,7 +1861,7 @@ Ext.extend(DsTruck.MsPcHYRDEdit, Ext.Panel, {
|
|
|
|
|
this.formEdit.getForm().findField('EndPortDate').setValue(this.editRecord.get('EndPortDate'));
|
|
|
|
|
this.formEdit.getForm().findField('EtDate').setValue(this.editRecord.get('EtDate'));
|
|
|
|
|
this.formEdit.getForm().findField('MblNoSe').setValue(this.editRecord.get('MblNoSe'));
|
|
|
|
|
this.formEdit.getForm().findField('ContainerQty').setValue(this.editRecord.get('ContainerQty'));
|
|
|
|
|
this.formEdit.getForm().findField('ContainerQty').setValue(1);
|
|
|
|
|
this.formEdit.getForm().findField('GoodsName').setValue(this.editRecord.get('GoodsName'));
|
|
|
|
|
this.formEdit.getForm().findField('ContainerNoSe').setValue(this.editRecord.get('ContainerNoSe'));
|
|
|
|
|
this.formEdit.getForm().findField('ContainerNo').setValue(this.editRecord.get('ContainerNo'));
|
|
|
|
@ -1885,6 +1887,7 @@ Ext.extend(DsTruck.MsPcHYRDEdit, Ext.Panel, {
|
|
|
|
|
this.formEdit.getForm().findField('DstAreaSe').setValue(this.editRecord.get('DstAreaSe'));
|
|
|
|
|
/* this.formEdit.getForm().findField('SealNoSe').setValue(this.editRecord.get('SealNoSe'));*/
|
|
|
|
|
this.formEdit.getForm().findField('ContainerTypeSe').setValue(this.editRecord.get('ContainerTypeSe'));
|
|
|
|
|
this.formEdit.getForm().findField('ContainerType').setValue(this.editRecord.get('ContainerType'));
|
|
|
|
|
this.formEdit.getForm().findField('Remark').setValue(this.editRecord.get('Remark'));
|
|
|
|
|
this.formEdit.getForm().findField('FactoryAddrSe').setValue(this.editRecord.get('FactoryAddrSe'));
|
|
|
|
|
}
|
|
|
|
@ -2060,7 +2063,7 @@ Ext.extend(DsTruck.MsPcHYRDEdit, Ext.Panel, {
|
|
|
|
|
this.formEdit.getForm().findField('EndPortDate').setValue(this.editRecord.get('EndPortDate'));
|
|
|
|
|
this.formEdit.getForm().findField('EtDate').setValue(this.editRecord.get('EtDate'));
|
|
|
|
|
this.formEdit.getForm().findField('MblNoSe').setValue(this.editRecord.get('MblNoSe'));
|
|
|
|
|
this.formEdit.getForm().findField('ContainerQty').setValue(this.editRecord.get('ContainerQty'));
|
|
|
|
|
this.formEdit.getForm().findField('ContainerQty').setValue(1);
|
|
|
|
|
this.formEdit.getForm().findField('GoodsName').setValue(this.editRecord.get('GoodsName'));
|
|
|
|
|
this.formEdit.getForm().findField('ContainerNoSe').setValue(this.editRecord.get('ContainerNoSe'));
|
|
|
|
|
this.formEdit.getForm().findField('ContainerNo').setValue(this.editRecord.get('ContainerNo'));
|
|
|
|
@ -2086,6 +2089,7 @@ Ext.extend(DsTruck.MsPcHYRDEdit, Ext.Panel, {
|
|
|
|
|
this.formEdit.getForm().findField('DstAreaSe').setValue(this.editRecord.get('DstAreaSe'));
|
|
|
|
|
/* this.formEdit.getForm().findField('SealNoSe').setValue(this.editRecord.get('SealNoSe'));*/
|
|
|
|
|
this.formEdit.getForm().findField('ContainerTypeSe').setValue(this.editRecord.get('ContainerTypeSe'));
|
|
|
|
|
this.formEdit.getForm().findField('ContainerType').setValue(this.editRecord.get('ContainerType'));
|
|
|
|
|
this.formEdit.getForm().findField('Remark').setValue(this.editRecord.get('Remark'));
|
|
|
|
|
this.formEdit.getForm().findField('FactoryAddrSe').setValue(this.editRecord.get('FactoryAddrSe'));
|
|
|
|
|
}
|
|
|
|
@ -2538,12 +2542,12 @@ Ext.extend(DsTruck.MsPcHYRDEdit, Ext.Panel, {
|
|
|
|
|
TIXIANGSHIJIAN = Ext.util.Format.date(TIXIANGSHIJIAN, 'Y-m-d');
|
|
|
|
|
member.data.TIXIANGSHIJIAN = TIXIANGSHIJIAN;
|
|
|
|
|
if (member.data.TAREWEIGHT == '') member.data.TAREWEIGHT = '0';
|
|
|
|
|
if (cntrnostr!=''&&cntrnostr.indexOf(member.data.CNTRNO)>0)
|
|
|
|
|
if (cntrnostr == '' ||cntrnostr.indexOf(member.data.CNTRNO)<0) {
|
|
|
|
|
bodydatas.push(member);
|
|
|
|
|
|
|
|
|
|
cntrnostr = cntrnostr + ' ' + member.data.CNTRNO;
|
|
|
|
|
sealnostr = sealnostr + ' ' + member.data.SEALNO;
|
|
|
|
|
pkgsstr = pkgsstr + ' ' + member.data.PKGS + '/' + member.data.KGS + '/' + member.data.CBM;
|
|
|
|
|
cntrnostr = cntrnostr + ' ' + member.data.CNTRNO;
|
|
|
|
|
sealnostr = sealnostr + ' ' + member.data.SEALNO;
|
|
|
|
|
pkgsstr = pkgsstr + ' ' + member.data.PKGS + '/' + member.data.KGS + '/' + member.data.CBM;
|
|
|
|
|
}
|
|
|
|
|
var tixiangshijian = member.data.TiXiangShiJian;
|
|
|
|
|
if (tixiangshijian != '')
|
|
|
|
|
tixiangshijian = Ext.util.Format.date(tixiangshijian, 'Y-m-d');
|
|
|
|
|