procurment-controller.js 24.9 KB
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473
var express = require('express');
var router = express.Router();

var client = require('../client');
var api = require('./api').url;

//采购目录列表 
router.post('/getMedcontentList', function(req, res, next) {
  client.post(api.hospital_content_getMedcontentList, { data: req.body }, function (data) { res.send(data); }, req.session);
});
//判断是否可以新增或导入请求
router.post('/decideAddMedContentList', function(req, res, next) {
    client.post(api.hospital_content_decideAddMedContentList, { data: req.body }, function (data) { res.send(data); }, req.session);
});
//保存 
router.post('/updatePrice', function(req, res, next) {
  client.post(api.hospital_content_updatePrice, { data: req.body }, function (data) { res.send(data); }, req.session);
});
//废弃 
router.post('/abandonContent', function(req, res, next) {
  client.post(api.hospital_content_abandonContent, { data: req.body }, function (data) { res.send(data); }, req.session);
});
//采购目录 树形菜单 
router.post('/getDeptList', function(req, res, next) {
  client.post(api.hospital_content_getDeptList, { data: req.body }, function (data) { res.send(data); }, req.session);
});
//点击 树形菜单  加载商品数据
router.post('/getGoodsByDept', function(req, res, next) {
  client.post(api.hospital_content_getGoodsByDept, { data: req.body }, function (data) { res.send(data); }, req.session);
}); 
//只查无供应商的品种
router.post('/getNoSupplyGoods', function(req, res, next) {
  client.post(api.hospital_content_getNoSupplyGoods, { data: req.body }, function (data) { res.send(data); }, req.session);
}); 
//下一步 分配供应商
router.post('/savaOneStepTOTemp', function(req, res, next) {
  client.post(api.hospital_content_savaOneStepTOTemp, { data: req.body }, function (data) { res.send(data); }, req.session);
});  
//分配供应商 加载左侧商品数据
router.post('/getGoodsByStaff', function(req, res, next) {
  client.post(api.hospital_content_getGoodsByStaff, { data: req.body }, function (data) { res.send(data); }, req.session);
}); 
//第三步是否有值
router.post('/getWaitPublishCount', function(req, res, next) {
  client.post(api.hospital_content_getWaitPublishCount, { data: req.body }, function (data) { res.send(data); }, req.session);
}); 
//第二步是否有值
router.post('/getGoodsCountByStaff', function(req, res, next) {
  client.post(api.hospital_content_getGoodsCountByStaff, { data: req.body }, function (data) { res.send(data); }, req.session);
}); 
//分配供应商 点击左侧商品数据  加载供应商
router.post('/getSupList', function(req, res, next) {
  client.post(api.hospital_content_getSupList, { data: req.body }, function (data) { res.send(data); }, req.session);
}); 
//加载配送商
router.post('/getDistributions', function(req, res, next) {
  client.post(api.hospital_content_getDistributions, { data: req.body }, function (data) { res.send(data); }, req.session);
}); 
//下一步 发布列表
router.post('/updatedataMatch', function(req, res, next) {
  client.post(api.hospital_content_updatedataMatch, { data: req.body }, function (data) { res.send(data); }, req.session);
}); 
//下一步 完成 加载数据
router.post('/getWaitPublishList', function(req, res, next) {
  client.post(api.hospital_content_getWaitPublishList, { data: req.body }, function (data) { res.send(data); }, req.session);
}); 
//下一步 完成 废弃按钮
router.post('/abandonPublish', function(req, res, next) {
  client.post(api.hospital_content_abandonPublish, { data: req.body }, function (data) { res.send(data); }, req.session);
}); 
//下一步 完成 飞送按钮
router.post('/publish', function(req, res, next) {
  client.post(api.hospital_content_publish, { data: req.body }, function (data) { res.send(data); }, req.session);
}); 
//导入采购目录  加载列表
router.post('/getWaitPublishImplList', function(req, res, next) {
  client.post(api.hospital_contentimp_getWaitPublishImplList, { data: req.body }, function (data) { res.send(data); }, req.session);
}); 
//导入采购目录  加载列表 保存
router.post('/updateImplMatch', function(req, res, next) {
  client.post(api.hospital_contentimp_updateImplMatch, { data: req.body }, function (data) { res.send(data); }, req.session);
}); 
//导入采购目录  加载列表 清空
router.post('/abandonImplPublish', function(req, res, next) {
  client.post(api.hospital_contentimp_abandonImplPublish, { data: req.body }, function (data) { res.send(data); }, req.session);
}); 
//导入采购目录  加载列表 发布
router.post('/implPublish', function(req, res, next) {
  client.post(api.hospital_contentimp_implPublish, { data: req.body }, function (data) { res.send(data); }, req.session);
}); 
//采购目录审核  加载供应商列表
router.post('/getSuppliers', function(req, res, next) {
  client.post(api.hospital_contentimp_getSuppliers, { data: req.body }, function (data) { res.send(data); }, req.session);
}); 
//采购目录审核  加载右侧商品列表
router.post('/getWaitAuditGoods', function(req, res, next) {
  client.post(api.hospital_contentimp_getWaitAuditGoods, { data: req.body }, function (data) { res.send(data); }, req.session);
}); 
//采购目录审核  审核
router.post('/audit', function(req, res, next) {
  client.post(api.hospital_contentimp_audit, { data: req.body }, function (data) { res.send(data); }, req.session);
}); 
// 采购目录清单 导出 zxx
router.post('/exportMedcontentList', function(req, res, next) {
client.post(api.hospital_content_exportMedcontentList, { data: req.body }, function (data) { res.send(data); }, req.session);
}); 



