|
|
@ -1109,7 +1109,8 @@ Ext.extend(Shipping.MsOpSeaiEdit, Ext.Panel, {
|
|
|
|
}, {
|
|
|
|
}, {
|
|
|
|
fieldLabel: Zi.LAN.MBLFRT, //'MBLFRT',
|
|
|
|
fieldLabel: Zi.LAN.MBLFRT, //'MBLFRT',
|
|
|
|
name: 'MBLFRT', hidden: true
|
|
|
|
name: 'MBLFRT', hidden: true
|
|
|
|
}, this.comboxBSSTATUSREF, this.comboxFEESTATUSREF, {
|
|
|
|
}
|
|
|
|
|
|
|
|
, this.comboxBSSTATUSREF, this.comboxFEESTATUSREF, {
|
|
|
|
fieldLabel: Zi.LAN.ACCDATE, //'会计期间',
|
|
|
|
fieldLabel: Zi.LAN.ACCDATE, //'会计期间',
|
|
|
|
xtype: 'monthfield',
|
|
|
|
xtype: 'monthfield',
|
|
|
|
editable: false,
|
|
|
|
editable: false,
|
|
|
@ -1183,7 +1184,11 @@ Ext.extend(Shipping.MsOpSeaiEdit, Ext.Panel, {
|
|
|
|
}, {
|
|
|
|
}, {
|
|
|
|
fieldLabel: Zi.LAN.APPLYNO, //'申请放箱号',
|
|
|
|
fieldLabel: Zi.LAN.APPLYNO, //'申请放箱号',
|
|
|
|
name: 'APPLYNO'
|
|
|
|
name: 'APPLYNO'
|
|
|
|
},{ xtype: 'hiddenfield' }]
|
|
|
|
}, {
|
|
|
|
|
|
|
|
fieldLabel: '发仓储状态', //'MBLFRT',
|
|
|
|
|
|
|
|
name: 'WMSSTATUS',
|
|
|
|
|
|
|
|
readOnly: true,
|
|
|
|
|
|
|
|
}]
|
|
|
|
}, {
|
|
|
|
}, {
|
|
|
|
xtype: 'container',
|
|
|
|
xtype: 'container',
|
|
|
|
layout: 'hbox',
|
|
|
|
layout: 'hbox',
|
|
|
@ -5002,28 +5007,39 @@ Ext.extend(Shipping.MsOpSeaiEdit, Ext.Panel, {
|
|
|
|
DsOpenMultiEditWin('/MvcContainer/MsOpCtnApply/CostEdit?opener=OPSEAI&APPLYNO=' + APPLYNO);
|
|
|
|
DsOpenMultiEditWin('/MvcContainer/MsOpCtnApply/CostEdit?opener=OPSEAI&APPLYNO=' + APPLYNO);
|
|
|
|
},
|
|
|
|
},
|
|
|
|
onSendQY: function () {
|
|
|
|
onSendQY: function () {
|
|
|
|
var headid = this.editRecord.get('BSNO');
|
|
|
|
|
|
|
|
Ext.Ajax.request({
|
|
|
|
if (this.opStatus == 'add') {
|
|
|
|
waitMsg: Zi.LAN.ZhengZaiChaXunShuJu, //'正在查询主表数据...',
|
|
|
|
MsgTip("提示", "需要先保存业务", 1000);
|
|
|
|
url: '/MvcShipping/MsOpSeai/QY_addWarehouseNotice',
|
|
|
|
return;
|
|
|
|
params: {
|
|
|
|
} else {
|
|
|
|
headid: headid
|
|
|
|
_this = this;
|
|
|
|
},
|
|
|
|
var headid = this.editRecord.get('BSNO');
|
|
|
|
callback: function (options, success, response) {
|
|
|
|
Ext.Ajax.request({
|
|
|
|
if (success) {
|
|
|
|
waitMsg: Zi.LAN.ZhengZaiChaXunShuJu, //'正在查询主表数据...',
|
|
|
|
var jsonresult = Ext.JSON.decode(response.responseText);
|
|
|
|
url: '/MvcShipping/MsOpSeai/QY_addWarehouseNotice',
|
|
|
|
if (jsonresult.Success) {
|
|
|
|
params: {
|
|
|
|
//显示成功
|
|
|
|
headid: headid
|
|
|
|
Ext.Msg.show({ title: '发送至仓储系统', msg: "发送成功", icon: Ext.Msg.OK, buttons: Ext.Msg.OK });
|
|
|
|
},
|
|
|
|
|
|
|
|
callback: function (options, success, response) {
|
|
|
|
|
|
|
|
if (success) {
|
|
|
|
|
|
|
|
var jsonresult = Ext.JSON.decode(response.responseText);
|
|
|
|
|
|
|
|
if (jsonresult.Success) {
|
|
|
|
|
|
|
|
//显示成功
|
|
|
|
|
|
|
|
Ext.Msg.show({ title: '发送至仓储系统', msg: "发送成功:" + jsonresult.Message, icon: Ext.Msg.OK, buttons: Ext.Msg.OK });
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
condition = "BSNO='" + headid + "'";
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
this.LoadData(this.opStatus, condition);
|
|
|
|
|
|
|
|
} else {
|
|
|
|
|
|
|
|
Ext.Msg.show({ title: '发送至仓储系统', msg: "发送失败:" + jsonresult.Message, icon: Ext.Msg.ERROR, buttons: Ext.Msg.ERROR });
|
|
|
|
|
|
|
|
}
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
Ext.Msg.show({ title: '发送至仓储系统', msg: "发送失败:" + jsonresult.Message, icon: Ext.Msg.ERROR, buttons: Ext.Msg.ERROR });
|
|
|
|
Ext.Msg.show({ title: '发送至仓储系统', msg: "发送失败", icon: Ext.Msg.ERROR, buttons: Ext.Msg.ERROR });
|
|
|
|
}
|
|
|
|
}
|
|
|
|
} else {
|
|
|
|
},
|
|
|
|
Ext.Msg.show({ title: '发送至仓储系统', msg: "发送失败", icon: Ext.Msg.ERROR, buttons: Ext.Msg.ERROR });
|
|
|
|
scope: this
|
|
|
|
}
|
|
|
|
});
|
|
|
|
},
|
|
|
|
}
|
|
|
|
scope: this
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
},
|
|
|
|
},
|
|
|
|
onaddYXClick: function () {
|
|
|
|
onaddYXClick: function () {
|
|
|
|
|
|
|
|
|
|
|
|