From fc15d751bd6474db29c9aad2bc910545b191d855 Mon Sep 17 00:00:00 2001 From: yibo <361071264@qq.com> Date: Wed, 24 Oct 2018 13:50:20 +0800 Subject: [PATCH] =?UTF-8?q?=E9=9C=80=E6=B1=82=E5=8D=95No.141600=20?= =?UTF-8?q?=E7=89=9B=E7=BE=8A=E8=BF=87=E7=A3=85=E5=8D=95=EF=BC=8C=E8=BE=93?= =?UTF-8?q?=E5=85=A5=E4=BE=9B=E5=BA=94=E5=95=86=E5=90=8E=EF=BC=8C=E5=8F=AF?= =?UTF-8?q?=E4=BB=A5=E6=8A=8A=E4=BE=9B=E5=BA=94=E5=95=86=E6=A1=A3=E6=A1=88?= =?UTF-8?q?=E4=B8=8A=E7=9A=84{=E7=BB=8F=E5=8A=9E=E4=BA=BA}=E5=B8=A6?= =?UTF-8?q?=E5=85=A5=E8=BF=87=E7=A3=85=E5=8D=95=E4=B8=8A=E7=9A=84{?= =?UTF-8?q?=E7=BB=8F=E5=8A=9E=E4=BA=BA}=E5=AD=97=E6=AE=B5=E4=B8=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Bills/WeightBill_/WeightBillEdit.cs | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/B3SheepButcherManage.Web/Pages/B3SheepButcherManage/Bills/WeightBill_/WeightBillEdit.cs b/B3SheepButcherManage.Web/Pages/B3SheepButcherManage/Bills/WeightBill_/WeightBillEdit.cs index 879d43e..38b8feb 100644 --- a/B3SheepButcherManage.Web/Pages/B3SheepButcherManage/Bills/WeightBill_/WeightBillEdit.cs +++ b/B3SheepButcherManage.Web/Pages/B3SheepButcherManage/Bills/WeightBill_/WeightBillEdit.cs @@ -69,7 +69,7 @@ namespace BWP.Web.Pages.B3SheepButcherManage.Bills.WeightBill_ var script = @" var txtValue =parseInt(__DFContainer.getValue('Supplier_ID')); -simpleRestCall('/MainSystem/B3CowButcherManage/Rpcs/SupplierRpc/GetBySupplierID',[txtValue], +simpleRestCall('/MainSystem/B3CowButcherManage/Rpcs/SupplierRpc/GetBySupplierID',[txtValue,['Tel','Card_ID','Employee_ID','Employee_Name']], function(result){ if(typeof(result.Tel)!='undefined') { @@ -88,6 +88,14 @@ else { __DFContainer.setValue('Supplier_Card_ID',''); } +if(typeof(result.Employee_ID)!='undefined') +{ + __DFContainer.getControl('Employee_ID').fill(result.Employee_ID,result.Employee_Name); +} +else +{ +__DFContainer.getControl('Employee_ID').fill('',''); +} },{ });"; supplierInput.OnClientSelected = script; }