diff --git a/jshERP-web/src/views/bill/AllocationOutList.vue b/jshERP-web/src/views/bill/AllocationOutList.vue index ae13d570..67fdca69 100644 --- a/jshERP-web/src/views/bill/AllocationOutList.vue +++ b/jshERP-web/src/views/bill/AllocationOutList.vue @@ -183,7 +183,7 @@ { title: '商品信息', dataIndex: 'materialsList',width:220, ellipsis:true, customRender:function (text,record,index) { if(text) { - return text.replace(",",","); + return text.replaceAll(",",","); } } }, diff --git a/jshERP-web/src/views/bill/AssembleList.vue b/jshERP-web/src/views/bill/AssembleList.vue index 01b867c7..f9c69ec6 100644 --- a/jshERP-web/src/views/bill/AssembleList.vue +++ b/jshERP-web/src/views/bill/AssembleList.vue @@ -183,7 +183,7 @@ { title: '商品信息', dataIndex: 'materialsList',width:220, ellipsis:true, customRender:function (text,record,index) { if(text) { - return text.replace(",",","); + return text.replaceAll(",",","); } } }, diff --git a/jshERP-web/src/views/bill/DisassembleList.vue b/jshERP-web/src/views/bill/DisassembleList.vue index 622f8a3e..b95e52b8 100644 --- a/jshERP-web/src/views/bill/DisassembleList.vue +++ b/jshERP-web/src/views/bill/DisassembleList.vue @@ -183,7 +183,7 @@ { title: '商品信息', dataIndex: 'materialsList',width:220, ellipsis:true, customRender:function (text,record,index) { if(text) { - return text.replace(",",","); + return text.replaceAll(",",","); } } }, diff --git a/jshERP-web/src/views/bill/OtherInList.vue b/jshERP-web/src/views/bill/OtherInList.vue index 0d33768c..49a260ba 100644 --- a/jshERP-web/src/views/bill/OtherInList.vue +++ b/jshERP-web/src/views/bill/OtherInList.vue @@ -200,7 +200,7 @@ { title: '商品信息', dataIndex: 'materialsList',width:220, ellipsis:true, customRender:function (text,record,index) { if(text) { - return text.replace(",",","); + return text.replaceAll(",",","); } } }, diff --git a/jshERP-web/src/views/bill/OtherOutList.vue b/jshERP-web/src/views/bill/OtherOutList.vue index cf92ecf9..d062bfdc 100644 --- a/jshERP-web/src/views/bill/OtherOutList.vue +++ b/jshERP-web/src/views/bill/OtherOutList.vue @@ -200,7 +200,7 @@ { title: '商品信息', dataIndex: 'materialsList',width:220, ellipsis:true, customRender:function (text,record,index) { if(text) { - return text.replace(",",","); + return text.replaceAll(",",","); } } }, diff --git a/jshERP-web/src/views/bill/PurchaseBackList.vue b/jshERP-web/src/views/bill/PurchaseBackList.vue index 3b798c52..dcab46fe 100644 --- a/jshERP-web/src/views/bill/PurchaseBackList.vue +++ b/jshERP-web/src/views/bill/PurchaseBackList.vue @@ -215,7 +215,7 @@ { title: '商品信息', dataIndex: 'materialsList',width:220, ellipsis:true, customRender:function (text,record,index) { if(text) { - return text.replace(",",","); + return text.replaceAll(",",","); } } }, diff --git a/jshERP-web/src/views/bill/PurchaseInList.vue b/jshERP-web/src/views/bill/PurchaseInList.vue index 8cbbfd46..85f9d097 100644 --- a/jshERP-web/src/views/bill/PurchaseInList.vue +++ b/jshERP-web/src/views/bill/PurchaseInList.vue @@ -236,7 +236,7 @@ { title: '商品信息', dataIndex: 'materialsList',width:220, ellipsis:true, customRender:function (text,record,index) { if(text) { - return text.replace(",",","); + return text.replaceAll(",",","); } } }, diff --git a/jshERP-web/src/views/bill/PurchaseOrderList.vue b/jshERP-web/src/views/bill/PurchaseOrderList.vue index ad60c3ef..6c78e784 100644 --- a/jshERP-web/src/views/bill/PurchaseOrderList.vue +++ b/jshERP-web/src/views/bill/PurchaseOrderList.vue @@ -195,7 +195,7 @@ { title: '商品信息', dataIndex: 'materialsList',width:220, ellipsis:true, customRender:function (text,record,index) { if(text) { - return text.replace(",",","); + return text.replaceAll(",",","); } } }, diff --git a/jshERP-web/src/views/bill/RetailBackList.vue b/jshERP-web/src/views/bill/RetailBackList.vue index c7c5b602..4642cfdf 100644 --- a/jshERP-web/src/views/bill/RetailBackList.vue +++ b/jshERP-web/src/views/bill/RetailBackList.vue @@ -215,7 +215,7 @@ { title: '商品信息', dataIndex: 'materialsList',width:220, ellipsis:true, customRender:function (text,record,index) { if(text) { - return text.replace(",",","); + return text.replaceAll(",",","); } } }, diff --git a/jshERP-web/src/views/bill/RetailOutList.vue b/jshERP-web/src/views/bill/RetailOutList.vue index 9bd65b88..6d40c55b 100644 --- a/jshERP-web/src/views/bill/RetailOutList.vue +++ b/jshERP-web/src/views/bill/RetailOutList.vue @@ -209,7 +209,7 @@ { title: '商品信息', dataIndex: 'materialsList',width:220, ellipsis:true, customRender:function (text,record,index) { if(text) { - return text.replace(",",","); + return text.replaceAll(",",","); } } }, diff --git a/jshERP-web/src/views/bill/SaleBackList.vue b/jshERP-web/src/views/bill/SaleBackList.vue index ec99c25b..3078f27e 100644 --- a/jshERP-web/src/views/bill/SaleBackList.vue +++ b/jshERP-web/src/views/bill/SaleBackList.vue @@ -215,7 +215,7 @@ { title: '商品信息', dataIndex: 'materialsList',width:220, ellipsis:true, customRender:function (text,record,index) { if(text) { - return text.replace(",",","); + return text.replaceAll(",",","); } } }, diff --git a/jshERP-web/src/views/bill/SaleOrderList.vue b/jshERP-web/src/views/bill/SaleOrderList.vue index 970cfb71..cc7d7a06 100644 --- a/jshERP-web/src/views/bill/SaleOrderList.vue +++ b/jshERP-web/src/views/bill/SaleOrderList.vue @@ -196,7 +196,7 @@ { title: '商品信息', dataIndex: 'materialsList',width:220, ellipsis:true, customRender:function (text,record,index) { if(text) { - return text.replace(",",","); + return text.replaceAll(",",","); } } }, diff --git a/jshERP-web/src/views/bill/SaleOutList.vue b/jshERP-web/src/views/bill/SaleOutList.vue index b486463a..12a82913 100644 --- a/jshERP-web/src/views/bill/SaleOutList.vue +++ b/jshERP-web/src/views/bill/SaleOutList.vue @@ -236,7 +236,7 @@ { title: '商品信息', dataIndex: 'materialsList',width:220, ellipsis:true, customRender:function (text,record,index) { if(text) { - return text.replace(",",","); + return text.replaceAll(",",","); } } },