|
|
|
@ -64,8 +64,36 @@ Ext.extend(Shipping.ChInvoiceapplicationAudit, Ext.Panel, {
|
|
|
|
|
sortable: true,
|
|
|
|
|
dataIndex: 'BILLSTATUSREF',
|
|
|
|
|
header: Zi.LAN.status,
|
|
|
|
|
width: 80
|
|
|
|
|
}, {
|
|
|
|
|
width: 80,
|
|
|
|
|
renderer: function (value, meta, record) {
|
|
|
|
|
|
|
|
|
|
if (value == '审核通过') {
|
|
|
|
|
meta.tdCls = 'feestatus_pass';
|
|
|
|
|
value = Zi.LAN.SHENHETONGGUO;
|
|
|
|
|
} else if (value == '录入状态') {
|
|
|
|
|
value = Zi.LAN.LURUZHUAGNTAI;
|
|
|
|
|
} else if (value == '已提交') {
|
|
|
|
|
meta.tdCls = 'feestatus_refer';
|
|
|
|
|
value = Zi.LAN.TIJIAOSHENHE;
|
|
|
|
|
|
|
|
|
|
} else if (value == '部分开出') {
|
|
|
|
|
meta.tdCls = 'feestatus_refer';
|
|
|
|
|
value = Zi.LAN.BUFENKAICHU;
|
|
|
|
|
|
|
|
|
|
} else if (value == '已开出') {
|
|
|
|
|
meta.tdCls = 'feestatus_settle';
|
|
|
|
|
value = Zi.LAN.YIKAICHU;
|
|
|
|
|
|
|
|
|
|
} else if (value == '驳回') {
|
|
|
|
|
meta.tdCls = 'feestatus_nopass';
|
|
|
|
|
value = Zi.LAN.BUHUITIJIAO;
|
|
|
|
|
} else if (value == '未提交') {
|
|
|
|
|
value = Zi.LAN.WEITIJIAO;
|
|
|
|
|
}
|
|
|
|
|
return value;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
, {
|
|
|
|
|
sortable: true,
|
|
|
|
|
dataIndex: 'CUSTOMERNAME',
|
|
|
|
|
header: Zi.LAN.CUSTOMERNAME,
|
|
|
|
@ -609,7 +637,16 @@ Ext.extend(Shipping.ChInvoiceapplicationAudit, Ext.Panel, {
|
|
|
|
|
sortable: true,
|
|
|
|
|
dataIndex: 'FEETYPEREF',
|
|
|
|
|
header: Zi.LAN.FEETYPEREF,
|
|
|
|
|
width: 40
|
|
|
|
|
width: 40,
|
|
|
|
|
renderer: function (value, meta, record) {
|
|
|
|
|
|
|
|
|
|
if (value == '收') {
|
|
|
|
|
value = Zi.LAN.DR;
|
|
|
|
|
} else if (value == '付') {
|
|
|
|
|
value = Zi.LAN.CR;
|
|
|
|
|
}
|
|
|
|
|
return value;
|
|
|
|
|
}
|
|
|
|
|
}, {
|
|
|
|
|
sortable: true,
|
|
|
|
|
dataIndex: 'AMOUNT',
|
|
|
|
@ -855,7 +892,16 @@ Ext.extend(Shipping.ChInvoiceapplicationAudit, Ext.Panel, {
|
|
|
|
|
sortable: true,
|
|
|
|
|
dataIndex: 'FEETYPEREF',
|
|
|
|
|
header: Zi.LAN.FEETYPEREF,
|
|
|
|
|
width: 40
|
|
|
|
|
width: 40,
|
|
|
|
|
renderer: function (value, meta, record) {
|
|
|
|
|
|
|
|
|
|
if (value == '收') {
|
|
|
|
|
value = Zi.LAN.DR;
|
|
|
|
|
} else if (value == '付') {
|
|
|
|
|
value = Zi.LAN.CR;
|
|
|
|
|
}
|
|
|
|
|
return value;
|
|
|
|
|
}
|
|
|
|
|
}, {
|
|
|
|
|
sortable: true,
|
|
|
|
|
dataIndex: 'CURRENCY',
|
|
|
|
@ -1605,7 +1651,7 @@ Ext.extend(Shipping.ChInvoiceapplicationAudit, Ext.Panel, {
|
|
|
|
|
});
|
|
|
|
|
return;
|
|
|
|
|
} else {
|
|
|
|
|
Ext.Msg.show({ title: Zi.LAN.Prompt, msg: result.Message, icon: Ext.Msg.INFO, buttons: Ext.Msg.OK });
|
|
|
|
|
//Ext.Msg.show({ title: Zi.LAN.Prompt, msg: result.Message, icon: Ext.Msg.INFO, buttons: Ext.Msg.OK });
|
|
|
|
|
_this.storeList.reload();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|