//咸宁 保存 
router.post('/xnupdatePrice', function(req, res, next) {
  client.post(api.hospital_content_xnupdatePrice, { data: req.body }, function (data) { res.send(data); }, req.session);
});

//咸宁 采购目录审核  审核
router.post('/xnaudit', function(req, res, next) {
  client.post(api.hospital_contentimp_xnaudit, { data: req.body }, function (data) { res.send(data); }, req.session);
}); 

//咸宁 点击 树形菜单  加载商品数据
router.post('/xngetGoodsByDept', function(req, res, next) {
  client.post(api.hospital_content_xngetGoodsByDept, { data: req.body }, function (data) { res.send(data); }, req.session);
}); 

//咸宁 只查无供应商的品种
router.post('/xngetNoSupplyGoods', function(req, res, next) {
  client.post(api.hospital_content_xngetNoSupplyGoods, { data: req.body }, function (data) { res.send(data); }, req.session);
});


//咸宁 下一步 分配供应商
router.post('/xnsavaOneStepTOTemp', function(req, res, next) {
  client.post(api.hospital_content_xnsavaOneStepTOTemp, { data: req.body }, function (data) { res.send(data); }, req.session);
});  

//咸宁 导入采购目录  加载列表
router.post('/xngetWaitPublishImplList', function(req, res, next) {
  client.post(api.hospital_contentimp_xngetWaitPublishImplList, { data: req.body }, function (data) { res.send(data); }, req.session);
}); 

//咸宁 导入采购目录  加载列表 保存
router.post('/xnupdateImplMatch', function(req, res, next) {
  client.post(api.hospital_contentimp_xnupdateImplMatch, { data: req.body }, function (data) { res.send(data); }, req.session);
}); 

//咸宁 导入采购目录  加载列表 清空
router.post('/xnabandonImplPublish', function(req, res, next) {
  client.post(api.hospital_contentimp_xnabandonImplPublish, { data: req.body }, function (data) { res.send(data); }, req.session);
}); 

//咸宁 导入采购目录  加载列表 发布
router.post('/xnimplPublish', function(req, res, next) {
  client.post(api.hospital_contentimp_xnimplPublish, { data: req.body }, function (data) { res.send(data); }, req.session);
}); 

//咸宁 采购目录列表 
router.post('/xngetMedcontentList', function(req, res, next) {
  client.post(api.hospital_content_xngetMedcontentList, { data: req.body }, function (data) { res.send(data); }, req.session);
});

//咸宁 采购目录清单 导出 
router.post('/xnexportMedcontentList', function(req, res, next) {
client.post(api.hospital_content_xnexportMedcontentList, { data: req.body }, function (data) { res.send(data); }, req.session);
});


