Browse Source

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

JohnnyChan 3 days ago
parent
commit
2e6cf08c14
1 changed files with 2 additions and 0 deletions
  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;
             });