فهرست منبع

1、优化获取清单日志
2、床网报价,多区床网明细自动排列

iggy 3 روز پیش
والد
کامیت
426505dd4a

+ 1 - 1
JLHHJSvr/Com/GetMattressInterfaceList.cs

@@ -7,7 +7,7 @@ using LJLib.Net.SPI.Com;
 
 namespace JLHHJSvr.Com
 {
-    public sealed class GetMattressInterfaceListRequest : ILJRequest<GetMattressInterfaceListResponse>
+    public sealed class GetMattressInterfaceListRequest : ILJTokenRequest<GetMattressInterfaceListResponse>
     {
         public override string GetApiName()
         {

+ 1 - 1
JLHHJSvr/Excutor/GetMattressInterfaceListExcutor.cs

@@ -204,7 +204,7 @@ namespace JLHHJSvr.Excutor
                 rslt.interfaceList = interfaceList;
                 rslt.qdList = qdList;
 
-                if(request.isEdit == 1) Trace.Write($"GetMattressInterfaceListRequest,请求报文:\r\n{JsonConvert.SerializeObject(rslt)}.\r\n响应数据:\r\n{JsonConvert.SerializeObject(rslt)}", "Request");
+                if(request.isEdit == 1) Trace.Write($"GetMattressInterfaceListRequest响应数据:\r\n{JsonConvert.SerializeObject(rslt)}", "Request");
             }
         }
     }

+ 13 - 14
JLHWEB/src/views/quote/bednetQuote/hooks/index.tsx

@@ -1841,23 +1841,22 @@ export const useHooks = (t?: any, props?: any) => {
     });
 
     if (_mainData.bednettypeid !== 11) return;
-    // let _params: any = {
-    //   bednet: bednet,
-    //   bednetMx: _bednetMx,
-    //   spring: state.vxeTableMxSpringRef?.element.getTableData().fullData ?? []
-    // };
-    // let res = await GetComputeSpring(_params);
+    let _params: any = {
+      bednet: bednet,
+      bednetMx: _bednetMx,
+      spring: state.vxeTableMxSpringRef?.element.getTableData().fullData ?? []
+    };
+    let res = await GetComputeSpring(_params);
 
     // console.log("setMxSpringQtyWidthAndLength res :>> ", res);
-    // if (!res?.message) {
-    //   row.spring_qty_width = res.bednetMx[0].spring_qty_width;
-    //   row.spring_qty_length = res.bednetMx[0].spring_qty_length;
+    if (!res?.message) {
+      // row.spring_qty_width = res.bednetMx[0].spring_qty_width;
+      // row.spring_qty_length = res.bednetMx[0].spring_qty_length;
 
-    //   setMxSpringWidth(row);
-    //   setMxSpringLength();
-
-    //   ElMessage.success("已刷新弹簧排列");
-    // }
+      setMxSpringWidth(row);
+      setMxSpringLength();
+      ElMessage.success("已刷新弹簧排列");
+    }
   };
   /**
    * @description 设置多区弹簧宽度