Browse Source

添加数字转字符串

17767204043 3 năm trước cách đây
mục cha
commit
bad2e49eda
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      src/views/OrderMannage/BusinessOrderlist/printlist.vue

+ 1 - 1
src/views/OrderMannage/BusinessOrderlist/printlist.vue

@@ -397,7 +397,7 @@ export default {
             console.log(res)
             this.showTableContentStr = res.msg.list
             this.showTableContentStr.forEach(el=>{
-                let arr = el.price.split('.')
+                let arr = el.price.toString().split('.')
                 if(arr[1] == '00'){
                     el.price = arr[0]
                 }