|
|
|
@ -2754,7 +2754,7 @@ Ext.extend(Shipping.MsChInvoiceAppEdit, Ext.Panel, {
|
|
|
|
|
_this.formAMT.getForm().reset();
|
|
|
|
|
_this.formEdit.getForm().setValues(data);
|
|
|
|
|
_this.formAMT.getForm().setValues(data);
|
|
|
|
|
_this.setInvTile(data.INVOICELINE);
|
|
|
|
|
_this.setInvTile(data.INVOICELINEREF);
|
|
|
|
|
if (this.opStatus == 'copyadd')
|
|
|
|
|
this.CopyNewData();
|
|
|
|
|
var companyid = data.SALECORPID;
|
|
|
|
@ -5843,13 +5843,15 @@ Ext.extend(Shipping.MsChInvoiceAppEdit, Ext.Panel, {
|
|
|
|
|
|
|
|
|
|
setInvTile: function (invline) {
|
|
|
|
|
var INVTITLE = Ext.getCmp('INVTITLE');
|
|
|
|
|
if (invline.indexOf('专用') != -1) {
|
|
|
|
|
INVTITLE.setText('增值税专用发票', false);
|
|
|
|
|
} else if (invline.indexOf('电') != -1) {
|
|
|
|
|
INVTITLE.setText('增值税电子普通发票', false);
|
|
|
|
|
} else {
|
|
|
|
|
INVTITLE.setText('增值税普通发票', false);
|
|
|
|
|
}
|
|
|
|
|
INVTITLE.setText(invline, false);
|
|
|
|
|
|
|
|
|
|
//if (invline.indexOf('专用') != -1) {
|
|
|
|
|
// INVTITLE.setText('增值税专用发票', false);
|
|
|
|
|
//} else if (invline.indexOf('电') != -1) {
|
|
|
|
|
// INVTITLE.setText('增值税电子普通发票', false);
|
|
|
|
|
//} else {
|
|
|
|
|
// INVTITLE.setText('增值税普通发票', false);
|
|
|
|
|
//}
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
// #region 根据权限和状态判断是否允许修改
|
|
|
|
|