|
|
@@ -2,106 +2,183 @@
|
|
|
/**
|
|
|
* 查询库存报表请求
|
|
|
*/
|
|
|
-export interface QueryAreaStockReportReq{
|
|
|
- userid:number;
|
|
|
- querytype:number;
|
|
|
- querydate:string;
|
|
|
- deliverygoodsid?:number;
|
|
|
- wrstandardid?:number;
|
|
|
- spotgoodsbrandid?:number;
|
|
|
- warehouseinfoid?:number;
|
|
|
-
|
|
|
+export interface QueryAreaStockReportReq {
|
|
|
+ /**用户ID */
|
|
|
+ userid: number;
|
|
|
+ /**查询类型 1-日报表 2-月报表 */
|
|
|
+ querytype: number;
|
|
|
+ /**查询日期(格式 日报表YYYYMMDD, 月报表YYYYMM) */
|
|
|
+ querydate: string;
|
|
|
+ /**现货商品ID */
|
|
|
+ deliverygoodsid?: number;
|
|
|
+ /**品类ID */
|
|
|
+ wrstandardid?: number;
|
|
|
+ /**品牌ID */
|
|
|
+ spotgoodsbrandid?: number;
|
|
|
+ /**仓库ID */
|
|
|
+ warehouseinfoid?: number;
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
* 查询库存报表回应
|
|
|
*/
|
|
|
-export interface QueryAreaStockReportRsp{
|
|
|
-brandname:string;
|
|
|
-curstock:number;
|
|
|
-deliverygoodscode:string;
|
|
|
-deliverygoodsid:number;
|
|
|
-deliverygoodsname:string;
|
|
|
-enumdicname:string;
|
|
|
-goodsunitid:number;
|
|
|
-oristock:number;
|
|
|
-spotgoodsbrandid:number;
|
|
|
-todaybuyinqty:number;
|
|
|
-todayproduceinqty:number;
|
|
|
-todayproduceoutqty:number;
|
|
|
-todayselloutqty:number;
|
|
|
-unitid:number;
|
|
|
-updatetime:string;
|
|
|
-userid:number;
|
|
|
-username:string;
|
|
|
-warehousecode:string;
|
|
|
-warehouseinfoid:string;
|
|
|
-warehousename:string;
|
|
|
-warehousetype:number;
|
|
|
-wrstandardcode:string;
|
|
|
-wrstandardid:number;
|
|
|
-wrstandardname:string;
|
|
|
+export interface QueryAreaStockReportRsp {
|
|
|
+ /**品牌名称 */
|
|
|
+ brandname: string;
|
|
|
+ /**期末库存量 */
|
|
|
+ curstock: number;
|
|
|
+ /**现货品种代码 */
|
|
|
+ deliverygoodscode: string;
|
|
|
+ /**现货品种id */
|
|
|
+ deliverygoodsid: number;
|
|
|
+ /**现货品种名称 */
|
|
|
+ deliverygoodsname: string;
|
|
|
+ /**单位名称 */
|
|
|
+ enumdicname: string;
|
|
|
+ /**现货单位id */
|
|
|
+ goodsunitid: number;
|
|
|
+ /**期初库存量 */
|
|
|
+ oristock: number;
|
|
|
+ /**现货品牌ID */
|
|
|
+ spotgoodsbrandid: number;
|
|
|
+ /**今日采购入库量 */
|
|
|
+ todaybuyinqty: number;
|
|
|
+ /**今日生产入库量 */
|
|
|
+ todayproduceinqty: number;
|
|
|
+ /**今日生产出库量 */
|
|
|
+ todayproduceoutqty: number;
|
|
|
+ /**今日销售出库量 */
|
|
|
+ todayselloutqty: number;
|
|
|
+ /**品类单位id */
|
|
|
+ unitid: number;
|
|
|
+ /**更新时间 */
|
|
|
+ updatetime: string;
|
|
|
+ /**机构ID */
|
|
|
+ userid: number;
|
|
|
+ /**机构名称 */
|
|
|
+ username: string;
|
|
|
+ /**仓库代码 */
|
|
|
+ warehousecode: string;
|
|
|
+ /**仓库ID */
|
|
|
+ warehouseinfoid: string;
|
|
|
+ /**仓库名称 */
|
|
|
+ warehousename: string;
|
|
|
+ /**仓库类型 - 1 厂库 2 自有库 3 合作库 */
|
|
|
+ warehousetype: number;
|
|
|
+ /**品类代码 */
|
|
|
+ wrstandardcode: string;
|
|
|
+ /**品类ID */
|
|
|
+ wrstandardid: number;
|
|
|
+ /**品类名称 */
|
|
|
+ wrstandardname: string;
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
* 查询库存报表明细请求
|
|
|
*/
|
|
|
-export interface QueryAreaStockReportDetailReq{
|
|
|
- userid:number;
|
|
|
- querytype:number;
|
|
|
- detailtype:number;
|
|
|
- querydate:string;
|
|
|
- deliverygoodsid?:number;
|
|
|
- wrstandard?:number;
|
|
|
- spotgoodsbrandid?:number;
|
|
|
- warehouseinfoid?:number;
|
|
|
+export interface QueryAreaStockReportDetailReq {
|
|
|
+ /**用户ID */
|
|
|
+ userid: number;
|
|
|
+ /**查询类型 1-日报表明细 2-月报表明细 */
|
|
|
+ querytype: number;
|
|
|
+ /**明细类型 1:入库明细(采购入库+生产入库) 2:出库明细(销售出库+生产出库) */
|
|
|
+ detailtype: number;
|
|
|
+ /**查询日期(格式 日报表YYYYMMDD, 月报表YYYYMM) */
|
|
|
+ querydate: string;
|
|
|
+ /**现货商品ID */
|
|
|
+ deliverygoodsid?: number;
|
|
|
+ /**品类ID */
|
|
|
+ wrstandard?: number;
|
|
|
+ /**品牌ID */
|
|
|
+ spotgoodsbrandid?: number;
|
|
|
+ /**仓库ID */
|
|
|
+ warehouseinfoid?: number;
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
* 查询库存报表明细回应
|
|
|
*/
|
|
|
-export interface QueryAreaStockReportDetailRsp{
|
|
|
- applyid:number;
|
|
|
- applyname:string;
|
|
|
- applyremark:string;
|
|
|
- applysrc:number;
|
|
|
- applystatus:number;
|
|
|
- applytime:string;
|
|
|
- auditid:number;
|
|
|
- auditname:string;
|
|
|
- auditremark:string;
|
|
|
- auditsrc:number;
|
|
|
- audittime:string;
|
|
|
- audittradedate:string;
|
|
|
- brandname:string;
|
|
|
- buynickname:string;
|
|
|
- buyuserid:number;
|
|
|
- buyusername:string;
|
|
|
- contractno:string;
|
|
|
- contractqty:number;
|
|
|
- contracttype:number;
|
|
|
- deliverygoodscode:string;
|
|
|
- deliverygoodsid:number;
|
|
|
- deliverygoodsname:string;
|
|
|
- enumdicname:string;
|
|
|
- inoutapplyid:string;
|
|
|
- inouttype:number;
|
|
|
- pricetype:number;
|
|
|
- qty:number;
|
|
|
- sellnickname:string;
|
|
|
- selluserid:number;
|
|
|
- sellusername:string;
|
|
|
- spotcontractid:string;
|
|
|
- spotgoodsbrandid:number;
|
|
|
- unitid:number;
|
|
|
- //updatetime:string;
|
|
|
- userid:number;
|
|
|
- //username:string;
|
|
|
- warehousecode:string;
|
|
|
- warehouseinfoid:string;
|
|
|
- warehousename:string;
|
|
|
- warehousetype:number;
|
|
|
- wrstandardcode:string;
|
|
|
- wrstandardid:number;
|
|
|
- wrstandardname:string;
|
|
|
- }
|
|
|
+export interface QueryAreaStockReportDetailRsp {
|
|
|
+ /**申请人 */
|
|
|
+ applyid: number;
|
|
|
+ /**申请人名称 */
|
|
|
+ applyname: string;
|
|
|
+ /**申请备注 */
|
|
|
+ applyremark: string;
|
|
|
+ /**申请来源 - 1:管理端 2:终端 */
|
|
|
+ applysrc: number;
|
|
|
+ /**申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回 */
|
|
|
+ applystatus: number;
|
|
|
+ /**申请时间 */
|
|
|
+ applytime: string;
|
|
|
+ /**审核人 */
|
|
|
+ auditid: number;
|
|
|
+ /**审核人名称 */
|
|
|
+ auditname: string;
|
|
|
+ /**审核备注 */
|
|
|
+ auditremark: string;
|
|
|
+ /**审核来源 - 1:管理端 2:终端 */
|
|
|
+ auditsrc: number;
|
|
|
+ /**审核时间 */
|
|
|
+ audittime: string;
|
|
|
+ /**审核交易日(yyyyMMdd) */
|
|
|
+ audittradedate: string;
|
|
|
+ /**品牌名称 */
|
|
|
+ brandname: string;
|
|
|
+ /**采购方昵称 */
|
|
|
+ buynickname: string;
|
|
|
+ /**采购方userid */
|
|
|
+ buyuserid: number;
|
|
|
+ /**采购方名称 */
|
|
|
+ buyusername: string;
|
|
|
+ /**合同编号 */
|
|
|
+ contractno: string;
|
|
|
+ /**合同量 */
|
|
|
+ contractqty: number;
|
|
|
+ /**现货合同类型 - 1:采购 -1:销售 */
|
|
|
+ contracttype: number;
|
|
|
+ /**现货品种代码 */
|
|
|
+ deliverygoodscode: string;
|
|
|
+ /**现货品种id */
|
|
|
+ deliverygoodsid: number;
|
|
|
+ /**现货品种名称 */
|
|
|
+ deliverygoodsname: string;
|
|
|
+ /**现货商品单位名称 */
|
|
|
+ enumdicname: string;
|
|
|
+ /**申请ID(607+Unix秒时间戳(10位)+xxxxxx) */
|
|
|
+ inoutapplyid: string;
|
|
|
+ /**出入库类型 - 1:采购入库 2:销售出库 3:生产入库 4:生产出库 */
|
|
|
+ inouttype: number;
|
|
|
+ /**定价类型 - 1:一口价 2:点价 3:暂定价 */
|
|
|
+ pricetype: number;
|
|
|
+ /**数量 */
|
|
|
+ qty: number;
|
|
|
+ /**销售方昵称 */
|
|
|
+ sellnickname: string;
|
|
|
+ /**销售方userid */
|
|
|
+ selluserid: number;
|
|
|
+ /**销售方名称 */
|
|
|
+ sellusername: string;
|
|
|
+ /**关联现货合同ID */
|
|
|
+ spotcontractid: string;
|
|
|
+ /**现货品牌ID */
|
|
|
+ spotgoodsbrandid: number;
|
|
|
+ /**单位id */
|
|
|
+ unitid: number;
|
|
|
+ /**机构ID */
|
|
|
+ userid: number;
|
|
|
+ /**仓库代码 */
|
|
|
+ warehousecode: string;
|
|
|
+ /**现货仓库ID */
|
|
|
+ warehouseinfoid: string;
|
|
|
+ /**仓库名称 */
|
|
|
+ warehousename: string;
|
|
|
+ /**仓库类型 - 1 厂库 2 自有库 3 合作库 */
|
|
|
+ warehousetype: number;
|
|
|
+ /**品类代码 */
|
|
|
+ wrstandardcode: string;
|
|
|
+ /**品类ID */
|
|
|
+ wrstandardid: number;
|
|
|
+ /**品类名称 */
|
|
|
+ wrstandardname: string;
|
|
|
+}
|