DS7_JingHan
hanxuntao 2 years ago
parent 275ad8be0f
commit ea3df9584f

@ -2368,7 +2368,7 @@ Ext.extend(Shipping.MsChfeeAudit, Ext.Panel, {
text: 'GROSS PROFIT RATE', text: 'GROSS PROFIT RATE',
renderer: function (value, cellmeta, record, rowIndex, columnIndex, store) { try { var lsValue = usMoney(value, 2, '', false); if (lsValue != "NaN") { value = lsValue; if (parseFloat(lsValue) < 0) { return '<SPAN style="COLOR: red">' + lsValue + '</SPAN>'; } } else { return value; } } catch (e) { return value; } return value; }, renderer: function (value, cellmeta, record, rowIndex, columnIndex, store) { try { var lsValue = usMoney(value, 2, '', false); if (lsValue != "NaN") { value = lsValue; if (parseFloat(lsValue) < 0) { return '<SPAN style="COLOR: red">' + lsValue + '</SPAN>'; } } else { return value; } } catch (e) { return value; } return value; },
align: 'right', align: 'right',
width: 160 width: 120
} }
] ]
}); });
@ -2521,9 +2521,9 @@ Ext.extend(Shipping.MsChfeeAudit, Ext.Panel, {
_thisblaudit.storeBLChFee.load({ params: { bsno: _thisblaudit.strMBSNO, SLNO, SLNO, bltype: bltype, optype: _thisblaudit.strOPTYPE } }); _thisblaudit.storeBLChFee.load({ params: { bsno: _thisblaudit.strMBSNO, SLNO, SLNO, bltype: bltype, optype: _thisblaudit.strOPTYPE } });
var bstextall = ""; var bstextall = "";
bstextall = bstextall + '箱量:' + record.data.CNTRTOTAL; bstextall = bstextall + '箱量:' + record.data.CNTRTOTAL;
bstextall = bstextall + ' 提交人:' + record.data.BILLFEEOP; bstextall = bstextall + '\xa0' + '\xa0' + '\xa0' + '\xa0'+ '提交人:' + record.data.BILLFEEOP;
bstextall = bstextall + ' 主提单号:' + record.data.MBLNO; bstextall = bstextall + '\xa0' + '\xa0' + '\xa0' + '\xa0'+'主提单号:' + record.data.MBLNO;
bstextall = bstextall + ' 委托编号:' + record.data.CUSTNO; bstextall = bstextall + '\xa0' + '\xa0' + '\xa0' + '\xa0'+ '委托编号:' + record.data.CUSTNO;
Ext.getCmp("bstextall").setText(bstextall); Ext.getCmp("bstextall").setText(bstextall);
//_thisblaudit.formHead.getForm().reset(); //_thisblaudit.formHead.getForm().reset();

Loading…
Cancel
Save