//新加 高值耗材查询 立继武
router.post('/getSupplierCkGoodsList',function(req,res,next){
  client.post(api.goverment_goodsDetial_getSupplierCkGoodsList, {data:req.body }, function (data) { res.send(data);}, req.session);
})
//出库管理 申领单出库汇总 列表查询
router.post('/getApplyList', function(req, res, next) {
  client.post(api.hospital_stockdo_getApplyList, { data: req.body }, function (data) { res.send(data); }, req.session);
});  
//出库管理 拣货确认 出库库房下拉   zxx
router.post('/getDeptListOut', function(req, res, next) {
  client.post(api.hospital_stockdocofirm_getDeptList, { data: req.body }, function (data) { res.send(data); }, req.session);
});  
//出库管理 拣货确认 出库库房下拉   zxx
router.post('/getDepartmentList', function(req, res, next) {
  client.post(api.hospital_stockdocofirm_getDepartmentList, { data: req.body }, function (data) { res.send(data); }, req.session);
}); 
//出库管理 拣货确认 出库库房下拉   zxx
router.post('/getDeptApplyList', function(req, res, next) {
  client.post(api.hospital_stockdocofirm_getDeptApplyList, { data: req.body }, function (data) { res.send(data); }, req.session);
});
//出库管理 拣货确认 出库库房下拉   zxx
router.post('/stockGetApplyDetailList', function(req, res, next) {
  client.post(api.hospital_stockdocofirm_getApplyDetailList, { data: req.body }, function (data) { res.send(data); }, req.session);
}); 
//出库管理 拣货确认 导出   zxx
router.post('/listApplyDetaiExport', function(req, res, next) {
  client.post(api.hospital_stockdocofirm_listApplyDetaiExport, { data: req.body }, function (data) { res.send(data); }, req.session);
}); 
//出库管理 拣货确认 导出   zxx
router.post('/printCkd', function(req, res, next) {
  client.post(api.hospital_stockdocofirm_printCkd, { data: req.body }, function (data) { res.send(data); }, req.session);
}); 
//出库管理 申领单出库汇总 库房
router.post('/getDepotList', function(req, res, next) {
  client.post(api.hospital_stockdo_getDepotList, { data: req.body }, function (data) { res.send(data); }, req.session);
});  
//出库管理 申领单出库汇总 手风琴
router.post('/getApplyDetailLists', function(req, res, next) {
  client.post(api.hospital_stockdo_getApplyDetailList, { data: req.body }, function (data) { res.send(data); }, req.session);
});  
//出库管理 配货单 右侧列表
router.post('/getDistribStockInfo', function(req, res, next) {
  client.post(api.hospital_stockdo_getDistribStockInfo, { data: req.body }, function (data) { res.send(data); }, req.session);
});  
//出库管理 配货单 右侧列表 保存分配
router.post('/saveDistribStock', function(req, res, next) {
  client.post(api.hospital_stockdo_saveDistribStock, { data: req.body }, function (data) { res.send(data); }, req.session);
});  
//出库管理 配货单 右侧列表 确认分配
router.post('/confirmDistribStock', function(req, res, next) {
  client.post(api.hospital_stockdo_confirmDistribStock, { data: req.body }, function (data) { res.send(data); }, req.session);
});  

