|
@@ -7,8 +7,9 @@ import {
|
|
|
Ermcp3Wrstandard,
|
|
Ermcp3Wrstandard,
|
|
|
ErmcpDeliveryGoodsDetailEx,
|
|
ErmcpDeliveryGoodsDetailEx,
|
|
|
ErmcpDeliveryGoodsReq,
|
|
ErmcpDeliveryGoodsReq,
|
|
|
- ErmcpDeliveryGoodsRsp
|
|
|
|
|
|
|
+ ErmcpDeliveryGoodsRsp, ErmcpMiddleGoodsModel
|
|
|
} from './interface';
|
|
} from './interface';
|
|
|
|
|
+import {getUserId} from "@/services/bus/account";
|
|
|
|
|
|
|
|
/**
|
|
/**
|
|
|
* 查询现货商品 /Ermcp3/QueryDeliveryGoods
|
|
* 查询现货商品 /Ermcp3/QueryDeliveryGoods
|
|
@@ -70,4 +71,15 @@ export function QueryGoodsfGroup(excludecfg: number): Promise<Ermcp3GoodsGroup[]
|
|
|
});
|
|
});
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-
|
|
|
|
|
|
|
+/** ================================= 信息 - 套保品种 ================================**/
|
|
|
|
|
+/**
|
|
|
|
|
+ * 查询套保品种(菜单:套保品种) /Ermcp/QueryMiddleGoods
|
|
|
|
|
+ * @param status 状态 0-停用 1-正常
|
|
|
|
|
+ * @constructor
|
|
|
|
|
+ */
|
|
|
|
|
+export function QueryMiddleGoods(status: number): Promise<ErmcpMiddleGoodsModel[]> {
|
|
|
|
|
+ const userid = getUserId(); // 所属机构id
|
|
|
|
|
+ return commonSearch_go('Ermcp/QueryMiddleGoods', { userid, status }).catch((err) => {
|
|
|
|
|
+ throw new Error(`查询套保品种: ${err.message}`);
|
|
|
|
|
+ });
|
|
|
|
|
+}
|