1、查询采购列表
purchase/findUserOrderPurchaseList
参数:
在原接口上加上 orderStatus
状态值参考:
Create("待采购", 0),
ToDelivere("待发货", 1),
ToReceive("待收货", 2),
Receive("已收货", 3);
{
orderStatus:1,
orderSn:"",
purchaseId:11111, //采购单号
purchaseNo:11111 //1688订单号
purchaseShippingTracking:11111, //国内物流单号
purchaseConfirmBeginTime:1502527587000,
purchaseConfirmEndTime:1502527587001,
"pSize":"20",
"cPage":1,
}
return:
Pager
2、点击采购信息接口 ()
/purchase/confirmPurchase
参数:(同修改,最下面两个为新增)
{
"purchaseId": 123123,
"purchaseNo": "",
"purchaseSupplier": "",
"purchaseSupplierWebsite": "",
"purchaseSupplierPhone": "",
"purchaseSupplierAddress": "",
"purchaseCost": "",
"purchaseShippingCost": "",
"purchaseCostCurrency": "",
"purchaseShippingTracking": "",
"purchaseShippingCompany": "test666",
"purchaseStatus": 1,
agentCompany:'XXCXXXX',
productName:ccccc
}
3、修改(在原有接口基础上添加,原有参数信息不变,下面是加入的新参数和返回值)
/purchase/updateUserOrderPurchase
新加参数:
agentCompany:'XXCXXXX',
productName:ccccc
4、批量采购
/purchase/batchConfirmPurchase
新加参数:
{
"purchaseIds": [1,2,4,5],
"purchaseNo": "",
"purchaseSupplier": "",
"purchaseSupplierWebsite": "",
"purchaseSupplierPhone": "",
"purchaseSupplierAddress": "",
"purchaseCost": "",
"purchaseShippingCost": "",
"purchaseCostCurrency": "",
"purchaseShippingTracking": "",
"purchaseShippingCompany": "test666",
"purchaseStatus": 1,
agentCompany:'XXCXXXX',
productName:ccccc
}
5、批量修改 功能删掉。