//出库管理  单个出库
router.post('/updTrmeddeptdo', function(req, res, next) {
  client.post(api.hospital_stockdocofirm_updTrmeddeptdo, { data: req.body }, function (data) { res.send(data); }, req.session);
});  
//出库管理  批量拣货
router.post('/updTrmeddeptdoList', function(req, res, next) {
  client.post(api.hospital_stockdocofirm_updTrmeddeptdoList, { data: req.body }, function (data) { res.send(data); }, req.session);
});  
//库存管理  医院库存
router.post('/queryStockList', function(req, res, next) {
  client.post(api.hospital_stockManager_queryStockList, { data: req.body }, function (data) { res.send(data); }, req.session);
});   
//库存管理  医院库存 明细
router.post('/queryStockLotList', function(req, res, next) {
  client.post(api.hospital_stockManager_queryStockLotList, { data: req.body }, function (data) { res.send(data); }, req.session);
});  
//库存管理  打印配货单
router.post('/printCheck', function(req, res, next) {
  client.post(api.hospital_stockdo_printCheck, { data: req.body }, function (data) { res.send(data); }, req.session);
});  
//库存管理  打印 PDF
router.post('/printTag', function(req, res, next) {
  client.post(api.hospital_stockdo_printTag, { data: req.body }, function (data) { res.send(data); }, req.session);
});  
//库存管理  打印 库存不足 PDF
router.post('/updateReason', function(req, res, next) {
  client.post(api.hospital_stockdo_updateReason, { data: req.body }, function (data) { res.send(data); }, req.session);
});   
//库存管理  库存出库单查询 列表
router.post('/getTrMedDeptDoList', function(req, res, next) {
  client.post(api.hospital_refundgoods_getTrMedDeptDoList, { data: req.body }, function (data) { res.send(data); }, req.session);
}); 
//库存管理  库存出库单查询 手风琴
router.post('/getTrMedDeptDoDetailList', function(req, res, next) {
  client.post(api.hospital_refundgoods_getTrMedDeptDoDetailList, { data: req.body }, function (data) { res.send(data); }, req.session);
}); 
//生成科室退货单 createDeptRefund
router.post('/createDeptRefund', function(req, res, next) {
  client.post(api.hospital_refundgoods_createDeptRefund, { data: req.body }, function (data) { res.send(data); }, req.session);
}); 
//生成科室退货单 保存
router.post('/saveDeptRefund', function(req, res, next) {
  client.post(api.hospital_refundgoods_saveDeptRefund, { data: req.body }, function (data) { res.send(data); }, req.session);
});
//生成科室退货单 提交
router.post('/putDeptRefund', function(req, res, next) {
  client.post(api.hospital_refundgoods_putDeptRefund, { data: req.body }, function (data) { res.send(data); }, req.session);
});
//生成科室退货单     查询-退货单
router.post('/getDeptRefund', function(req, res, next) {
  client.post(api.hospital_refundgoods_getDeptRefund, { data: req.body }, function (data) { res.send(data); }, req.session);
}); 
//生成科室退货单     查询-退货单明细
router.post('/getDeptRefunddetail', function(req, res, next) {
  client.post(api.hospital_refundgoods_getDeptRefunddetail, { data: req.body }, function (data) { res.send(data); }, req.session);
});
//生成科室退货单     删除-删除退货单明细
router.post('/delDeptRefunddetail', function(req, res, next) {
  client.post(api.hospital_refundgoods_delDeptRefunddetail, { data: req.body }, function (data) { res.send(data); }, req.session);
});
//生成科室退货单     创建商品退货单
router.post('/createMfMedDeptRefund', function(req, res, next) {
  client.post(api.hospital_refundgoods_createMfMedDeptRefund, { data: req.body }, function (data) { res.send(data); }, req.session);
});
//生成科室退货单    商品明细
router.post('/getMedDepotGoods', function(req, res, next) {
  client.post(api.hospital_refundgoods_getMedDepotGoods, { data: req.body }, function (data) { res.send(data); }, req.session);
});
//生成科室退货单   删除退货单   hospital_refundgoods_delDeptRefund
router.post('/delDeptRefund', function(req, res, next) {
  client.post(api.hospital_refundgoods_delDeptRefund, { data: req.body }, function (data) { res.send(data); }, req.session);
});
// 保存
router.post('/putMfMedDeptRefund', function(req, res, next) {
  client.post(api.hospital_refundgoods_putMfMedDeptRefund, { data: req.body }, function (data) { res.send(data); }, req.session);
});

// 库存管理  库存调整申请单 
router.post('/getStockCheckList', function(req, res, next) {
  client.post(api.hospital_stockcheck_getStockCheckList, { data: req.body }, function (data) { res.send(data); }, req.session);
});
// 库存管理  库存调整申请单 明细
router.post('/getStockCheckDetailList', function(req, res, next) {
  client.post(api.hospital_stockcheck_getStockCheckDetailList, { data: req.body }, function (data) { res.send(data); }, req.session);
});
// 库存管理  库存调整申请单 导入页面明细 查询
router.post('/initStockCheckDetails', function(req, res, next) {
  client.post(api.hospital_stockcheck_initStockCheckDetails, { data: req.body }, function (data) { res.send(data); }, req.session);
});
// 库存管理  库存调整申请单  查询商品
router.post('/getStockDetailList', function(req, res, next) {
  client.post(api.hospital_stockcheck_getStockDetailList, { data: req.body }, function (data) { res.send(data); }, req.session);
});
// 库存管理  库存调整申请单   保存
router.post('/savaStockCheck', function(req, res, next) {
  client.post(api.hospital_stockcheck_savaStockCheck, { data: req.body }, function (data) { res.send(data); }, req.session);
});
// 库存管理  库存调整申请单  提交
router.post('/submit', function(req, res, next) {
  client.post(api.hospital_stockcheck_submit, { data: req.body }, function (data) { res.send(data); }, req.session);
});
// 库存管理  库存调整申请单明细 删除
router.post('/deletePkDetails', function(req, res, next) {
  client.post(api.hospital_stockcheck_deletePkDetails, { data: req.body }, function (data) { res.send(data); }, req.session);
});
// 库存管理  库存调整申请单 查询是否有值
router.post('/isAllowdImpl', function(req, res, next) {
  client.post(api.hospital_stockcheck_isAllowdImpl, { data: req.body }, function (data) { res.send(data); }, req.session);
});
//库存管理  库存调整供应商列表
router.post('/getMedSups', function(req, res, next) {
  client.post(api.hospital_stockcheck_getMedSups, { data: req.body }, function (data) { res.send(data); }, req.session);
});

