ソースを参照

Stock Journal

Atul 2 年 前
コミット
03dae39b70
1 ファイル変更3 行追加3 行削除
  1. 3 3
      Efacto.API/Controllers/SAController.cs

+ 3 - 3
Efacto.API/Controllers/SAController.cs

@@ -293,12 +293,12 @@ namespace Efacto.API.Controllers
         }
         [HttpGet]
         [Route("BindDropDown")]
-        public async Task<IActionResult> BindDropDown(string Search, string type, long? EmpId, long BtpId = 35)
+        public async Task<IActionResult> BindDropDown(string BtpCode = "SJ")
         {
             return Ok(new
             {
-                VoucherTypeList = await _vouchertypeService.GetVouchertypeList(BtpId),
-                VendorList = await _acmService.GetVendorList(Search, type, EmpId),
+                VoucherTypeList = await _vouchertypeService.GetVouchertypeListByBtpCode(BtpCode),
+                //VendorList = await _acmService.GetVendorList(Search, type, EmpId),
                 UnitList = await _unitService.GetUnitList(),
                 GstList = await _gstService.GetGstList(),
                 WarehouseList = await _warehouseService.GetWarehouseList(),