Bläddra i källkod

JLHWEB: 1、修复床垫报价保存时提示的字符串转数值错误

JohnnyChan 3 dagar sedan
förälder
incheckning
2e6cf08c14
1 ändrade filer med 2 tillägg och 0 borttagningar
  1. 2 0
      JLHWEB/src/views/quote/mattressQuote/detail.vue

+ 2 - 0
JLHWEB/src/views/quote/mattressQuote/detail.vue

@@ -1735,6 +1735,8 @@ const save = async () => {
               }
 
               itm.xu = idx + 1;
+              itm.mattress_width = Number(itm?.mattress_width ?? 0);
+              itm.mattress_length = Number(itm?.mattress_length ?? 0);
               return itm;
             });