//库存盘点  导出
router.post('/exportStockCheckList', function(req, res, next) {
  client.post(api.hospital_stockcheck_exportStockCheckList, { data: req.body }, function (data) { res.send(data); }, req.session);
});


//库存盘点  制作盘点单
router.post('/pdqueryStockList', function(req, res, next) {
  client.post(api.hospital_pdStock_queryStockList, { data: req.body }, function (data) { res.send(data); }, req.session);
});
//库存盘点  制作盘点单
router.post('/addTrmedpdstock', function(req, res, next) {
  client.post(api.hospital_pdStock_addTrmedpdstock, { data: req.body }, function (data) { res.send(data); }, req.session);
});
//库存盘点  盘点汇总
router.post('/getTrmedpdstock', function(req, res, next) {
  client.post(api.hospital_pdStock_getTrmedpdstock, { data: req.body }, function (data) { res.send(data); }, req.session);
});
//库存盘点  制作盘点单  明细
router.post('/getPdstockdetail', function(req, res, next) {
  client.post(api.hospital_pdStock_getPdstockdetail, { data: req.body }, function (data) { res.send(data); }, req.session);
});

//库存盘点  制作盘点单 明细保存确定
router.post('/commitPdstockdetail', function(req, res, next) {
  client.post(api.hospital_pdStock_commitPdstockdetail, { data: req.body }, function (data) { res.send(data); }, req.session);
});
//库存盘点  盘点汇总 导出
router.post('/exportPdstockdetail', function(req, res, next) {
  client.post(api.hospital_pdStock_exportPdstockdetail, { data: req.body }, function (data) { res.send(data); }, req.session);
});
//库存盘点  明细删除
router.post('/delPdstockdetail', function(req, res, next) {
  client.post(api.hospital_pdStock_delPdstockdetail, { data: req.body }, function (data) { res.send(data); }, req.session);
});

//人员审核 
router.post('/getTrmedcontentdetailchanges', function(req, res, next) {
  client.post(api.hospital_contentimp_getTrmedcontentdetailchanges, { data: req.body }, function (data) { res.send(data); }, req.session);
});
// hospital_contentimp_checkTrmedcontentdetailchange
router.post('/checkTrmedcontentdetailchange', function(req, res, next) {
  client.post(api.hospital_contentimp_checkTrmedcontentdetailchange, { data: req.body }, function (data) { res.send(data); }, req.session);
});
//采购目录 供应商新品采纳
router.post('/getAcceptSupplier', function(req, res, next) {
  client.post(api.hospital_accept_getAcceptSupplier, { data: req.body }, function (data) { res.send(data); }, req.session);
});
//采购目录 供应商新品采纳 右侧商品列表
router.post('/getAcceptSupGoods', function(req, res, next) {
  client.post(api.hospital_accept_getAcceptSupGoods, { data: req.body }, function (data) { res.send(data); }, req.session);
});
//采购目录 供应商新品采纳 全部采纳商品
router.post('/acceptSupGoods', function(req, res, next) {
  client.post(api.hospital_accept_acceptSupGoods, { data: req.body }, function (data) { res.send(data); }, req.session);
});
//采购目录 供应商新品采纳 全部采纳供应关系
router.post('/acceptContent', function(req, res, next) {
  client.post(api.hospital_accept_acceptContent, { data: req.body }, function (data) { res.send(data); }, req.session);
});

