|
@@ -1,7 +1,11 @@
|
|
|
/** ================================= 仓库信息 ================================**/
|
|
/** ================================= 仓库信息 ================================**/
|
|
|
import { getUserId } from '@/services/bus/account';
|
|
import { getUserId } from '@/services/bus/account';
|
|
|
import { commonSearch_go } from '@/services/go';
|
|
import { commonSearch_go } from '@/services/go';
|
|
|
-import { Ermcp3AreaStock, ErmcpWareHouseInfo } from '@/services/go/ermcp/warehouse-info/interface';
|
|
|
|
|
|
|
+import {
|
|
|
|
|
+ Ermcp3AreaStock,
|
|
|
|
|
+ Ermcp3AreaStockApplySum,
|
|
|
|
|
+ ErmcpWareHouseInfo
|
|
|
|
|
+} from '@/services/go/ermcp/warehouse-info/interface';
|
|
|
|
|
|
|
|
/**
|
|
/**
|
|
|
* 查询仓库信息 /Ermcp/QueryWarehouseInfo
|
|
* 查询仓库信息 /Ermcp/QueryWarehouseInfo
|
|
@@ -25,3 +29,14 @@ export function QueryAreaStock(userid: number): Promise<Ermcp3AreaStock[]> {
|
|
|
throw new Error(`查询机构库存(库存管理/当前库存): ${err.message}`);
|
|
throw new Error(`查询机构库存(库存管理/当前库存): ${err.message}`);
|
|
|
});
|
|
});
|
|
|
}
|
|
}
|
|
|
|
|
+
|
|
|
|
|
+/**
|
|
|
|
|
+ * 查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息) /Ermcp3/QueryAreaStockApplySum
|
|
|
|
|
+ * @param spotcontractid 合同ID
|
|
|
|
|
+ * @constructor
|
|
|
|
|
+ */
|
|
|
|
|
+export function QueryAreaStockApply(spotcontractid: number): Promise<Ermcp3AreaStockApplySum> {
|
|
|
|
|
+ return commonSearch_go('/Ermcp3/QueryAreaStockApplySum', { spotcontractid }).catch((err) => {
|
|
|
|
|
+ throw new Error(`查询已登记出入库信息(入库登记/已入库信息): ${err.message}`);
|
|
|
|
|
+ });
|
|
|
|
|
+}
|