瀏覽代碼

JLHWEB: 1、补充接口

JohnnyChan 1 周之前
父節點
當前提交
d4eb063273
共有 2 個文件被更改,包括 10 次插入0 次删除
  1. 3 0
      JLHWEB/src/api/interface/index.ts
  2. 7 0
      JLHWEB/src/api/modules/quote.ts

+ 3 - 0
JLHWEB/src/api/interface/index.ts

@@ -1312,6 +1312,9 @@ export namespace Mattress {
     interfaceList: any[];
     qdList: any[];
   }
+  export interface ReqGetResetWiptype {
+    qdList: any[];
+  }
   export interface ReqMattressImport {
     mattressid?: number;
     mattresstypeid: number;

+ 7 - 0
JLHWEB/src/api/modules/quote.ts

@@ -176,3 +176,10 @@ export const GetMattressPackagMx = (params: Mattress.ReqMattressImport) => {
 export const GetMattressSubspecs = (params: Mattress.ReqRefreshMattressInterface) => {
   return http.post<Mattress.ResMattressSubspecs>(PORT1 + `/GetMattressSubspecs`, params);
 };
+
+/**
+ * @name 床垫报价:主副规格
+ */
+export const GetResetWiptype = (params: Mattress.ReqGetResetWiptype) => {
+  return http.post<Mattress.ReqGetResetWiptype>(PORT1 + `/GetResetWiptype`, params);
+};