|
|
|
@ -3093,17 +3093,32 @@ Ext.extend(Shipping.MsOpAireIndex, Ext.Panel, {
|
|
|
|
|
Ext.Msg.show({ title: Zi.LAN.TiShi, msg: Zi.LAN.QingXianXuanZeYeWu, icon: Ext.Msg.INFO, buttons: Ext.Msg.OK }); //请先选择要更新的业务!
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
var bsno = selections[0].data.BSNO;
|
|
|
|
|
var pbsno = bsno;
|
|
|
|
|
var BSNOStr = '';
|
|
|
|
|
for (var i = 0; i < selections.length; i++) {
|
|
|
|
|
var rec = selections[i];
|
|
|
|
|
if (rec.data.BillFeeStatus == '0' || rec.data.BillFeeStatus == '4') {
|
|
|
|
|
var BSNO = rec.data.BSNO;
|
|
|
|
|
if (BSNOStr == '')
|
|
|
|
|
BSNOStr = BSNO;
|
|
|
|
|
else {
|
|
|
|
|
|
|
|
|
|
BSNOStr = BSNOStr + ',' + BSNO;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
if (BSNOStr == '') {
|
|
|
|
|
Ext.Msg.show({ title: Zi.LAN.TiShi, msg: Zi.LAN.MeiYouYaoGengXinDeYeWu, icon: Ext.Msg.INFO, buttons: Ext.Msg.OK });
|
|
|
|
|
return;
|
|
|
|
|
|
|
|
|
|
var urlStr = '/Account/Chfee_Audit/IsSubmitAuditBL';
|
|
|
|
|
} else {
|
|
|
|
|
|
|
|
|
|
var urlStr = '/Account/Chfee_Audit/PLSubmitAuditBL';
|
|
|
|
|
Ext.Ajax.request({
|
|
|
|
|
waitMsg: '正在查询主表数据...', //'正在添加数据...',
|
|
|
|
|
url: urlStr,
|
|
|
|
|
params: {
|
|
|
|
|
optype: 'op_aire',
|
|
|
|
|
bsno: bsno,
|
|
|
|
|
pbsno: pbsno
|
|
|
|
|
bsnos: BSNOStr
|
|
|
|
|
},
|
|
|
|
|
callback: function (options, success, response) {
|
|
|
|
|
if (success) {
|
|
|
|
@ -3116,13 +3131,18 @@ Ext.extend(Shipping.MsOpAireIndex, Ext.Panel, {
|
|
|
|
|
icon: Ext.MessageBox.ERROR,
|
|
|
|
|
buttons: Ext.Msg.OK
|
|
|
|
|
});
|
|
|
|
|
if (result.Message4 != '') {
|
|
|
|
|
_this.onDsQuery();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
} else {
|
|
|
|
|
if (_this.winAccess) { _this.winAccess.close(); }
|
|
|
|
|
_this.winAccess = new Shipping.DsAudit({
|
|
|
|
|
|
|
|
|
|
});
|
|
|
|
|
_this.winAccess.Record = result.Data;
|
|
|
|
|
_this.winAccess.BsNo = bsno;
|
|
|
|
|
_this.winAccess.BsNo = result.Message2;
|
|
|
|
|
_this.winAccess.Mblno = result.Message3;
|
|
|
|
|
_this.winAccess.stroplb = 'op_aire';
|
|
|
|
|
_this.winAccess.Parentformname = 'op_aire';
|
|
|
|
|
_this.winAccess.show();
|
|
|
|
@ -3134,7 +3154,7 @@ Ext.extend(Shipping.MsOpAireIndex, Ext.Panel, {
|
|
|
|
|
return;
|
|
|
|
|
} else {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
_this.onDsQuery();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (result.Data != '' && result.Data != null) {
|
|
|
|
@ -3154,7 +3174,7 @@ Ext.extend(Shipping.MsOpAireIndex, Ext.Panel, {
|
|
|
|
|
},
|
|
|
|
|
scope: this
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//var BSNOStr = '';
|
|
|
|
|