From ca807e0064d273418219800e7c6123ac16098be6 Mon Sep 17 00:00:00 2001 From: dengyu Date: Wed, 6 Nov 2024 17:57:55 +0800 Subject: [PATCH] =?UTF-8?q?=E7=94=B3=E8=AF=B7=E5=BC=80=E7=A5=A8=20?= =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E6=98=8E=E7=BB=86=E6=97=B6=20=E9=98=B2?= =?UTF-8?q?=E6=AD=A2=E7=94=A8=E2=80=9C=E7=B1=BB=E5=9E=8B=E2=80=9D=E6=9B=B4?= =?UTF-8?q?=E6=96=B0=E2=80=9C=E5=8F=91=E7=A5=A8=E7=B1=BB=E5=9E=8B=E2=80=9D?= =?UTF-8?q?=E5=AF=BC=E8=87=B4=E5=8F=91=E7=A5=A8=E7=B1=BB=E5=9E=8B=E5=8F=98?= =?UTF-8?q?=E7=A9=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Chfee_invoice_HangXin/ChInvoiceAppEdit.js | 24 +++++++++---------- 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/DSWeb/Areas/Account/Viewsjs/Chfee_invoice_HangXin/ChInvoiceAppEdit.js b/DSWeb/Areas/Account/Viewsjs/Chfee_invoice_HangXin/ChInvoiceAppEdit.js index 2150923..f4b23bf 100644 --- a/DSWeb/Areas/Account/Viewsjs/Chfee_invoice_HangXin/ChInvoiceAppEdit.js +++ b/DSWeb/Areas/Account/Viewsjs/Chfee_invoice_HangXin/ChInvoiceAppEdit.js @@ -4126,12 +4126,12 @@ Ext.extend(Shipping.MsChInvoiceAppEdit, Ext.Panel, { this.formEdit.getForm().findField('EXCHANGERATE').setValue(rate); this.setBank(RECVCURR); INVOICECATEGORY.setValue(rec.data.INVOICECATEGORY); - var recs = DsStoreQueryBy(this.storeINVOICELINE, 'EnumValueName', rec.data.INVOICECATEGORYREF); - if (recs.getCount() > 0) { - var data = recs.getAt(0).data; - var INVOICELINE = this.formEdit.getForm().findField('INVOICELINE'); - INVOICELINE.setValue(data.EnumValueId); - } + //var recs = DsStoreQueryBy(this.storeINVOICELINE, 'EnumValueName', rec.data.INVOICECATEGORYREF); + //if (recs.getCount() > 0) { + // var data = recs.getAt(0).data; + // var INVOICELINE = this.formEdit.getForm().findField('INVOICELINE'); + // INVOICELINE.setValue(data.EnumValueId); + //} if (isNullorEmpty(ACTUALCUSTOMERNAME_str)) { //如果没有代开客户 var recs = DsStoreQueryBy(this.storeCustCode, 'CustName', cust); @@ -4223,12 +4223,12 @@ Ext.extend(Shipping.MsChInvoiceAppEdit, Ext.Panel, { CUSTADDRTEL.setValue(rec.data.CUSTADDRTEL); CUSTBANK.setValue(rec.data.CUSTBANK); INVOICECATEGORY.setValue(rec.data.INVOICECATEGORY); - var recs = DsStoreQueryBy(this.storeINVOICELINE, 'EnumValueName', rec.data.INVOICECATEGORY); - if (recs.getCount() > 0) { - var data = recs.getAt(0).data; - var INVOICELINE = this.formEdit.getForm().findField('INVOICELINE'); - INVOICELINE.setValue(data.EnumValueId); - } + //var recs = DsStoreQueryBy(this.storeINVOICELINE, 'EnumValueName', rec.data.INVOICECATEGORY); + //if (recs.getCount() > 0) { + // var data = recs.getAt(0).data; + // var INVOICELINE = this.formEdit.getForm().findField('INVOICELINE'); + // INVOICELINE.setValue(data.EnumValueId); + //} CUSTTEL.setValue(getEndTel(rec.data.CUSTADDRTEL)); CUSTADDR.setValue(rec.data.CUSTADDRTEL.replace(getEndTel(rec.data.CUSTADDRTEL), ""));