//采购目录 供应商新品采纳 全部忽略
router.post('/acceptLose', function(req, res, next) {
  client.post(api.hospital_accept_acceptLose, { data: req.body }, function (data) { res.send(data); }, req.session);
});


//出库管理  科室退货单查询 批量打印
router.post('/printTHD', function(req, res, next) {
    client.post(api.hospital_refundgoods_printTHD, { data: req.body }, function (data) { res.send(data); }, req.session);
});
//出库管理  科室退货单查询 针式打印
router.post('/printTHDZS', function(req, res, next) {
    client.post(api.hospital_refundgoods_printTHDZS, { data: req.body }, function (data) { res.send(data); }, req.session);
});
//科室出库汇总查询 展示
router.post('/getCkAndThReport', function(req, res, next) {
    client.post(api.hospital_hospitalStockReport_getCkAndThReport, { data: req.body }, function (data) { res.send(data); }, req.session);
});
//科室出库汇总查询  打印
router.post('/printCkAndThReport', function(req, res, next) {
    client.post(api.hospital_hospitalStockReport_printCkAndThReport, { data: req.body }, function (data) { res.send(data); }, req.session);
});
//供应商入库汇总查询
router.post('/queryRkAndRpiReport', function(req, res, next) {
    client.post(api.hospital_hospitalReport_queryRkAndRpiReport, { data: req.body }, function (data) { res.send(data); }, req.session);
});
//供应商入库汇总查询  打印
router.post('/printRkAndRpiReport', function(req, res, next) {
    client.post(api.hospital_hospitalReport_printRkAndRpiReport, { data: req.body }, function (data) { res.send(data); }, req.session);
});
//库存管理  医院库存 金额总计
router.post('/queryStockListAll', function(req, res, next) {
    client.post(api.hospital_stockManager_queryStockListAll, { data: req.body }, function (data) { res.send(data); }, req.session);
});
//库存管理  医院库存 导出
router.post('/exportStock', function(req, res, next) {
    client.post(api.hospital_stockManager_exportStock, { data: req.body }, function (data) { res.send(data); }, req.session);
});
//库存管理  医院库存 全部导出
router.post('/exportStockAll', function(req, res, next) {
    client.post(api.hospital_stockManager_exportStockAll, { data: req.body }, function (data) { res.send(data); }, req.session);
});
//出库管理 拣货确认 针式打印
router.post('/printCkdZS', function(req, res, next) {
    client.post(api.hospital_stockdocofirm_printCkdZS, { data: req.body }, function (data) { res.send(data); }, req.session);
});
//出库管理 拣货确认 撤销已分配的单据
router.post('/cancelDeptApplyDo', function(req, res, next) {
    client.post(api.hospital_stockdocofirm_cancelDeptApplyDo, { data: req.body }, function (data) { res.send(data); }, req.session);
});
//获取发布需求信息
router.post('/getmfdemandpublist', function(req, res, next) {
    client.post(api.hospital_mfdemandpublist_getmfdemandpublist, { data: req.body }, function (data) { res.send(data); }, req.session);
});
//保存发布需求信息
router.post('/addmfdemandpublist', function(req, res, next) {
    client.post(api.hospital_mfdemandpublist_addmfdemandpublist, { data: req.body }, function (data) { res.send(data); }, req.session);
});
//发布需求信息
router.post('/commitmfdemandpublist', function(req, res, next) {
    client.post(api.hospital_mfdemandpublist_commitmfdemandpublist, { data: req.body }, function (data) { res.send(data); }, req.session);
});
//发布需求信息查询
router.post('/getDemandPublishList', function(req, res, next) {
    client.post(api.hospital_demandpublish_getDemandPublishList, { data: req.body }, function (data) { res.send(data); }, req.session);
});
//发布状态数量统计
router.post('/getFlagCount', function(req, res, next) {
    client.post(api.hospital_demandpublish_getFlagCount, { data: req.body }, function (data) { res.send(data); }, req.session);
});
//需求状态数量统计
router.post('/getStateCount', function(req, res, next) {
    client.post(api.hospital_demandpublish_getStateCount, { data: req.body }, function (data) { res.send(data); }, req.session);
});
//发布需求信息查询 手风琴
router.post('/getDetails', function(req, res, next) {
    client.post(api.hospital_demandpublish_getDetails, { data: req.body }, function (data) { res.send(data); }, req.session);
});
module.exports = router;