|
|
|
@ -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; |
|
|
|
} |
|
|
|
|