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