| | |
| | | { |
| | | if (IS_POST) { |
| | | $params = array( |
| | | "jsonStr" => I("post.jsonStr") |
| | | "jsonStr" => I("post.jsonStr"), |
| | | "checkInv" => I("post.checkInv") |
| | | ); |
| | | |
| | | $ws = new WSBillService(); |
| | |
| | | "customerId" => I("post.customerId"), |
| | | "receivingType" => I("post.receivingType"), |
| | | "goodsId" => I("post.goodsId"), |
| | | "userId" => I("post.userId"), |
| | | "start" => I("post.start"), |
| | | "limit" => I("post.limit") |
| | | ); |
| | |
| | | } |
| | | |
| | | /** |
| | | * 根据销售订单单号查询其生成的采购订单 |
| | | * 用于:在销售订单生成采购订单之前,提醒用户 |
| | | */ |
| | | public function getPOBillRefListBySOBillRef() |
| | | { |
| | | if (IS_POST) { |
| | | $us = new UserService(); |
| | | if (!$us->hasPermission(FIdConst::SALE_ORDER_GEN_POBILL)) { |
| | | die("没有权限"); |
| | | } |
| | | |
| | | $params = [ |
| | | "soRef" => I("post.soRef") |
| | | ]; |
| | | |
| | | $service = new SOBillService(); |
| | | $this->ajaxReturn($service->getPOBillRefListBySOBillRef($params)); |
| | | } |
| | | } |
| | | |
| | | /** |
| | | * 销售出库单明细信息列表 |
| | | * 销售退货入库 - 选择销售出库单 |
| | | */ |