|
@@ -3,7 +3,7 @@
|
|
|
import APP from '@/services';
|
|
import APP from '@/services';
|
|
|
import { commonSearch_go } from '@/services/go/index';
|
|
import { commonSearch_go } from '@/services/go/index';
|
|
|
import {
|
|
import {
|
|
|
- Ermcp3Brand, Ermcp3GoodsGroup,
|
|
|
|
|
|
|
+ Ermcp3Brand, Ermcp3GoodsGroup, Ermcp3MiddleGoodsDetailEx,
|
|
|
Ermcp3Wrstandard,
|
|
Ermcp3Wrstandard,
|
|
|
ErmcpDeliveryGoodsDetailEx,
|
|
ErmcpDeliveryGoodsDetailEx,
|
|
|
ErmcpDeliveryGoodsReq,
|
|
ErmcpDeliveryGoodsReq,
|
|
@@ -82,4 +82,17 @@ export function QueryMiddleGoods(status: number): Promise<ErmcpMiddleGoodsModel
|
|
|
return commonSearch_go('Ermcp/QueryMiddleGoods', { userid, status }).catch((err) => {
|
|
return commonSearch_go('Ermcp/QueryMiddleGoods', { userid, status }).catch((err) => {
|
|
|
throw new Error(`查询套保品种: ${err.message}`);
|
|
throw new Error(`查询套保品种: ${err.message}`);
|
|
|
});
|
|
});
|
|
|
-}
|
|
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+/**
|
|
|
|
|
+ * 查询套保品种详情(套保品种/商品详情) /Ermcp3/QueryMiddleGoodsDetail
|
|
|
|
|
+ * @param middlegoodsid 套保品种id
|
|
|
|
|
+ * @constructor
|
|
|
|
|
+ */
|
|
|
|
|
+export function QueryMiddleGoodsDetail(middlegoodsid: number): Promise<Ermcp3MiddleGoodsDetailEx[]> {
|
|
|
|
|
+ const areauserid = APP.get('userAccount').memberuserid; // 所属机构id
|
|
|
|
|
+ return commonSearch_go('Ermcp3/QueryMiddleGoodsDetail', { areauserid, middlegoodsid }).catch((err) => {
|
|
|
|
|
+ throw new Error(`查询套保品种详情(套保品种/商品详情): ${err.message}`);
|
|
|
|
|
+ });
|
|
|
|
|
+}
|
|
|
|
|
+
|