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