DS7_JingHan
hanxuntao 2 years ago
parent 9208e00f86
commit 8ff90f3bb0

@ -13931,8 +13931,7 @@ namespace DSWeb.MvcShipping.DAL.MsOpSeaeEdiPortDAL
foreach (var bill in headData) foreach (var bill in headData)
{ {
//if (filetype != "B") //if (filetype != "B")
if (bill.MBLNO == null || bill.MBLNO == "")
{ error = error + "<br />主提单号不能为空"; }
if (bill.ORDERNO== null || bill.ORDERNO == "") if (bill.ORDERNO== null || bill.ORDERNO == "")
{ error = error + "<br />订舱编号不能为空"; } { error = error + "<br />订舱编号不能为空"; }

@ -153,13 +153,19 @@ Ext.extend(Shipping.FeeEditGrid, Ext.Panel, {
store: this.storeFeeNameRef, store: this.storeFeeNameRef,
minChars: 1, minChars: 1,
matchFieldWidth: false, matchFieldWidth: false,
//queryParam: 'Name', queryMode: 'remote',
queryParam: 'Name',
forceSelection: true, forceSelection: true,
lazyRender: false, lazyRender: false,
name: 'FeeName', name: 'FeeName',
valueField: 'Name', valueField: 'Name',
displayField: 'CodeAndName', displayField: 'CodeAndName',
listeners: { listeners: {
beforequery: function (e) {
var port = _thisfee.comboxFeeNameRef.rawValue;
if (port != '')
e.query = port;
},
'focus': function (_this, eOpts) { 'focus': function (_this, eOpts) {
//var selections = _thisfee.gridDrChFee.getSelectionModel().getSelection(); //获得选中的项 //var selections = _thisfee.gridDrChFee.getSelectionModel().getSelection(); //获得选中的项
//var strCustomerName = selections[0].get('FeeName'); //var strCustomerName = selections[0].get('FeeName');
@ -200,14 +206,19 @@ Ext.extend(Shipping.FeeEditGrid, Ext.Panel, {
this.comboxFeeNameRefCr = Ext.create('DsExt.ux.RefTableCombox', { this.comboxFeeNameRefCr = Ext.create('DsExt.ux.RefTableCombox', {
store: this.storeFeeNameRefCr, store: this.storeFeeNameRefCr,
forceSelection: true, forceSelection: true,
queryMode: 'local', queryMode: 'remote',
minChars: 1, minChars: 1,
//queryParam: 'Name', queryParam: 'Name',
lazyRender: false, lazyRender: false,
name: 'FeeName', matchFieldWidth: false, name: 'FeeName', matchFieldWidth: false,
valueField: 'Name', valueField: 'Name',
displayField: 'CodeAndName', displayField: 'CodeAndName',
listeners: { listeners: {
beforequery: function (e) {
var port = _thisfee.comboxFeeNameRefCr.rawValue;
if (port != '')
e.query = port;
},
//beforequery: function (e) { //beforequery: function (e) {
// return FilterCombox(e); // return FilterCombox(e);
//}, //},

@ -5224,14 +5224,14 @@ Ext.extend(Shipping.MsOpSeaeEdit, Ext.Panel, {
}], }],
scope: this scope: this
}, '-', { }, '-', {
text: '订舱报文', //"打印", text: 'EDI', //"打印",
iconCls: "btnexportexcel", iconCls: "btnexportexcel",
handler: function (button, event) { handler: function (button, event) {
this.onCreateEDIClick('B'); this.onCreateEDIClick('B');
}, },
scope: this scope: this
}, '-', { }, '-', {
text: '截单报文', //"打印", text: 'ESI', //"打印",
iconCls: "btnexportexcel", iconCls: "btnexportexcel",
handler: function (button, event) { handler: function (button, event) {
this.onCreateEDIClick('E'); this.onCreateEDIClick('E');

Loading…
Cancel
Save